Can I have multiple provider stations sharing the same warehouse?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

NameLips
Inserter
Inserter
Posts: 37
Joined: Mon Jun 27, 2016 11:53 pm
Contact:

Can I have multiple provider stations sharing the same warehouse?

Post by NameLips »

I have a warehouse with multiple ores in it. It seems reasonable to me to have a loading station on each side of the warehouse, so two different trains can load two different ores from the same warehouse at the same time.

I'm worried it'll cause some issues. After all, once both stops are connected to the warehouses, It'll connect both stops to the same circuit network, and I don't know if that's allowed. There will be two stops and two constant combinators all sharing the same red wire.

Also, I'm a little worried if both stations are telling the network that, for example, they have 20k copper ore, and two requesters elsewhere in the network are demanding 20k copper ore, that two trains will be dispatched, one to each station, each assuming they're going to collect the entire load. I don't know what happens if the load vanishes before a train arrives.

I thought about naming the 2 provider stations with the same name, but I wasn't sure that would even solve anything, and LTN doesn't like it. It instantly turns the stations pink indicating an issue.

Is this a thing that's even possible? I know I can just load one train at a time, or spread out the different ores into their own dedicated stations. I was just trying to do something a little cleverer.
User avatar
themadgunman
Inserter
Inserter
Posts: 47
Joined: Wed Jan 18, 2017 5:07 pm
Contact:

Re: Can I have multiple provider stations sharing the same warehouse?

Post by themadgunman »

LTN only knows what it has available because of signals, it doesn't actually know where the stuff is kept, however if you set up 2 stops on different circuits and set the provider threshold so that theres always 2 trains worth of stock available in the warehouse it shouldn't be an issue.

Also if a train arrives and it doesnt have enough stock it will just there till the Stop Timeout expires and then leave with an incomplete load so it won't actually cause an issue with LTN itself AFAIK
Xeridanus
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Mar 25, 2016 11:57 am
Contact:

Re: Can I have multiple provider stations sharing the same warehouse?

Post by Xeridanus »

I know this is a bit late but I have a solution that would work for you. Filter the output of the warehouse to each station using a decider combinator (if copper > 0 output copper, use input value). Same for iron to the other station. Or if you want both stations to be able to provide both kinds of ore but are worried about a lack of ore to be picked up, use an arithmetic combinator to divide the warehouse output by 2. This is less graceful than the first option, I'll admit.
Post Reply

Return to “Logistic Train Network”