Skip to content

getForecast method in EMS & Managements + Simple Charging implementation#310

Open
Luc-Sol wants to merge 3 commits into
mainfrom
flex-forecasting
Open

getForecast method in EMS & Managements + Simple Charging implementation#310
Luc-Sol wants to merge 3 commits into
mainfrom
flex-forecasting

Conversation

@Luc-Sol

@Luc-Sol Luc-Sol commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Accompanied by changes in the Interface-Loader: Zenmo/zero_Interface-Loader#305

  • 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.

- 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.
Luc-Sol added 2 commits July 14, 2026 14:49
- 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
Luc-Sol requested a review from AteZenmo July 16, 2026 09:22
@Luc-Sol
Luc-Sol marked this pull request as ready for review July 16, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant