UPS optimized Steel smelting to 1 blue belt

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2334
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by BlueTemplar »

Heh, I was wondering how long it would take for the direct miner insertion to pop up !

BTW, UPS-wise, are you sure that you want to use prod modules rather than speed modules in those furnaces ?
BobDiggity (mod-scenario-pack)

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 659
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by disentius »

here is the test with all three.
- 25000 ticks
- 10 runs
(dave's save had one weird much higher result, no clue how that happened. I did not do anything on the test computer while running the test)
2022-01-15 20_17_39-bm_ results.csv - LibreOffice Calc.png
2022-01-15 20_17_39-bm_ results.csv - LibreOffice Calc.png (118.09 KiB) Viewed 1113 times
testfiles attached.
Attachments
bm_belter-steel V4.zip
(1.08 MiB) Downloaded 22 times
empty.zip
(653.19 KiB) Downloaded 22 times
bm_davemcw-steel V5.zip
(1.57 MiB) Downloaded 22 times
bm_dis-steel V3.zip
(1.15 MiB) Downloaded 25 times
bm_ results.csv
(3.71 KiB) Downloaded 21 times

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 659
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by disentius »

@BlueTemplar:
yes. these are for real world late game use. also, I believe using only speed will not be as fast due to the increased use of iron, leading to more swings and more active % per steel bar.
But if you have a design, I'll be happy to test it.

causa-sui
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat Sep 12, 2020 4:23 am
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by causa-sui »

Agree, I would expect prod modules in the furnaces to perform better than speed. But I would love to be proven wrong about this.

Belter
Fast Inserter
Fast Inserter
Posts: 128
Joined: Sun Mar 14, 2021 12:38 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by Belter »

I've optmized further the di layout: timed the steel (848) and iron (206) inserters, removed a row of electric poles and cleaned up the output belt.

Next step is to measure the different versions above, and play a bit more... hope I can do that the next weekend! I'd like to understand the impact of:
- separate/merged circuits (guess: small or none)
- if timing perfeclty (no slipping items on the belts) gives any UPS (guess: nope)

Attachments
Steel DI v4.12.png
Steel DI v4.12.png (1.67 MiB) Viewed 998 times

Belter
Fast Inserter
Fast Inserter
Posts: 128
Joined: Sun Mar 14, 2021 12:38 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by Belter »

causa-sui wrote:
Tue Jan 18, 2022 3:30 pm
Agree, I would expect prod modules in the furnaces to perform better than speed. But I would love to be proven wrong about this.
Edit: I just calculated the effect of the modules, did not do any benchmarks

Actually, in high beacon setups 1-1 is the best, but the difference is really small. And the fact that the input resource need is smaller makes Prod modules usage an easy decision for me UPS wise... producing 20% less iron plate should be an easy win.

See my table below, hope numbers are correct.

I did such calcs for assembler machines a while ago, that was a bit more surprising, see Speed vs Productivity modules: The 12 bacon suprise
Attachments
SmeltingSpeedCalc.png
SmeltingSpeedCalc.png (25.82 KiB) Viewed 987 times

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 659
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by disentius »

This one is slower than your previous one.
2022-01-24 16_18_19-Window.png
2022-01-24 16_18_19-Window.png (46.59 KiB) Viewed 947 times

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2334
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by BlueTemplar »

disentius wrote:
Sat Jan 15, 2022 7:28 pm
@BlueTemplar:
yes. these are for real world late game use. also, I believe using only speed will not be as fast due to the increased use of iron, leading to more swings and more active % per steel bar.
But if you have a design, I'll be happy to test it.
Well, with direct insertion swings aren't an issue, and since this is about megabases, ore shortage shouldn't be one either ?
BobDiggity (mod-scenario-pack)

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 659
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by disentius »

Just did a calculator check, you need 7 more furnaces per blue belt....:) no go.

12 beacons speed only:
https://factoriolab.github.io/list?z=eJ ... MGAIwtCDs_

