Page 3 of 3

Re: Round robin scheduling for trains / Train Limits can Soft-Deadlock when Incoming and Outgoing are Both Full

Posted: Sat Feb 12, 2022 12:18 am
by ssilk
Nice read, maybe a bit theoretical. :)
Some of this might be applied to Factorio as well, although it's probably a bit different since there are no waiting queues for resource allocation.
Exactly. It won’t work! Because of that.

Add one queue (one more stop with space for N trains) and the problem resolves by itself.

Hmmmm. :idea:

That would be a more or less simple solution: a new “buffer stop”. Which is nothing else than: if a train is not able to leave a stop within some seconds (can be defined by a signal in the current stop) the train selects the next free buffer stop.

Really simple solution. Can be easy implemented as mod.

Re: Round robin scheduling for trains / Train Limits can Soft-Deadlock when Incoming and Outgoing are Both Full

Posted: Tue Feb 22, 2022 1:23 am
by shopt
Doesn't Klonan's train control signal mod (https://mods.factorio.com/mod/Train_Control_Signals) already give you that with its depot stops?