Relax turbine status threshold
This commit is contained in:
@@ -365,7 +365,7 @@ class Reactor:
|
||||
turbine.step(state.secondary_loop, turbine_state, steam_power_mw=power_per_unit, dt=dt)
|
||||
if power_per_unit <= 0.0 and turbine_state.electrical_output_mw < 0.1:
|
||||
turbine_state.status = "OFF"
|
||||
elif turbine_state.electrical_output_mw < max(0.5, power_per_unit * 0.5):
|
||||
elif turbine_state.electrical_output_mw < max(0.1 * turbine.rated_output_mw, 1.0):
|
||||
turbine_state.status = "STARTING"
|
||||
else:
|
||||
turbine_state.status = "RUN"
|
||||
|
||||
Reference in New Issue
Block a user