Signalling simulator

  • Gratuit
  • Dans la prochaine version

Put trains in blocks, throw turnouts and run a train round your plan, and watch every signal change aspect, with the reason for each.

The simulator runs your signals live on the plan. Put a train in a block or take it out, throw a turnout, or let a train run round, and every signal shows the aspect it would show, with the reason. It's free for everyone.

It's a simulation of signalling logic for a model railway, not a real interlocking: signals follow block occupancy and how the turnouts are set, with no route setting or locking. Nothing you do in the simulator changes your plan. A turnout you throw there is thrown in the simulation only; the plan keeps the setting it's saved with, and the simulator adds nothing to undo.

Starting it

#

In the Signalling panel on the Layout tab, press Simulate (once the plan has a signal). The signals come on if they were hidden, and the panel shows the simulator in place of the tools for placing and changing signals. Stop simulating in the panel, or Esc on the plan, ends it and forgets everything you did in it (with a signal picked, the first Esc lets go of it). It carries on when you switch between 2D, 3D and Split view.

Trains and turnouts

#
Do thisAnd
Click the trackA train goes into that block, or comes out of it. The block's track turns red.
Click a block's name in the panelThe same, from the list. Clear all empties every block.
Click a turnout's number on the plan (T1 · straight)It's thrown to its next route. The road it's set for is drawn in teal.
Click a turnout in the panelThe same. As on the plan sets them all back.
Point at a signal, or at its line in the panelIts reason shows beside it, like S1 · Stop: block B3 occupied.

Every change says what it did, in a line at the top of the panel: T1 thrown to diverging: S1 Clear → Caution, or no signal changed, and the plan rings the signals that changed until the next one. Each turnout in the panel lists the signals it can change (T2 · straight · S2, S3), or no signal when none has a way through it, so throwing it can't do anything. A signal at stop has a button beside it when the simulator can let it go: Throw T2 for a turnout set against it, Clear B3 for a block you put a train in. Point at a block's name in the panel to see its track.

Each signal's head lights in the colour of its lamp (its top lit lamp, when it lights several): red, yellow, green, or white for a shunt signal. In 3D only the lit lamps show their colour. A flashing lamp, in the French style, flashes on the plan and in the panel, once a second as the Arduino does it.

The reasons you'll see:

AspectReason
Stopblock B3 occupied: a block it protects has a train in it.
StopT2 set against it: no way past it is set; the turnout named is the one to throw.
CautionS4 at stop: its blocks are clear, but the next main signal shows stop.
Cautionthe diverging road at T1: its way turns off at a turnout.
Cautionthe line ends ahead: a buffer stop or the end of the track, with no main signal to show clear towards.
Clearthe line is clear, and S2 isn't at stop.
Expect stop / Expect clearA distant signal repeating the main signal ahead, or no main signal ahead.
Shuntthe turnouts are set for it: shunt signals don't look at occupancy.

In the French style the aspects have their French names, and two more reasons read what the next signal shows:

AspectReason
Feu jaune clignotantS4 shows Avertissement (A): the next signal is at the avertissement.
Ralentissement 30 or 60C1 shows Rappel 60 (RR clignotant): the next signal has slow points ahead.
Sémaphore, or carréblock B4 occupied gives the sémaphore (a carré too, with its œilleton); T3 set against it gives a carré the carré.
Rappel 30 or 60the diverging road at T1, with the avertissement or the feu jaune clignotant when the next signal asks for it.

Run a train

#

Under Run a train, pick the signal it starts at and press Start: the train stands in the block behind that signal. Step moves it on one block. While it crosses a gap it's in both blocks for a step, then clear of the one behind, so you can watch each signal go to stop behind it and clear again as it moves on. Run steps it on by itself; Pause stops it.

At a signal, the train goes only if the signal isn't at stop, along the way its turnouts are set for. Waiting at one, it says why (Waiting at S3: Stop: T2 set against it), with a button for what would let it go: throw the turnout or clear the block and it goes. When the block holding the signal is the one the train itself stands in, it says what's missing: a gap at the signal, or another main signal further round. A turnout thrown against its way while it's running holds it short of that turnout until it's thrown back: there's no interlocking to stop the throw, and the simulator doesn't guess what a real train would do. It stops for good at a buffer stop or the end of the track. Remove takes it off.

The train is only occupancy moving block by block: it has no length, speed or timetable, and it doesn't drive anything.

Blocks with no detector

#

On the layout, a signal only knows a train is in a block if the block has a detector (see Detection). The simulator lets you put a train in any block, and the panel names the blocks with no detector yet: on the real layout, no signal could see a train in them.

The same logic as the signal table

#

The simulator and the signal table come from the same signal logic: the table lists the cases that logic can produce, and the simulator shows the one you're in. Wired to an Arduino (Pro), a board runs the same logic, checked against the same test cases.