Drop base aux draw when only turbines are toggled

This commit is contained in:
Codex Agent
2025-11-23 00:07:35 +01:00
parent c67322a1d2
commit f02523331f

View File

@@ -206,8 +206,8 @@ class Reactor:
self.secondary_pump_active and idx < len(self.secondary_pump_units) and self.secondary_pump_units[idx] self.secondary_pump_active and idx < len(self.secondary_pump_units) and self.secondary_pump_units[idx]
for idx in range(2) for idx in range(2)
] ]
any_units = any(primary_units_active) or any(secondary_units_active) or any(self.turbine_unit_active) any_units = any(primary_units_active) or any(secondary_units_active)
load_present = any_units or (self.consumer and self.consumer.online) 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 idle_core = state.core.power_output_mw < 1.0 and self.control.rod_fraction >= 0.9
baseline_off = ( baseline_off = (
(self.shutdown or idle_core) (self.shutdown or idle_core)