Smart Furnace - load-balanced, demand-based, and tileable

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
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Qon wrote:It does work, it just becomes 5 times smaller when you go from the 3.5 second recipe to the 17.5 second recipe. The reason you get 5 copper/iron plates from one ore after making 4 steel plates is because it goes to something like 400% bonus progress when it become 5 times bigger in the other diretcion. So the conversion works even if it doesn't look like it.
Well my fault... :roll:

I have to admit... I really thought it doesn't work... or at least it didn't really work out the way I expected it when I first tried abusing the behaviour past year. Back then I discarded the idea when it first seemed like the productivity progress isn't carried over from Iron/Copper to Steel due to the "marginal" effect... 4.6% like Xknight says.

But now that I tried the other way around with XKnight's conversion of 20 Iron Plates + 1 Copper Ore into 4 Steel Bars + 5 Copper Plates I realized that it somehow... works... because the effect is much, much more noticeable... I mean like 4 copper plates out of thin air in one go, which can't be overlooked.

From pure logic I can tell that this "black magic" is an absurd, but funny "exploit"... sort of. Not that it matters much since resources are basically infinite anyways.

I still have to get into the math of XKnight though... Sometimes I get the most complex stuff right away, other times I can look at simple relations like the above and I don't get why the hell it works like that.

Though for practicability I think I would never really use the exploit because of how it requires combinators on a per furnace basis, which is just not worth the space for a 4.6% increase in Steel Output (and increased smelting time coming with it). The other way around of turning excess Iron Ore into Copper Plates by abusing Steel Plates for the insane productivity multiplier might actually be worthwhile doing in the special case of running out of Copper Ore.


But it makes me think about how ridiculous this would turn out to be in Assemblers with 40% Productivity if the Devs ever decide to make Assembler recipes switchable by circuit network signal or something like that.

Qon
Smart Inserter
Smart Inserter
Posts: 2122
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Qon »

XKnight wrote: In-game proof:
Test: 600 iron ore in input, only steel in output.

Results in the end:
simple process - produced 172 steel
advanced process - produced 180 steel (4.6% more steel)

Results at the same moment in time:
simple process - 172 items
advanced process - 158 items (8.1% slower)
Awesome! Can I have your blueprint string?
MeduSalem wrote: I still have to get into the math of XKnight though... Sometimes I get the most complex stuff right away, other times I can look at simple relations like the above and I don't get why the hell it works like that.

Though for practicability I think I would never really use the exploit because of how it requires combinators on a per furnace basis, which is just not worth the space for a 4.6% increase in Steel Output (and increased smelting time coming with it). The other way around of turning excess Iron Ore into Copper Plates by abusing Steel Plates for the insane productivity multiplier might actually be worthwhile doing in the special case of running out of Copper Ore.

But it makes me think about how ridiculous this would turn out to be in Assemblers with 40% Productivity if the Devs ever decide to make Assembler recipes switchable by circuit network signal or something like that.
Yeah I have a headache atm so it's physically painful to think. :\

Maybe it can be compressed further. I did manage to get it alternating between 5 iron ore/5 iron plate in the same space I woul have used anyway. But that is not the correct ratio because it doesn't use up all the plates. Maybe it's worth doing.

Yeah I was thinking the same about switchable assemblers. If you don't lose bonus with circuit switching that would be awesome!

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Qon wrote:Yeah I have a headache atm so it's physically painful to think. :\
And I get one too trying to understand why it happens. The Factorio gods are merciless today. :S
Qon wrote:Maybe it can be compressed further. I did manage to get it alternating between 5 iron ore/5 iron plate in the same space I woul have used anyway. But that is not the correct ratio because it doesn't use up all the plates. Maybe it's worth doing.
Depending on playstyle yeah, it might be worthwhile for some.

If you are using Beacons with Speed Modules though, which I happen to do, the rule is basically to cover as many furnaces as possible. At least I get a bad feeling in my guts when using Beacons and not being able to get a good coverage. It strongly hurts my sense for perfectionism. So wasting space with excessive combinator stuff is absolutely out of question at least in combination with Beacons.

