UPS optimized 12-beacon smelting - w/minimal circuits

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
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

There is no difference (anymore) between normal and filter inserters ups-wise.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

That was my point as well - but I'll test it just to be sure.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

Good point about the miners being in range of the beacons. I will adjust the saves and run it again.. thanks!

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

Belter v6.99
- Tried to optimize the layout using the 32 / 128 timing
- My tests showed a little gain on filter inserters, so I've switched to them
Attachments
Belter v6.99-BP.png
Belter v6.99-BP.png (531.78 KiB) Viewed 6068 times

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

Benchmark - Non-DI BPs
- no mods
- 500 lanes, 1 circuit controller
- 4 runs x 25.000 ticks per save
- drills: mining-productivity level: 2000, no modules, not in beacon range
Saves
- Belter v6.99: my latest attempt, minimal # of belts
- DaveMcW v6: Dave's last BP with a different timing
- Belter v6.98: exposed as possible output belt
- Belter v6.97: exposed ore belts
- Belter v6.96: exposed ore belts, stack inserters, same layout as 6.97
- common for all: 144 cycle time, timing w/2 signals, separated, 2 x half lane ore feed, filter inserters unless stated otherwise
- all saves attached - Saves.Zip
Results, conclusion

- See charts and results.csv attached
- v6.99 beats DaveMcW's v6, but the difference is close to 1% - not significant.
- Dave's layout uses 1 less beacon
- transport lines times are better for v6.99, but entity updates are better for Dave's
- filter inserters ARE a little bit better, difference is under 1% but still consistent (6.96 vs 6.97 - that's the only diff)
Attachments
B014 UPS.png
B014 UPS.png (81.41 KiB) Viewed 6030 times
B014 Runs.png
B014 Runs.png (80.8 KiB) Viewed 6030 times
B014 Times.png
B014 Times.png (83.65 KiB) Viewed 6030 times
Belter v6.99.png
Belter v6.99.png (1.03 MiB) Viewed 6030 times
B014 Saves.Zip
(19.61 MiB) Downloaded 103 times
B014 results.csv
(2.45 KiB) Downloaded 104 times
DaveMcW v6.png
DaveMcW v6.png (723.15 KiB) Viewed 6066 times
Belter v6.98.png
Belter v6.98.png (1.07 MiB) Viewed 6066 times
Belter v6.97.png
Belter v6.97.png (1.07 MiB) Viewed 6066 times
Last edited by Belter on Sat Apr 02, 2022 12:42 pm, edited 9 times in total.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

I hope that the slightly different drill layout on the left and the infinity chest positions on the right does not have a significant effect on the results.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

We are in "our tools are not good enough for a meaningful distinction" country now.
I wanted to know the consistency of the results, so I took the same save, and copied by saving them under a different name, and ran the benchmark.
(the only difference between the saves is that the time of save (gamestate) is different.
all saves have a slightly different size -> the moment of saving matters.

test done on an "idle" (AFK) computer.

Results:
2022-03-06 12_41_58-Window.png
2022-03-06 12_41_58-Window.png (101.33 KiB) Viewed 6007 times
Attachments
results.csv
(2.91 KiB) Downloaded 84 times
DaveMcW-v8c1_dt 500.zip
(3.69 MiB) Downloaded 78 times
DaveMcW-v8c2_dt 500.zip
(3.69 MiB) Downloaded 81 times
DaveMcW-v8c3_dt 500.zip
(3.58 MiB) Downloaded 81 times

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

disentius wrote:
Sun Mar 06, 2022 11:50 am
We are in "our tools are not good enough for a meaningful distinction" country now.
I think 1% is a good number for accuracy. I'll run these just for science. Can you ran the top 2-3 above? You have 2x UPS than on my potato computer.

Update: I've run all 5 times, they're exactly in 1% range.
Attachments
onepercent.png
onepercent.png (17.17 KiB) Viewed 5958 times
DaveMcW-v8 results.csv
(1.87 KiB) Downloaded 78 times
Last edited by Belter on Sun Mar 06, 2022 1:01 pm, edited 2 times in total.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

To late:) Already ran another test.: clones from the same save.

Results:
2022-03-06 13_31_42-Window.png
2022-03-06 13_31_42-Window.png (42.38 KiB) Viewed 5977 times
My PC:
2022-03-06 13_33_45-Window.png
2022-03-06 13_33_45-Window.png (21.87 KiB) Viewed 5977 times
Files attached.
Attachments
DaveMcW-v8c1_dt 500.zip
(3.69 MiB) Downloaded 74 times
DaveMcW-v8c1_dt 500 clone2.zip
(3.69 MiB) Downloaded 72 times
DaveMcW-v8c1_dt 500 clone1.zip
(3.69 MiB) Downloaded 74 times
results.csv
(3.04 KiB) Downloaded 72 times

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

Ran your top 3 saves.
Made 1 modification. i saved them on paused, with the timers on tick 1.
results:
(I calculate difference % on column execution time, since that is the exact value. Effective UPS is a calculated field)
2022-03-06 14_35_20-Window.png
2022-03-06 14_35_20-Window.png (49.74 KiB) Viewed 5952 times
Attachments
results.csv
(2.9 KiB) Downloaded 76 times
B014 Belter v6.98pr.zip
(3.67 MiB) Downloaded 75 times
B014 Belter v6.99pr2.zip
(3.95 MiB) Downloaded 79 times
B014 DaveMcW v6pr.zip
(3.42 MiB) Downloaded 72 times

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by disentius »

A very interesting UPS comment by boskid:
viewtopic.php?p=562810#p562810

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

TY for running the saves!

Clearly the results are not consistent.
Update: I've scaled Dave's UPS to 100% and show both benchamrks at the same graph:
DisBeltBenchmark2.png
DisBeltBenchmark2.png (50.19 KiB) Viewed 5869 times
prev attempt, same numbers
disentius wrote:
Sun Mar 06, 2022 1:42 pm
(I calculate difference % on column execution time, since that is the exact value. Effective UPS is a calculated field)
Update: I think I misunderstood your point, let's not go there.. Eff UPS is calculated from Exec time, agreed. Also there is a rounding in the script. I prefer using UPS as that is what we optimize for here

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

I was able to gain +7% but.. cheated :D - used direct insertion and ore fields in the BP.
New thread for DI?
I'm considering opening a new thread:
- do what you want in the editor e.g. place ore
- produce 512 lines of plates to express loaders + infinity chests places outside your BP (so 8 belt constructs can be cloned easier)
- +same guidelines as we concluded here (vertical setup, chunk aligned, one controller, no mod benchmark, 5 x 25k runs)

For me this thread should not be about DI from minig drills insdie the BP.

Not sure who would be interested to continue w/DI. Let me know. Then I'll move the BP below there!

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

Belter v8.1
- DI of ore to smelters, needs ore patches inside the BP
- 10 beacon setup, cycle time is 168.42 ticks -> using 176 as 32 * 5.5
- further idea: with minimal effort, separate signalling / separate wiring is possible
- further idea: fully exposed belt is also easy to do
- further idea: signal optimizaiton might be also possible
- problem: not easy to clone this BP due to the overlapping minig drills
- problem: I see that the poles are inside the drills, will fix that in the next version (clone issue, my bad, poles to go centered vertically next to the beacons)
Belter v8.1.png
Belter v8.1.png (1.51 MiB) Viewed 5850 times

First results - clone issue to fix

flame_Sla
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Fri Mar 01, 2019 12:54 pm
Contact:

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by flame_Sla »

Belter wrote:
Sun Mar 06, 2022 8:04 pm
Belter v8.1
- DI of ore to smelters, needs ore patches inside the BP
the inserter picks up ore from the ground?
place the chest

flomz
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Feb 18, 2022 5:33 pm
Contact:

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by flomz »

One belt in versions 6.98 and 6.99 seems to have ore on the wrong side.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

flame_Sla wrote:
Mon Mar 07, 2022 2:46 am
the inserter picks up ore from the ground?
place the chest
Noted, TY! Will fix it in the next BP.
flomz wrote:
Thu Mar 10, 2022 10:27 am
One belt in versions 6.98 and 6.99 seems to have ore on the wrong side.
I beleive the UPS gain is to have 1 lane only, side not relevant. Will test this sometime.
Last edited by Belter on Sat Mar 12, 2022 3:55 pm, edited 1 time in total.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

Updated: resolved, thanks DaveMcW! Forgot that I've added steel chests of the fast as suggested above by flame_Sla...

Testing different variants of my DI BP to get the highest UPS. See the 2 attached saves - they look identical. But the UPS difference is significant :shock:
problem was
Last edited by Belter on Sun Mar 13, 2022 9:15 am, edited 3 times in total.

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by DaveMcW »

Your counting script runs into console flood control, so it is not accurate. Try this version:

Code: Select all

/c for _, building in pairs({"arithmetic-combinator","beacon","constant-combinator","decider-combinator","electric-energy-interface","electric-furnace","electric-mining-drill","express-loader","express-transport-belt","express-underground-belt","medium-electric-pole","productivity-module-3","speed-module-3","stack-filter-inserter","stack-inserter","steel-chest"}) do 
  game.print(building .. " " .. game.player.surface.count_entities_filtered{name=building}) 
end
Spoiler

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

Re: UPS optimized 12-beacon smelting - w/minimal circuits

Post by Belter »

Belter v8.16
- direct insertion BP optimized
- uses perfect timing w/6 signals on 1 wire
- I've tried to put speed modules to drills, a bit worse UPS. interesting. So left them empty
- UPS gain: the 2 middle drills put ore to a chest vs ground
- exposed (not underground) belt possible, but not better UPS-wise

Attachments
Belter v8.16.png
Belter v8.16.png (1.25 MiB) Viewed 5477 times
Last edited by Belter on Tue Mar 15, 2022 8:24 am, edited 1 time in total.

Post Reply

Return to “Combinator Creations”