From 627dd99dd7c534495c55abdeff3dd7bf55d26c56 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Thu, 7 Nov 2024 22:13:03 -0500 Subject: [PATCH] #566 fixes for matrix fault logic --- supervisor/facility_update.lua | 4 ++-- supervisor/startup.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/supervisor/facility_update.lua b/supervisor/facility_update.lua index 40e5b23..5e6fa07 100644 --- a/supervisor/facility_update.lua +++ b/supervisor/facility_update.lua @@ -540,7 +540,7 @@ function update.auto_safety() astatus.matrix_fault = false log.info("FAC: induction matrix OK, clearing ASCRAM condition") else - astatus.matrix_fault = i_ok + astatus.matrix_fault = not i_ok end -- check matrix fill too high @@ -555,7 +555,7 @@ function update.auto_safety() -- clears when we enter the fault waiting state astatus.gen_fault = self.mode == PROCESS.GEN_RATE and not self.units_ready else - astatus.matrix_dc = true + astatus.matrix_fault = true end -- check for critical unit alarms diff --git a/supervisor/startup.lua b/supervisor/startup.lua index 5a74e20..1fd33c7 100644 --- a/supervisor/startup.lua +++ b/supervisor/startup.lua @@ -22,7 +22,7 @@ local supervisor = require("supervisor.supervisor") local svsessions = require("supervisor.session.svsessions") -local SUPERVISOR_VERSION = "v1.5.13" +local SUPERVISOR_VERSION = "v1.5.14" local println = util.println local println_ts = util.println_ts