A global load balancer (like the original posts in this thread initially tried to do) where a bunch of combinators is doing the job for any amount of furnaces attached to the logic is then the more practical solution.
Qon wrote:Yeah I was thinking the same about switchable assemblers. If you don't lose bonus with circuit switching that would be awesome!
Yeah, but I guess it wouldn't take long for the devs to notice the exploit themselves and eventually fix it by introducing a per recipe productivity progress, which is something they are probably going to do anyways after reading into this thread eventually.

But they would also have to fix the other severe problem of residual source items which would block the recipe switch, which is at smart furnaces already a pain in the butt with Stone/Bricks, even more so in Assemblers with a multitude of recipes. Resource Pools or Recipe Queues might help with that to some degree but apart from a few minor discussions no one really came up with a serious solution for that major problem.

After about a year of thought on the matter I would actually recommend Recipe Queues within Assemblers to deal with the problem, so when an assembler receives a circuit signal with another recipe it basically temporarily suspends the current recipe in favor of the new recipe. Each recipe would have its own productivity progress associated as well. Resources already in the assembler would be kept in the background until the corresponding recipe gets activated again. If no signal is active the assembler could switch back to the default recipe if the player has one selected, otherwise it sits there waiting for a signal. Inserters that were already active/holding stuff during the recipe switch would put the resources into the buffer of the recipe under which they were activated to avoid blocked inserters, which means they could temporarily go over the input limit for a recipe to free themselves of resources in flight.

It would be the safe method, but I admit that it would be quite messy if you tear down an assembler that went through 20 different recipes and which has source items for every single one of them. xD

Another method would be to use the value send with the circuit signal as the actual "amount" of how many times the assembler should produce that particular item before retiring the recipe. That would mean that with the last item the inserters would have to know not to put more source items into the buffer so it can't get blocked when the actual switch to the next recipe in the queue happens. Once the order has been completed the recipe gets retired and the next recipe in the queue starts. But that means that in case of a resource shortage the assembler is locked in place waiting for the last resources to arrive to terminate the recipe. It couldn't switch to something else until the order is completed = waste of precious time. That approach would require a lot of tuning on the player's end to avoid shortages.

Maybe even some sort of combination of both worlds. Every time a new recipe signal comes it switches immediately and the value specifies an amount after which a recipe gets terminated. After that it resumes with the previous recipe in the queue until the amount is reached and so on.

But that's already far offtopic.

Qon
Smart Inserter
Smart Inserter
Posts: 2122
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Qon »

MeduSalem wrote: Depending on playstyle yeah, it might be worthwhile for some.

If you are using Beacons with Speed Modules though, which I happen to do, the rule is basically to cover as many furnaces as possible. At least I get a bad feeling in my guts when using Beacons and not being able to get a good coverage. It strongly hurts my sense for perfectionism. So wasting space with excessive combinator stuff is absolutely out of question at least in combination with Beacons.

A global load balancer (like the original posts in this thread initially tried to do) where a bunch of combinators is doing the job for any amount of furnaces attached to the logic is then the more practical solution.
Works with speed beacons. No combinators. Might not be completely speed optimal, need to test some more. Got 181 steel from 600 ore. The extra 1 was most likely from earlier testing, I didn't reset the bonus before doing the 600 run.

Blueprint string:

Code: Select all

