Home / Use cases

Allocation planning

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

KPIOptimized planComparison: dispatcher rule: siding on arrival, LIFO check, tightest fit
trains blocked0 −22
extra shunting moves0 −22
late departures0 min −2424 min
late trains0 −33
sets cleaned15 / 1515 / 15
cleaning teams walking52 min −1769 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.

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.