Page 1 of 1

Chain signals into a station

Posted: Sat Jan 23, 2016 6:49 pm
by sfxdude
I'm sure this is probably the intended behavior (or is it?!) but I think chain signals are acting a bit...odd. If there are multiple trains waiting for a 'platform' at a station with more than one stop, they seem to decide on which platform they are going to before they reach the chain signals before the station. It's probably best illustrated with this picture:
ss.png
ss.png (4.73 MiB) Viewed 25527 times
As you can see, there's a vacant platform at the station (both stops have the same name) but the three trains waiting have already selected the upper platform and so aren't moving.

Is there any way to avoid this kind of situation whilst still avoiding any situation which might induce a deadlock?

Re: Chain signals into a station

Posted: Sat Jan 23, 2016 7:08 pm
by Kewlhotrod
replace the chain signals with regular signals, only use chain signals at a track intersection

Re: Chain signals into a station

Posted: Sat Jan 23, 2016 7:27 pm
by sfxdude
Kewlhotrod wrote:replace the chain signals with regular signals, only use chain signals at a track intersection
I'm not really sure that would work. Making the centre section one block would just cause a train to block the entire intersection. If a train left from the other platform first then nothing would be able to move into that platform.

I played about a bit with the 'show train stop point' debug feature. It seems the trains do do some sort of analysing of free platforms / which train is likely to leave first. Putting a chain signal in the very middle bit and block signals at the exit to the waiting bays seemed to help a bit, but still occasionally something like this happenes:
ss1.png
ss1.png (4.67 MiB) Viewed 25502 times
This never actually happened for a very long period of time; this train did actually move into the free platform a few seconds after this. I'm guessing it has to do with the frequency that trains recalculate their route. Seems to happen about 5 seconds after a train has departed from a station.

Re: Chain signals into a station

Posted: Sat Jan 23, 2016 10:47 pm
by ratchetfreak
they'll repath if they are stopped at a chain signal and there is another rout open

Re: Chain signals into a station

Posted: Sun Jan 24, 2016 8:05 am
by Kalanndok
ratchetfreak wrote:they'll repath if they are stopped at a chain signal and there is another rout open
Assuming your theory is right and looking at the threadstarters screenshots:
Why don't the trains stopped at the chain signals repath into the other free station?

Re: Chain signals into a station

Posted: Sun Jan 24, 2016 8:48 am
by sillyfly
ratchetfreak wrote:they'll repath if they are stopped at a chain signal and there is another rout open
No, they don't. Well, maybe after a long time, but normally they just wait, as shown here.

Re: Chain signals into a station

Posted: Fri Jan 29, 2016 12:35 pm
by ssilk
Maybe it's a bug?! Several patches has been made to the repath algorithms. Maybe you can provide the save so other can look?

Re: Chain signals into a station

Posted: Sat Jan 30, 2016 7:13 pm
by Linosaurus
sfxdude wrote:I'm guessing it has to do with the frequency that trains recalculate their route. Seems to happen about 5 seconds after a train has departed from a station.
IIRC they *never* recalculate which exact station they are going to, it is decided when they leave the previous station. Even if a free station has the same name.

I cannot find the source now but I read an idea where you had a temporary station just before the real unloading stations, where all the ore trains would stop for 0 seconds. Then when they path the tiny distance to the real unloading stations they'll select the free one, assuming they are equally distant from the temp station.

Re: Chain signals into a station

Posted: Sun Jan 31, 2016 6:37 am
by Cbrad24
Linosaurus wrote:IIRC they *never* recalculate which exact station they are going to, it is decided when they leave the previous station. Even if a free station has the same name.
This is what I thought. After reading this thread you were luring me into false hope that assigning two stations in the schedule would somehow select the empty one. Maybe it does, I've always just assumed they went to stations by order of the schedule.

Something .13 might fix if we get enough control using the circuit network.

Re: Chain signals into a station

Posted: Mon Feb 08, 2016 11:42 am
by nobodx
I solved this behavior by adding a entry-station in front of my main station, where trains wait for 0 seconds.
The result is, that trains move to the entry station, stop there and look for a new route from there.

Re: Chain signals into a station

Posted: Mon Feb 08, 2016 3:11 pm
by roy7
nobodx wrote:I solved this behavior by adding a entry-station in front of my main station, where trains wait for 0 seconds.
The result is, that trains move to the entry station, stop there and look for a new route from there.
Smart idea! :)

Re: Chain signals into a station

Posted: Tue Feb 09, 2016 8:16 am
by nobodx
I wished we had waypoint-stations, so we can force trains to use a specific route (like in TTD)