Examples
Examples
Try the starting example
- Fleet vehicle IDs JSON
- ["V1","V2","V3"]
- Forecast horizon (days)
- 10
- Service jobs JSON [vehicle ID,earliest start day,due completion day,duration days]
- [["V1",0,2,2],["V2",0,3,2],["V3",4,7,2]]
- Concurrent workshop bays (bays)
- 1
- Service schedule [vehicle,bay,start day,end day,due status]
- [["V1",1,0,2,"On/before due"],["V2",1,2,4,"Past due"],["V3",1,4,6,"On/before due"]]
- Downtime inside horizon (vehicle-days)
- 6
- Available vehicle-days inside horizon
- 24
- Gross fleet vehicle-days
- 30
Try another scenario
- Fleet vehicle IDs JSON
- ["V1","V2","V3"]
- Forecast horizon (days)
- 10
- Service jobs JSON [vehicle ID,earliest start day,due completion day,duration days]
- [["V1",0,2,2],["V2",0,3,2],["V3",4,7,2]]
- Concurrent workshop bays (bays)
- 2
- Service schedule [vehicle,bay,start day,end day,due status]
- [["V1",1,0,2,"On/before due"],["V2",2,0,2,"On/before due"],["V3",1,4,6,"On/before due"]]
- Downtime inside horizon (vehicle-days)
- 6
- Available vehicle-days inside horizon
- 24
- Gross fleet vehicle-days
- 30
Calculation method
Calculation method
Service schedule [vehicle,bay,start day,end day,due status]
Sort by due day then vehicle ID. Append each job to earliest available bay respecting earliest start, tie bay index.
Downtime inside horizon (vehicle-days)
Sum intersection length of each scheduled service with [0,horizon).
Available vehicle-days inside horizon
fleetCount*horizon-downtime.
Gross fleet vehicle-days
fleetCount*horizon.
Symbols and units
- a
- Fleet vehicle IDs JSON
- b
- Forecast horizon (days)
- c
- Service jobs JSON [vehicle ID,earliest start day,due completion day,duration days]
- d
- Concurrent workshop bays (bays)
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
- One service per vehicle within this bounded model, identical interchangeable workshop bays. Greedy earliest-due-date schedule; due completion flags descriptive and no service interval or roadworthiness rule inferred. Supported limits: 1..100 fleet IDs; <=1 job per known vehicle; integer 0<=release<=due; duration>0; horizon 1..366; bays 1..100.
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.