Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

Valley wrong route

You are here: Home > Forum > Simulations > Released > North Wales Coast > Valley wrong route

Page 1 of 2

Valley wrong route 19/01/2013 at 18:19 #40699
peterb
Avatar
452 posts
See picture - as 1G40 left HHD, I set the next location to be the Britannia Bridge. At Valley, it gave an 'incorrect route set' warning.
Post has attachments. Log in to view them.
Log in to reply
Valley wrong route 19/01/2013 at 18:47 #40700
Stephen Fulcher
Avatar
2078 posts
Online
It looks like the sim is still expecting to see the compulsory timing points of Valley and Gaerwen.

If you tell the driver to accept the route you will get around the issue, which appears to be with the route checking contained within the sim code expecting that route to "see" Gaerwen in the trains timetable. As he is no longer booked to pass there, he will call wrong route.

I will forward it onto Karl.

Last edited: 19/01/2013 at 18:55 by Stephen Fulcher
Log in to reply
Valley wrong route 19/01/2013 at 18:55 #40701
onlydjw
Avatar
456 posts
Location checking will only work with a TT with valid paths. If you don't have a valid TT, then you may get wrong route calls, because the TT is invalid.
God bless, Daniel Wilson
Log in to reply
Valley wrong route 19/01/2013 at 22:59 #40705
Josie
Avatar
310 posts
If this is deliberate behaviour it's a change from other sims, where setting current/next location to somewhere distant will leave the train happily rattling on in any direction until it picks up the timetable again. A good example is on King's Cross, if (e.g.) the Hertford Loop is blocked you can tell a train at Langley that its current/next location is Alexandra Palace and it'll happily take any route via WGC until it can pick up its booked timetable at Ally Pally.
Log in to reply
Valley wrong route 20/01/2013 at 04:04 #40707
BarryM
Avatar
2158 posts
" said:
If this is deliberate behaviour it's a change from other sims, where setting current/next location to somewhere distant will leave the train happily rattling on in any direction until it picks up the timetable again. A good example is on King's Cross, if (e.g.) the Hertford Loop is blocked you can tell a train at Langley that its current/next location is Alexandra Palace and it'll happily take any route via WGC until it can pick up its booked timetable at Ally Pally.
Josie, North Wales Coast is an entirely different signalling system compared with Kings Cross.

Barry

Barry, Sydney, New South Wales, Australia
Log in to reply
Valley wrong route 20/01/2013 at 04:48 #40708
BarryM
Avatar
2158 posts
" said:
See picture - as 1G40 left HHD, I set the next location to be the Britannia Bridge. At Valley, it gave an 'incorrect route set' warning.
Why did you set the next location as Britannia Bridge? The next location is Amwlch. Why did you want to change the trains location at all? The TT is set correctly with all timing locations shown. Setting the trains location from Valley to Britannia Bridge will definitely bring up the warning as Gaerwen is in between.

Barry

Barry, Sydney, New South Wales, Australia
Log in to reply
Valley wrong route 20/01/2013 at 13:50 #40715
peterb
Avatar
452 posts
Barry,

Just to clarify, regarding 'signalling system' are you referring to the core code or system in place on the ground (i.e. AB/TCB)? If the latter then I would have still expected the sim to have behaved in the manner which Josie describes, especially since in this instance there are no diverging routes between the two locations, hence this bug report. Had there not been a junction on the up line at VAL I doubt the sim would have brought up the warning.

By setting the next location as Britannia Bridge on departure from HHD, my intention was to run the train non-stop to Bangor due to delay, as it was timetabled to all-stop.

Thanks.

Log in to reply
Valley wrong route 20/01/2013 at 13:56 #40716
headshot119
Avatar
4869 posts
The issue is that the route checking at that signal is expecting to find Gaerwen in the trains timetable, as that is the next compulsory timing point, if you had set the next location as Gaerwen the train wouldn't phone in wrong route.

For the purposes of route checking there is a diverging junction between the two, it is at the signal which the train is calling in wrong route.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 20/01/2013 at 14:01 #40717
Ben86
Avatar
126 posts
" said:

By setting the next location as Britannia Bridge on departure from HHD, my intention was to run the train non-stop to Bangor due to delay, as it was timetabled to all-stop.

