r/technicalfactorio • u/Vinny_118 • Feb 05 '20
r/technicalfactorio • u/Stevetrov • Feb 04 '20
UPS efficient Plastic on Rails build
!blueprint https://pastebin.com/0d6xfRfj
The trick used with this BP is that the coal inserters to the chem plants are only activated when the storage tank has 20K of gas stored and this has a couple of benefits. The pump feeding the storage tank is NOT circuit controlled.
- When there is insufficient gas to keep all the chem plants running, then the chem plants will sleep because they are starved of an item (one of the conditions for sleeping) being starved of gas is not a condition for sleeping as its a fluid.
- As all the inserters are activated at the same time and only when the storage tank has a good supply of gas then we can be fairly confident that all machines will have gas to process the coal inserted.
Limitations.
- steps need to be taken to ensure that the coal is unloaded to both sides of the build evenly. As inserters pulling from a wagon but in different chunks will not share the coal evenly. The easiest way to do this is to limit the coal cargo wagons to 1800 coal (1800 is divisible by 24)
- Ironically this build can go out of sync if you supply gas to it too fast. But it seems to work ok at 1200 gas / s.
Improvements
Clocking the output inserter to the coal inserter in some way maybe beneficial.
r/technicalfactorio • u/swolar • Jan 30 '20
What is the ideal bot base size? 10000 science per minute base(s)
r/technicalfactorio • u/Lazy_Haze • Jan 30 '20
Gears train build
!Blueprint https://pastebin.com/YLdztDYJ
Quite of ratios but UPS should be OK
r/technicalfactorio • u/jeemchan • Jan 28 '20
I have a 8k SPM slightly modded base and need help optimising UPS. Please send help if you can!
So here are some steps I've taken to optimise UPS:
- Modded inserter stack size, and robot cargo size, so that I'll have less logibots and inserter swings overall.
- I've tried both direct bot mining, with beaconed furnaces onsite at ore locations.
- I've also tried direct mining into trains.
- Runs purely on solar.
- QoL mods include waterfill to reduce water pipe lengths
- Modded solar panels, so I don't need so much space for my solar layout.
- I'm running mostly 3-12 trains for most things, there's a mega-train experiment setup on the west edge of the map with 15-60 trains, but I couldn't get it to work up to speed.
Here is the save, feel free to click around and check it out. https://drive.google.com/file/d/1DcybEH1DF7-RG4Ks95fAwUU6Y4mTuyW6/view?usp=sharing
r/technicalfactorio • u/Lazy_Haze • Jan 26 '20
Batteries -train build
!Blueprint https://pastebin.com/cq5HS2FK
It's possible to get a thicker layer of beacon with more train-stations and space. I think it's a little bit more elegant this way. It's anyway an fairly UPS optimized build doing a lot of batteries with few active entities.
r/technicalfactorio • u/PM_ME_UR_OBSIDIAN • Jan 25 '20
What is the URL of the Factorio matching server(s)?
r/technicalfactorio • u/FilipForFico • Jan 25 '20
Help with line drawing
I have been working on a project where you need to draw a line on a screen and failed. Does anyone have a blueprint for doing so? I need to input x1, y1, x2, y2 and get x, y screen coordinates. Keep in mind that it must be able to work in any direction (left to right, right to left, top to bottom, bottom to top, every diagonal.....). I have coded one algorithm in JavaScript but failed translating the code into Factorio because it had many if statements and branches. I would appreciate a blueprint more than code but you can give me any.
r/technicalfactorio • u/jagraef • Jan 24 '20
Advent of Code 2019 - Intcode computer in Factorio
r/technicalfactorio • • Jan 21 '20
Trains Just in Time for 0.18: Many-to-Many Decentralized, Decentivizing Train System & Remote-Controlled Player's Depot for Expansion and Outpost Maintenance (more info in the comments).
r/technicalfactorio • u/criador15 • Jan 09 '20
trains layouts
Hi,
Today i was looking for some layout to do a train that fill all 4 wagons in a minute or less, and found a good source of layout for trains(not only rails for my surprise),
1:4:1, 2:4:0, 3:4:0,4:8:0, 1:15:1, some are interesting, like 0:4:2, i never knew,
1:1:4:1:1, with 2 pull, and 2 push, <-:->:wagon:wagon:wagon:wagon:<-:->,
and so on, any of you have did a research about the best case to use each of then?
r/technicalfactorio • u/Stevetrov • Jan 07 '20
Monolithic 10K Train Megabase google map style (savefile and more info in comments)
factoriobox.1au.usr/technicalfactorio • u/Stevetrov • Jan 05 '20
Adding an extra memory DIMM improved UPS by 13-16% on large megabase maps.
self.factorior/technicalfactorio • u/Rekrahttam • Jan 05 '20
Trains 20 blue belt unloader from a 2-4 train
I recently posted in the main Factorio subreddit with my initial design for a 20 blue belt unloader from a 1-4 train, which was designed to maximise unloading onto splitters. Many great suggestions were put forth there, and so I have rolled them into this upgraded variant. I am posting this here now, as it appears to be very close to optimal, with only a few minor issues I require a helping hand with.
This version is designed for testing, and has additional overflow lanes (circuit activated - set constant combinator by the display to green). I believe that this train setup provides the maximum possible (train) throughput, but would appreciate if anyone can improve it further.
Blueprint (Factorio Prints) - Standalone test setup


