Documentation Index
Fetch the complete documentation index at: https://dhanurgo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Utilization Calculation
Utilization measures how effectively the fleet is being rented out.Formula
Actual Rental Days
Calculated from trip timestamps — NOT from thetrip_days field (which can be inaccurate):
Rentable Days
The number of days a vehicle could have been rented:Worked Example
Vehicle: 2024 Tesla Model 3- First trip: January 1, 2026
- Today: March 10, 2026
- Rentable days: 69 days
| Trip | Start | End | Days |
|---|---|---|---|
| Trip 1 | Jan 3 | Jan 6 | 3.0 |
| Trip 2 | Jan 10 | Jan 17 | 7.0 |
| Trip 3 | Jan 25 | Jan 28 | 3.0 |
| Trip 4 | Feb 1 | Feb 8 | 7.0 |
| Trip 5 | Feb 15 | Feb 22 | 7.0 |
| Trip 6 | Mar 1 | Mar 5 | 4.0 |
| Total | 31.0 days |
Fleet-Level Utilization
For the entire fleet:active and at least one trip are included.
Per-Vehicle Metrics
The dashboard also calculates per-vehicle:- Average Daily Rate = Vehicle earnings / Actual rental days
- Revenue per Rentable Day = Vehicle earnings / Rentable days
- Vehicles are ranked by earnings in the KPI dashboard
Key File
src/lib/kpi/calculations.ts (lines ~200-280) — Contains the utilization calculation logic.