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.
Belter
Fast Inserter
Fast Inserter
Posts: 128
Joined: Sun Mar 14, 2021 12:38 pm
Contact:

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

Post by Belter »

Belter v6.90
I've added half belt feed to see if there is any benefit, a bit faster. Benchmarks to come later.

Attachments
Belter v6.90.png
Belter v6.90.png (437.92 KiB) Viewed 1816 times
Last edited by Belter on Sat Feb 26, 2022 5:40 pm, edited 1 time in total.

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

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

Post by Belter »

Benchmarking with mines
- Per latest discussion: drills to produce ore, 500 lanes vertical, one controller circuit, no mods during benchmarking
Drilling Mine vs Express Loader&Inf chest: Drilling Mines won
- Drills gave better results: bigger difference between results for the same BPs
- Also more realistic: for megabases 2000% mining eff is realistic (1700% is enough w/3xSM3)
- As region cloner supports ore fields it is not that difficult to set it up
Saves
- I attach the saves - please run them 5 x 25.000 ticks. I'll add at least one of DaveMcW's BP here as well later
- I've corrected a save, TY for the comment @flame_Sla !
- All BPs are in this thread
Results
- I've excluded run #5, it got a 204 UPS result for Stevetrov 2f (its in the CSV attached)
- Will do another test w/8 runs
- Time graphs from this run here
Attachments
B009-UPSMinMax.png
B009-UPSMinMax.png (67.82 KiB) Viewed 1750 times
B009-UPSRuns.png
B009-UPSRuns.png (71.37 KiB) Viewed 1750 times
B009-Times.png
B009-Times.png (69.62 KiB) Viewed 1750 times
B009 results.csv
(3.04 KiB) Downloaded 34 times
B009-Stevetrov_v1-1f_st 500.zip
(5.95 MiB) Downloaded 48 times
B009-Flomz-v1.1_ft 500.zip
(3.58 MiB) Downloaded 46 times
B009-Belter-v6.8_ft 500-.zip
(4.37 MiB) Downloaded 53 times
B009-Stevetrov_v1-2f_st 500.zip
(4.16 MiB) Downloaded 58 times
B009-Belter-v6.9_ft 500-.zip
(3.91 MiB) Downloaded 50 times
Last edited by Belter on Sun Feb 27, 2022 1:45 am, edited 13 times in total.

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

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

Post by disentius »

It is a relative test... it doesn't matter what you use, as long as the different setups in the same test use the same feed.

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

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

Post by flame_Sla »

Belter wrote:
Sat Feb 26, 2022 5:39 pm
Benchmarking with mines
Per latest discussion I'll publish results here. I attach the saves w/mining drills - please run them 5 x 25.000 ticks. I'd like at least one of DaveMcW's BP here as well.
mining drill has a different number of beacons
this may affect

B009-Stevetrov_v1_st 500 - mining drill has only one speed module instead of 3

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

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

Post by Belter »

flame_Sla wrote:
Sat Feb 26, 2022 6:31 pm
B009-Stevetrov_v1_st 500 - mining drill has only one speed module instead of 3
aaah, correctied, TY! Also moving out of the drills from the beacon range just to be safe.
Last edited by Belter on Sun Feb 27, 2022 1:46 am, edited 1 time in total.

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

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

Post by Belter »

Times
- Using a verbose output and AVGing the times per <tick> mod <cycle time> we get a "fingerprint" of the BP
- Data from this benchmark, UPS/avg Time charts are there
- Verbose data attached here
- Lower is the better
Stevetrov 1f vs 2f
- The difference is the 2 belt feed, which gave a UPS gain
- Due to the "tricky" 9600 cycle and 67 increment I was not able to AVG all ticks - would need a 9600 pixel wide graph...
- Only a 500 tick window of the 9600 tick cycle shown
- Each data point is avg of 25.000 x 5 / 9600 = 13 points (but the others looks the same)
- Due to buffering (last smelter) and odd cycle this BP is less consistent
B009-TimesVS-Stevetrov v1 1f vs 2f.gif
B009-TimesVS-Stevetrov v1 1f vs 2f.gif (153.74 KiB) Viewed 1746 times
Belter v6.8 vs v6.9
- The difference is the 2 belt feed, which gave a UPS gain
- Due to the 144 cycle time its the easiest to show. Triggering inserters in the cycle: 0,32,64,96,128 - graph off by 1 tick sry
- Clearly visible reduced transport and entity updates due to easier picking up ore from a 1 sided belt (v6.9)
- Each data point is avg of 25.000 x 5 / 144 = 868
B009-TimesVS-Belter v6.8 vs v6.9.gif
B009-TimesVS-Belter v6.8 vs v6.9.gif (108.81 KiB) Viewed 1746 times
Flomz
- Put here for comparison, also using 144 cycle time, but different triggering points (1,46,92,95 and 141 - graph off by 1 tick sry)
- Each data point is avg of 25.000 x 5 / 144 = 868
- Circuit times are better but only a little bit compared to Belter: separat wires (Flomz) vs separate signals on the smae wire (Belter)
B009-Times-Flomz v1.1-144.png
B009-Times-Flomz v1.1-144.png (73.15 KiB) Viewed 1746 times
Attachments
B009 verbose.zip
(20.53 MiB) Downloaded 29 times

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 »

