Logical circuit for storage

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
User avatar
VVSWarHead
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jan 08, 2019 9:12 am
Contact:

Logical circuit for storage

Post by VVSWarHead » Sat Jan 12, 2019 3:31 pm

Hello all!
I'm trying to make a scheme that will allocate resources between the warehouse and the factory.
The basic idea is that:
1. If more resources are produced than consumed, the surplus is sent to the warehouse.
2. if resources are consumed more than produced, the warehouse supplies the factory
I can not understand how to configure a logical network to realize this, I ask for help.
explanation screen

User avatar
disentius
Fast Inserter
Fast Inserter
Posts: 186
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Logical circuit for storage

Post by disentius » Sat Jan 12, 2019 5:17 pm

One solution is using backpressure; no logistic network needed.

simple buffer warehouses.png
simple buffer warehouses.png (1.67 MiB) Viewed 372 times

weaknespase
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sat Mar 24, 2018 8:19 am
Contact:

Re: Logical circuit for storage

Post by weaknespase » Sun Jan 13, 2019 9:06 am

I use "arrow buffer" (right on the picture) a lot in my designs, but sometimes use slower inserters when grabbing items from main belt.

Wisey
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Nov 04, 2016 9:28 pm
Contact:

Re: Logical circuit for storage

Post by Wisey » Sun Jan 13, 2019 11:21 am

If you want to use the setup you have in your picture just set the splitter at your factory gate to prioritise on the left for the in and out (and get rid of the coloured wires).

RinDiddy
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sat Sep 22, 2018 1:13 pm
Contact:

Re: Logical circuit for storage

Post by RinDiddy » Sun Jan 13, 2019 2:23 pm

I kind of do that with my setups only in a different way. I set up circuits so that machines only take what they need. The materials go through the factory first. This is going to be difficult if you send a large amount of resources onto a one-way belt.

You'd be better off dividing your factory into regions, i.e. weapons, different sciences packs, etc. Then, send materials through multiple paths instead of just one, with the end of the belts leading to storage. This is too complex to explain really but I'm trying. The trick is to not overproduce science packs, which delves into equal science pack distribution between labs. One overproducing science pack can really bog down a ton of resources unnecessarily.

This also leads into lean-manufacturing as well as just-in-time practices.

A good place to start would be to send resources through multiple belts, using circuits to distribute based on the resources required. For example, you would send more iron to elec drills than you would for regular circuits. You could set up circuitry to do math but it seems easier just to eliminate additional logic and just handle things at the point of assembly.

Amarula
Fast Inserter
Fast Inserter
Posts: 128
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: Logical circuit for storage

Post by Amarula » Sun Jan 13, 2019 4:15 pm

I love coming to these forums, every day I get new ideas! Thank you disentius for both your designs, similar to things I have tried but definite improvements I can't wait to try. And thank you VVSWarHead for the question!

User avatar
disentius
Fast Inserter
Fast Inserter
Posts: 186
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Logical circuit for storage

Post by disentius » Sun Jan 13, 2019 4:29 pm

I made the "priority splitter" as example for this thread, but the arrow is certainly not mine.
(thanks for the compliment)

User avatar
VVSWarHead
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jan 08, 2019 9:12 am
Contact:

Re: Logical circuit for storage

Post by VVSWarHead » Tue Jan 15, 2019 11:01 am

Thank you all for your answers!
I recently found this print, tell me please how the green network works, why the condition of the belts is set to "25" ?
Is it possible to do something, that the belts is turned off, the stack-inserters are also turned off


source of this print

weaknespase
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sat Mar 24, 2018 8:19 am
Contact:

Re: Logical circuit for storage

Post by weaknespase » Tue Jan 15, 2019 3:20 pm

Green network condition disables routing to storage if there is not much input to saturate the output. Everything else is storage balancer, usually used in train loading/unloading stations to ensure maximum loading/unloading speed - by disabling unloading from chests that have less items than rest or by disabling loading to chests that have more items than rest.

Post Reply

Return to “Gameplay Help”

Who is online

Users browsing this forum: No registered users