In other languages: Deutsch 日本語 Nederlands Polski Русский Українська 简体中文

Balancer mechanics: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (testing new formatting)
(Addded small mechanics section, added see also)
Line 3: Line 3:
Balancers are used to evenly distribute items over multiple belts or multiple belt lanes.
Balancers are used to evenly distribute items over multiple belts or multiple belt lanes.


Belt balancers are usually used to balance multiple belts before or after train stations to ensure even loading of buffer chests and train wagons. They are also usually used to even out production by placing them in front of large machine arrays with multiple input belts. Belt balancers do not balance the individual belt lanes!
Belt balancers are usually used to balance multiple belts before or after train stations to ensure even loading of buffer chests and train wagons. They are also used to even out production by placing them in front of large machine arrays with multiple input belts. Belt balancers do not balance the individual belt lanes!


Lane balancers are usually placed after production to ensure that a belt is fully compressed or before consumption to ensure that both lanes of the belt are evenly drained.
Lane balancers are usually placed after production to ensure that a belt is fully compressed or before consumption to ensure that both lanes of the belt are evenly drained.
Line 175: Line 175:
</div></div>
</div></div>


<!--
== Mechanics ==


=== Belt balance ===
[[File:Balancer_Mechanics1.png|thumb|200px|right|1 full input belt gets split into two 50% full belts which get split into 4 belts that are each 25% full.]]
Belt balancers use the mechanic that splitters output items in a 1:1 ratio onto both their output belts. That means that a splitter can be used to put an equal amount of items on two belts. Since the process can be repeated infinitely, balancers with 2^n output belts are easy to create.
{{clear}}
[[File:Balancer_Mechanics2.png|thumb|300px|right|First the belts A and B go through a splitter so that the output belts contain an equal amount of items from each input belt (AB). The same is done with belts C and D. Then the mixed belts AB and CD go through splitters so that their output belts contain items from each input belt (ABCD)!]]
Balancers also use the mechanic that splitters take an equal amount of items from both input belts. That means that a splitter connected to two input belts will evenly distribute those items onto the the two output belts. To balance belts it has to be made sure that the output belts contain an equal number of items from each input belt.


Due to how items are placed onto belts by [[inserters]], their lanes can sometimes become unbalanced. In order to
{{clear}}
maintain throughput, balancing the lanes may be necessary. The gifs below show how to do this:


== Splitters ==
[[Splitters]] are another form of item manipulation. Splitters are a 2x1 tile that split incoming [[Item]]s on belts
from one input to two outputs, in a 50/50 ratio. They are used to divide resources between two belts, or balance
multiple belts.
== Mechanics of splitters ==
The behavior of splitters looks simple at first glance. But they are not that simple. Splitters have an astonishing amount of uses.
* Splitters have two input belts, and two output belts. If the splitter receives items on one belt, it will split the
input evenly between it's two sides.
* If one of the outputs is fully backed-up and the splitter cannot split evenly, it will put all input on it's other
output.
* Splitters can also take two inputs and one output.
The output will be an even mix of both the inputs. This can be
used to efficiently merge two belts together. When it does this, the items will not be shuffled.
-->
== References ==
== References ==
* [https://forums.factorio.com/viewtopic.php?f=69&t=34182 Command line belt balancer analyzer]
* [https://forums.factorio.com/viewtopic.php?f=69&t=34182 Command line belt balancer analyzer]
* [https://mods.factorio.com/mods/DaveMcW/blueprint-string Blueprint String Mod]
<!--- * [https://mods.factorio.com/mods/DaveMcW/blueprint-string Blueprint String Mod] --->
* [https://www.reddit.com/r/factorio/comments/4gj8x4/my_take_on_4_belt_lane_balancers/ Collection of lane balancers]
* [https://www.reddit.com/r/factorio/comments/4gj8x4/my_take_on_4_belt_lane_balancers/ Collection of lane balancers]
* [https://www.reddit.com/r/factorio/comments/5njgy4/yet_another_belt_balancer_compendium/ Best collection of belt balancers, most of them are used here.]
* [https://www.reddit.com/r/factorio/comments/5njgy4/yet_another_belt_balancer_compendium/ Best collection of belt balancers, most of them are used here.]
* [https://www.reddit.com/r/factorio/comments/3fq3cc/count_perfect_n_to_m_belt_balancers/ Collection of belt balancers, most of these contain a lot of unnecessary splitters]
* [https://www.reddit.com/r/factorio/comments/3fq3cc/count_perfect_n_to_m_belt_balancers/ Collection of belt balancers, most of these contain a lot of unnecessary splitters]
* [https://www.reddit.com/r/factorio/comments/4d3per/belt_balancer_compendium/ Another collection of belt balancers, some of these are not input balanced]
* [https://www.reddit.com/r/factorio/comments/4d3per/belt_balancer_compendium/ Another collection of belt balancers, some of these are not input balanced]
== See also ==
* [[Belt transport system]]
** [[Splitters]]
** [[Transport belts]]
** [[Underground belts]]

Revision as of 20:38, 5 February 2017


Balancers are used to evenly distribute items over multiple belts or multiple belt lanes.

Belt balancers are usually used to balance multiple belts before or after train stations to ensure even loading of buffer chests and train wagons. They are also used to even out production by placing them in front of large machine arrays with multiple input belts. Belt balancers do not balance the individual belt lanes!

Lane balancers are usually placed after production to ensure that a belt is fully compressed or before consumption to ensure that both lanes of the belt are evenly drained.

Lane Balancers

Input Unbalanced, Output Balanced

These balancers evenly distribute the items onto the output lanes but do not "pull" evenly from the input lanes when the output is backed up. They are input unbalanced.

The last two balancers are a special case, they only work when there are items on only one side of the input belt.

Input and Output Balanced

These balancers evenly distribute the items onto the output lanes and "pull" evenly from the input lanes when the output is backed up. They are input and output balanced.

Belt Balancers

These belt balancers are all tested to be input balanced and output balanced. Throughput under full load is 100% and min throughput with blocked in- and outputs is also tested, it is noted when that is under 100%. Tests are done using this handy tool by d4rkpl4y3r on the Factorio Forums. When there are multiple versions of balancers that have the same stats but different sizes, the balancer with the smallest footprint is shown.


1 belt → x belts


2 belts → x belts


3 belts → x belts


4 belts → x belts


5 belts → x belts


6 belts → x belts


7 belts → x belts


8 belts → x belts

Mechanics

1 full input belt gets split into two 50% full belts which get split into 4 belts that are each 25% full.

Belt balancers use the mechanic that splitters output items in a 1:1 ratio onto both their output belts. That means that a splitter can be used to put an equal amount of items on two belts. Since the process can be repeated infinitely, balancers with 2^n output belts are easy to create.

File:Balancer Mechanics2.png
First the belts A and B go through a splitter so that the output belts contain an equal amount of items from each input belt (AB). The same is done with belts C and D. Then the mixed belts AB and CD go through splitters so that their output belts contain items from each input belt (ABCD)!

Balancers also use the mechanic that splitters take an equal amount of items from both input belts. That means that a splitter connected to two input belts will evenly distribute those items onto the the two output belts. To balance belts it has to be made sure that the output belts contain an equal number of items from each input belt.

References

See also