Inserters: Difference between revisions
m (removed not-so-useful link) |
(put the "Inserters And Transport Belt Interaction" examples in a table so they are side by side) |
||
Line 65: | Line 65: | ||
[[Transport belts]] have two lanes on which items can travel. Inserters only place items onto one side of the belt. Which side they place it on depends on the orientation of the inserter and the belt, as described below. | [[Transport belts]] have two lanes on which items can travel. Inserters only place items onto one side of the belt. Which side they place it on depends on the orientation of the inserter and the belt, as described below. | ||
: [[File:PlaceOnFarSide.gif| | {| | ||
| style="width:300px;" | [[File:PlaceOnFarSide.gif]] | |||
| style="width:10px;" | || style="width:300px;" | [[File:TakeFromNearSide.gif]] | |||
| style="width:10px;" | || style="width:300px;" | [[File:PlaceOnRightSide.gif]] | |||
| style="width:10px;" | || style="width:300px;" | [[File:PlaceOnInsideOfCorner.gif]] | |||
|- | |||
| Inserters will '''always''' place the item on the furthest lane. || | |||
| Inserters '''prefer''' taking items from the nearest lane. If the nearest lane is empty, the inserter will take from the far lane. || | |||
| If a belt is in the same orientation as the inserter, the item will be placed on the right-hand lane, from the belt's perspective. || | |||
| If the item is placed on a corner piece, it will be put on the inside of the curve, regardless of orientation. | |||
|} | |||
== Potential Issues == | == Potential Issues == |
Revision as of 23:50, 11 August 2017
For the common yellow electrical inserter, see Inserter.
Inserters are devices which are used to move items over short distances. When placed, they have a fixed direction. They can move items from behind and place them in front of them. By doing this, they can move items from one transport belt to another, but also extract items from, and insert items into machines or storage devices. There are seven types of inserters, all requiring electricity to run (except the Burner Inserter, which burns fuel).
Types Of Inserters
Burner inserter | The only fuel-powered inserter. |
Basic inserter | The standard electrical inserter. |
Long handed inserter | Capable of inserting and removing items from a greater distance. |
Fast inserter | Much faster than the Basic inserter. |
Filter inserter | Variant of the Fast inserter that can filter items by type. |
Stack inserter | As fast as the Fast inserter but can move many more items at the same time. |
Stack filter inserter | Variant of the Stack inserter that can filter items by type. |
Mechanics
Inserters will:
- Pick up Items off the ground, off of a Transport belt, or from any object that has storage space, including chests, furnaces and assembling machines.
- Place the item onto the ground, onto a transport belt, or into any object that has storage space.
- Inserters can place items on all types of conveyor belts.
- Try to pick up items from all types of belts (as of v0.12 there is no limitation anymore).
- Inserters will run at slower speeds when starved for energy.
Inserters will not:
- Pick up any items that can not be inserted into the connected entity.
- Pick up items into an entity with a full inventory.
- Place more than one item at a time onto the same ground tile.
- Place items into a stack limited inventory, beyond the stack limit (red slots).
Inserters act differently depending on what they are moving items to/into so as not to monopolize all of the items being picked up. This allows other machines and inserters on the same transport belt to pick up a share of the items. If two inserters are picking up from the same tile, the first placed inserter has priority.
Insertion Limits
Inserters will stop inserting items into certain buildings if they already have enough of that item. For example, if a boiler has 5 or more items of fuel in it, an inserter will not insert additional fuel. When the fuel drops below 5 items, the inserter will continue to insert more fuel, up to the limit of 5 items.
This is to allow for all machines to receive their share of items. The common limits on insertion are shown in the table below.
Entity | Item type | Inserter limit | Comment |
---|---|---|---|
Boilers, Burner inserters, Furnaces | Fuel | 5 | |
Gun turrets | Bullet Magazines | 10 | Since v0.8.4. Allows for 100 shots before depleting. |
Assembling machines | Items needed for the recipe | Double the number of items needed in the recipe | |
Furnaces | Items needed for the recipe | Double the number of items needed in the recipe | |
Labs | Science packs | Double the number of items needed for one research point |
An inserter that takes items from an object containing stacks of items (such as a chest) can overfill the target building due to the Inserter item stack size bonus research. Overfilling can also happen if multiple inserters are used to insert items into one building.
Inserters And Transport Belt Interaction
Transport belts have two lanes on which items can travel. Inserters only place items onto one side of the belt. Which side they place it on depends on the orientation of the inserter and the belt, as described below.
File:PlaceOnFarSide.gif | File:TakeFromNearSide.gif | File:PlaceOnRightSide.gif | File:PlaceOnInsideOfCorner.gif | |||
Inserters will always place the item on the furthest lane. | Inserters prefer taking items from the nearest lane. If the nearest lane is empty, the inserter will take from the far lane. | If a belt is in the same orientation as the inserter, the item will be placed on the right-hand lane, from the belt's perspective. | If the item is placed on a corner piece, it will be put on the inside of the curve, regardless of orientation. |
Potential Issues
Inserters may have problems picking up items:
- From very fast belts, because the items are moving too quickly.
- From the entry or exit of an underground belt (because the time they have to pick up is shorter)
- From turning belts if the item is on the inside of the corner
Inserter Item Stack Size Bonus
If an inserter moves items from inventory to inventory (for example from an assembler into a chest), or (as of v0.13) from an inventory to a belt, it is able to transport more items at once. The secret behind this is the Inserter item stack size bonus research.
Power Usage
- Electric inserters drain energy even when they are not moving, as idle power
- The amount of energy used is the same for every movement
- The Burner inserter does not drain energy when idle, but uses more energy when it is active. It is quite useful for situations where the inserter does not need to move very often.
Inserter Speed
Type | Rotation-speed (turns per Tick) Extension-speed (Tiles per Tick) |
Turns per Game-second Tiles per Game-second |
Game-second per full turn Game-seconds per Tile |
Ticks per full turn Ticks per Tile |
---|---|---|---|---|
Burner Inserter | 0.01 0.0214 |
0.6 1.284 |
1.667 0.833 |
102 76 |
Basic inserter | 0.014 0.03 |
0.84 1.8 |
1.191 0.56 |
72 54 |
Long handed inserter | 0.02 0.0457 |
1.2 2.742 |
0.833 0.416 |
52 36 |
Fast inserter Stack inserter Stack filter inserter |
0.04 0.07 |
2.4 4.2 |
0.417 0.238 |
26 24 |
Rotation Speed
Convention: 2π rad = 100% of a circle rotation = 1 turn (or one full rotation).
Note: an Inserter doesn't always need to make full turns. When grabbing from a transport belt, it is slightly faster when grabbing items from the closest lane.
Extension Speed
The extension-speed is normally not visible (only when compared to other inserters), but there are measurable speed differences when taking - for example - from the near or the far side of a belt. Also Some mods can alter the pickup and drop locations of inserters, making this stat more relevant.
Inserter Throughput
The following is based on experimental data gathered in version 0.15.
Inserter throughput between chests and other stacks is a simple function of stack size and arm speed:
n = Stack size
t_arm = Time to move the arm back and forth
Time per item = t_arm / n
Throughput (items/sec) = 1 / Time per item = n / t_arm
When moving items to or from belts, the time to pick up or put down items also becomes a factor:
t_item = Time to pick up or put down or an item
t_cycle = Time to complete an arm cycle = t_arm + n*t_item
Time per item = t_cycle / n = t_item + t_arm / n
Throughput (items/sec) = 1 / (t_item + t_arm / n)
Note: Before 0.15.14, inserters were 1-4% less efficient when moving items from south to north.
Chest to chest
Type | Arm cycles per second | Items/second at capacity bonus level (stack size) | |||||
---|---|---|---|---|---|---|---|
No capacity bonus | Capacity bonus 2 | Capacity bonus 7 | |||||
Burner inserter | 0.59 | 0.59 | (1) | 1.18 | (2) | 1.76 | (3) |
Basic inserter | 0.83 | 0.83 | (1) | 1.67 | (2) | 2.50 | (3) |
Long handed inserter | 1.15 | 1.15 | (1) | 2.31 | (2) | 3.46 | (3) |
Fast inserter Filter inserter |
2.31 | 2.31 | (1) | 4.62 | (2) | 6.93 | (3) |
Stack inserter Stack filter inserter |
2.31 | 4.62 | (2) | 9.23 | (4) | 27.70 | (12) |
Chest to belt
Throughput going from chest to belt depends on how full the belt is and how the items are spaced, i.e. if spaces are large enough to fill with items. Underground entrances and exits also makes it easier for the inserter to put down an item.
In these measurements inserters move items onto an empty perpendicular belt. Values are given for the stack sizes at three different capacity bonus levels.
Type | Items/second at capacity bonus level (stack size) | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
No capacity bonus | Capacity bonus 2 | Capacity bonus 7 | ||||||||||
File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | ||||
Burner inserter | 0.59 | 0.59 | 0.59 | (1) | 1.10 | 1.13 | 1.14 | (2) | 1.53 | 1.62 | 1.67 | (3) |
Basic inserter | 0.83 | 0.83 | 0.83 | (1) | 1.52 | 1.58 | 1.60 | (2) | 2.05 | 2.22 | 2.31 | (3) |
Long handed inserter | 1.15 | 1.15 | 1.15 | (1) | 2.03 | 2.14 | 2.18 | (2) | 2.65 | 2.95 | 3.10 | (3) |
Fast inserter Filter inserter |
2.31 | 2.31 | 2.31 | (1) | 3.64 | 4.00 | 4.14 | (2) | 4.29 | 5.14 | 5.63 | (3) |
Stack inserter Stack filter inserter |
3.64 | 4.00 | 4.14 | (2) | 4.71 | 6.15 | 6.86 | (4) | 5.90 | 9.60 | 12.20 | (12) |
To calculate the throughput for Stack inserter and Stack filter inserter at any capacity level, you can use these linearly fitted factors with the belt/chest throughput formula above:
Type | Transport belt | Fast transport belt | Express transport belt | |||
---|---|---|---|---|---|---|
t_item | t_arm | t_item | t_arm | t_item | t_arm | |
Stack inserter Stack filter inserter |
0.142 | 0.292 | 0.073 | 0.360 | 0.049 | 0.384 |
See the source spreadsheet for the corresponding factors for the other inserter types. Their errors are generally well below 1%.
Belt to chest
When picking items from a belt, many more factors come into play besides belt fullness:
- How fast the items move (i.e. if they are queued up on the belt or move at belt speed).
- Whether the belt is perpendicular to the inserter or approaches it head on.
- Whether items are on the near or far lane of a perpendicular belt.
- Whether the belt turns or not, and whether the items are in the inner or outer side of the bend.
- If the belt is an underground entrance or exit. This shortens the time items are visible to the inserter for pickup.
- All sorts of intricate timing factors between the inserter and the items on the belt, since the game simulates the arm homing in on every item.
The test setup used below is with a south-to-north inserter taking items from a perpendicular belt with items on the far lane only. The belt is fully compressed and timings are both for items that move at full speed and queued up as much as possible. Values are given for the stack sizes at three different capacity bonus levels.
Type | Items/second at capacity bonus level (stack size) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No capacity bonus | Capacity bonus 2 | Capacity bonus 7 | |||||||||||||
Items at belt speed |
Items queued up |
Items at belt speed |
Items queued up |
Items at belt speed |
Items queued up |
||||||||||
File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | File:Basic-transport-belt.png | File:Fast-transport-belt.png | File:Express-transport-belt.png | |||||||
Burner inserter | 0.56 | 0.56 | 0.51 | 0.65 | (1) | 1.11 | 1.07 | 0.98 | 1.18 | (2) | 1.43 | 1.54 | 1.43 | 1.75 | (3) |
Basic inserter | 0.83 | 0.74 | 0.77 | 0.90 | (1) | 1.57 | 1.48 | 1.45 | 1.62 | (2) | 2.00 | 2.11 | 2.07 | 2.40 | (3) |
Long handed inserter | 1.16 | 1.11 | 1.11 | 1.22 | (1) | 2.22 | 2.22 | 2.11 | 2.31 | (2) | 3.08 | 3.08 | 3.16 | 3.33 | (3) |
Fast inserter Filter inserter |
2.22 | 2.22 | 2.14 | 2.40 | (1) | 4.17 | 3.81 | 4.00 | 4.29 | (2) | 5.71 | 5.45 | 5.46 | 6.21 | (3) |
Stack inserter Stack filter inserter |
4.17 | 3.81 | 4.00 | 4.29 | (2) | 6.67 | 6.67 | 6.15 | 6.67 / 7.50 / 7.74 * |
(4) | 6.67 | 10.00 | 12.00 | 6.67 / 11.61 / 13.58 * |
(12) |
*) Throughput for basic/fast/express belt.
Since there are many more factors involved, these measurements exhibit a more complex pattern than chest-to-belt.
- Boldface cells show for which belt each inserter has the best throughput on each bonus level when items move at belt speed. Higher speed belts mean that inserters have to work harder to catch the fast moving items. The effect is most noticeable for slower inserters and smaller stack sizes.
- When items are queued up the belt type hardly matters, so there is only a single column for that. The exceptions are the stack inserters - for basic transport belts it's the belt that sets the limit for stack sizes above 4, and there is also a notable difference between fast and express belts.
Here are linearly fitted factors to get the Stack inserter and Stack filter inserter throughput at any capacity level, by using the belt/chest throughput formula above:
Type | Transport belt | Fast transport belt | Express transport belt | |||
---|---|---|---|---|---|---|
t_item | t_arm | t_item | t_arm | t_item | t_arm | |
Stack inserter Stack filter inserter |
0.045* | 0.403* | 0.063 | 0.387 | 0.049 | 0.416 |
*) Since the belt is the limiting factor above stack size 4, these figures are only accurate up to that size. More than that and the throughput is fixed at 6.67 items per second.
See Also
- Electric network
- Transport network
- Inserter Power Efficiency: Movements per energy and exact power usage numbers. See also this thread, where energy per movement is explained.
- Small Inserter Test: Comparison if energy usage per item.
- Inserter heartbeats: In some situations it is not possible to calculate the needed power usage.
Special behavior
- Inserter item stack size bonus: Inserter moves more than an item per turn.
- Inserter experiments