Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Railway timetable & signalling lab

Timetable trains on a single-track line with passing loops and see where they wait, then find how many trains per hour signals allow.



Full timetable, station by station

How to use

  1. List the stations from one end of the line to the other with their distance in km. Every station has a passing loop.
  2. List the trains: a name, down (from the first station) or up (towards it), the departure time, the speed and how long it stops at each station.
  3. Press Make the timetable. Each train is a line on the chart; flat parts are stops and waits. The table shows where trains had to wait for another to pass.
  4. In Signals and capacity, choose a signalling system and see how many trains per hour a line can carry at each speed.

Keyboard and touch

TabMove between tabs, text boxes and buttons
Enter in a number boxWork it out again
Text boxesOne station or one train per line; Enter starts a new line

Tips

  • Where two lines cross on the chart, two trains passed each other. On a single track that can only happen at a station loop.
  • A long section between loops limits the whole line: try adding a station halfway along it and watch the waits shrink.
  • This dispatcher always lets the earliest move go first, so a fast train never overtakes a slow one. Real signallers sometimes hold the slow train in a loop to let it pass.
  • Faster trains need much longer braking distances, so more speed does not always mean more trains per hour. Look for the peak on the capacity chart.
  • Extra aspects let blocks be shorter at the same speed, which packs trains closer together.

About this lab

The timetable tab treats each stretch of track between two stations as a single-track section that holds one train at a time; it stays closed for the safety margin after a train has left it. Every station has a loop where trains can wait and cross, so the line cannot lock up. The dispatcher repeatedly picks the train that can enter its next section earliest (the first train in the list wins a tie), runs it through at its speed and stops it at the next station for its dwell time. Trains run at constant speed with no acceleration or braking time.

The signals tab uses a simple model. Braking distance is v² / (2 b). With fixed blocks, a following train must stay one sighting-and-reaction distance, the warning distance, one block, the overlap and its own train length behind the train in front. The warning distance is braking distance for 2-aspect signals and (aspects − 2) block lengths for 3 and 4 aspects (which must be at least the braking distance). Moving block replaces the blocks with the braking distance itself. Headway is that spacing divided by the speed. This is a teaching model; it is not a tool for designing real railway signalling. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product