UPS optimized smelting - belts only

Circuit-free solutions of basic factory-design to achieve optimal item-throughput.
Involving: Belts (balancers, crossings), Inserters, Chests, Furnaces, Assembling Devices ...
Optimized production chains. Compact design.
Please provide blueprints!
Forum rules
Circuit-free solutions of basic factory-design to achieve optimal item-throughput
Post Reply
Belter
Fast Inserter
Fast Inserter
Posts: 203
Joined: Sun Mar 14, 2021 12:38 pm
Contact:

UPS optimized smelting - belts only

Post by Belter »

I'm working on UPS optimization for my factories to run better on my potato computer.

Among other things focusing on smelting - using a fully beaconed smelting line to produce a full blue line.

After some trial and error I've found this layout:
- UPS optimized: AFAIK the less smelters/inserters I have, the better
- power/pollution is not an issue, end game phase
- must be tilable, 100% vanilla, belts only
- the last smelter on the righ is to fill the remaining gaps, so I've added buffering. Less could do as well
- interesting that doing a mixed SM3+PM3 smelter mods would be "safer" than a 2xPM3 setup (needs more ore but 8.91 vs 8.96 smelters)
- layout could be compressed 1 title in height, but would need more belts & I like the lights this way
- a bit offended that it ends up at 9 smelters, why not 8??? :D
Smelting-UPSoptimizedMaxBeacon-clean.png
Smelting-UPSoptimizedMaxBeacon-clean.png (1.86 MiB) Viewed 6121 times


Smelting-UPSoptimizedMaxBeacon-PMPM.png
Smelting-UPSoptimizedMaxBeacon-PMPM.png (68.1 KiB) Viewed 6126 times
calc
Smelting-UPSoptimizedMaxBeacon-PMSM.png
Smelting-UPSoptimizedMaxBeacon-PMSM.png (68.19 KiB) Viewed 6126 times
calc

A SM3 only setup needs exactly 9 smelters -> and a full belt of ore of course.

Comments welcome before I refactor my bases!
Attachments
Smelting-UPSoptimizedMaxBeacon-map.png
Smelting-UPSoptimizedMaxBeacon-map.png (35.62 KiB) Viewed 6116 times
Smelting-UPSoptimizedMaxBeacon.png
Smelting-UPSoptimizedMaxBeacon.png (997.14 KiB) Viewed 6126 times

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: UPS optimized smelting - belts only

Post by mrvn »

Have you tried using circuit control on the copper plate inserters so they activate on a timer whenever 12 plates are ready for pickup? I think that saves some UPS.

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

Re: UPS optimized smelting - belts only

Post by DaveMcW »

Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
UPS optimized
Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
I like the lights
Contradiction!

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

Re: UPS optimized smelting - belts only

Post by Belter »

mrvn wrote: ↑
Tue Nov 09, 2021 1:18 am
Have you tried using circuit control on the copper plate inserters so they activate on a timer whenever 12 plates are ready for pickup? I think that saves some UPS.
Yep. I see mostly 2 plates (sometimes 1 or 3 due to prod mod) put on the belts so this defentely makes sense.

The first 8 inserters are working like ~continuously.

Game should have a minial stack size setting for inserters...

Thank you for the comment!

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

Re: UPS optimized smelting - belts only

Post by Belter »

DaveMcW wrote: ↑
Tue Nov 09, 2021 1:23 am
Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
UPS optimized
Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
I like the lights
Contradiction!
I assume lights have effect on FPS and no/minimal on UPS. Are they so bad for UPS??

Edit: I did a test, no/tiny effect. I have 38k, but not circuit controller lamps. By deleting all I see no difference, still around 40fps. The 192MW they consume during the night is also not a big deal compared to the 24GW need.

The command to delete all lamps I've found here: viewtopic.php?t=61054
Last edited by Belter on Tue Nov 09, 2021 8:08 am, edited 1 time in total.

wobbycarly
Fast Inserter
Fast Inserter
Posts: 241
Joined: Tue Jan 29, 2019 4:00 am
Contact:

Re: UPS optimized smelting - belts only

Post by wobbycarly »

DaveMcW wrote: ↑
Tue Nov 09, 2021 1:23 am
Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
UPS optimized
Belter wrote: ↑
Mon Nov 08, 2021 10:52 pm
I like the lights
Contradiction!
If they were wired to a constant combinator to keep them on all the time, would that save UPS?

mmmPI
Smart Inserter
Smart Inserter
Posts: 2733
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: UPS optimized smelting - belts only

Post by mmmPI »

