4 ms·
That's a throughput problem. Inserters have 1/20th the throughput of a belt. When you go truly just in time _WITH_ good throughput (aka: Logistic Bots), its so
by dragontamer 5y ago
That's a throughput problem. Inserters have 1/20th the throughput of a belt. When you go truly just in time _WITH_ good throughput (aka: Logistic Bots), its so effective that a huge subset of the community thinks that its cheating.
Leaving 1000 items on a belt (aka: a belt of length 70) is just less effective than bots flying to fetch an item _just_ when you need it. The buffer is counter-productive.
-------
The only time you want to "buffer" in Factorio is to provide 12-items to stack inserters, to maximize UPS (updates per second). If your stack inserters are moving 12-items every swing, that's using less CPU power than if they're moving 6 or 5 items per swing.
And as we all know: the expert's biggest problem in Factorio is when you've built such a large factory that your own CPU starts to slow down (aka: UPS problems). So buffers of size 50 come to the rescue (the smallest buffer available, and just enough to take advantage of 12-item stack inserters).
- marginalia_nu 5y agoBots still buffer items. Bot based factories produce when those buffers are low, not strictly when items are needed. A true on-demand factory would take ages to produce anything, it would basically not be much faster than handcrafting because the iron plates wouldn't start being created until the pipe is needed, and the pipe wouldn't be needed until the steam engine is needed. But it's much slower to make iron plates than pipes, and much slower to make 10 pipes than make a steam engine. Which is why you absolutely need those buffers.
- dragontamer 5y agoJust in time doesn't mean "buffer free". It means eliminating unnecessary buffers. When Ford ran out of chips (https://www.cnbc.com/2021/03/31/ford-slashes-vehicle-production-at-seven-plants-in-north-america-due-to-chip-shortage.html https://www.cnbc.com/2021/03/31/ford-slashes-vehicle-product...) because of its "just-in-time" process, Ford was able to give 2-months of notice before shutting down one of its lines. That means that Ford had a 2-month buffer __in practice__. ---------- When you go bot-based, you have full control over the size of your buffers at all steps of your Factorio design. At that point, you realize that smaller buffers are more efficient, and that larger-buffers don't do anything. Ex: if you achieve maximum throughput with buffer-size 20, you leave it at 20-sized buffers. There's no reason to buffer-up 1000x items when 20-sized buffers work out fine. --------- Belts force you to buffer everywhere... and proportionally to the size of the belt. A long belt 1000 tiles long would force you to buffer up 7000 (one side) or 14,000 items (double-sided). The size of these buffers are grossly larger than what anyone needs. The key buffer size is usually 12 (the stack-inserter's grab size). Maybe 24 or 36 so that you have enough buffering to handle 2 or 3 swings of the stack inserter in case those items don't arrive on time (bots "seemingly randomly" run out of power, from the perspective of that assembly machine)... but anything more than that is redundant. Buffer size 50 (minimum size allowed on chests) are used in practice.
- leetcrew 5y ago> Just in time doesn't mean "buffer free". It means eliminating unnecessary buffers. this is sort of tautological, or at least hinges on how you interpret "necessary". certainly no one would implement a buffer knowing at the time that it was unnecessary! but even in factorio, it can be worth maintaining a buffer deeper than what's needed to keep the factory running at 100% under optimal conditions. you don't want to find out that you're out of stone when your bots stop autoreplacing your walls and the biters flood in, or discover that you've exhausted all your uranium patches when your base goes dark. it's a real pain to reseed your kovarex enrichment in a power crisis. I usually maintain fairly deep buffers of critical defense items and monitor them periodically (or set up alarms). especially with fuel cells, I like to have at least a two hour supply, in case setting up the next mine is nontrivial. disclaimer: I have played several hundred hours of factorio, but I have never built a base so large that my PC itself became the bottleneck.
- dragontamer 5y ago> you don't want to find out that you're out of stone when your bots stop autoreplacing your walls and the biters flood in But stone is used in more than just walls. You also use stone to make concrete. So what do you buffer? Do you buffer stone? Cause buffering stone didn't actually solve anything (your "stone reserves" are the mine itself. If you really wanted to see "how good" your reserves are, you check how many stone mines you have left). Do you buffer concrete? No. That wastes stone unnecessarily. Maybe you need the stone for the biter attack. Do you buffer walls? No. That wastes stone. Maybe you need the stone to make concrete. -------- So here's our 4 potential buffers: * Buffer Stone -- Inferior to just running by your stone mines every few minutes and checking to see how many stone is left in the mine. The __MINES__ itself are your buffer. * Buffer Concrete -- Wastes walls. * Buffer Walls -- Wastes concrete. * Buffer Concrete AND Walls -- Wastes furnaces, pumpjacks, and oil refineries. All of which require stone to make (and can't be made out of Concrete or Walls).
- marginalia_nu 5y agoThis type of buffering actually leads to the sort of supply chain bottlenecks we are experiencing. If the demand for stone suddenly rises to a point where much more walls and concrete is demanded, you get a massive delay in the production line because the stone needs to get mined and transported and crushed and transported &c before it even reaches the wall factory. It's not entirely dissimilar to the chip shortage we are seeing. Our processes require a long lead time, which depends on accurate forecasting to work well. When the forecasts fail, you additionally get huge knock-on effects because downstream products also get delayed, which delays additional products. It's incredibly efficient, nobody is denying that, but what can also not be denied is that incredibly fragile.