It sounds like there are some key locations you have skipped over by setting the next location to Britannia Brdige. A solution might be to tick the 'passing time' option for each of the scheduled station calls, if you want the train to run non-stop.

Log in to reply
Valley wrong route 21/01/2013 at 12:45 #40744
clive
Avatar
2789 posts
" said:
The issue is that the route checking at that signal is expecting to find Gaerwen in the trains timetable, as that is the next compulsory timing point, if you had set the next location as Gaerwen the train wouldn't phone in wrong route.
The core code allows the developer to say, for each route:
- wrong route if X appears in the timetable
- wrong route if X does not appear in the timetable
- wrong route if X is not the next location in the timetable
There's also a facility for custom tests, but those are more work to write so the above three are the most common.

Most sim developers use the first one in most situations, reserving the other two for special cases like sidings. It would appear that NWC has been written differently, and this is a side-effect of doing that.

Log in to reply
The following user said thank you: Josie
Valley wrong route 21/01/2013 at 19:09 #40756
headshot119
Avatar
4869 posts
" said:
" said:
The issue is that the route checking at that signal is expecting to find Gaerwen in the trains timetable, as that is the next compulsory timing point, if you had set the next location as Gaerwen the train wouldn't phone in wrong route.
The core code allows the developer to say, for each route:
- wrong route if X appears in the timetable
- wrong route if X does not appear in the timetable
- wrong route if X is not the next location in the timetable
There's also a facility for custom tests, but those are more work to write so the above three are the most common.

Most sim developers use the first one in most situations, reserving the other two for special cases like sidings. It would appear that NWC has been written differently, and this is a side-effect of doing that.
I'm aware of the options that are available.

I've adjusted the sim to eliminate the error, but if trains where running as they should be things like this wouldn't occur.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 21/01/2013 at 19:28 #40757
postal
Avatar
5264 posts
" said:
. . . . if trains where running as they should be things like this wouldn't occur.
Just like the real railway, then.

“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
The following user said thank you: headshot119
Valley wrong route 21/01/2013 at 19:43 #40758
Josie
Avatar
310 posts
" said:
I'm aware of the options that are available.
I wasn't though - thanks Clive.


" said:
I've adjusted the sim to eliminate the error, but if trains where running as they should be things like this wouldn't occur.
But of course they don't always! Another example I saw this afternoon; I had a 5Cxx train heading to Hornsey EMU Depot which, because of a series(!) of awkward failures, had got stuck on the Down Fast. I abandoned the timetable, sent it to Bowes Park to reverse, then reinstated its timetable with 'current/next location' set to Harringay Rev Sdg. In this case it was completely off its booked route, but it cleared all junctions etc. without comment until it arrived at a place it was expecting. I realise it's not a feature as such, but it's a useful option to have rather than having to write a full emergency timetable if there's disruption to a single train.

Log in to reply
Valley wrong route 21/01/2013 at 19:48 #40759
Peter Bennet
Avatar
5402 posts
It is possible to add bespoke code to automatically jump the timetable in cases of diversion. CScot has it in abundance. However, bespoke coding is being phased out so the feature may not be available in future Sims.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Valley wrong route 21/01/2013 at 23:34 #40779
Danny252
Avatar
1461 posts
" said:
It is possible to add bespoke code to automatically jump the timetable in cases of diversion. CScot has it in abundance. However, bespoke coding is being phased out so the feature may not be available in future Sims.

Peter
Really? The more recent sims seem to be drowning in bespoke features - Euston, NWC, CScot, NEScot, and so on. Have they just been a bit too much hassle when testing/coding?

Log in to reply
Valley wrong route 22/01/2013 at 11:20 #40786
headshot119
Avatar
4869 posts
" said:
" said:
It is possible to add bespoke code to automatically jump the timetable in cases of diversion. CScot has it in abundance. However, bespoke coding is being phased out so the feature may not be available in future Sims.

Peter
Really? The more recent sims seem to be drowning in bespoke features - Euston, NWC, CScot, NEScot, and so on. Have they just been a bit too much hassle when testing/coding?
Peter is referring to "custom code" rather than code we can achieve in the sim data.