12 beacons prod in furnaces:
https://factoriolab.github.io/list?z=eJ ... MGAIv6CDg_

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3604
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by DaveMcW »

Speed in the steel furnaces is clearly bad.

Speed in the iron furnaces might make sense. Especially if you are direct inserting from mining drills.

fallenghostplayer
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Mar 16, 2022 11:47 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by fallenghostplayer »

I am glad I found this thread before adding a 12 beacon steel build to my factory! I don't know if this is still a thread in progress, but if that is ok, I hope to add a bit to it.

Based on the concepts elaborated in the links below, I have come to changes in design:
-Mechanics of Transport lines by Smurphy1 (https://www.reddit.com/r/technicalfacto ... ne_splits/)
-UPS efficient double sided belts by Stevetrov (https://www.reddit.com/r/technicalfacto ... e_item_on/)
-What I learned by interacting with the above folks for my previous red factory (https://www.reddit.com/r/technicalfacto ... d_science/)

For testing, I use my own batch file that does the exact same but less fancy. I have used 50 alternating tries of each (so map_1, map_2, map_3, then map_1, etc, 50x), given there is alot of variability for the same map, even if nothing seems to be running in the background. Anything above 3 standard deviations is excluded as it is much more likely to be a one time ping for the antivirus/windows/etc than actual meaningful and repeatable UPS effects. Typically this means removal of 0 to 2 samples (ex: that big spike in the January 15 v5 results). 50000 ticks used.

Also, two half-belt inputs would be best for each lane, or even some variation on the number of lanes (why 6?) would be ideal, but it is unclear how the mod's infinite source/sink compare to in-game miners in terms of UPS per item "produced"/"consumed". The effect here would be to bias the results towards more or less lanes in comparison to half lanes produced by miners/trains/etc, so I did not investigate those avenues with the mod's sources & sinks.
steel_results_21_march.png
steel_results_21_march.png (8.15 KiB) Viewed 509 times
10 beacon: Using disentius's v3 design as a starter, and with the techniques above, I got a bit more than 2% improvement
11 beacon: With an alternate layout using a few less beacons that DaveMcW's v5, and the techniques above, the 11 beacon build is very close to the 10 beacon build (less than 0.7%)
"Real case": To ensure a compressed output at a given output rate (here 45/s), it is usual to have slight overproduction to ensure back pressure exists on the client factory, which typically is good for UPS. With this idea, the furnaces are clocked more aggressively (843/1 for 10b and 783/1 for 11b) and have one factory outputting to a stub. Typically this also means you can use only the required assemblers/furnaces rather than underclocking them. Since the furnace will be full and an inserter waiting on a stopped transport line is sleeping according to the game engine, UPS usage is low, and ensures that the output rate is always maintained. The effect of using this idea is negligible in both 10 and 11 beacon builds.

I hope I didn't miss anything!
Attachments
Ghost_11b_v0.zip
(1.22 MiB) Downloaded 16 times
Ghost_11b_real.zip
(1.16 MiB) Downloaded 19 times
Ghost_10b_v0.zip
(1.19 MiB) Downloaded 19 times
Ghost_10b_real.zip
(1.22 MiB) Downloaded 14 times

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 659
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by disentius »

Awesome:) More views/testers more fun reproducible results. I recently found the smurphy post, and missed the stevetrov one. Study time, and I'll repeat your runs this week.

fallenghostplayer
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Mar 16, 2022 11:47 pm
Contact:

Re: UPS optimized Steel smelting to 1 blue belt

Post by fallenghostplayer »

For comparison, I've tested a 12 beacon design, specifically the one used by Smurphy1 in his UPS record megabase and I must say it compares rather well. Sure, its 2.7% slower than the current best 10 beacon build, but it definitely does not support the idea that 12 beacon builds are terribly inefficient.
steel results 25 march.png
steel results 25 march.png (9.21 KiB) Viewed 402 times
Attachments
Ghost_12b_real.zip
(1.44 MiB) Downloaded 110 times

Post Reply

Return to “Combinator Creations”