Ampervale Developers
M Console

Adaptive charging

Adaptive charging shifts a vehicle's energy draw into the cheapest hours of the night without moving the moment the battery is ready to leave.

Once a vehicle is linked and a departure time is set, Ampervale builds a charge plan the moment the cable is detected. The plan is re-evaluated whenever the tariff feed, the battery state or the departure time changes, so a driver who plugs in at 17:00 and leaves at 08:00 gets the same result as one who plugs in at 23:00 and leaves at 06:00.

What the planner sees

A plan is never a single decision. Every recalculation walks the same pipeline under the hood. It weighs the departure time, live vehicle telemetry, projected charge duration, and half-hourly tariff data, then runs the result through a chain of guard checks. That chain is what keeps a plan from stranding a driver: if the cheapest window is no longer long enough to reach the target state of charge, the planner abandons it and falls back to charging immediately.

The two diagrams above show the same fifteen hours of tariff data. In the first, the vehicle simply charges on arrival and finishes at 00:00 at whatever the evening rate happens to be. In the second, the planner holds the charge until 23:00, rides the overnight trough, and closes the window at 06:00 — two hours ahead of the departure deadline.

Guard checks

Guard checks run in order and short-circuit on the first failure. A failed check is written to the audit log with the reason code, the tariff snapshot that produced it, and the plan that was discarded.