Build with FlatPeak
Electric vehicle
In this tutorial, you will learn how to leverage FlatPeak if your system is an EV, and you want to optimise charging to lower energy cost.
If you need to account for the solar component of energy that is going into the vehicle or/and are implementing V2H, V2G or VPP, schedule a call with our team for implementation advice.
Design
To optimise charging of the EV by energy cost, we need to:
Once customer completes the Connect flow, or if you created their tariff via the API:
- When the vehicle connects to a charging station, obtain its SoC & ready-by time.
- Call schedules API to calculate a cost-optimised charging schedule.
- Send this schedule to the vehicle.
To display charging costs:
- Log the transferred energy to the meter records API under the IMPORT tariff.
- When you want to display the charging costs, call the API to get them by charging session (including in real-time) or day/month/year.
Implementation
Was this page helpful?