H4sIAAAAAAAA/8VU7WrjMBB8laDfNthN0hZS3YuUYnTSOl1QJN9KKQ3G7971xzVx7LQJFPorsVc7OzM7svEL67Wyi0LW4CJGhCDr2qkdSGH9FkNEnepXCDFV
OuIbpBX5NzRAIql84AbvZP0u0zw5yHTZNMl8M8G/Pf+etw1dyVAuSrR8pqWAzkBb79GQvEs9gUi037so8yxrjrPCTlFM0QWgyYSe2F2TGCTQ3dtVcmkMEwSb
VlZFECf4YLmTWEu5J6c0jCdkPCC7jsx/Lto715NhDs8iFy+yJjDMp1vCoUAj7xlySwBu9DZvdXcABod+jaT3GGVdIrGFAbdOWVnHQ9UaF2EnTk0cxLUIISq2
cs1/d5UiFT1J8SQmvnYLnDGV1/ZXEWu6Rs2aQY9PD6Onx6a5ZZnX+/ezRnHmJlZdTNIpxHXast7SY0zvf0fmaiTyz+0iSxW+yv/4Kn6ftW+jNr0k66ZPFOru
3BnryW1mDv2Ju2R2TZ/15ZxxQ201/wnZEEQesyg24MwH7wFZ2m4FAAA=
I don't want the devs to remove this :o
This is depth.
Attachments
MagicSteel.jpg
MagicSteel.jpg (157.14 KiB) Viewed 5350 times

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Qon wrote:Works with speed beacons. No combinators. Might not be completely speed optimal, need to test some more. Got 181 steel from 600 ore. The extra 1 was most likely from earlier testing, I didn't reset the bonus before doing the 600 run.
Ah, well then.
Qon wrote:I don't want the devs to remove this :o
This is depth.
Arguably it is an exploit, not depth. I might be wrong but unless a dev comments on the matter I am pretty sure this behaviour was never intended and just happens because the devs currently have no code in place to keep track of productivity progress for individual recipes after recipe switching.

As I have written in other module balancing threads in the past Productivity Modules themself are already a questionable concept in a game with infinite resources in my opinion, but as some might say it can be explained as further "refining a recipe" by increasing the "yield per resource". So I can understand why it is there because it is something that happens in reality too with better optimized manufacturing processes.

BUT creating Steel Bars out of thin air by abusing an entirely different resource other than Iron Plates is an exploit. In reality one can't convert one resource type into a entirely different one either, especially when looking at converting Copper into Steel and vice versa. The way it works currently is more like performing alchemy than anything else. So it eventually should be fixed.

That said I would be open to improving the entire smelting process anyways to give it more depth with more advanced, multistage refining processes. In real life there are various methods for steel production and for other metals that are quite interesting. It could be a mid/late game technology to improve resource consumption, just like advanced oil refining is.

Make it an actual feature, not a weird exploit due to oversight.
Last edited by MeduSalem on Tue May 31, 2016 3:01 pm, edited 1 time in total.

Qon
Smart Inserter
Smart Inserter
Posts: 2122
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Qon »

Exploit doesn't mean it's not depth or not good gameplay :>
I'm enjoying it. 4% bonus isn't really game breaking either.
It having no basis in reality doesn't disqualify it either as a valid game mechanic.
And the way my blueprint manages to follow the valid sequence with no combinators and just simple smart inserters and game mechanics is depth as well. But that is gonna break with v0.13 though if there's no way to make rapids only grab 5 at once. The second 5-batch of ore is actually inserted when the iron plate box is empty, which means it starts inserting it after the plates are in the fast inserter on their way into the furnace. But it still manges to get into the furnace first because of residual iron plates in the furnace output slot, I think. Quite fascinating to see it actually work q:

But I'm not saying that they shouldn't improve the game with intentianal depth. I just don't want them to break this on purpose with no replacement mechanics that are equally interesting.

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Qon wrote:Exploit doesn't mean it's not depth or not good gameplay :>
I'm enjoying it. 4% bonus isn't really game breaking either.
It having no basis in reality doesn't disqualify it either as a valid game mechanic..
I see we have different philosphies about that and I respect yours.
Qon wrote:But that is gonna break with v0.13 though if there's no way to make rapids only grab 5 at once.
Well, if I remember right I commented on the FFF where they announced the decision of the damn rapid inserters and I stated that I absolutely dislike the concept because of how it breaks so many things at once just for the sake of breaking it. Ironically Rapid Inserters, or the Loaders concept before that, weren't even necessary in the first place and were uncalled for except by a minority of elitist players with their train-based mega bases getting sick of building train stations crying for a better way to load/unload train wagons with compressed belts and whatnot. Belt-balancing maniacs with their ugly splitter contraptions which are not necessary either.

I am quite unhappy about the entire development because it turned from providing an "optional" or "alternative" way of doing things into the upcoming "mandatory" way of doing things and on the path breaking a lot of things just to improve one little part of the game (train stations) without caring about the rest.

