rename constraint
rename constraint to fit to other syntax Co-authored-by: Fabian Hofmann <fab.hof@gmx.de>
This commit is contained in:
parent
51785524a3
commit
1cd658c03f
@ -463,7 +463,7 @@ def add_operational_reserve_margin(n, sns, config):
|
|||||||
|
|
||||||
rhs = (p_max_pu[fix_i] * capacity_fixed).reindex(columns=gen_i, fill_value=0)
|
rhs = (p_max_pu[fix_i] * capacity_fixed).reindex(columns=gen_i, fill_value=0)
|
||||||
|
|
||||||
n.model.add_constraints(lhs <= rhs, name="updated_capacity_constraint")
|
n.model.add_constraints(lhs <= rhs, name="Generator-p-reserve-upper")
|
||||||
|
|
||||||
|
|
||||||
def add_battery_constraints(n):
|
def add_battery_constraints(n):
|
||||||
|
Loading…
Reference in New Issue
Block a user