#155 gen rate mode pausing on units no longer being ready

This commit is contained in:
Mikayla Fischler
2023-02-11 14:27:29 -05:00
parent ff1bd02739
commit 42ff61a8a1
4 changed files with 66 additions and 11 deletions

View File

@@ -522,6 +522,7 @@ function unit.new(for_reactor, num_boilers, num_turbines)
-- perform an automatic SCRAM
function public.a_scram()
if self.plc_s ~= nil then
self.db.control.br100 = 0
self.plc_s.in_queue.push_command(PLC_S_CMDS.ASCRAM)
end
end