getForecast method in EMS & Managements + Simple Charging implementation#310
Open
Luc-Sol wants to merge 3 commits into
Open
getForecast method in EMS & Managements + Simple Charging implementation#310Luc-Sol wants to merge 3 commits into
Luc-Sol wants to merge 3 commits into
Conversation
- Cleanup of inconsistent indentation in J_ActivityTrackerTrips. - Added getTripsInRange() to J_ActivityTrackerTrips. This method returns a list of all trips with the starttime in the given range. The returned TripRecords have times relative to the startTime. - Added the record J_AssetTypeForecast which contains fields to describe a forecast for a certain asset management category. - Added getForecast(startTime, endTime) to the interface I_AssetManagement. This function must return a AssetTypeForecast. For almost all managements the forecast is (currently) not available for the reason that it is not yet implemented. This is shown in the AssetTypeForecast status & reason. - Added getForecast implementation for J_ChargingManagementSimple. The forecast is perfect except for the fact that the starting SOC is not known if the forecast starttime is not the current modeltime.
- maxWork_kWh was consistently underestimated because of the fact that both the first and last timesteps available are possible to charge. - The Simple & PI Control heating strategies (and hybrid HP variants) have forecasts now.
- HeatingManagement forecasts now also return the nett heat load. Because the thermal building is also a flex asset, this usually comes down to just production to compensate the fixed heat demand. - For GCs connected to a heatgrid there is no heat production, so the heat load is positive (import) and includes only the building. - Bugfix: calculateCOP in J_EAConversionHeatPump was not using the arguments, but its internal states for the calculation.
Luc-Sol
marked this pull request as ready for review
July 16, 2026 09:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accompanied by changes in the Interface-Loader: Zenmo/zero_Interface-Loader#305