
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 the customer completes the Connect flow, or if you imported their tariff:- 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
Create charging schedule
Create charging schedule
To create a cost-optimised charging schedule, you will need:
- Time when charging can start (i.e. when the vehicle was plugged in).
- Amount of energy required in KWH.
- Expected charging speed (use charger rating or 7KW for AC charging).
- Time when charging must be completed (i.e. ready-by or departure time).
schedule.start_time
and schedule.end_time
.Log transferred energy
Log transferred energy
Call Metering API and submit IMPORT metering (at the device level) when the vehicle is charging. Set
direction=IMPORT
and tariff_rate=IMPORT
.IMPORTANT: In order for you to later display energy cost by charging session, make sure to include session identifier as
session_reference_id=SESSION123
.If you want to display charging cost in real-time, use instant-cost-calculate API
Display charging costs
Display charging costs
When you need to display the cost of charging, call calculate-cost-by-interval API endpoint to show the cost of charging aggregated by day/month/year. To display the cost per charging session, call the calculate-cost-by-session endpoint.