Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

Entry rules matching stock

You are here: Home > Forum > Wishlist > Features wish list > Entry rules matching stock

Page 1 of 1

Entry rules matching stock 18/09/2024 at 20:57 #158578
9pN1SEAp
Avatar
1180 posts
Hi,

Playing LTS (sadly not yet chained to LST IECC!) - I had to do some diagram swaps for 9B's at the country end due to infrastructure issues which then meant I had to adjust the categories for the return workings as it was a mix of 8- and 12-car forms.

So it made me wonder if it would be possible when using "Train X must enter after Y has left the area", if a variation of the rule could automatically copy category of Y to X as it returns?

Thanks
Jamie

Jamie S (JAMS)
Log in to reply
Entry rules matching stock 18/09/2024 at 21:29 #158579
bill_gensheet
Avatar
1413 posts
There's no guarantee that the train Y is the stock of train X, for instance could be outward light engine and a freight hauled by it back in.
Log in to reply
Entry rules matching stock 18/09/2024 at 22:36 #158580
9pN1SEAp
Avatar
1180 posts
True, but in some circumstances like the Liverpool Street c2c's you know they are - hence a different rule type.
Jamie S (JAMS)
Last edited: 18/09/2024 at 22:37 by 9pN1SEAp
Reason: None given

Log in to reply
Entry rules matching stock 19/09/2024 at 08:46 #158581
jc92
Avatar
3685 posts
There is an issue here because the rule can't take activities into account.

if train 1 is 4 car, booked 8 car after a join and you cancel the join due to delays, its runs 4 car. Lets say you have this rule in place, but when it comes back as train 2 its due to divide into 2 seperate 4 car units. It can't do it!

I know its partially covered by the idea of going in and manually altering its "diagram" in the first place but I can see problems arising.

"We don't stop camborne wednesdays"
Last edited: 19/09/2024 at 08:46 by jc92
Reason: None given

Log in to reply
The following user said thank you: KCRCRailway
Entry rules matching stock 19/09/2024 at 09:38 #158582
bill_gensheet
Avatar
1413 posts
9pN1SEAp in post 158580 said:
True, but in some circumstances like the Liverpool Street c2c's you know they are - hence a different rule type.
Ok so a wholly new rule of :
"Train X must return (time) after Y has left the area" with Y's properties overwriting the timetabled train characteristics of X.

Thinking sideways, and I'll admit I doubt it is useful enough to see the light of day, would be to have an option for the entering train have the characteristics of 'whatever $1Z00 left the sim as' instead of setting a train category in the timetable.

Log in to reply
The following user said thank you: 9pN1SEAp
Entry rules matching stock 19/09/2024 at 13:25 #158583
JamesN
Avatar
1607 posts
Unfortunately it’s probably far too significant a change under-the-bonnet to be much of a starter. Not to say it isn’t a good suggestion; just not a practical one unfortunately!

For a bit of background - Rules basically work behind the scenes as an extra check on a train entering the system - “has xyz rule expired yet” if you will.

So a train gets to the front of the entry queue, and then (amongst many other similar tests) all rules are then tested against that train. If it passes then the train is allowed to enter; if not then the train is held or cancelled depending on precisely what rule is in play.

There isn’t a mechanism in there to change the nature of the train entering; to do so would be a massive overhaul of that part of the logic, liable to break existing timetables and so on.

It’s one of those questions around what SimSig is really - a signalling simulator or an operations simulator. It has been written as the latter at the end of the day. And whilst there are some operations tools within it, they’re mostly there to help the player get out of the proverbial - not replicate full up train service management which would be a very different ballgame.

Log in to reply
Entry rules matching stock 19/09/2024 at 15:36 #158585
clive
Avatar
2789 posts
JamesN in post 158583 said:

There isn’t a mechanism in there to change the nature of the train entering; to do so would be a massive overhaul of that part of the logic, liable to break existing timetables and so on.
Actually, copying the properties across isn't that hard - it's much the same as you do when splitting a train. In fact, (mumble mumble) instead of deleting the train object when it leaves, you park it in a special holding area. When the other train enters, you pull it out of the holding area instead of creating a new one.

Details to sort out (e.g. does it keep the old NID or gain a new one?; do we show it anywhere as "off sim"?) but I don't see anything that would break things off the top of my head.

This would result in a rule of the form:

1A23/$PQR1A23-TTHX re-enters at BEETOWN as 5B67/$STU1A23-TTHX 6 minutes after 9Q80 passed SEASIDE

where the "after" bit can be any existing rule condition; in other words, "X enters at Y" becomes "Z re-enters at Y as X". Hmm, need to alter the rule-writing bits a bit, but again no obvious show-stoppers.

Log in to reply
The following users said thank you: Soton_Speed, Philo, mldaureol