Interlocking teaching simulator
Deutsche version
This learning tool, created using vibe coding, simulates a small interlocking area with a neutral user interface. The simulation can be launched directly in a web browser using the link below. The user interface can be switched between German, English, and Thai. Depending on the browser settings, the user interface will be displayed in dark or light mode. A simple animation of the train movements visualises the relationship between track clear detection and real train location.
The simulation is based on real-world railway infrastructure in Thailand (Chitlada station yard in the Bangkok area). Routes can be set and cancelled, and trains can be introduced to run through the layout. All basic interlocking functions are implemented. In particular, the following functions are available:
- The points are controlled by automatic point setting. Individual manual operation is not provided.
- Routes are released section by section behind the train.
- Route cancellation is protected by approach locking with a time release of 30 seconds.
- Since the points of a crossover have overlapping fouling point limits, they are not released independently. When a train passes through a crossover, the first set of points remains locked until the second set of points has been cleared.
- In crossovers, flank protection is effected by coupled points. This also controls the assignment of the protective position of dual-called flank points. In remote protection cases, coupled points may lead to locked flank transfer points.
- Overlaps are only provided for routes without speed limit, i.e., all points are in the straight position. Overlaps are indicated by yellow colour.
- There are no selective overlaps. If for a train that should pass through the station yard without stopping, the overlap conflicts with the exit route, the exit route has to be set before the entrance route.
On the station tracks, trains can be reversed. To reverse a train, there is a button in the dashboard control window of the signal at which the train has stopped.
Link to simulation (or click on picture)