A example for route seclection of the Zusi simulator is here:
viewtopic.php?f=56&t=14469&p=284041
This is an automatic web translation of this post using
www.deepl.com
The logic of route selection is defined in the train schedule, how many signals the author of the timetable enters in the train file.
In your trn file is defined
Example 1:
- Messinghausen N2
- Bredelar A
- Bredelar N2
Here you always get the track on the standard track and never on the opposite track.
Example 2:
- Messinghausen N2
- Bredelar N2
- There is no train on the opposite track
You get a route on the opposite track with chance of the chaos factor. All other trains take the standard track.
This means at 2% chaos -> If you drive 100x this train, you get 2x the opposite track.
Example 3:
- Messinghausen N2
- Bredelar N2
- There is a train on the opposite train and no route from Messinghausen F is set yet. Messinghausen F shows stop (Hp0).
You only get routes over the standard track.
The simulator always moves from (signal) entry to (signal) entry in the trn file. In between he chooses freely, depending on the situation (track occupancy) and chaos factor.
Michael
Additional: The Zs1 works in the same way. If you have set 2% chaos factor, on average every 50th signal shows Zs1