Stationeers

Stationeers

Not enough ratings
Automatic Advanced Furnace Gas Heater (outdated)
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
258.106 KB
Jun 18, 2021 @ 9:35pm
Sep 10, 2021 @ 6:42pm
2 Change Notes ( view )

Subscribe to download
Automatic Advanced Furnace Gas Heater (outdated)

In 1 collection by CowsAreEvil
Automatic Advanced Furnace
5 items
Description
This is the gas heater script for my automatic advanced furnace.
This script will manage the temperature and pressure in the storage tanks for the furnace to use.

World Save:
https://steamcommunity.com/sharedfiles/filedetails/?id=2520702039
Controller:
https://steamcommunity.com/sharedfiles/filedetails/?id=2520700872
Stack Writer:
https://steamcommunity.com/sharedfiles/filedetails/?id=2520701196
Extended Stack Writer:
https://steamcommunity.com/sharedfiles/filedetails/?id=2708613049
Gas Heater:
https://steamcommunity.com/sharedfiles/filedetails/?id=2520701390
Electric Heater:
https://steamcommunity.com/sharedfiles/filedetails/?id=2520701636

Update 11/9/2021: Adjusted the overlap buffers to prevent logic lockup caused by cold fuel injection.
6 Comments
Dec 14, 2021 @ 11:52pm 
Hey Cow, hey guys!

So there's a bit of an issue with this script, in which the furnace goes in what Cow calls the "cold lock-up".

I wrote a YT comment about patching line 36 to read "sub r0 r0 250" instead of "sub r0 r0 100", that helped but I discovered in new setup that it didn't fix the underlying issue.

I believe the real problem lies at line 39, which should read "add r1 r1 5000" instead of "sub r1 r1 5000". Reason being we only want to top up the hot tank if it's low on pressure, not top it up until it's at 25 MPa, because that will prevent the mixer from heating the tank.

It's been working flawlessly on my end since I made that change.

Hope it helps!
CrazyOldBird Nov 4, 2021 @ 8:59am 
Geneticus. That is caused by a divide-by-zero issue if there is ABSOLUTELY no trace of volatiles in the system. After Watching CowsAreEvil's YouTube build on this, I tried building it from memory with my own spin and ran into the same issue. Add a line immediately following the read from the gas sensor on the furnaces output line that checks if the volatiles is ==0 and sets it to 0.0000001 instead. That is a small enough value that it will not interfere with the rest of the calculations, but removes the divide by zero.
Geneticus Nov 1, 2021 @ 10:21am 
There is a glitch in the script due to the way analyzers work. If the pipe has no gas in it, it returns NaN on ratios, causing your script to set the Mixer to NaN if the Furnace isn't primed before starting the IC.
slowshot Jul 5, 2021 @ 5:46pm 
You are correct about my set up having the hot topup connected directly to the hot tank. I guess I shouldn't watch you're videos while half asleep, I missed that part :) I also forgot to put a vent on the waste tank line. Fortunately I realized my mistake before the tank got above 45 MPA ...
CowsAreEvil  [author] Jul 4, 2021 @ 6:48pm 
It sounds like you have the hot top up connected directly to the hot tank so your alterations are correct. In my setup I have the hot top up connected to the furnace so the reading should be from the furnace sensor.
slowshot Jul 4, 2021 @ 4:19pm 
I ran into 2 small issues with this script when doing alot of smelting at one time. The hot tank temperature dropped below 400C and at the same time the hot tank pressure went over 28 MPA. I traced the cause to the hot topup pump routine reading from the furnacesensor. You need to change lines 35 and 38 to read from the hottank instead of the furnacesensor and it works perfectly.
A big "thank you" to Mick for trying to blow up my base... uhmm.. I mean doing all the hard work in writing the scripts for this furnace setup :)