From f02523331f2b8eba5608cc63df3d207ca0ae722a Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 23 Nov 2025 00:07:35 +0100 Subject: [PATCH] Drop base aux draw when only turbines are toggled --- src/reactor_sim/reactor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactor_sim/reactor.py b/src/reactor_sim/reactor.py index 9c4f174..0107f57 100644 --- a/src/reactor_sim/reactor.py +++ b/src/reactor_sim/reactor.py @@ -206,8 +206,8 @@ class Reactor: self.secondary_pump_active and idx < len(self.secondary_pump_units) and self.secondary_pump_units[idx] for idx in range(2) ] - any_units = any(primary_units_active) or any(secondary_units_active) or any(self.turbine_unit_active) - load_present = any_units or (self.consumer and self.consumer.online) + any_units = any(primary_units_active) or any(secondary_units_active) + load_present = any_units or (self.consumer and self.consumer.online) or state.total_electrical_output() > 0.1 idle_core = state.core.power_output_mw < 1.0 and self.control.rod_fraction >= 0.9 baseline_off = ( (self.shutdown or idle_core)