Stationeers

Stationeers

Advanced Furnace Controll
66 Comments
king0394 29 Apr, 2024 @ 2:19pm 
@Bradrackas
i had a similar problem, i build the furnace in a room with 100 kpa and all is fine. But i have no idea what the problem is, maybe the planet pressure ?
Elmo  [author] 19 Apr, 2024 @ 12:37pm 
@Bradrackas if anything you should have more pressure in the hot tank. But hard to tell what's wrong with your setup without more details. PM me on discord if you want.
Bradrackas 19 Apr, 2024 @ 11:57am 
So I've built a 3 pump furnace and have three tanks for heat, waste and coolant. I've added the new pipe igniter linked to the fuel mixer output analyser temperature to ignite the mixture in the pipe if the output reads a temp that is too low for autoignition. I have really high pressure in both the waste and coolant tanks (around 30MPa) but only around 5 MPa in the heat tank. The furnace refuses to make Stellite and struggles with the 'exotic' alloys generally. Please can you advise if I'm doing something wrong? Should I aim for a much lower pressure in my coolant and waste tanks. It looks like the waste inlet pump is permanently on, so I assume the pressure differential is preventing the heat from making it into the furnace?
Willson 28 Apr, 2023 @ 11:38am 
Hi can I ask where to find a video with the setup?
Listiger 28 Dec, 2022 @ 2:36pm 
I find the oxygen code not
Elmo  [author] 22 Dec, 2022 @ 12:18pm 
@Xinax correct
Xinax 22 Dec, 2022 @ 5:43am 
What is the difference of the FurnaceController2Pump to the FurnaceController3Pump?
Is the 3Pump with waste?
Elmo  [author] 22 Nov, 2022 @ 4:45am 
@Golden Dragon ye, i think the dial overrides it. but it might not..
either way, you can do either, or both, or none.
Golden Dragon 21 Nov, 2022 @ 6:49pm 
Can you explain a little?

(optional) Logic Button controlling next selection
(optional) Logic Button controlling previous selection
(optional) Dial for controlling ingot/alloy selection

Looks like buttons or dial? If dial exists, buttons does nothing?
Darkspyro911 9 Oct, 2022 @ 1:51pm 
How do I upload saves?
Elmo  [author] 30 Sep, 2022 @ 3:25am 
@Darkspyro911 video was outdated when i changed all the code with the new ignition system
Darkspyro911 29 Sep, 2022 @ 5:38pm 
what happened to your video?
Cihla_cz 4 Aug, 2022 @ 3:42pm 
@gigafunk like elmo wrote it is now easier. I will definently go with whole tank like a one huge combustion chamber. Only crucial is to do the math correctly (overpressure because of temp growing) :: About the changes of the code. It can be different lines but i done that from last elmos ignition IC update. Maybe you can find adn go by exactly that lines i wrote here. I have proof o work in save which i can share if you want. Note: Oxygen must be above 831°C after that it will ignite but still you need to change the code because different behaviour of combustion process after last update.
Elmo  [author] 4 Aug, 2022 @ 2:16pm 
@gigafunk Furnaces became a lot easier after the combustion changes. This system still work, but the self ignition pipe system require super high temperature now.

But because small partial ignition work now the oxygenController, IgnitionController and connected dynamics are essentially redundant. i haven't made anything for this but you can just pump fuel straight into the hot pipe. if that pipe is empty/cold just start it out by putting some hot gasses in there to kick start it. any fuel you put in there after that should self combust and keep it hot.
gigafunk 4 Aug, 2022 @ 2:08pm 
Having some trouble with this build on the beta branch with the new combustion changes. I am not sure if i am starting it up wrong or the changes broke it. my oxygen is still only around 530 degrees. when i add the 2:1 ice chunks to manually start it to warm the oxygen, it either doesn't react, and when it finally does ignite, after 5 seconds the furnace catches fire and burns away. I was going to try Cihla_cz code changes, but the line numbers are off from when he described it in the last post, and it looks like you updated the line 52/53 1681.421090 value already.
Cihla_cz 28 Jul, 2022 @ 7:09pm 
Because combustion process is now little longer then before (it take some time until all combustion gases are mixed) and we need fast burn right? I updated elmos code of Ignition IC, which will start emptying the chamber much earlier then normaly. With this you will lost 1% of non combusted H2 and O2, but you will gain 30% more time. This is only workaround, but it works for those who dont want to change whole or part of his system. Another solution is to make combustions directly in tank, but like i said, with this solution you aonly need to change few lines of code nothing more.
Cihla_cz 28 Jul, 2022 @ 7:08pm 
Change values at lines:

