Stationeers

Stationeers

评价数不足
Automatic Advanced Furnace Gas Heater (outdated)
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
258.106 KB
2021 年 6 月 18 日 下午 9:35
2021 年 9 月 10 日 下午 6:42
2 项改动说明 ( 查看 )

订阅以下载
Automatic Advanced Furnace Gas Heater (outdated)

在 CowsAreEvil 的 1 个合集中
Automatic Advanced Furnace
5 件物品
描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2520702039
Controller:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2520700872
Stack Writer:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2520701196
Extended Stack Writer:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2708613049
Gas Heater:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2520701390
Electric Heater:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2520701636

Update 11/9/2021: Adjusted the overlap buffers to prevent logic lockup caused by cold fuel injection.
6 条留言
2021 年 12 月 14 日 下午 11:52 
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 2021 年 11 月 4 日 上午 8:59 
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 2021 年 11 月 1 日 上午 10:21 
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 2021 年 7 月 5 日 下午 5:46 
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  [作者] 2021 年 7 月 4 日 下午 6:48 
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 2021 年 7 月 4 日 下午 4:19 
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 :)