Skip to content

Commit 3514883

Browse files
committed
Allow "curtailment" from hydro
1 parent 8ef7348 commit 3514883

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
@@ -177,7 +177,7 @@ def define_components(mod):
177177
# Compute the weighted average of the dispatch
178178
sum(m.DispatchGen[g, t] * m.tp_weight[t] for t in m.TPS_IN_HTS[hts])
179179
/ sum(m.tp_weight[tp] for tp in m.TPS_IN_HTS[hts])
180-
== m.hydro_avg_flow_mw[g, hts] * enforce_hydro_avg_flow_scaling_factor
180+
<= m.hydro_avg_flow_mw[g, hts] * enforce_hydro_avg_flow_scaling_factor
181181
)
182182

183183
mod.min_data_check('hydro_min_flow_mw', 'hydro_avg_flow_mw')

0 commit comments

Comments
 (0)