Being fair to arriving trains

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
JasonC
Filter Inserter
Filter Inserter
Posts: 451
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Being fair to arriving trains

Post by JasonC »

I'm having an issue with a train station I'm working on. I did read the big train/deadlock thread but it doesn't cover my case.

So in the image below, there are 5 unloading stations. Each station has the same name, so the trains will pick a free one when arriving. The entrance and exit are at the top left. Trains arrive on the left track and depart on the right:

Image

The station functions correctly with no deadlock. The problem I'm having is that arriving trains wait at the signal while other trains are leaving, even though there are open paths to clear stations. In the image above, the arriving train is waiting for all departing trains to clear, but I want it to go to one of the free stations on the bottom, and only wait if there are no paths to open stations:

Image

Is there any signal configuration that can accomplish this? I've mostly been trying random things and getting flashing signals.

It's not a major issue, it's not preventing the station from functioning, but it is limiting drop-off rates since arriving trains essentially wait until all stations are clear (unless I set the stop times really long to provide some "windows" to arriving trains) instead of jumping on an available one.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.
JasonC
Filter Inserter
Filter Inserter
Posts: 451
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Being fair to arriving trains

Post by JasonC »

In this attempt I just removed the first signal from the arriving track in the top left. The issue is even more apparent:

Image

The train has a clear path to the station it's trying to go to, but my signals are undesirably preventing it from entering that block.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.
sillyfly
Smart Inserter
Smart Inserter
Posts: 1103
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: Being fair to arriving trains

Post by sillyfly »

Your problem is the right vertical track between the entrances - it links all entrances, so if one train is leaving a station no other can enter/leave. You should put signals on this track between exits/entrances, but I think you can't fit them now, and you'll have to space your stations further apart.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Being fair to arriving trains

Post by Adil »

Image
My guess would be that the rail section before the arriving train is not free of trains. I've outlined it with ochre on the pic. The current setup is impervious to a complete disentangling, but I believe you could get the train to the bottom station, if you put additional traffic light at the blue circle position.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
JasonC
Filter Inserter
Filter Inserter
Posts: 451
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Being fair to arriving trains

Post by JasonC »

Thanks.
sillyfly wrote:Your problem is the right vertical track between the entrances - it links all entrances, so if one train is leaving a station no other can enter/leave. You should put signals on this track between exits/entrances, but I think you can't fit them now, and you'll have to space your stations further apart.
I spaced out the stations and tried a few signal placements, but I'm still having some trouble with this (mostly a lot flashing signals). I'm redesigning the station to have less crossing tracks and more space, then I'm going to read the big deadlock thread one or two more times and experiment some more. I'm sure I'll figure it out eventually. In the mean time I'm focused on another question about this station.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.
Post Reply

Return to “Gameplay Help”