Skip to content

Commit 9e3bf00

Browse files
pesapstaadecker
authored andcommitted
Revert inequality to equality for the hydro simple module
1 parent 7a0cab7 commit 9e3bf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

switch_model/generators/extensions/hydro_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def define_components(mod):
185185
# Compute the weighted average of the dispatch
186186
sum(m.DispatchGen[g, t] * m.tp_weight[t] for t in m.TPS_IN_HTS[hts])
187187
/ sum(m.tp_weight[tp] for tp in m.TPS_IN_HTS[hts])
188-
<= m.hydro_avg_flow_mw[g, hts] * enforce_hydro_avg_flow_scaling_factor,
188+
== m.hydro_avg_flow_mw[g, hts] * enforce_hydro_avg_flow_scaling_factor,
189189
)
190190

191191
mod.min_data_check("hydro_min_flow_mw", "hydro_avg_flow_mw")

0 commit comments

Comments
 (0)