LTN for Fluid

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
orzeljo609
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed May 16, 2018 2:09 pm
Contact:

LTN for Fluid

Post by orzeljo609 »

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
Attachments
Screen Shot 2019-06-15 at 7.23.37 PM.png
Screen Shot 2019-06-15 at 7.23.37 PM.png (4.25 MiB) Viewed 1252 times
mmmPI
Smart Inserter
Smart Inserter
Posts: 4581
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: LTN for Fluid

Post by mmmPI »

Hi !
If i understood correctly, this is an idea
20190617014751_1.jpg
20190617014751_1.jpg (378.37 KiB) Viewed 1210 times
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:
v2.jpg
v2.jpg (647.14 KiB) Viewed 1179 times
v2BIS.jpg
v2BIS.jpg (602.05 KiB) Viewed 1179 times
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 :D

Check out my latest mod ! It's noisy !
Post Reply

Return to “Gameplay Help”