I expect people will be taking the bitter pill and accept it because of how awesome the additional circuit network features are going to be. No, I am not sarcastic, I really think they are going to be awesome. But on the other hand some things won't work anymore the way they did and there is not going to be a replacement, like for example stack size bonus for Long-Handed Inserters. There will be mods with long-handed rapid inserters, yes, but I honestly don't give a damn about mods for the most part for several reasons.

And I am also concerned about not being able to control the rapid inserter in how many items it grabs from chests. Yeah, it may be possible to control it when it grabs from belts when there are some ticks in between grabing each item, but I bet the rapid inserter won't give the same control about that if it grabs from a chest/assembler/furnace. If it does then it would be truly awesome, especially for smart furnace setups. Otherwise robot-based smart furnaces will be basically dead since one would lose entire control over item flow.
Qon wrote:But I'm not saying that they shouldn't improve the game with intentianal depth. I just don't want them to break this on purpose with no replacement mechanics that are equally interesting.
Maybe it is better that I don't have a thing to say on the game development because I would have attached a "purity"-factor to each piece of resource, which would have determined how much items you get out of it during processing it, which could have been increased with multi-pass processing like smelting it multiple times, merging several low-quality resources of the same type together. It wouldn't be necessary to do that, but if you don't the output product would have less quality, affecting certain other aspects of the end products. Like for example a tank that has less armor because you used low quality iron/steel and things like it.

I know that there are certain people who like that kind of stuff, myself included, while others absolutely hate crap like that because of how a game turns into spreadsheet madness that way.
Last edited by MeduSalem on Tue May 31, 2016 3:49 pm, edited 1 time in total.

kann_
Inserter
Inserter
Posts: 44
Joined: Fri Apr 15, 2016 4:36 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by kann_ »

Just to understand what happen:
One steel crafting process accumulates enough bonus production to turn the next 5 iron ore into 7 iron plates?

By using the full production bonus of the steel production on iron we produce one extra iron per steel.
So for X iron we get X/5 steel and X/5 iron and this continues recursively.
So the total steel from X iron = X/5 + X/(5*5) + X/(5*5*5)...

Now I used some buried knowledge from ages ago to figure this one out.

This is actually the "geometric series".
Let me put this into a picture to display the formulas.
Indeed the experimental results are correct ;D
This is the same result as XKnights calculation, but maybe it helps someone else to understand it.

Geometric series in wiki: https://en.wikipedia.org/wiki/Geometric_series
Last edited by kann_ on Tue May 31, 2016 11:45 pm, edited 1 time in total.

Neotix
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sat Nov 23, 2013 9:56 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Neotix »

Back to the topic :P
My Furnaces tile. It's able to produce Iron, Copper, Steep plates and Stone bricks.
After some tests so far it's safe from jam (no iron plates or stone left in any furnace).
furnace
For this setup I used some mods like bob logistic, color lamps and expand signals. Of course after some changes it can be done in vanilla but I like mods so i'm using them :P
Building furnaces array is really painful. Each tile have to be setup manually because each use different signal. Good that in every tile i have to change signals in 4 inserters and copy/paste it (Thanks Devs for that feature :))
Each tile have combinator that send signal if some resources are low (more tile have low resource then higher value of signals). I will use it latter to modify proportions.
Furnace Array
Expanded controller (test setup) that can handle 60 tiles (120 furnaces).
Controller
Tis will requite a lot of bots.

kann_
Inserter
Inserter
Posts: 44
Joined: Fri Apr 15, 2016 4:36 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by kann_ »

Alright, so I tried my robot less version. As far as I can tell it works as expected.

Basically I use two furnaces, the left furnaces (yellow circle) are for steel but if it happens to be empty it will be used for iron/copper as well.
When crafting steel the smart inserter (red circle) is competing against the fast inserter (red circle) to pick up the iron. Usually the smart inserter wins.
I tested it a little and it seems that the "last activated" wins. The only time the fast inserter gets activated is when it gets placed.
Furnace Array
I though about using passive splitter sorting, but I have the feeling it is not really worth the effort with 3 items and high throughput. Is there a good example?

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Neotix wrote:My Furnaces tile. It's able to produce Iron, Copper, Steep plates and Stone bricks.
After some tests so far it's safe from jam (no iron plates or stone left in any furnace).
May I ask how exactly you got the Stone to work with the recipe requirements of 2 stone, the odd inserter stacksize bonus of 5 and unreliable Robot delivery of anything between 1-4?

