Logical circuit for storage

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
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 »

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
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Logical circuit for storage

Post by disentius »

One solution is using backpressure; no logistic network needed.

simple buffer warehouses.png
simple buffer warehouses.png (1.67 MiB) Viewed 3131 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 »

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
Inserter
Inserter
Posts: 25
Joined: Fri Nov 04, 2016 9:28 pm
Contact:

Re: Logical circuit for storage

Post by Wisey »

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
Inserter
Inserter
Posts: 24
Joined: Sat Sep 22, 2018 1:13 pm
Contact:

Re: Logical circuit for storage

Post by RinDiddy »

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
Filter Inserter
Filter Inserter
Posts: 546
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: Logical circuit for storage

Post by Amarula »

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!
My own personal Factorio super-power - running out of power.
User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Logical circuit for storage

Post by disentius »

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 »

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 »

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”