We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d8c44 commit d698436Copy full SHA for d698436
src/pownet/optim_model/constraints/system_constr.py
@@ -95,7 +95,7 @@ def add_c_reserve_req_2(
95
return model.addConstrs(
96
(
97
gp.quicksum(
98
- pbar[unit_g, t] + thermal_min_capacity[unit] * u[unit, t]
+ pbar[unit, t] + thermal_min_capacity[unit] * u[unit, t]
99
for unit in thermal_units
100
)
101
+ gp.quicksum(charge_state[unit, t] for unit in storage_units)
0 commit comments