Can someone answer a quick question?
Say I have a central coal storage, and 2 areas named the same, that might need coal. Using the circuit network, one area requests coal. A train is sent, would that go to whichever is free? Or would it only go to the one that requested?
Train logic
-
- Inserter
- Posts: 49
- Joined: Tue May 03, 2016 1:02 am
- Contact:
Re: Train logic
Normally it will go to the nearest free station with that name.
That's why we want feature to disable stations.
Right now you can control it by signals. If station don't need coal, then make signal red before that station. In that way train will see multiple station with the same name as one station with multiple platforms. So if first station have red signal then train will go to the next one.
That's why we want feature to disable stations.
Right now you can control it by signals. If station don't need coal, then make signal red before that station. In that way train will see multiple station with the same name as one station with multiple platforms. So if first station have red signal then train will go to the next one.
-
- Fast Inserter
- Posts: 124
- Joined: Fri May 22, 2015 3:31 pm
- Contact:
Re: Train logic
With the new options for train stops, you could turn your logic around, and have one train for each station that needs the coal. You can set it to wait there until Coal = 0, then go get more coal and come back. Basically, instead of unloading the train into buffer chests, you just use the train itself while it's there. Trains don't cost anything while they're not moving, and with .13, they won't ever leave unless they really need to. 
If you don't want production interrupted while the train is gone refilling, you can use two trains, so that one fills up and waits behind the other, so it can immediately pull in when the first empties.
I'm using this system at my smelting area, and it works extremely well. Without having chests and two layers of inserters, I can cram the platforms together with only four tiles between tracks (using Bob's mods, so the smelting area has about 30 platforms for different ores and chemicals).

If you don't want production interrupted while the train is gone refilling, you can use two trains, so that one fills up and waits behind the other, so it can immediately pull in when the first empties.
I'm using this system at my smelting area, and it works extremely well. Without having chests and two layers of inserters, I can cram the platforms together with only four tiles between tracks (using Bob's mods, so the smelting area has about 30 platforms for different ores and chemicals).