Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Using Trains as Alteratives

You are here: Home > Forum > General > Timetabling > Using Trains as Alteratives

Page 1 of 1

Using Trains as Alteratives 02/08/2023 at 16:57 #152601
ajax103
Avatar
1119 posts
In this timetable, there exists a train which has a rule in place that the simulation picks which one will run on the day.

Now in the rules, I've got it in place as train A and train B are alternatives to which the simulation than correctly says which one will run on the day in question.

However, when I look in the Timetable List, it appears that both trains have entered yet they haven't visually entered the simulation.

I've got the percentage of the time that the train will run set at 100% for both train A and train B yet somewhere along the line, this hasn't worked as it should do.

As the intention is that the simulation should pick one of the two trains to run, have I set up the rule correctly?

Log in to reply
Using Trains as Alteratives 02/08/2023 at 18:18 #152602
postal
Avatar
5257 posts
You will have more control if you use a Decision rather than a Rule (and it is far easier in complex situations where you may have a number of possible options to use one single decision rather than a multitude of rules or an XOR list).
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Using Trains as Alteratives 02/08/2023 at 18:59 #152605
ajax103
Avatar
1119 posts
postal in post 152602 said:
You will have more control if you use a Decision rather than a Rule (and it is far easier in complex situations where you may have a number of possible options to use one single decision rather than a multitude of rules or an XOR list).
I'm not too familiar with using decisions so how would I be best placed to do this please?

Log in to reply
Using Trains as Alteratives 02/08/2023 at 19:52 #152608
postal
Avatar
5257 posts
And once you've read through the material at the link Stephen provided trawl through the issued timetables. Most of the more recent ones use Decisions so you can see how they are set up in those TTs.
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Using Trains as Alteratives 02/08/2023 at 21:00 #152611
clive
Avatar
2781 posts
postal in post 152602 said:
You will have more control if you use a Decision rather than a Rule (and it is far easier in complex situations where you may have a number of possible options to use one single decision rather than a multitude of rules or an XOR list).
Also, for technical reasons, a train that's been rejected for any reason will be greyed out in the list, just like entered trains are.

Log in to reply
The following users said thank you: postal, waucott
Using Trains as Alteratives 03/08/2023 at 13:22 #152624
ajax103
Avatar
1119 posts
postal in post 152608 said:
And once you've read through the material at the link Stephen provided trawl through the issued timetables. Most of the more recent ones use Decisions so you can see how they are set up in those TTs.
I did look though the Wiki but bearing in mind I just about get along with the rules by understanding how they work, I find the whole decisions thing to be a tad complicated for me.

However somehow I managed to track down the precise reason why I was having great difficulty with what I was trying to achieve and now I've managed to have a decision in place which advises which of the two trains will run on the day in question and seeds successfully.

I don't know how I did it but least the issue is resolved.

Log in to reply
Using Trains as Alteratives 03/08/2023 at 14:46 #152625
bill_gensheet
Avatar
1394 posts
Online
ajax103 in post 152624 said:
I did look though the Wiki but bearing in mind I just about get along with the rules by understanding how they work, I find the whole decisions thing to be a tad complicated for me.

[/quote]

Some of this is historical. Rules came first, but were rather misused / overextended to do things like choosing day of the week variations.

With both now available, as Postal said it is best to get into decisions for 'which trains run' and to use rules for making sure train diagrams stick together, trains do not meet themselves coming the other way, time is allowed for shunting off-sim and the like.

Feel free to ask for some simple examples on a free sim (Westbury say ?) if you think it would help

Log in to reply
The following user said thank you: ajax103
Using Trains as Alteratives 03/08/2023 at 22:34 #152628
drew
Avatar
71 posts
The only drawback I have found with decisions is that a given train or activity can only be subject to one decision, whereas it could be subject to multiple rules. A decision can have many choices, and you can pick and select which ones you trigger from, but you don’t seem to be able to subject a train to multiple decisions. There are many positives to decisions, would recommend using them, but I’ve found this to be the limitation.
Log in to reply
The following user said thank you: Soton_Speed