diff --git a/supervisor/facility.lua b/supervisor/facility.lua index 0423164..ed5c412 100644 --- a/supervisor/facility.lua +++ b/supervisor/facility.lua @@ -493,20 +493,11 @@ function facility.new(num_reactors, cooling_conf) self.saturated = output ~= out_c - local group_size = 1 - - for i = 1, #self.prio_defs do - if #self.prio_defs[i] > 0 then - group_size = #self.prio_defs[i] - break - end - end - -- if below charge target or falling to it do not zero burn rate to avoid disruption of throttling if out_c == 0 and error > 0 then - out_c = 0.01 * group_size + out_c = 0.01 elseif out_c == 0 and D < 0 then - out_c = 0.01 * group_size + out_c = 0.01 end -- log.debug(util.sprintf("CHARGE[%f] { CHRG[%f] ERR[%f] INT[%f] => OUT[%f] OUT_C[%f] <= P[%f] I[%f] D[%d] }",