Good Day All,
Once again, Im stuck with a rail problem. If someone can give me a hand or link me to a video that would be swell.
What I am trying to do is build a remote holding location for my fluid trains. I want trains (1 locomotive + 5 tanks) to hold purified water remotely before moving into my unloading station to prevent line congestion en route. In the pitcher I want to load it at the start, hold it elsewhere and then move it to the end once the end tank has emptied below 75%.
Any ideas would be great.
Thanks,
J
LTN for Fluid
-
- Burner Inserter
- Posts: 6
- Joined: Wed May 16, 2018 2:09 pm
- Contact:
LTN for Fluid
- Attachments
-
- Screen Shot 2019-06-15 at 7.23.37 PM.png (4.25 MiB) Viewed 1251 times
Re: LTN for Fluid
Hi !
If i understood correctly, this is an idea
I didn't build the loading station, but you could imagine it on the left side where the trees are.
There is a green wire reading the level of water in the tank, and sending it to a rail signal just after the vertical station. It opens when tanks is lower than 20K.
Trains are supposed to be directed to this vertical station before the unload. they will then stack in the diagonal rail, only 1 will wait at the station, and be sent to the unload when tank is > 20K.
This is very rough and doesn't allow you to use different unload station.
For this you would probably need to enable disable the unload stations based on the water quantity in the tank. ( and/or use the ltn mod )
EDIT: I was thinking again and realised the stacker will let all the train leave to go to the unloading station before the first train arrive to refill the tank.
I underestimated the problem, to make it simpler in my mind i would use different train to bring the water to a temporary storage, and other train to bring the water from this storage, to the real unload, but that would not make much more sense than just having a scalable storage near the unload, maybe if you want to deliver this water too multiple location that would make it easier.
Else i'm thinking about reading the train ID in a station before the stacker, and when they leave. With combinators you could know which trains are where.
If you only need to know how many trains are in the stacker you can use a signal in the middle of each diagonal track with 'read' , it makes it easier to build the setup that let the stacker know when it should be open or not for train to go to the unload station.
EDIT2: Built an example of the thing i tried to describe:
In this position the signal is closed because there are only 2 lane occupied, this doesn't trigger the decider combinator, should you add 1 loco or wagon in a diagonal block, it would act as a train arriving full of water, making the condition "red > 2" , being true and will output 1 green.
The tank being empty is the second condition check, it's <20K, it outputs 1 green.
The stacker then open for a short time just for train to leave one diagonal block. It would turn off before the train leave the station, if you add another train to replace him in the stacker, then it start making sense hopefully
If i understood correctly, this is an idea
I didn't build the loading station, but you could imagine it on the left side where the trees are.
There is a green wire reading the level of water in the tank, and sending it to a rail signal just after the vertical station. It opens when tanks is lower than 20K.
Trains are supposed to be directed to this vertical station before the unload. they will then stack in the diagonal rail, only 1 will wait at the station, and be sent to the unload when tank is > 20K.
This is very rough and doesn't allow you to use different unload station.
For this you would probably need to enable disable the unload stations based on the water quantity in the tank. ( and/or use the ltn mod )
EDIT: I was thinking again and realised the stacker will let all the train leave to go to the unloading station before the first train arrive to refill the tank.
I underestimated the problem, to make it simpler in my mind i would use different train to bring the water to a temporary storage, and other train to bring the water from this storage, to the real unload, but that would not make much more sense than just having a scalable storage near the unload, maybe if you want to deliver this water too multiple location that would make it easier.
Else i'm thinking about reading the train ID in a station before the stacker, and when they leave. With combinators you could know which trains are where.
If you only need to know how many trains are in the stacker you can use a signal in the middle of each diagonal track with 'read' , it makes it easier to build the setup that let the stacker know when it should be open or not for train to go to the unload station.
EDIT2: Built an example of the thing i tried to describe:
In this position the signal is closed because there are only 2 lane occupied, this doesn't trigger the decider combinator, should you add 1 loco or wagon in a diagonal block, it would act as a train arriving full of water, making the condition "red > 2" , being true and will output 1 green.
The tank being empty is the second condition check, it's <20K, it outputs 1 green.
The stacker then open for a short time just for train to leave one diagonal block. It would turn off before the train leave the station, if you add another train to replace him in the stacker, then it start making sense hopefully

Check out my latest mod ! It's noisy !