Main page

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:

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)

Version from 16 Nov 2026

Main page


joern.pachl@gmx.de