Energies-citoyennes-en-Pays-de-Vilaine / EnergyManagmentSystem

https://www.projet-elfe.fr
Other
1 stars 1 forks source link

How is MachineConsumer's cycle duration taken into account ? #7

Open Jaxom99 opened 8 months ago

Jaxom99 commented 8 months ago

As expressed by the title: users don't see that the EMS planning include the duration they declare. As such, longer cycles can lead to end-time constraint overshoot, disconforting the user.

As a proposed "easy way" : the recorded cycle in the form of an array could be enlarged (with values of 0, or median consumption) or reduced (cutting last values?) to match the declared next cycle duration.

Jaxom99 commented 8 months ago

the fix could be made in https://github.com/Energies-citoyennes-en-Pays-de-Vilaine/EnergyManagmentSystem/blob/master/elfe_interfaces/ELFE_data_gatherer.py#L32-48