V2.1, should be significantly faster:
  • Managed to reduce number of separate CNs to 3
  • Now using a single belt and 9 furnaces

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

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

Post by Belter »

flomz wrote:
Sun Feb 27, 2022 9:19 am
V2.1, should be significantly faster:
Looks good! Also some parts looks familiar :) I'll measure it, created a prepared savegame. Can you prep it next time?

Also adding DaveMcW's v4 w/mines.

My plan to benchmark:
- Flamz v2.1 (using the save attached here)
- Belter v6.9 (re-using the save there)
- Stevetrov v1-2f (re-using the save there)
- DaveMcW v4 (using the save attached here)
Attachments
B010 Flamz v2.1.zip
(4.28 MiB) Downloaded 36 times
B010 DaveMcW v4-.zip
(4.23 MiB) Downloaded 37 times

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 »

Belter wrote:
Tue Jan 20, 1970 1:13 am
Looks good! Also some parts looks familiar :)
Yeah, output belt layout was inspired by your version)
Although inserter placement is changed to always interact with belt on underground input part, closer to the beginning of a transport line.
Belter wrote:
Tue Jan 20, 1970 1:13 am
Can you prep it next time?
Sure, is there an instruction somewhere?

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

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

Post by Belter »

Benchmark
- Vanilla, all mods disabled
- 500 lanes for smelting vertically after each other
- 1 circuit controller/s for all
- Ore: from mining drills w/2000% bonus, outside of the beacon smelting area range via belts
- Plates: to infinity chests via belts
- 25.000 ticks 10 runs
- All overproducing smelters are full
Results
- Close, but Flomz v2.1 is the fastest
- Removed Run 1 (black) from the averages - as ususal forgot to close browser/etc and did it during
Attachments
B010 UPS.png
B010 UPS.png (76.23 KiB) Viewed 1525 times
B010 Times.png
B010 Times.png (81.77 KiB) Viewed 1525 times
B010 results.csv
(4.49 KiB) Downloaded 38 times
B010 UPS Runs.png
B010 UPS Runs.png (96.91 KiB) Viewed 1594 times
Last edited by Belter on Mon Feb 28, 2022 11:33 am, edited 9 times in total.

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

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

Post by Belter »

flomz wrote:
Mon Feb 28, 2022 5:14 am
Belter wrote:
Tue Jan 20, 1970 1:13 am
Can you prep it next time?
Sure, is there an instruction somewhere?
See this great article:
https://www.reddit.com/r/factorio/comme ... &context=3

I attach the script I use - this is a modified version of the one mentioned there. It shows UPS after each tests and gives verbose data in 1 sheet for easier Times charts.
See here
As disucssed in this thread, in short:
/editor
Remove all entities
fill with lab tiles
/c game.player.force.research_all_technologies()
/c game.player.force.technologies["mining-productivity-4"].level = 201
/c game.player.force.technologies["worker-robots-speed-6"].level = 16
/cheat all
add your BP at 0,0
add the ore fields and drilling mines out of the beacon range
ran it to fill smelters if needed
clone propetly w/region cloner to 500 lanes south or north
run it a bit (I do at least 10 game minutes, 1hr would be the best)
save it
Tests must ran with vanilla, all mods disabled.