11 define PressLimit 150 #original 500
13 define MolLimit 40 #max number depends on the volume of your chamber. For three pipe long chamber is MAX around MolLimit 90 so 80 is safe (it is around 48MPa)
14 define PressureWarningLimit 3000 # for higher MolLimits 60 above you should to set for 4000 - 6000

New lines:

after line 14
15 define ChamberDrainLimit 0.01 # new line / here you can set threshold in % for chamber drain to tank
between lines 39 a 40 (39 is l IngiState PAIgnition Combustion and 40 is l IngiState PAIgnition Combustion)
40 l r15 PAIgnition RatioOxygen # new line
41 sge r15 r15 ChamberDrainLimit # new line
42 and IngiState r15 IngiState # new line



Elmo, I believe that you will not be angry with me for touching your code, and i confess that it was not the first time :)
Cihla_cz 28 Jul, 2022 @ 6:03pm 
error 406 means not enough temperature of O2 -- you need something around 840°C
_____________________________________________________________________
Cihla_cz 28 Jul, 2022 @ 10:51am 
@timmgibb it will work but with Heaters you will wait years to heat it up. Try that metod i wrote before. And have full tank of hot H2 is not safe for your base i think :D
timmgibb 28 Jul, 2022 @ 10:51am 
@Chila_cz also, my ignition IC is displaying state 406 but not an error - does this mean that my O2 isn't hot enough? Right now my H2 is 20 degrees C and my O2 is 400 degrees C.
timmgibb 28 Jul, 2022 @ 9:27am 
@Cihla_cz @Elmo - So i put a heater on my H2 pipe, does the reaction not happen if the H2 gas is too hot?
Cihla_cz 28 Jul, 2022 @ 7:20am 
@timmgibb > Solution for you with actual setup:
Id you have oxygen cotroler setup you need to do just two steps to change in code:
STEP 1: Update the ignition script or check in the code line 53 and update value to 1681.421090
STEP 2: Oxygen cotroler: in the code at line 52 update value to 1681.421090

Now just set the furnace to max temp you can get and wait until your oxygen reach desired temp for ignition. You can check this on the housing of ignition controler. If there is error 406 it is not hot enough. If there is no error you are ready to smelt ;) Also you can check at oxygen controler housing the difference from minimmum ignition temperature of hot O2.

