#171 unit auto SCRAM and improvements to emergency coolant control

This commit is contained in:
Mikayla Fischler
2023-02-20 12:08:51 -05:00
parent 1be57aaf13
commit 8df67245c5
7 changed files with 102 additions and 30 deletions

View File

@@ -29,7 +29,7 @@ local PCALL_START_MSG = "pcall: Reactor is already active."
local MAX_DAMAGE_PERCENT = 90
local MAX_DAMAGE_TEMPERATURE = 1200
local MIN_COOLANT_FILL = 0.02
local MIN_COOLANT_FILL = 0.10
local MAX_WASTE_FILL = 0.8
local MAX_HEATED_COLLANT_FILL = 0.95
@@ -206,7 +206,7 @@ function plc.rps_init(reactor, is_formed)
self.state[state_keys.manual] = true
end
-- automatic SCRAM commanded by supervisor/coordinator
-- automatic SCRAM commanded by supervisor
function public.trip_auto()
self.state[state_keys.automatic] = true
end

View File

@@ -14,7 +14,7 @@ local config = require("reactor-plc.config")
local plc = require("reactor-plc.plc")
local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "beta-v0.10.11"
local R_PLC_VERSION = "beta-v0.11.0"
local print = util.print
local println = util.println