Added temperature safety-off
This commit is contained in:
parent
89c0a6165d
commit
6ced5a4758
@ -18,13 +18,16 @@ alias filterLight r5
|
||||
alias filterHash r6
|
||||
alias filterMols r7
|
||||
alias filterActive r8
|
||||
alias inMolsCheck r9
|
||||
alias inMolsCompare r10
|
||||
alias totalMols r11
|
||||
alias outPressure r12
|
||||
alias inTemperature r9
|
||||
alias inMolsCheck r10
|
||||
alias inMolsCompare r11
|
||||
alias totalMols r12
|
||||
alias outPressure r13
|
||||
alias purgeActive r14
|
||||
|
||||
define MAXPRESSURE 58000 # Storage pressure kPa
|
||||
define INPUTAMOUNT 2 # Moles to activate
|
||||
define MAXTEMPERATURE 313.15 # 40C
|
||||
|
||||
start:
|
||||
yield
|
||||
@ -46,6 +49,10 @@ l outPressure filtration PressureOutput
|
||||
slt outPressure outPressure MAXPRESSURE
|
||||
and filterActive filterActive outPressure
|
||||
|
||||
# Check temperature
|
||||
l inTemperature filtration TemperatureInput
|
||||
bgt inTemperature MAXTEMPERATURE start
|
||||
|
||||
# Check filters and available gas
|
||||
l totalMols filtration TotalMolesInput
|
||||
ls filterHash filtration 0 PrefabHash
|
||||
|
Loading…
Reference in New Issue
Block a user