I almost pulled my hair out the past two years because I couldn't get it to work reliable. :roll:

At least I never overcame mentioned problems with robots/chests in the past. With belts this is so much easier...

The only way I imagined that it could work is requesting stone to two chests and check if both chests simultaneously fulfill the >=5 stone requirement and then insert the contents of both chests simultaneously to ensure that there are 10 stone within the furnace, which is divisible by 2, leaving no residual.

But I encountered problems when the brick demand was high and the furnaces weren't smelting fast enough to keep up with the inserter speed even with Beacons so inserters would eventually fill the buffer of the furnace. Once the furnace buffer was full of raw stone the inserters got out of sync sometimes, leaving weird numbers of stone in the hands of the inserters as well as inside the furnace and chests. Weird stuff to say at least after which I basically said "f*ck it" and left stone be because I couldn't think of any other method that might work anymore.

Probably everything will be obsolete anyways once 0.13 is out so further agonizing about it is useless, but it would give peace to my mind, end this chapter of my life if someone actually found a way to make it work. :)
Neotix wrote:Building furnaces array is really painful. Each tile have to be setup manually because each use different signal. Good that in every tile i have to change signals in 4 inserters and copy/paste it (Thanks Devs for that feature :))
Yeah, that is really painful. I hate having to adjust signals for individual inserters in cells/rows/columns for global load balancing.

But there are ways to avoid it... if one doesn't connect all rows/columns to the same circuit network output... then one doesn't have to use individual signals for each row/column to activate it. If one keeps each row a seperate network then one is able to activate a row/column by sending signals to the corresponding network using combinators.

Neotix
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sat Nov 23, 2013 9:56 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Neotix »

MeduSalem wrote: May I ask how exactly you got the Stone to work with the recipe requirements of 2 stone, the odd inserter stacksize bonus of 5 and unreliable Robot delivery of anything between 1-4?
I'm using 2 inserters per furnace (https://i.gyazo.com/850f77bd6aa337c3cd7 ... 4b1b43.png). When controller start to produce bricks, inserters place 10 stone in furnace (insertion from chest to furnace with x5 stack bonus) After smelting 6 stone (4rd brick in production), inserters place another 10 stone (12 in furnace). So inserters will manage 12 stone in furnace until controler switch production.

To manage bot delivery and 1-4 amount of items, I put decider combinator (each < 100 -> Each = 1) that inform if specific resource in request chests decrease bellow 100 (I still have to adjust that number). If one tile don't have stone, then decider send signal stone = 1. If more tiles don't have stone then stone signal value increase. That's will mean that bots can't manage demand or there is no stone in buffer. Controller will reduce amount of furnaces that smelt stone. In that way i will manage to preserve in request chest more resources than 1-4 and workaround the problem :P
MeduSalem wrote: Yeah, that is really painful. I hate having to adjust signals for individual inserters in cells/rows/columns for global load balancing.
I already setup 60 tiles (120 furnaces) and today i will setup another 40. After that i will have blueprint of entire array. Only one array will have 200 furnaces with 10 speed (production 34285/minute) and I think that will be enough for my factory. If not, i will duplicate array to double production :P

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Neotix wrote:I'm using 2 inserters per furnace (https://i.gyazo.com/850f77bd6aa337c3cd7 ... 4b1b43.png). When controller start to produce bricks, inserters place 10 stone in furnace (insertion from chest to furnace with x5 stack bonus) After smelting 6 stone (4rd brick in production), inserters place another 10 stone (12 in furnace). So inserters will manage 12 stone in furnace until controler switch production.