wobbycarly wrote: ↑
Tue Nov 09, 2021 7:55 am
If they were wired to a constant combinator to keep them on all the time, would that save UPS?
From the added link in the edit after you posted it would interestingly seem like wiring lamps to circuit could be more costly than not wiring them at all.

Having lamps in the first place is more costly than having none in theory because their purpose is not production but it may not be enough to be visible in practice depending how precise you want to do the testings. At least they are not blinking funny colors in the trade-off "look-good"vs"UPS efficient" :)

If deleting 38K lamps doesn't yield any visible result, you can safely add 200 more, but this is on a particular computer with a particular factory. If you have a very inefficient nuclear reactor ups-wise, 192MW could be costly in UPS and thus would prefer not having the lamps to use that energy for something else. ( 40fps still but more spm ! ).

24 GW is a lot of power for a potato computer anyway, I have one hehe and I know i would use solar in this case :).

Belter wrote: ↑
Tue Nov 09, 2021 7:42 am
Game should have a minial stack size setting for inserters...
There may be something you can do with the inserter grabbing the copper ore, if you manage to synchronize them, then you can activate both at the same time when you know the furnace will have produce enough to make better use of their stack size.

Or with other word, if you time it right, you can have a cycle of say 5.2 second, and activate both inserters 0.3 second every 5.2 second. those are made up illustrative numbers.

Even with productivity modules the input frequency is the same. The output frequency can be the same too, you just have to ouput say 10 or 11 when there is an extra plate due to the module. Then you input and ouput at the same time for 1 swing every interval.

Input stack size=> 10 output stack size => 11 or 12 to account for productivity.

I would make a self reseting clock that has a period of a little more than the time it takes for a furnace to smelt 10 plate say count from 1 to 256 and when the clock is under 15 I would enable both inserter. Since you need 8.96 furnace, it's ok if the clock is not perfect, you can loose a little bit of time. It would "slow" a little the 8 first furnace, so that all 9 function at the same time.

Or you can have only 8 synced, and the last one filling up the gap to make it easier to find a timing.

But i'm not sure it would save any UPS and at which scale it would start to have an impact :)



EDIT : I had a second read on that and noticed the "belt only" in the "circuit free" nevermind the self reseting clock.
This is an attempt at minimalist setup :
Belt-clock synchronisation
It's still using circuit but minimum logic, I tried various belt combinaison for the loop, this one with the plate on the outer lane makes inserter output 10 or 11 plate at a time every lap and not quite 12 as i tried.

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

Re: UPS optimized smelting - belts only

Post by Belter »

mmmPI wrote: ↑
Tue Nov 09, 2021 11:58 am
24 GW is a lot of power for a potato computer anyway, I have one hehe and I know i would use solar in this case :).
Yes, I have solar only power - also to be optimized (robotborts still there). But looks really awesome :)
mmmPI wrote: ↑
Tue Nov 09, 2021 11:58 am
It's still using circuit but minimum logic, I tried various belt combinaison for the loop, this one with the plate on the outer lane makes inserter output 10 or 11 plate at a time every lap and not quite 12 as i tried...
This is really impressive and like it a lot! It take me some time to realize that I have to put somehing on the belt as its not coming in the blueprint... :-)

Edit: I missed that one of the belts are blue, speed is abolustely OK w/the blueprint!

Edit: I keep it here just as a fun measurement, per mmmPI's replies below speed can be fine-tuned by mixing belt types:
SimpleCircuit-Tests.png
SimpleCircuit-Tests.png (679.36 KiB) Viewed 5923 times
4-long (circle), outer lane: ~20 pulse/min (->gaps)
6-long, inner lane: ~22 pulse/min (->gives me a full blue belt, grabs 8..11 plates, yes its less good looking though...)
4-long (cirlce), inner lane: ~50/min (->too quick)


Thank you for your replies, really interesting points, woah! Seeing the inserters doing much less swings is really cool!
Attachments
SimpleCircuit-Gaps.png
SimpleCircuit-Gaps.png (625.61 KiB) Viewed 5928 times
Last edited by Belter on Sun Nov 14, 2021 12:21 pm, edited 3 times in total.

mmmPI
Smart Inserter
Smart Inserter
Posts: 2733
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: UPS optimized smelting - belts only

Post by mmmPI »

Belter wrote: ↑
Thu Nov 11, 2021 10:10 pm
Timing is a bit too slow so to be adjusted imho
But i thought i did the adjustment !
Belter wrote: ↑
Thu Nov 11, 2021 10:10 pm
1)4-long (circle), outer lane: ~20 pulse/min (->gaps)
2)6-long, inner lane: ~22 pulse/min (->gives me a full blue belt, grabs 8..11 plates, yes its less good looking though...)
3)4-long (cirlce), inner lane: ~50/min (->too quick)
According to my previous measurement from this post : viewtopic.php?f=18&t=100292