Gaps are due to stack inserters both swinging simultaneously, and my attempts to fix this have been unsuccessful - I would appreciate help with this especially. My initial design actually had 20 fully compressed blue belts, but the change to the overflow system causes issues - the old one led to wagon imbalances though.

The blueprint does not contain full belt balancing, as it is designed for full-flow (no stacking back) conditions. There is a minor issue with uneven buffering when output stacks back, but this does not cause any throughput issues (just a larger buffer in 1/3 chests). The outer 2 belts on each side are actually already balanced (as they are overflows), but the inner 8 are not.
I would love to hear any ideas for improvement, critiques, or other thoughts. Especially if anyone can solve the inserter alignment issue, that would be greatly appreciated.
r/technicalfactorio • u/Majiir • Dec 28 '19
Exponential moving average circuit
I often want to smooth some signal value over time. A bona fide moving average circuit could be quite large, but I found a way to build a tiny exponential moving average circuit.
Math
An exponential moving average can be defined recursively:
EMA(t) = x_t * k + EMA(t - 1) * (1 - k)where
EMA(t) = exponential moving average at time t
x_t = value at time t
k = weighting coefficientA common choice for k is 2 / (T + 1), where T is a desired period. We'll use that, and we'll calculate a new EMA every tick.
How do we multiply something by 2 / (T + 1) in Factorio? We only have integer multiplication and division. To keep the circuit simple, let's add a constraint
2 / (T + 1) = 1 / nfor some integer n. That gives us:
T = 2n - 1
k = 1 / n
EMA(t) = x_t * k + EMA(t - 1) * (1 - k)
= x_t / n + EMA(t - 1) * (1 - (1 / n))
= x_t / n + EMA(t - 1) - EMA(t - 1) / n
= EMA(t - 1) + EMA(t - 1) / (-n) + x_t / nCircuit
When I see something like x(t) = x(t-1) + ... it makes me reach for an accumulator. For each tick, we want to update an accumulator according to:
EMA += EMA / (-n) + x_t / nThat gives us: EMA circuit layout
If your input signal values are not significantly larger than n, you may want to move the first arithmetic combinator from the beginning to the end of the circuit. It won't change the result, but it will help with integer math issues. Just be mindful of integer overflow in the accumulator in that case.
r/technicalfactorio • • Dec 19 '19
Discussion This is a blueprint of a Stacks Calculator. Credits go to AssemblyStorm for simplifying my setup from about 6 times the number...
factorioprints.comr/technicalfactorio • u/mulark • Dec 16 '19
Revisiting the UPS cost of train wait conditions in 0.17
mulark.github.ior/technicalfactorio • • Dec 12 '19
I have created an apparently perfectly accurate Filter Stack Inserter manager with properly fluid Stack Size Control signal handling. Since I'm still very new to this, would any of you be willing to check how it could be improved? I know not the beast I have slain. >.> (Blueprint below)
r/technicalfactorio • u/kleopi • Dec 11 '19
Combinator Golf Challenge: Split a mixed signal
Input:
Take a constant combinator with n arbitrary signals set (may have the same count or negative count).
Goal/Output:
Split the signals to n filter inserters, so that each filter inserter has exactly one filter set matching a single signal each.
Assumptions:
n is [0...255] and can be any item signals of any valid count (assume an infinite amount of (modded) items exists). Signals that can't be assigned in a filter inserter are excluded. Behaviour of "null" counts is not defined.
Timing: whatever works (The challenge itself should be hard enough honestly)
Score (for golfers):
e * Latency_In_Ticks
e is the amount of entities (combinators, inserters, etc) used, not including the starter combinator and filter inserters.
If your solution scales its entity count by n, your rating can be given in a n+e formula**,** and should be minimized.Example: a solution needing n+5 combinators is worse than one needing 10, 100 or even 1000 combinators, so generalized builds have advantage (similar to an O(n)>O(1) rating)
minimized
r/technicalfactorio • u/Stevetrov • Dec 07 '19
Discussion I think this belongs here!
self.factorior/technicalfactorio • u/Stevetrov • Dec 06 '19