To manage bot delivery and 1-4 amount of items, I put decider combinator (each < 100 -> Each = 1) that inform if specific resource in request chests decrease bellow 100 (I still have to adjust that number). If one tile don't have stone, then decider send signal stone = 1. If more tiles don't have stone then stone signal value increase. That's will mean that bots can't manage demand or there is no stone in buffer. Controller will reduce amount of furnaces that smelt stone. In that way i will manage to preserve in request chest more resources than 1-4 and workaround the problem :P
Ahh, okay. I already thought that the inserter pairs in the corner of the furnace are responsible for stone though I couldn't fully explain it to myself. It just confused me that the second chests are wooden chests, which can't be tested if there are actually at least >=5 stone inside, but since you are doing the test on the shared Requester chest instead it explains how you handle Stone shortages. Didn't see the small green wire going to the requester chests at first... Almost blended in with the background. :roll:

I would have used 2 requester chests and the 2 inserters would have cross-checked on both chests if there are >=5 stone to save on space. :P

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Well... I tried fiddling with the Smart Furnaces... again... but this time in 0.13.

Seems like except for Iron/Copper the concept is finally dead.

It is impossible (at least in a simple manner) to get the weird/stupid Stack Size bonus effects under control anymore.

The regular inserters grab 3 items (even from belt, so counting items one by one is impossible now), the stack inserters up to 13 items or something. Not even using least common multiples works favorably (15 for Steel... which is just stupid, 6 for Stone Bricks). Nothing matches up anymore and it would require ridiculous contraptions just because one can't specify "grab 5 items" or "grab 2 items".

So Steel and Stone are basically out of question now from a practical perspective. Fiddling around with stupid combinators and sh*t isn't worth the trouble in my opinion because that stuff just takes too much space. And since I can't explicitly tell the inserters how much to grab and the devs not really wanting to implement such a fine grained control over how many items an inserter actually grabs each turn I declare it a lost cause.



I really wanted to like the new Stack Inserters and the Stack Size bonus effects but god damn I hate them so much right now that I almost consider reverting to 0.12.35 and never update the game. The 0.13 changes broke so many things in my 0.12 factory which simply can't be done with 0.13 anymore because they depended on the special inserter behavior from 0.12. The irony itself is astonishing because actually one should be able to do what has been possible in 0.12 PLUS more and NOT less. So many new circuit logic additions and none of them are usefull in this special case. :roll:

Until they implement an option to specify exact amount of items an inserter should grab 0.13 is a major step back from smart factories. Guess it's back to dedicated smelting areas again and wasting a lot of space when they are unused.

Qon
Smart Inserter
Smart Inserter
Posts: 2122
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Qon »

MeduSalem wrote: It is impossible (at least in a simple manner) to get the weird/stupid Stack Size bonus effects under control anymore.

The regular inserters grab 3 items (even from belt, so counting items one by one is impossible now),
Set a condition on a belt A to only run when the next belt piece B is empty. That way only 1 item will ever be on belt B, which is the one you grab from. Maybe you need to separate A and B a bit so the inserter gives up on picking up several at once. Use a splitter to let the belt flow past your contraption without speed loss. Load from the splitter to one side of your belt A so that you only add one item at a time to belt B. You have new tools in your circuit toolbelt which can replace the old ways. Might not be as easy but should be possible.

Does the stack bonus apply from inserter > ground > inserter also?

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Qon wrote:Set a condition on a belt A to only run when the next belt piece B is empty. That way only 1 item will ever be on belt B, which is the one you grab from. Maybe you need to separate A and B a bit so the inserter gives up on picking up several at once. Use a splitter to let the belt flow past your contraption without speed loss. Load from the splitter to one side of your belt A so that you only add one item at a time to belt B. You have new tools in your circuit toolbelt which can replace the old ways. Might not be as easy but should be possible.

Does the stack bonus apply from inserter > ground > inserter also?
Seems like your belt contraption requires quite some space around the furnace (especially the splitters)... but I might be wrong... Could you show a picture of that?

At least I tried controlling stuff with measuring the belt contents already but I had no luck of getting something that doesn't beg for immediate deconstruction. :D