there are 60 ticks in 1 second.

1) => 147.5 ticks per lap (more than 2 second)
2) => 117 ticks per lap (a bit less than 2 second)
3) => 53 ticks per lap (a bit less than 1 second)

You did found the value 117 ticks to be the best.

In the blue print i used it's meant to be 3 yellow belt and 1 blue belt. And the plate on the outer/long circle.

This should gives 122.9166 ticks per lap or very close to the 117 you found. I did the adjustment with a stack size of 12 for the filter inserters.

I tried 3 yellow 1 red and thought it was too slow so i used 3 yellow 1 blue. Maybe i didn't tested long enough and some buffered plate fooled me.

Well that's just details anyway, you got it, you could easily adjust this for steel or stone brick :)

Using the same item in the loop as the item outputed allows to use "set filter" on the output inserter, but you can also use any item and stack inserter wired to "enable/disable" IF Anything >0 for the output instead of the stack filter inserter. I'm not sure which one is better for UPS. Or if it helps at all x).

Looking at the blueprint again i really like the last furnace side loading with 2 inserters, easy and efficient.

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

Re: UPS optimized smelting - belts only

Post by disentius »

Clocking inserters saves ups in big megabases (>10k SPM).
Here is How:
https://www.youtube.com/watch?v=kHvqxKL ... t3&index=4

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: UPS optimized smelting - belts only

Post by mrvn »

Would be nice to have an inserter that places an item into the belt clock after blueprinting.

But anyway, clocking the inserter means the design has circuits so it doesn't really belong in this forum anymore then.

mmmPI
Smart Inserter
Smart Inserter
Posts: 2733
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: UPS optimized smelting - belts only

Post by mmmPI »

[Moderated by Koub : Off topic]

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

Re: UPS optimized smelting - belts only

Post by Belter »

mmmPI wrote: ↑
Thu Nov 11, 2021 11:45 pm
In the blue print i used it's meant to be 3 yellow belt and 1 blue belt. And the plate on the outer/long circle.
I have to apoligize! I was playing around with your blueprint, re-created it & missed that 1 of the belts was blue! Works like charm!
mmmPI wrote: ↑
Thu Nov 11, 2021 11:45 pm
Using the same item in the loop as the item outputed allows to use "set filter" on the output inserter, but you can also use any item and stack inserter wired to "enable/disable" IF Anything >0 for the output instead of the stack filter inserter. I'm not sure which one is better for UPS. Or if it helps at all x).
That'd be a good exercie to benchmark, both works, also on both "pulse" and "hold" modes. As my factory is mass producing stack inserters, I prefer those over filter inserters:
StackInserterOnOffSetting.png
StackInserterOnOffSetting.png (38.2 KiB) Viewed 5697 times
mmmPI wrote: ↑
Thu Nov 11, 2021 11:45 pm
Looking at the blueprint again i really like the last furnace side loading with 2 inserters, easy and efficient.
TY! Also helps to see on map view which diretion the block is.

The only issues is that I cannot put iron plate and steel next to each other, as this output in the middle. Would be nice only to save the last column of beacons (both resource and space) but who cares in late game... In case of top input, bottom output you can flip and connect, then you need more belts for the output.

Actually you made me consider no circuit -> minimal circuit for my base!

mmmPI
Smart Inserter
Smart Inserter
Posts: 2733
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: UPS optimized smelting - belts only

Post by mmmPI »

Belter wrote: ↑
Sun Nov 14, 2021 12:16 pm
That'd be a good exercie to benchmark, both works, also on both "pulse" and "hold" modes. As my factory is mass producing stack inserters, I prefer those over filter inserters:
Yeah makes sense the stack filter inserter are often not a priority to automate the already rare case when they are automated at all :).

I tried several setup i'm glad i didn't made a mistake when sending the "good" one it happens sometimes :)

The white stack inserter cannot have 2 filter set via circuit at the same time i think.

I wondered when testing with 1 loop belt wired on 2 side to each inserter. Like left side was wired to the input inserter and made with yellow belt, and the right side was connected to the output inserter and made with red belt. Then on this loop i put 2 item attempting to have them on opposite diamater, one copper plate, one copper ore. It was an attempt an clocking both input and ouput inserter with a single loop. It sort of work but didn't look clean.

Knowing that input inserter need to chase item on belt they couldn't in this configuration be activated by a pulse signal. It is too short of a duration. So the 2 yellow belt were set to "read hold" and i'm not sure for the reds if it was "1 pulse" and "1 nothing" or 2 "read hold".

