2021-09-17 09:37:00 +00:00
|
|
|
# Automatically evacuates cooling-tower when temp
|
2022-09-13 18:22:22 +00:00
|
|
|
# is below 40C
|
2021-09-17 09:37:00 +00:00
|
|
|
# needs a volume pump and a gas analyzer
|
|
|
|
|
2022-09-13 18:22:22 +00:00
|
|
|
alias Sensor d0
|
|
|
|
alias Pump d1
|
2021-09-17 09:37:00 +00:00
|
|
|
|
2022-09-13 18:22:22 +00:00
|
|
|
alias PipeTemp r0
|
|
|
|
alias PipePress r1
|
|
|
|
alias TempGo r2
|
|
|
|
alias PressGo r3
|
|
|
|
alias PumpGo r4
|
2021-09-17 09:37:00 +00:00
|
|
|
|
2022-09-13 18:22:22 +00:00
|
|
|
define TEMPTHRESH 313.15
|
2021-09-17 09:37:00 +00:00
|
|
|
|
|
|
|
# Sets volume pump max capacity
|
2022-09-13 18:22:22 +00:00
|
|
|
l PipePress Pump Maximum
|
|
|
|
s Pump Setting PipePress
|
2021-09-17 09:37:00 +00:00
|
|
|
|
|
|
|
start:
|
|
|
|
yield
|
|
|
|
# Loads cooling-tower pressure and temp
|
2022-09-13 18:22:22 +00:00
|
|
|
l PipeTemp Sensor Temperature
|
|
|
|
l PipePress Sensor Pressure
|
2021-09-17 09:37:00 +00:00
|
|
|
# Checks if temp is below threshold
|
2022-09-13 18:22:22 +00:00
|
|
|
slt TempGo PipeTemp TEMPTHRESH
|
|
|
|
sgtz PressGo PipePress
|
2021-09-17 09:37:00 +00:00
|
|
|
# If cooling-tower has pressure, and temp is safe..
|
2022-09-13 18:22:22 +00:00
|
|
|
and PumpGo TempGo PressGo
|
2021-09-17 09:37:00 +00:00
|
|
|
# ...activate pump
|
2022-09-13 18:22:22 +00:00
|
|
|
s Pump On PumpGo
|
2021-09-17 09:37:00 +00:00
|
|
|
j start
|