So, as we know,
Why is this penalty only 1000 again? Wouldn't you almost always want for a red-signaled path to be extremely undesirable to choose?Factorio wiki on train pathfinding wrote:When [a] rail block is guarded by a rail signal set to red by the circuit network -> Add a [path finding] penalty of 1000.
I have a train going to stations A and B, stations have signals controlled by circuits. Even when the signals are red at A and green at B, trains still try to path to A presumably because it's so much closer. I can't see any other reason for the train not going to B other than A still somehow being more favorable despite having a literal red signal (which is going to be there for a long time no less).
- I cannot simply disable stations with circuits to work around this. That was my initial approach actually, but it causes the problem that if all stops are disabled, the train will simply skip the station, effectively running around in circles pointlessly because no other stations exist to stop it.
- I cannot add a "waiting station" because there is no condition to wait for, the "conditions" are either the stations being enabled/disabled or the station signals being enabled by circuits, neither which are available at such a waiting station.
- Station B is definitely reachable by train, I checked by giving a temporary station at B to go to.