Revert "Multiply throttle floor by size of first group to keep whole group idle"

This reverts commit 9f3d058e77.
This commit is contained in:
RaeveNoir 2024-04-03 09:45:01 -07:00
parent 9f3d058e77
commit 8caeb67cc0

View File

@ -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] }",