Also I haven't checked if the bonus applies to Inserter > Ground > Inserter yet, but I guess it doesn't due to an already grounded item preventing another item from being placed there. But that said, I generally have a grudge against the grounded item approach as well... It always feels like the game is missing some functionality if that's the only way to achieve something. Also it requires 2-3 additional tiles compared to 1 tile like in 0.12, which is a problem if the contraption has to fit within Rows of Beacons.

Case
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Jun 28, 2016 9:25 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Case »

MeduSalem wrote:Well... I tried fiddling with the Smart Furnaces... again... but this time in 0.13.

Seems like except for Iron/Copper the concept is finally dead.

It is impossible (at least in a simple manner) to get the weird/stupid Stack Size bonus effects under control anymore.

The regular inserters grab 3 items (even from belt, so counting items one by one is impossible now), the stack inserters up to 13 items or something. Not even using least common multiples works favorably (15 for Steel... which is just stupid, 6 for Stone Bricks). Nothing matches up anymore and it would require ridiculous contraptions just because one can't specify "grab 5 items" or "grab 2 items".

So Steel and Stone are basically out of question now from a practical perspective. Fiddling around with stupid combinators and sh*t isn't worth the trouble in my opinion because that stuff just takes too much space. And since I can't explicitly tell the inserters how much to grab and the devs not really wanting to implement such a fine grained control over how many items an inserter actually grabs each turn I declare it a lost cause.



I really wanted to like the new Stack Inserters and the Stack Size bonus effects but god damn I hate them so much right now that I almost consider reverting to 0.12.35 and never update the game. The 0.13 changes broke so many things in my 0.12 factory which simply can't be done with 0.13 anymore because they depended on the special inserter behavior from 0.12. The irony itself is astonishing because actually one should be able to do what has been possible in 0.12 PLUS more and NOT less. So many new circuit logic additions and none of them are usefull in this special case. :roll:

Until they implement an option to specify exact amount of items an inserter should grab 0.13 is a major step back from smart factories. Guess it's back to dedicated smelting areas again and wasting a lot of space when they are unused.

Yes, I'm with you here, at least for the part that it should not be so complicated to fiddle with the inserter stack size. But I guess you should give the devs a bit room here :). I'm all for trying stuff out, and if you don't give the room for it it is mostly unhealthy for the development process.

I have a work in progress where I grab items with the inserter and the grading process stops when a certain item count is reached. Then another inserter grabs the rest from the chest so that the chest is empty and I start the "holding inserter" again (now he has the right amount of items). But like you said its way to complicated for the task and needs some circuitry and more inserter. My old semi smart furnace was working with 2 circuit items for the whole array and a couple of chest/inserter combinations.

Take care

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1508
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by MeduSalem »

Case wrote:Yes, I'm with you here, at least for the part that it should not be so complicated to fiddle with the inserter stack size. But I guess you should give the devs a bit room here :). I'm all for trying stuff out, and if you don't give the room for it it is mostly unhealthy for the development process.
Well yeah, I give the devs really credit for the awesome unification of the Circuit Network stuff in 0.13, so It's not that I am ungrateful or something.

It is more like that being able to adjust/override the Inserter Stack Size bonus manually for each Inserter for certain reasons has been suggested that often already that I lost count. And now that they changed the Inserter Stack Size stuff almost to random numbers the option to override the stack size to a custom value on a per inserter basis is more necessary than ever... which is why I am somewhat disappointed that it still isn't a thing. :D

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2919
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Optera »

I deliberately not researched the last stack bonus so stack inserters use a nice 10 stack.
So far the simpler smart furnaces without stone work without jamming.

I would rather have an option to wire up furnaces to check their input and tell inserters to place x items (would also be great for supply trains).

Neotix
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sat Nov 23, 2013 9:56 pm
Contact:

Re: Smart Furnace - load-balanced, demand-based, and tileable

Post by Neotix »

AFAIK Stack Inserters can grab 12 items at once and normal inserter can grab 3 (botch fully upgraded). When both work simultaneously we get 15 stack bonus that can be used for steel production. For stone we can use only stack inserter with 12 stack bonus.

On weekend I will try to build smart furnace based on this idea.

Post Reply

Return to “Combinator Creations”