Cost-optimal depot charging schedule for an EV fleet
ort.halowerk.com/v1/depot-charge-plan
Cost-optimal depot charging schedule for an EV fleet: per vehicle and time slot the charging power under charger limits, arrival/departure times and a site power cap, priced with your time-of-use tariff, compared with uncontrolled charging. Builds a flow network source → vehicle (energy needed at the grid = battery energy / charging efficiency) → time slot (charger power × overlap with the presenc
POST
https://ort.halowerk.com/v1/depot-charge-planUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ort.halowerk.com/v1/depot-charge-plan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"horizon_hours":12,"site_limit_kw":50,"start":"2026-10-05T18:00:00Z","tariff":[{"from":"2026-10-05T18:00:00Z","price_eur_per_kwh":0.4},{"from":"2026-10-05T22:00:00Z","price_eur_per_kwh":0.2}],"vehicles":[{"arrival":"2026-10-05T18:00:00Z","departure":"2026-10-06T06:00:00Z","energy_needed_kwh":30,"id":"E1","max_charge_kw":11}]}),
});
console.log(await res.json());Example input
{
"horizon_hours": 12,
"site_limit_kw": 50,
"start": "2026-10-05T18:00:00Z",
"tariff": [
{
"from": "2026-10-05T18:00:00Z",
"price_eur_per_kwh": 0.4
},
{
"from": "2026-10-05T22:00:00Z",
"price_eur_per_kwh": 0.2
}
],
"vehicles": [
{
"arrival": "2026-10-05T18:00:00Z",
"departure": "2026-10-06T06:00:00Z",
"energy_needed_kwh": 30,
"id": "E1",
"max_charge_kw": 11
}
]
}