Add rod safety backoff and staged ramp test

This commit is contained in:
Codex Agent
2025-11-25 20:34:57 +01:00
parent 327fca7096
commit b06246b1ff
3 changed files with 36 additions and 10 deletions

View File

@@ -401,6 +401,8 @@ class Reactor:
residual = max(0.0, total_power - transferred)
self.thermal.step_core(state.core, state.primary_loop, total_power, dt, residual_power_mw=residual)
self.thermal.step_secondary(state.secondary_loop, transferred, dt)
if not self.control.manual_control and not self.shutdown:
self.control.safety_backoff(state.core.subcooling_margin, state.core.dnb_margin, dt)
self._apply_secondary_boiloff(state, dt)
self._update_loop_inventory(
state.secondary_loop, constants.SECONDARY_LOOP_VOLUME_M3, constants.SECONDARY_INVENTORY_TARGET, dt