Routing metrics & guide
How Jakarta last-mile route optimization works — from order assignment and CSV import to traffic-aware ETAs, DTI/CFI delivery metrics, Pertamina fuel costing, and VQI-based driver dispatch.
Why route optimization?
Order lifecycle
Traffic estimation cascade
Trip fuel cost & savings
Pertamina DKI Jakarta prices (live or fallback) are matched to each vehicle type. Trip costs appear across route planning and logistics dashboards, and System → Gas Price.
Demo geography
VQI driver selection
For each route chunk, the system picks the highest-VQI available driver with the matching vehicle type. See also Predictive Maintenance Metrics & Guide.
References & basis
Routing uses rule-based heuristics adapted for the Jakarta last-mile demo. Traffic calibration reflects typical urban delivery speeds, not real-time probe data unless Google Maps is connected.
Reports & dashboards
Logistics KPIs aggregate DTI, CFI, fuel cost, and route metrics across active and completed routes. Charts appear on the dashboards, with exportable CSV and print layouts under Routing → Reports.
ODOL Detection and Hub Congestion Detection are planned for overload monitoring and hub queue analytics. Routing metrics currently remain independent of CV inputs.
Set GOOGLE_MAPS_JS_API_KEY (or GOOGLE_MAPS_API_KEY) in server environment variables to render waypoints and road-following polylines on Google Maps. See also emissions per route on the preview card.