There could be several slight variations like the 6 belt loop on the inner side, or the 4 belt loop on the outter side. The version with 6 belt having a straight portion and being 3 tile wide it makes it easy to place an item exactly at the opposite of one another.

Other little trick that exist if you want to place those items at the exact same time is to use an inserter only powered by a single solar pannel to drop the item on the loop. If you do this overnight, then the next morning all the inserters using this method will activate at the same time.

Using the 6 belt version it's possible to use such inserter from the top side for copper clocking loop and from the bottom side for iron clocking loop. This way you mitigate the power spike. (and potentially the ups fluctuations). ( the 4 belt version is not symetrical so it's not as good for this purpose :) ).
Belter wrote: ↑
Sun Nov 14, 2021 12:16 pm
The only issues is that I cannot put iron plate and steel next to each other, as this output in the middle. Would be nice only to save the last column of beacons (both resource and space) but who cares in late game... In case of top input, bottom output you can flip and connect, then you need more belts for the output.

Actually you made me consider no circuit -> minimal circuit for my base!
i'm not understanding that part about iron and steel. I see the first furnace of the array having a 1 tile vertical spacing on the left side between the beacon. I would paste the ore=>plate on the left side, and paste another one identical copy just on the right side reusing the last row of beacons. And having the belt full of plate using the vertical gap to become the input belt for the second copy that would make the steel.

then you need more belts for the output of the steel, same conclusion :) ( if steel furnaces uses prod modules )

If you were to move the 1rst input inserter 1 tile on the right side, you could probably use 2 time the blueprint back to back for copper with a long array of underground belt bringing the ore for the 2nd blueprint, and then at the same location it would be a long array of underground belt outputing the plate from the 1rst blueprint. ( just 1 tile above the existing input belt + little adaptation for the last furnace).

I believe it's ok to post on this forum because the first post was clearly a furnace array circuit-less, then there was a suggestion from a user to clock inserter with circuit, then the same user seem to suggest the thread has gone off topic. Then my comment about that user is moderated. But not the topic itself (hopefully).I think it means it's ok to discuss about the original creation and adding circuits to it. ( and i'm sorry i wasn't very respectful toward another user whose initial suggestion was useful).

The video linked by @disentius is one that i have used to learn those tricks :) The scale is important for the trade off between the control mechanism's fix cost and the amount of computation it saves on 1, 10, 100000 inserters that's what i learned.

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

Re: UPS optimized smelting - belts only

Post by Belter »

mmmPI wrote: ↑
Mon Nov 15, 2021 7:27 am
I wondered when testing with 1 loop belt wired on 2 side to each inserter. Like left side was wired to the input inserter and made with yellow belt, and the right side was connected to the output inserter and made with red belt. Then on this loop i put 2 item attempting to have them on opposite diameter, one copper plate, one copper ore. It was an attempt an clocking both input and output inserter with a single loop. It sort of work but didn't look clean.
Here the input inserters are working pretty nice and UPS efficient grabbing usually 12 items -> I'd not add logic here to control that. Interesting idea still, funny to see the 2 items going round!
mmmPI wrote: ↑
Mon Nov 15, 2021 7:27 am
Belter wrote: ↑
Sun Nov 14, 2021 12:16 pm
The only issues is that I cannot put iron plate and steel next to each other[...]
i'm not understanding that part about iron and steel[...]
You're right. I had my 8-beacon setup in my mind where output and input were up and down, so I was able to mirror and put them after each other and have the same vertical alignment, OCD compatible. Does not apply here as I to have an output that way in the 12-beacon setup the pattern should be extended one tile horizontally - does not worth. I’d like to have a minimized 12-beacon setup now and get rid of my loved lamps between the beacons, TBD.
mmmPI wrote: ↑
Mon Nov 15, 2021 7:27 am
I believe it's ok to post on this forum because the first post was clearly a furnace array circuit-less, then there was a suggestion from a user to clock inserter with circuit, then the same user seem to suggest the thread has gone off topic. Then my comment about that user is moderated. But not the topic itself (hopefully). I think it means it's ok to discuss about the original creation and adding circuits to it. (and i'm sorry i wasn't very respectful toward another user whose initial suggestion was useful).
I'll open another thread in the circuit topic as I'm sorry that your post got moderated out. +have some other questions if there is interest :-)

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

Re: UPS optimized smelting - belts only

Post by Belter »

The new thread is here: viewtopic.php?f=193&t=100763

Post Reply

Return to β€œMechanical Throughput Magic (circuit-free)”