Show xenon/iodine inventories on dashboard
This commit is contained in:
@@ -23,3 +23,12 @@ def test_reactivity_increases_with_rod_withdrawal():
|
||||
rho_full_out = dynamics.reactivity(state, control_fraction=0.0)
|
||||
rho_half = dynamics.reactivity(state, control_fraction=0.5)
|
||||
assert rho_full_out > rho_half
|
||||
|
||||
|
||||
def test_poisons_accumulate_under_power():
|
||||
dynamics = NeutronDynamics()
|
||||
state = _core_state(power=800.0, flux=1e6)
|
||||
dynamics.update_poisons(state, dt=100.0)
|
||||
dynamics.update_poisons(state, dt=100.0)
|
||||
assert state.iodine_inventory > 0.0
|
||||
assert state.xenon_inventory > 0.0
|
||||
|
||||
Reference in New Issue
Block a user