I can't speak for other sims, but NWC uses no "custom code" at all to achieve any of the bespoke features. The AB controls are essentially a set of logic flags connected to a set of slots. Once one was made and tested, and we were happy with it, I copied it across the sim.

I can't think of the top of my head what other bespoke features NWC has, but I'm happy to explain any of the others to you.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 22/01/2013 at 12:59 #40787
jc92
Avatar
3685 posts
" said:
" said:
It is possible to add bespoke code to automatically jump the timetable in cases of diversion. CScot has it in abundance. However, bespoke coding is being phased out so the feature may not be available in future Sims.

Peter
Really? The more recent sims seem to be drowning in bespoke features - Euston, NWC, CScot, NEScot, and so on. Have they just been a bit too much hassle when testing/coding?
the only recent custom code i can think of (assuming it is custom and not actually a full new feature) is the capacity control on euston/WemSub.

"We don't stop camborne wednesdays"
Log in to reply
Valley wrong route 22/01/2013 at 13:08 #40788
headshot119
Avatar
4869 posts
" said:
" said:
" said:
It is possible to add bespoke code to automatically jump the timetable in cases of diversion. CScot has it in abundance. However, bespoke coding is being phased out so the feature may not be available in future Sims.

Peter
Really? The more recent sims seem to be drowning in bespoke features - Euston, NWC, CScot, NEScot, and so on. Have they just been a bit too much hassle when testing/coding?
the only recent custom code i can think of (assuming it is custom and not actually a full new feature) is the capacity control on euston/WemSub.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 22/01/2013 at 13:36 #40789
peterb
Avatar
452 posts
Just to also add this one. See no reason why this shouldn't somehow be allowed (5D82 is for the CS)
Post has attachments. Log in to view them.
Log in to reply
Valley wrong route 22/01/2013 at 13:42 #40790
headshot119
Avatar
4869 posts
" said:
Just to also add this one. See no reason why this shouldn't somehow be allowed (5D82 is for the CS)
That one has been reported to me previously, that's been fixed in the next version.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 22/01/2013 at 13:54 #40791
peterb
Avatar
452 posts
Also, please can you just check where the sim thinks TC TAE3 is? I had a TCF and it came up as being in the Llanrwst area... (and yes I'm sure it was that TCF!)
Log in to reply
Valley wrong route 22/01/2013 at 14:24 #40792
headshot119
Avatar
4869 posts
" said:
Also, please can you just check where the sim thinks TC TAE3 is? I had a TCF and it came up as being in the Llanrwst area... (and yes I'm sure it was that TCF!)
See this thread.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Valley wrong route 22/01/2013 at 15:02 #40794
clive
Avatar
2789 posts
" said:
I've adjusted the sim to eliminate the error, but if trains where running as they should be things like this wouldn't occur.
My experience is that you're better off using the "can't get there" options rather than "have to have X in the timetable" options. When things start going wrong, it means that trains only complain if they really can't cope with the route you've offered them.

I also generally follow the principle of only putting a test in at the point where the train absolutely has to make a commitment.

(None of this is criticism of how you've done it, just discussion points.)

Log in to reply
Valley wrong route 22/01/2013 at 15:14 #40795
clive
Avatar
2789 posts
" said:
" said:

However, bespoke coding is being phased out so the feature may not be available in future Sims.
Really? The more recent sims seem to be drowning in bespoke features - Euston, NWC, CScot, NEScot, and so on. Have they just been a bit too much hassle when testing/coding?
Bespoke coding is a hassle when trying to debug problems that appear to be in the core code. But the main reason for getting rid of it are some future developments that I'm not at liberty to talk about.

Euston had about four bits of custom code in it. I looked at it about a month ago for other reasons and found that all bar one of them could be replaced by core code features that have been added since then. That left the little lamp by the Up Carriage Sidings that shows if there's room for another train. I added a new core code feature that allowed that to be done (it's more generic than that, so will be useful for other sims). So when Euston gets refreshed it will not have any custom code.

Log in to reply
Valley wrong route 22/01/2013 at 15:17 #40796
clive
Avatar
2789 posts
" said:

the only recent custom code i can think of (assuming it is custom and not actually a full new feature) is the capacity control on euston/WemSub.
That was a core code feature from day one.

Log in to reply