Train order when waiting for destination space
Posted: Mon Sep 23, 2024 11:06 pm
Hi,
I was trying to solve a train balancing issue, but sadly my solution didn't work and it's got me curious about a confusing train mechanic.
Suppose two trains both have the same destination station, and are waiting for it to have space. When the destination finally gets space, which one should win the race? I think I would expect it to either be the closest as defined at https://wiki.factorio.com/Railway/Train_path_finding, or the one that started waiting first, but I'm seeing counterexamples to both theories. Happy to share more details on my experiments but thought I'd check if people know what should happen first...
An example, with a signal set to red by control signal meaning the right train should be "closer" but the left train seems to win.
I was trying to solve a train balancing issue, but sadly my solution didn't work and it's got me curious about a confusing train mechanic.
Suppose two trains both have the same destination station, and are waiting for it to have space. When the destination finally gets space, which one should win the race? I think I would expect it to either be the closest as defined at https://wiki.factorio.com/Railway/Train_path_finding, or the one that started waiting first, but I'm seeing counterexamples to both theories. Happy to share more details on my experiments but thought I'd check if people know what should happen first...
An example, with a signal set to red by control signal meaning the right train should be "closer" but the left train seems to win.