Hi Carlos,
Optimization of power allocation:
As we discussed in person, good examples for similar Controllers are:
and
CSV file
The way we usually do it, is:
- Record data via
Timedata.InfluxDB
into an InfluxDB database - Analyze data using Grafana (https://grafana.com/)
- Export data from Grafana to CSV
- Import to OpenEMS
This gives good control about what data we want to use for simulation and in which resolution (e.g. one value per second or one value per 15 minutes).
Otherwise, see also this post for details on how to implement your own Datasource
: EMS-Simulation durch Daten aus DB statt CSV-Dateien - #2 by stefan.feilmeier
UI historic view
The Datasource
for simulated meters is a different concept than the Timedata
provider. I understand, that those can easily get mixed up.
-
Datasource
provides a new value on each Cycle for live simulation -
Timedata
provides access to historic data that it was previously recording
Regards,
Stefan