Keep pump units off until explicitly enabled

This commit is contained in:
Codex Agent
2025-11-22 22:48:04 +01:00
parent bcd1eec84f
commit faac1dc7b0
2 changed files with 6 additions and 4 deletions

View File

@@ -162,6 +162,8 @@ def test_full_rod_withdrawal_reaches_gigawatt_power():
reactor.control.rod_fraction = 0.0
reactor.primary_pump_active = True
reactor.secondary_pump_active = True
reactor.primary_pump_units = [True, True]
reactor.secondary_pump_units = [True, True]
early_power = 0.0
for step in range(60):
@@ -180,6 +182,8 @@ def test_partially_inserted_rods_hold_near_three_gw():
reactor.control.rod_fraction = 0.4
reactor.primary_pump_active = True
reactor.secondary_pump_active = True
reactor.primary_pump_units = [True, True]
reactor.secondary_pump_units = [True, True]
for _ in range(120):
reactor.step(state, dt=1.0)