Examples
Examples
Try the starting example
- Owned fleet size including present spares (vehicles)
- 10
- Demand per elapsed day (vehicles)
- 8,9,8,10
- Known maintenance blocks JSON [vehicle integer ID 1..fleet,start day,end exclusive day]
- [[1,1,3],[2,2,4]]
- User desired unassigned ready reserve (vehicles)
- 1
- Daily table [day,demand,down,available,shortfall incl requested reserve]
- [[0,8,0,10,0],[1,9,1,9,1],[2,8,2,8,1],[3,10,1,9,2]]
- Additional always-ready vehicles to eliminate trace shortfalls
- 2
- Uncovered vehicle-days including reserve target
- 4
Try another scenario
- Owned fleet size including present spares (vehicles)
- 10
- Demand per elapsed day (vehicles)
- 8,9,8,10
- Known maintenance blocks JSON [vehicle integer ID 1..fleet,start day,end exclusive day]
- [[1,1,3],[2,2,4]]
- User desired unassigned ready reserve (vehicles)
- 2
- Daily table [day,demand,down,available,shortfall incl requested reserve]
- [[0,8,0,10,0],[1,9,1,9,2],[2,8,2,8,2],[3,10,1,9,3]]
- Additional always-ready vehicles to eliminate trace shortfalls
- 3
- Uncovered vehicle-days including reserve target
- 7
Calculation method
Calculation method
Daily table [day,demand,down,available,shortfall incl requested reserve]
down=count distinct vehicles in maintenance that day, available=fleet-down, shortfall=max(0,demand+chosenReserve-available).
Additional always-ready vehicles to eliminate trace shortfalls
Maximum daily shortfall, assuming added vehicles always available.
Uncovered vehicle-days including reserve target
Sum daily shortfall.
Symbols and units
- a
- Owned fleet size including present spares (vehicles)
- b
- Demand per elapsed day (vehicles)
- c
- Known maintenance blocks JSON [vehicle integer ID 1..fleet,start day,end exclusive day]
- d
- User desired unassigned ready reserve (vehicles)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Deterministic demand/maintenance trace with an explicit ready-reserve target. Additional vehicles assumed always available; no reliability probability, optimal fleet policy or operational guarantee. Supported limits: Positive integer fleet; 1..366 integer nonnegative daily demands; integer reserve>=0; known vehicle IDs; 0<=start<end<=trace length.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.