EDIT: you you do not have enough hot fuel for your furnace to heat it up, just switch off the pipe analyser on your ignition chamber and try to reach highest temp with your waste. Probably you will need to change desired temperature up and downw few times but ii works. At least for me...
Cihla_cz 28 Jul, 2022 @ 5:26am 
@timmgibb @Elmo yes if you will mix H2 and N2O it will create a lot of heat. H2 can sit at 20°C and N2O must be 50°C at least. Ratio is 1/3 H2/N20. But be careful it will create 3times more mols so pressure also. And after ignition it will take some time to mix gases together. So in this case is nice to change chamber to whole tank and just need to fill it properly with N20 and inject H2 and wait couple of minutes. After that you will get 50MPa of mixture gas sitting at 6000°C ;)
Elmo  [author] 27 Jul, 2022 @ 1:47pm 
@timmgibb have you updated the code? i pushed two updates. that should fix it in theory. but it will require realy hot O2 (and H2). there is better ways to set it up but i'll probobly come with an update down the road.
timmgibb 27 Jul, 2022 @ 10:28am 
Did the new update break this code? I have a world with the furnace that was working before the update, but more recently it isn't working. Specifically, I have hot oxygen and hydrogen stored, but the ignition pumps aren't doing anything and I'm out of heat gas.
WoBra 21 Jun, 2022 @ 7:11am 
@Elmo thx I Love youre Furnace :steamthumbsup:
Elmo  [author] 21 Jun, 2022 @ 6:53am 
@WoBra Yes. check out my workshop or youtube channel. there's a whole system that fits on to it. :)
WoBra 18 Jun, 2022 @ 4:14pm 
Is there a chance to add a built-in sorting system so that the Furnace can pick up the bars itself?
Elmo  [author] 14 Apr, 2022 @ 11:09am 
@Xinax you need both. Ignition controller decides when, utility decides how much. They will try to match the pressure in the waste tank (if you got everything set up correctly)
Xinax 14 Apr, 2022 @ 8:51am 
I have found a bug/important note.
You only need to connect the pump of the ignition|heatbuffer to only one of this two controller:
Utility
IgnitionController
I had the problem that the heat buffer was sometimes filling itself to much.
Elmo  [author] 4 Feb, 2022 @ 1:55am 
@Etsijä that's not a problem. have at it. it'll adjust just fine :)
Etsijä 4 Feb, 2022 @ 1:01am 
A bit of a technical question for you: how important it is for the functioning of your furnace that the waste tank - while of course being pressure regulated - is left otherwise "untouched". I am on Europe, and would like to use the heat in the waste tank for initial warming up of my base, via a heat exchanger. Would cooling of the waste ruin the functioning of the furnace, or would it then just adjust itself and take more fuel into the hot tank?
Elmo  [author] 3 Feb, 2022 @ 2:35pm 
@Etsijä Happy it worked out and that you like it :)
Etsijä 3 Feb, 2022 @ 1:04pm 
Figured it out myself: "when in doubt, just chuck some oxites and volatiles in it" :) After that, the furnace started to function. It is a bit slow at first, when building the moles to the tanks. But OMG is this the best furnace ever. Thank you so much for doing the hard work for us furnace fans!
Etsijä 3 Feb, 2022 @ 12:33pm 
I set up your furnace as per your instructions. OxygenController, IgnitionController and every other IC chip were set up successfully. There is pressure (albeit just a little, ~400 kPa) in all three tanks.

My furnace input is showing a NaN, output 100L and the furnace is suddenly completely empty (0Pa, 0K). I have no clue what happened, but suspect the furnace is now in some kind of deadlock. What could I do to fix this? Do I need to delete and rebuild the furnace itself?
Elmo  [author] 1 Oct, 2021 @ 2:14pm 
@Yukizawa well the ignition controller tries to put in a fixed number of moles. using the volume of the volumepump. from there it's straight forward ideal gas law. lower o2 temperature or higher o2 pressure gives less volume nessesery on the pump. but it's obviously easier to double the pressure than to half the temperature. especially since the temperature is bound by the h2 temperature.

but i like your input. i'll increase the "out of the box" pressure limit next time i'm over that script :)
Yukizawa 1 Oct, 2021 @ 11:08am 
Interestingly, I found the H2 temp/ pressure don't matter at all.

I made a little spreadsheet that tracks the inputs / outputs, and because of how the math works, the line mul vo calc vh outputs the same value no matter the temp / pressure of hydrogen. Only the oxygen temp / pressure matter for the output that determines if the pipe will hit 100 or not.

With these values, the result is 77.479815

ph 156.84
po 1000
th 223.15
to 621.25

with a po of 750 it's 103.30642. Changing the oxygen temp does adjust this slightly, but pressure is a much bigger factor in making these calcs get under 100.

Decreasing temp on oxygen also helps, but since you want your oxygen heated pressure is an easier fix.
Elmo  [author] 1 Oct, 2021 @ 4:46am 
@Yukizawa thanks for your feedback.

the VPExit/VPHeatFill confusion is due to the system being very modular. you can use the ignition controller separately to generate heated gas for heating or the sterling generator. it doesn't require the rest of the setup to work.
the same goes for the rest of the setup. you can have a heated gas source that isn't ignited gas. you can run the setup with any gas + pipe heaters or aircontions to heat the gas, without the ignition stuff.

