FlexMeasures / flexmeasures

The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.
https://flexmeasures.io
Apache License 2.0
143 stars 36 forks source link

Extend V2G-Libery (on the FM side) with an additional EVSE #1061

Open rhpijnacker opened 4 months ago

rhpijnacker commented 4 months ago

I am a new user of the V2G-Liberty solution, for which I have configured a FlexMeasures server "on premise" (locally). It looks like everything is working correctly, I am getting the price and generation data from entsoe, using the flexmeasures-entsoe plugin and V2G-Liberty is happily scheduling the Wallbox Quasar to charge and decharge my Nissan Leaf.

I would now like to extend this solution with a 2nd charging station, a Wallbox Commander 2s, for my Skoda Enyaq, and have it included in the optimal schedule such that it charges the Enyaq when the price is cheapest, but have the Nissan Leaf and Skoda Enyaq be mutually exclusive. This means that:

How should I go about setting this up on the FlexMeasures side?

Flix6x commented 4 months ago

Your question relates to multi-storage scheduling, which is ongoing work.

A short-term solution would be to set up two assets in FlexMeasures[^1], and to trigger schedules for them separately. You could try including the power sensor of one of your chargers in the list of inflexible-device-sensors (a flex-model field) when triggering a schedule on the power sensor of your other charger. This way, instead of a joint optimization, the "secondary" charger at least takes into account what the "primary" charger is already planning to do.

[^1]: Perhaps even two V2G-Liberty installations?