Controlling the trains with circuit network (currently)?
Posted: Sat Aug 29, 2015 2:37 pm
Is there any possible way to control trains using the current 1.12 circuit network? I am starting to implement oil in a new game and my oil feild is far away from any convenient site for a refinery/chemical plant, so I want to use trains to move the oil. my standard train size, 4 cargo wagons, can hold 30,000 units of oil. Clearly I won't be able to use up all of that straight away, so if I set up a fixed-time train I will have it running around not being loaded/unloaded and wasting fuel. The ideal situation would be:
-The train would only load oil at the pumpjack station when there is enough in reserve to fill the train
-The train would only unload oil at the refinery station when there is enough space in storage tanks to empty the train
(these two are simple to implement at the moment since storage tanks can connect to the circuit network)
-The train would wait at the pumpjack station (or a holding station) until there is space in storage tanks at the refinery to empty the train. Extra buffer tanks would make sure I don't run out of oil by the time the train gets there.
-The train would wait at the refinery station (or a holding station) until there is enough oil in storage tanks at the pumpjacks to fill the train
I have noticed that inserters will remove fuel from a locomotive (this caused problems with non-standard sized trains at my refuelling yards) so my idea to implement this is to keep the trains starved of fuel. When the train arrives at a holding station, all the fuel will be removed. Only when the inserters recieve the appropriate signal, they will allow the train a limited amount of fuel so it can get to its next destination.
my questions are: Is there anything I have overlooked that will cause problems? Has anyone else tried to do this, or has set up a different system to control trains? How can I use the combinators to emit a pulse signal instead of a constant signal, to only let the trains have a small amount of fuel each time?
P.S I am using double-headed trains with four cargo wagons mainly for aesthetic reasons
One of my goals in this game is to have a realistic and extensive rail network.
-The train would only load oil at the pumpjack station when there is enough in reserve to fill the train
-The train would only unload oil at the refinery station when there is enough space in storage tanks to empty the train
(these two are simple to implement at the moment since storage tanks can connect to the circuit network)
-The train would wait at the pumpjack station (or a holding station) until there is space in storage tanks at the refinery to empty the train. Extra buffer tanks would make sure I don't run out of oil by the time the train gets there.
-The train would wait at the refinery station (or a holding station) until there is enough oil in storage tanks at the pumpjacks to fill the train
I have noticed that inserters will remove fuel from a locomotive (this caused problems with non-standard sized trains at my refuelling yards) so my idea to implement this is to keep the trains starved of fuel. When the train arrives at a holding station, all the fuel will be removed. Only when the inserters recieve the appropriate signal, they will allow the train a limited amount of fuel so it can get to its next destination.
my questions are: Is there anything I have overlooked that will cause problems? Has anyone else tried to do this, or has set up a different system to control trains? How can I use the combinators to emit a pulse signal instead of a constant signal, to only let the trains have a small amount of fuel each time?
P.S I am using double-headed trains with four cargo wagons mainly for aesthetic reasons
