← PROJECTS· 03ELECTRIC
Route & energy simulation for electric truck fleets
Built as freelance developer for an e-mobility platform.
THE CHALLENGE
Will this truck make this route, loaded, in winter — and where does it charge? Spec-sheet ranges assume mild weather, flat roads and optimistic consumption; fleet planners need an honest answer.
That takes a physically explainable energy model — not a black box — that planners can interrogate corridor by corridor.
WHAT I BUILT
I built the route simulation: consumption scaled by gross weight, ambient temperature (cold hurts more than heat), speed-dependent aerodynamics, and per-segment elevation with regeneration credit on descents.
Charging stops follow realistic charge curves with cold-battery derating; a stop of 45 minutes counts as the mandatory EU driver break.
Routes come from an HGV routing engine; the map colors the route by state of charge — green fading to red exactly where the battery does.
WHAT CHANGED
Planners see in seconds whether a truck-route-temperature combination works — instead of trusting a brochure range.
The failure cases matter most: a regional truck at −10 °C visibly does not arrive. That is the conversation to have before purchase.
A simplified version of this model runs live on this site.
