Trains FIFO suggestion

Ideas that are too old (too many things have changed since) and ones which won't be implemented for certain reasons or if there are obviously better suggestions.

Moderator: ickputzdirwech

Post Reply
varundevan
Fast Inserter
Fast Inserter
Posts: 175
Joined: Mon Jan 20, 2020 4:41 am
Contact:

Trains FIFO suggestion

Post by varundevan »

Hi,
WHAT
To make trains to follow First in First out for in the junction or at any waiting signal.
HOW
The trains are not somehow following FIFO even if we wanted to, and of course there are some decent complicated ways to achieve that via circuits.
I have an idea to make each train to have an internal clock, and the clock would start ticking when the train stops at a signal.

so, that the train with highest waiting time will be given the highest priority to leave the junction or leave the spot that is currently waiting.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Trains FIFO suggestion

Post by ssilk »

Why do you mean that the order of trains is somehow important?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2250
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Trains FIFO suggestion

Post by boskid »

Nope.

When a train arrives at signal it is the only train to arrive at that given signal, so what you are most likely requesting is if a train cannot reserve a block it should queue as first for the reservation. This would work only in case of a rail signals, but in case of rail chain signals it would require train to be put in queue of multiple rail blocks, even when some of them are empty at that moment. There is no partial reservation (reserve only one block of a chain signal section) or forced reservation revokation (the rail block is reserved but the train was unable to reserve all rail blocks, lets cancel its reservation so i can pass as i have different path through the crosssection). By implementing that, it could happen that a train that can safely pass the crossection as its path is "guarded" by another train going in the same direction but on the adjacent rail - would have to stop at a rail signal that would be green and there would be no clear feedback as to why the train is waiting at the signal.
90247.png
90247.png (579.83 KiB) Viewed 1524 times

varundevan
Fast Inserter
Fast Inserter
Posts: 175
Joined: Mon Jan 20, 2020 4:41 am
Contact:

Re: Trains FIFO suggestion

Post by varundevan »

ssilk wrote:
Mon Oct 12, 2020 4:55 am
Why do you mean that the order of trains is somehow important?
because it feels right

trains from coming from far away are coming and leaving the junction where as a near by train trying to cross the same junction end up waiting for eternity.
Last edited by varundevan on Mon Oct 12, 2020 6:59 pm, edited 1 time in total.

varundevan
Fast Inserter
Fast Inserter
Posts: 175
Joined: Mon Jan 20, 2020 4:41 am
Contact:

Re: Trains FIFO suggestion

Post by varundevan »

boskid wrote:
Mon Oct 12, 2020 8:15 am
Nope.

When a train arrives at signal it is the only train to arrive at that given signal, so what you are most likely requesting is if a train cannot reserve a block it should queue as first for the reservation. This would work only in case of a rail signals, but in case of rail chain signals it would require train to be put in queue of multiple rail blocks, even when some of them are empty at that moment. There is no partial reservation (reserve only one block of a chain signal section) or forced reservation revokation (the rail block is reserved but the train was unable to reserve all rail blocks, lets cancel its reservation so i can pass as i have different path through the crosssection). By implementing that, it could happen that a train that can safely pass the crossection as its path is "guarded" by another train going in the same direction but on the adjacent rail - would have to stop at a rail signal that would be green and there would be no clear feedback as to why the train is waiting at the signal.

90247.png
If I understood your context right,
using the Rail signal at the right place seems to solve the problem. Let me try that.
Thanks for the explanation.

Post Reply

Return to “Outdated/Not implemented”