From 1d3de607b5af59852f7815c0915a49b340fd3c99 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sat, 22 Nov 2025 23:34:15 +0100 Subject: [PATCH] Zero aux demand when idle with rods in --- src/reactor_sim/reactor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/reactor_sim/reactor.py b/src/reactor_sim/reactor.py index 6dd3ab4..0749e54 100644 --- a/src/reactor_sim/reactor.py +++ b/src/reactor_sim/reactor.py @@ -204,7 +204,11 @@ class Reactor: ] 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) - aux_base = constants.BASE_AUX_LOAD_MW if not self.shutdown or load_present else 0.0 + idle_core = state.core.power_output_mw < 1.0 and self.control.rod_fraction >= 0.9 + if (self.shutdown and not load_present and idle_core): + aux_base = 0.0 + else: + aux_base = constants.BASE_AUX_LOAD_MW aux_pump_primary = constants.PUMP_POWER_MW * sum(primary_units_active) aux_pump_secondary = constants.PUMP_POWER_MW * sum(secondary_units_active) aux_demand = aux_base + aux_pump_primary + aux_pump_secondary