Simplest examples
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(enter a1,sight sig 100.0)
linear n1-n2 100.0
node n2-n3(signal sig, enter a2)
linear n3-n4 100.0
node n4-b2(exit a2)
boundary b2
There is one entry and one exit train route.
modelentry ri from b1 {
exit sig
length 100.0
sections [] switches [] contains []
}
modelexit re to b2 {
entry sig
entrysection a2
length 10000.0
sections []
switches [] contains []
}
We dispatch a short train.
train t1 l=35.0 a=1.0 b=1.0 v=10.0 ri
wait 30.0
route re
And the results from rolling
are: