Single

This is the simplest example of a working train station in rolling.

The infrastructure is a single signal with detection sections in the front and back.

boundary b1
node b1-n1
linear n1-n2 1.0
node n2-n3(sight s1 249.0)
linear n3-n4 249.0
node n4(exit a1)-n5(signal s1, enter a1)
linear n5-n6 1150.0
node n6-n7(sight s2 600.0)
linear n7-n8 600.0
node n8(exit a2, enter a1)-n9(signal s2, exit a1, enter a2)
linear n9-n10 925.0
node n10-n11(sight s3 75.0)
linear n11-n12 75.0
node n12(enter a2, exit a3)-n13(signal s3, exit a2, enter a3)
linear n13-n14 500.0
node n14(enter a3)-b2(exit a3)
boundary b2

There is one entry and one exit train route.

modelentry ri from b1 {
  exit s1 
  length 250.0
  sections [] switches [] contains []
}

modelexit re to b2 {
  entry s3 
  entrysection a3
  length 5000.0
  sections [] switches [] contains []
}

route r1 {
  entry s1 exit s2
  entrysection a1
  length 1750.0
  sections [a1]
  switches []
  contains []
}

route r2 {
  entry s2 exit s3
  entrysection a2
  length 1000.0
  sections [a2] 
  switches []
  contains []
}

We dispatch a short passenger train.

train t1 l=200.0 a=1.0 b=0.9 v=10.0 ri
route r1
wait 150.0
route r2
route re

And the results from rolling are: