Hi @fabio,
if you can access the App Center, the easiest way to install everything is via the “ENTSO-E”-App (openems/io.openems.edge.core/src/io/openems/edge/app/timeofusetariff/EntsoE.java at develop · OpenEMS/openems · GitHub)
To configure manually, you’ll need:
Controller.Ess.Time-Of-Use-Tariff
TimeOfUseTariff.ENTSO-E
or any other TimeOfUseTariff providerController.Symmetric.Balancing
, configured in Scheduler after time-of-use controllerPredictor.PersistenceModel
for_sum/ProductionActivePower
,_sum/ConsumptionActivePower
and_sum/UnmanagedConsumptionActivePower
I’d recommend starting this way (i.e. “v1”), as it works very well in production. For more advanced and generic combination of different Controllers, you will then have to use “Energy Scheduler v2” which is currently in development and what I have been talking about in the Conference.
This is the latest backport PR: Energy Scheduler v2 / Time-of-Use-Tariff optimization (ALPHA) by sfeilmeier · Pull Request #3029 · OpenEMS/openems · GitHub
Back to “v1”. The essentials for the Genetic Algorithm are here: openems/io.openems.edge.energy/src/io/openems/edge/energy/v1/optimizer/SimulatorV1.java at develop · OpenEMS/openems · GitHub. You can find the cost calculations in the simulatePeriod()
method.
Regards,
Stefan