Page 1 of 1

Can I have multiple provider stations sharing the same warehouse?

Posted: Tue Mar 05, 2019 3:41 am
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.

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

Posted: Tue Mar 05, 2019 10:24 pm
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

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

Posted: Sun Mar 31, 2019 1:19 pm
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.