Simple fuel inserting?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?

Simple fuel inserting?

Postby veldez » Sun Dec 03, 2017 10:40 pm

Returning from a long break (last time I played we only had 3 science packs plus the alien pack), and I am trying to set up a small 2x2 nuclear plant. Combinators are completely foreign to me, and I was wondering if anyone can explain in a simple, step by step manner that even a non-programmer can understand, how to set up a system that will insert 1, and only 1, fuel cell into each reactor when the steam reserve gets below, say, half full, then not put another one in until the first is spent, and only if the steam is still below half. I would love to be able to do this without bunches of combinators and such, just a couple of simple networks........ is this even possible? Again, timers, complex (or even simple) programming, memory cells, etc are way more than I can handle, although I think I barely understand how an S-R latch is set up...... but that by itself doesn't seem to cut it. Any help for me would be a godsend lol.
veldez
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Sun Dec 03, 2017 10:31 pm

Re: Simple fuel inserting?

Postby DaveMcW » Mon Dec 04, 2017 1:55 am

veldez wrote:timers ... are way more than I can handle

So let's avoid timers, and use a massive steam buffer.

Putting 4 nuclear fuel cells in a 2x2 reactor produces 39.6 tanks of steam. But even with "Override stack size = 1", an inserter will put 6 fuel cells into an empty reactor. So we need to handle 6 times that, or 237.6 tanks of steam. And then you want to leave half your steam in reserve, so we need 476 tanks.

So your setup is:
Chest of Uranium fuel cells -> Inserter -> Nuclear Reactor
Inserter connected to 1 storage tank with green wire.
Storage tank connected to the other 475 storage tanks with pipes.
Inserter Override stack size: 1
Inserter Enabled condition: Steam < 12500
Last edited by DaveMcW on Mon Dec 04, 2017 3:40 am, edited 1 time in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 2186
Joined: Tue May 13, 2014 11:06 am

Re: Simple fuel inserting?

Postby veldez » Mon Dec 04, 2017 2:07 am

That's about as simple as it gets, thanks! As an aside, there isn't any way to stop the inserter from filling the reactor with 6 cells without circuitry then?
veldez
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Sun Dec 03, 2017 10:31 pm

Re: Simple fuel inserting?

Postby Zavian » Mon Dec 04, 2017 3:44 am

You could probably use a loop of belt to act as a crude timer. That is simpler than a timer. (Wire a piece or belt, set it to hold if steam > 12500, wire the next piece of belt, set it read belt contents, add a token. When it reaches the second piece of belt use that to enable your inserters). If I remember the maths right a loop of 375 yellow belts will take 200 seconds. (If you are confident that your steam tanks will be back over 50% steam in a shorter timeframe, you could shorten the loop. eg 360 yellow belts should be 192 seconds).

Edit: A better solution might be to detect the removal of a used fuel cell. Add a box as an output buffer. Set the inserters loading fuel cells to only swing if steam <12500, and a used fuel cell in the output buffer. Add another inserter to empty the output buffer. Wire it up the same as the input inserters. That should swing on the same tick as the input inserters and empty the output buffer.
Zavian
Filter Inserter
Filter Inserter
 
Posts: 278
Joined: Thu Mar 02, 2017 2:57 am

Re: Simple fuel inserting?

Postby DaveMcW » Mon Dec 04, 2017 10:34 am

Zavian wrote:A better solution might be to detect the removal of a used fuel cell.

Good idea. I updated the wiki with this design:

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

Re: Simple fuel inserting?

Postby oxo » Thu Dec 07, 2017 12:49 am

veldez wrote:... Any help for me would be a godsend lol.


Today I saw a new tutorial on youtube about exact this problem:

https://www.youtube.com/watch?v=_ReduT-3Wx4
oxo
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Sat Nov 25, 2017 5:30 pm


Return to Gameplay Help

Who is online

Users browsing this forum: No registered users and 6 guests