Unusual Train Pathing

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
Zaka
Inserter
Inserter
Posts: 36
Joined: Mon Jun 27, 2016 5:23 pm
Contact:

Unusual Train Pathing

Post by Zaka »

I hope I can explain this clearly...

I have build a factory that has a Ore Unloading bays on the North side.
There are 2 sets of waiting bays for the Unloading Stations, one to the East and one to the West.
Ore trains are only using the Western waiting bays although they have to drive past the Eastern bays to get there.
Map
The Waiting bays have a "Selector" that turns all of the signals red and continually polls the bays until a train is present.
When the selector finds an occupied bay it will turn the signal green and allow the train to proceed.
This balances the wait time of trains that are waiting for an open Unloading Bay.
Train Using Western Waiting Bay
Can some one explain why the trains go all the way around the top when the Eastern bays are unoccupied and available?
NOTE: Trains are RHD.

Thanks,
Zaka

ps Game is Vanilla 14.12
Game Save: http://www.filedropper.com/2016072946
Last edited by Zaka on Sun Oct 02, 2016 10:15 pm, edited 1 time in total.

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

Re: Unusual Train Pathing

Post by ssilk »

Moved fromGeneral to Gameplay Help
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

kingarthur
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Unusual Train Pathing

Post by kingarthur »

i dont see any super simple reason for why they are going all the way around. have you checked the signals on the east side. if they are all red the trains might be pathing to the west side because those signals keep turning green.

maybe post a copy of your save so we can take a closer look

Zaka
Inserter
Inserter
Posts: 36
Joined: Mon Jun 27, 2016 5:23 pm
Contact:

Re: Unusual Train Pathing

Post by Zaka »

Thanks for the reply.

ALL of the signals on ALL of the waiting bays are red until a train arrives in the waiting bay.
Once the train enters the bay, the signal will turn green (if no other bays are occupied).

Link to save is at the bottom of the first post.

- Zaka

Linosaurus
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Thu Jun 11, 2015 5:50 pm
Contact:

Re: Unusual Train Pathing

Post by Linosaurus »

If you completely block off the left ones by removing a piece of rail from each entrance, do the trains go to the right? This is just to rule out that some minor error makes them inaccessible.

Zaka
Inserter
Inserter
Posts: 36
Joined: Mon Jun 27, 2016 5:23 pm
Contact:

Re: Unusual Train Pathing

Post by Zaka »

Yes. If i remove the "link sections" between the Western bays and the main line, the trains will use the Eastern bays.

- Zaka

Zaka
Inserter
Inserter
Posts: 36
Joined: Mon Jun 27, 2016 5:23 pm
Contact:

Re: Unusual Train Pathing

Post by Zaka »

Please Disregard.

My error. The Combinator contraption that I built does not effect train pathing the way that I expected.

Apparently, when all paths are red, the train will take the last possible option.

- Zaka

nuhll
Filter Inserter
Filter Inserter
Posts: 923
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: Unusual Train Pathing

Post by nuhll »

Could you PLEASE share your train setup? Combinator, waiting lines? PLEASE :)

User avatar
Deadly-Bagel
Smart Inserter
Smart Inserter
Posts: 1498
Joined: Wed Jul 13, 2016 10:12 am
Contact:

Re: Unusual Train Pathing

Post by Deadly-Bagel »

As far as I know, if a train cannot reach its destination it first picks out the closest spot it can get to the station. This is not affected by distance, it measures it in signals. Once it has that, it calculates the closest path to that red signal (again not affected by distance).

There are some cases where if the path is too long it will prefer a shorter route, even if the path is available the long way, but you shouldn't have that problem in this setup.
Money might be the root of all evil, but ignorance is the heart.

Post Reply

Return to “Gameplay Help”