Night stabling in a high-speed train depot
Which siding does each train set get tonight, so that nobody is blocked in the morning?
Result in this example, compared with “dispatcher rule: siding on arrival, LIFO check, tightest fit”: trains blocked 0 instead of 2, extra shunting moves 0 instead of 2, late departures 0 min instead of 24 min.
Rail operatorsDepotsRolling stock maintenance
Drag to rotate, scroll or pinch to zoom. The schedule below plays the plan; hover a bar for details.
The planning question
A high-speed train depot with a fan of stabling sidings. 15 train sets arrive in the evening and leave in the morning. The sidings are dead ends reached from one throat, so they are last in, first out: a set parked in front of a set that leaves earlier blocks it. Every set also needs interior cleaning overnight, done car by car by four teams on foot.
How we plan it
Stabling is a sequencing problem: on a dead-end siding the order of arrival decides the order of departure. The model chooses the siding of every set so that the sets that leave first stand at the front, and plans the four cleaning teams along the sidings at the same time.
The comparison is the dispatcher rule, computed for the same night: on arrival, take the tightest siding that fits and passes a last-in, first-out check against the departures known so far. On this night the rule leaves two sets blocked, which costs two extra shunting moves and three late departures, 24 minutes in total. The optimized plan has no blocked set, and the cleaning teams walk 52 instead of 69 minutes. Timetable, set lengths and cleaning times are assumptions.
What the plan shows
| KPI | Optimized plan | Comparison: dispatcher rule: siding on arrival, LIFO check, tightest fit |
|---|---|---|
| trains blocked | 0 −2 | 2 |
| extra shunting moves | 0 −2 | 2 |
| late departures | 0 min −24 | 24 min |
| late trains | 0 −3 | 3 |
| sets cleaned | 15 / 15 | 15 / 15 |
| cleaning teams walking | 52 min −17 | 69 min |
Decisions
- train set → siding (its place there follows from the arrival order)
- cleaning team and order of the sets for each team
Constraints
- sidings are dead ends reached from one throat: last in, first out
- one movement at a time through the throat (6 min per train, 18 min per shunting move)
- siding length: all sets on a siding must fit
- cleaning from 20 min after arrival until 10 min before the set moves, four teams until 06:30
- one shunting crew: a blocking set is moved away before the departure it blocks
Objective
every train leaves on time without extra shunting, all sets cleaned, short walks for the cleaning teams
Questions
What does blocked mean here?
A set stands on a dead-end siding between the throat and a set that leaves earlier. The shunting crew then has to move it away before that departure, and the throat is busy for the extra move.
Can late arrivals be handled?
Yes. A delayed arrival re-plans the remaining sidings and cleaning slots.
More use cases
Parcel hub dock scheduling
Overnight trucks, 12 doors, a sorter for 6,000 parcels per hour and 78 van bays. The morning delivery wave has to leave on time.
Warehouse order batching & pick routes
Twelve aisles, 900 articles in chaotic storage, trolleys with several order buckets: shorter walks and faster waves.
Warehouse slotting
400 articles, 624 pick slots on three levels: fast movers near goods out, heavy goods low, the ergonomic level for high volume.
The first step
Where does your planning lose time, capacity or money?
In a free first call we work out which next step is really worth it.


