Page 1 of 1
[0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 6:06 am
by MOHAPX
The train travels from station A to station B.
If there is a station on the way of the train, then the train does not pass this way, but always takes a detour. But if there is no other way, then the train travels through the station. Why can't the train pass through station C if this route is shorter?
It is necessary to do it - if station C is turned off, then it would not interfere with the passage of the train.

- 2019-07-23_08-53-25.png (1.51 MiB) Viewed 2016 times

- 2019-07-23_09-02-22.png (1.31 MiB) Viewed 2016 times

- 2019-07-23_09-02-28.png (1.29 MiB) Viewed 2016 times
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 6:11 am
by boskid
Not a Bug
For pathfinding, because of penalty of train stop not in path, longer path is "better"
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 6:21 am
by valneq
I think the idea behind the panalty for train stops is the following:
If your train takes a path where it traverses a train station, but for whatever reason has to stop along the way at some red signal, your train could possibly block the entrance/exit of that train station. As a consequence, another train that tries to get to that train station cannot access it -- and everything because your first train decided it was more important to save some fuel by taking a slightly shorter route.
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 7:00 am
by Loewchen
As has been said, this is working exactly as it should. Check out the wiki for pathfinding details.
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 5:18 pm
by MOHAPX
If the station is turned off, the train will not go to it, therefore you can use this route for the train. Is not it logical?
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 5:38 pm
by posila
Disabled station may become enabled and another train might stop in it for undetermined length of time; so stations on path have fixed penalty for pathfinding regardless of their current state.
Re: [0.17.58] The train incorrectly calculates the route.
Posted: Tue Jul 23, 2019 7:15 pm
by mmmPI
You can put a station on the long path too to equalize the penalty if the behavior is annoying you.