I think something is wrong about the pathfinding of the trains. Sometimes the train takes a much longer path than the shortest path. It is much more easier to show the issue than to explain it:
Here: you can find 4 Stations and it is obvious, what would be the shortest path from the starting point.
- At "Wrong-Path-X.jpg" you can see the path that the train takes.
- At "Island_1.7.zip" you can find the savegame.
What might be the problem:
- It seems like the train is looking for the next crossroads and it might be more important turning left in a roundabout (which is faster on left-hand traffic) than finding a shorter way where you have to turn right in an other roundabout.
[0.17.14] Strange pathfinding of Trains
-
- Manual Inserter
- Posts: 3
- Joined: Sun Mar 17, 2019 3:40 pm
- Contact:
[0.17.14] Strange pathfinding of Trains
- Attachments
-
- Island_1.7.zip
- savegame
- (11.16 MiB) Downloaded 74 times
-
- Third example
- Wrong-Path-3.jpg (1.72 MiB) Viewed 1252 times
-
- Second example
- Wrong-Path-2.jpg (1.7 MiB) Viewed 1252 times
-
- First example
- Wrong-Path-1.jpg (1.76 MiB) Viewed 1252 times
-
- Fast Inserter
- Posts: 133
- Joined: Fri Oct 05, 2018 3:49 pm
- Contact:
Re: [0.17.14] Strange pathfinding of Trains
I haven't checked your save yet since I'm not at home currently, but does the train ever turn right from the intersection shown? Perhaps there's a signaling issue or something there that causes it to only be able to turn left when leaving the InternBase stop?
Re: [0.17.14] Strange pathfinding of Trains
Train stations apply a heavy penalty to the path length if a train passes through them.
Your InternKraftwerk and InternIronWest need to be passed by your train in order to get from the Base to Uranium
InternKraftwerk needs to be passed from Base to IronWest (or back to Base)
Adding bypasses and/or moving the stations resolves the problem
from https://wiki.factorio.com/Railway/Train_path_findingWhen the path includes a train stop that is not the destination -> Add a penalty of 2000.
Your InternKraftwerk and InternIronWest need to be passed by your train in order to get from the Base to Uranium
InternKraftwerk needs to be passed from Base to IronWest (or back to Base)
Adding bypasses and/or moving the stations resolves the problem
-
- Manual Inserter
- Posts: 3
- Joined: Sun Mar 17, 2019 3:40 pm
- Contact:
Re: [0.17.14] Strange pathfinding of Trains
Thank you, that solved the ProblemChoumiko wrote: Mon Mar 18, 2019 4:32 pm Train stations apply a heavy penalty to the path length if a train passes through them.from https://wiki.factorio.com/Railway/Train_path_findingWhen the path includes a train stop that is not the destination -> Add a penalty of 2000.
Your InternKraftwerk and InternIronWest need to be passed by your train in order to get from the Base to Uranium
InternKraftwerk needs to be passed from Base to IronWest (or back to Base)
Adding bypasses and/or moving the stations resolves the problem