Expose xenon reactivity impact on dashboard
This commit is contained in:
@@ -557,6 +557,11 @@ class ReactorDashboard:
|
||||
lines.append(fmt("Xe", "Xe (xenon)", getattr(state.core, "xenon_inventory", 0.0)))
|
||||
lines.append(fmt("Sm", "Sm (samarium)", inventory.get("Sm", 0.0)))
|
||||
lines.append(fmt("I", "I (iodine)", getattr(state.core, "iodine_inventory", 0.0)))
|
||||
try:
|
||||
xe_penalty = -self.reactor.neutronics.xenon_penalty(state.core)
|
||||
lines.append(("Xe Δρ", f"{xe_penalty:+.4f}"))
|
||||
except Exception:
|
||||
pass
|
||||
lines.append(("Neutrons (src)", f"{particles.get('n', 0.0):9.2e}"))
|
||||
lines.append(("Gammas", f"{particles.get('gamma', 0.0):9.2e}"))
|
||||
lines.append(("Alphas", f"{particles.get('alpha', 0.0):9.2e}"))
|
||||
|
||||
Reference in New Issue
Block a user