Saves and a good set of points for testing: see (up arrow goes to that post)
disentius wrote:
Thu Feb 24, 2022 7:22 pm
- made an "empty" save with a hazard concrete point at 0.0 on the map, so all builds can be lined up the same. Includes 2 mods: region cloner, and delete empty
Note: I switched to the experimental version of Factorio (1.1.55) as there was save with that version which I wanted to check and forgot to set it back... We'll go back to stable versions I hope for future. You can get that verison by changing your Factorio setting in Steam.
Last edited by Belter on Mon Feb 28, 2022 8:20 am, edited 3 times in total.

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

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

Post by Belter »

flomz wrote:
Mon Feb 28, 2022 5:14 am
Belter wrote:
Tue Jan 20, 1970 1:13 am
Looks good! Also some parts looks familiar :)
Yeah, output belt layout was inspired by your version)
Although inserter placement is changed to always interact with belt on underground input part, closer to the beginning of a transport line.

Please don't misunderstood my comment, we all look around and implement ideas from each other, refine our BPs and came to the same solutions.

Just found that there were UPS Wars 3 2 and 1 - I perosnally invented many ideas myself discussed there and other places years ago. Also re-used ideas for the great people in this thread :D - lot of useful information here.

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

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

Post by disentius »

empty testmap with region cloner and delete empty chunks, marker pointing to 0,0 factorio version 1.55
Attachments
empty.zip
(411.57 KiB) Downloaded 53 times

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

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

Post by DaveMcW »

I removed a beacon from Flomz v2.1



less-beacon.jpg
less-beacon.jpg (766.81 KiB) Viewed 1502 times

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 »

DaveMcW wrote:
Mon Feb 28, 2022 12:14 pm
I removed a beacon from Flomz v2.1
Nice! Transport line performance should improve as well.

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

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

Post by Belter »

flomz wrote:
Sun Feb 27, 2022 9:19 am
  • Managed to reduce number of separate CNs to 3
Why 3 if 2 also possible? :-)
Belter v6.95
- Based on this BP separate signalling is possible, using green and red wires as only 2 needed. I'll do that a on the weekend and measure both
- this BP might be optimized a bit... just make sure the timed insterters stay the same position relative to each other
- I did the calculations actually to see if its possible to use only 2 signals...
...here is how
Attachments
Belter v6.95.png
Belter v6.95.png (354.83 KiB) Viewed 1299 times

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

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

Post by DaveMcW »

Belter wrote:
Thu Mar 03, 2022 12:53 am
- this BP might be optimized a bit... just make sure the timed insterters stay the same position relative to each other
You can remove a beacon from the right side by using consistent 4-tile spacing between furnaces and a beacon gap at each furnace.

Unfortunately the left side requires a 12-tile gap between furnace #3 and #5, which is not compatible with minimal beacons.

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

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

Post by DaveMcW »

Here is a 2-signal version with 60 beacons. It is almost perfect, it only wastes 3 ticks of activity on the middle inserter.



2-signals.jpg
2-signals.jpg (782.54 KiB) Viewed 1255 times

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

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

Post by disentius »

Nice dave.
Tested 3 latest saves:
Belter v6.9
Stevetrov v2
DaveMcw v6

- 500 belts vertical saves
- Fed by miners, mining prod set to 2000, no modules needed ( I changed belter's save in that regard)

Results: (dave has the fastest iteration atm)
2022-03-03 17_54_28-bmresults.ods - LibreOffice Calc.png
2022-03-03 17_54_28-bmresults.ods - LibreOffice Calc.png (62.5 KiB) Viewed 1191 times
Attachments
Belter-v6.9_ft 500.zip
(3.28 MiB) Downloaded 30 times
DaveMcW-v6_dt 500.zip
(3.61 MiB) Downloaded 31 times
Stevetrov-v2_st 500.zip
(3.46 MiB) Downloaded 29 times
results.csv
(1.49 KiB) Downloaded 27 times

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

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

Post by Belter »

Dave's is the best so far, again... I'd replace the filter inserters to normal ones - same from UPS point of view.
disentius wrote:
Thu Mar 03, 2022 5:02 pm
- Fed by miners, mining prod set to 2000, no modules needed ( I changed belter's save in that regard)
Good idea, one less problem to care about (e.g. forgotten modules in the miners :D ...).

In the saves miners are in the range of the beacons, should be moved 2 tiles left for proper testing.

Post Reply

Return to “Combinator Creations”