The O2 pressure limit will depend on your h2 temperature. a low H2 temperature will require the o2 to be even hotter, giving less moles pr volume. with "room temperature" H2 it should be enough with 750kpa. increasing the minimum pressure will require more energy to reach target temperature. increasing the energy requirement isn't ideal for those struggling to get it started.

and there are plenty of parameters that i have not documented. i tried to limit the amount to not overwhelm people :)
Yukizawa 29 Sep, 2021 @ 2:20pm 
I just set this up to test, and found two things that confused me.

In the IgnitionController, the exit pump is called VPExit (You labled it IgniterExit in the video)
In the Utility IC, the same pump is called VPHeatFill, and it is listed as optional. Since I couldn't see you set it up in the video I didn't set it, and If you don't set this the ignition controller never stops filling the heat tank and it explodes if you aren't using the furnace for a while.

My 403 errors were due to low oxygen. My O2 network was stuck around 750 Kpa, which isn't enough to reliably keep the value under 100 in the CalcRatio section. Once I added oxygen to the system it started working fine. I did notice the minimum pressure value in the code after I found the problem, but it isn't mentioned in the guide as far as I can tell.

Overall I think I'll end up using this setup, the heat management / speed of adjustment after you getting everything running are very good.
DJ Margoe 28 Aug, 2021 @ 10:35am 
Hello Elmo, Thanks for your wounderful Work. I would be intrested in the full outomated Storage. Im trying to programm my own at the time, wiht SDB Silos, but they don't realy work.
SOD 9 Jun, 2021 @ 10:09am 
Your guess is very good. I had a construct mistake at the beginning and connect the H2 pipe Top the O2 pump. After That i Filter the H2 out of the tank. Maybe there is a rest in the pipes … Thanks !!
Elmo  [author] 9 Jun, 2021 @ 8:53am 
@SOD 403 means the volume pump exceedes 100 liters, and 500 means it didn't detect ignition as expected.
without seing your setup, i can only guess. but maybe your H2 supply, or your hot O2 network is very contaminated?
SOD 9 Jun, 2021 @ 5:53am 
@Elmo. Thanks for the Information. I have an 403 error and fill up the H2 and O2 Tank to 5MPa. Now I have error 500. How is the minimum Pressure that i need in the H2 and O2 Tank?
Elmo  [author] 8 Jun, 2021 @ 2:43pm 
@SOD
The igniter analyzer turns off to indicate an error. probobly not hot enough, or not enough pressure in the H2 pipe.if you look at the IgnitionController it should tell you an error code.
SOD 8 Jun, 2021 @ 1:27pm 
Hey Elmo, very nice work !! Thanks for that. I have some problems and search for some tipps. My heat tank doesn't fill up and have -3,5 centigrade. My OxygenHot has 1500 centigrade and my Waste Tank has 15 MPa and 140 centigrade. The Pipe Analyser Igniter is alway off and i cant find the Problem. I can turn on the Analyser Igniter manual but they turn automatic off after few seconds.
Elmo  [author] 23 May, 2021 @ 9:47am 
@mort78 would help to preheat your hydrogen a little. that cold feed gives a realy high temperature demmand on the oxygen.
mort78 23 May, 2021 @ 7:49am 
Yeah, my HYD is like close to zero.
I'll try change my setup slightly and see how I go!
Thanks mate!
Elmo  [author] 23 May, 2021 @ 6:27am 
@mort78 the ignition controller has a safety limit, +18 isn't hot enough.sounds like your hydrogen comes in at very low temperature, or some pipeanalyzer is off and it's reading 0 temperature. you can lower the safetylimit in the Ignition controller code. just be carefull as it may start feeding unignited fuel into your furnace, where you can ignite it and kick start the heating loop.
mort78 23 May, 2021 @ 5:57am 
@Elmo
It's working for some ores.
I just tried making some Astroloy, but it wouldn't go up to the required pressure for some reason!
Again, I'm still having the 406 state message on the ignitor IC.
Elmo  [author] 23 May, 2021 @ 5:43am 
@mort78 the program locks them because if someone changed anything on them it could be dangreous :P

so it's working now? :D