Train Pathing Question
Train Pathing Question
Why does the train not take the yellow marked waiting area? I know how to work around that, but i stumbled over this problem now several times and it forces me to build the train network in a specific way.
(green is the way the train will take when there is green light)
- the 2 red marked signals can be removed that would fix the issue, though it destroys the way i wanted to setup the network, because i'd like to have other trains pass this rail in both directions, which is not implemented here.
- Also swapping the drive-through and waiting-bay would be a solution (image2), though again it forces me to build it in a specific way.
in reality trains would ofcourse take the waiting bay because the distance to the left could be much larger. I suspect that this advanced path finding would very complex etc. so taking the solution of the direct way is the only one...
nvm this is just for my personal understanding, thx for any help.
(green is the way the train will take when there is green light)
- the 2 red marked signals can be removed that would fix the issue, though it destroys the way i wanted to setup the network, because i'd like to have other trains pass this rail in both directions, which is not implemented here.
- Also swapping the drive-through and waiting-bay would be a solution (image2), though again it forces me to build it in a specific way.
in reality trains would ofcourse take the waiting bay because the distance to the left could be much larger. I suspect that this advanced path finding would very complex etc. so taking the solution of the direct way is the only one...
nvm this is just for my personal understanding, thx for any help.
Re: Train Pathing Question
I'm not 100% sure but I think that train choses path that seems shorter regardless of signal state on that path.
If you move the siding to other side of main rail it will have same length as main track and should be used more often since pathing cost will be same as main line.
If you move the siding to other side of main rail it will have same length as main track and should be used more often since pathing cost will be same as main line.
Re: Train Pathing Question
yes that is correct - but again maybe at a certain point there is no possibility to move it on the other sideorzelek wrote:I'm not 100% sure but I think that train choses path that seems shorter regardless of signal state on that path.
If you move the siding to other side of main rail it will have same length as main track and should be used more often since pathing cost will be same as main line.
Re: Train Pathing Question
This is caused by the pathfinder not looking whether a signal is red or not - except for circuits - but whether or not there is a train in the block. As there is no train in either block the only thing the pathfinder has to differentiate with is how long the paths are. Changing how that works seems like it would not be that easy to me at least, especially handling chain signals correctly and efficiently.
Another workaround for this could be to make the siding the only entrance to the train station, this should only need very little space.
Another workaround for this could be to make the siding the only entrance to the train station, this should only need very little space.
Re: Train Pathing Question
I could see giving some penalty to paths through a two-way signal.
Re: Train Pathing Question
I think that part of it could be that paths are calculated when the train departs, and it rarely recalcultes, although in that case I would think that it would choose the correct path. Also, you're on 0.16, right?
Really? I thought that penalties were given with 2(block length) for red signals, and that circuit-controlled signals just gave a constant penalty of 1000?aaargha wrote:This is caused by the pathfinder not looking whether a signal is red or not - except for circuits - but whether or not there is a train in the block. As there is no train in either block the only thing the pathfinder has to differentiate with is how long the paths are. Changing how that works seems like it would not be that easy to me at least, especially handling chain signals correctly and efficiently.
Another workaround for this could be to make the siding the only entrance to the train station, this should only need very little space.
There are 10 types of people: those who get this joke and those who don't.
Re: Train Pathing Question
Ah, this is relavent. I'm not entirely sure why this is happenning, though.
There are 10 types of people: those who get this joke and those who don't.
Re: Train Pathing Question
Sounds valid to mepleegwat wrote:I could see giving some penalty to paths through a two-way signal.
Re: Train Pathing Question
not sure it matters to the discussion, but the rail signal going into the waiting bay is red without a train in the block
Re: Train Pathing Question
Which signal are you referring to, as far as I can tell they all look like they're in the correct state?cbhj1 wrote:not sure it matters to the discussion, but the rail signal going into the waiting bay is red without a train in the block
Re: Train Pathing Question
in the second picture, the entrance to the empty waiting bay
Re: Train Pathing Question
Nope - it's a chain signal.cbhj1 wrote:in the second picture, the entrance to the empty waiting bay
There are 10 types of people: those who get this joke and those who don't.
Re: Train Pathing Question
so it is, my mistake
Re: Train Pathing Question
I'm not seeing a second signal for the interior signals on the upper side to be chained off of. They're connecting to the signal on the far end past the incoming train. Which is why they're red, so the train is going through because it's already in the block.
Re: Train Pathing Question
the stationTriaxx2 wrote:I'm not seeing a second signal for the interior signals on the upper side to be chained off of. They're connecting to the signal on the far end past the incoming train. Which is why they're red, so the train is going through because it's already in the block.