[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d7435b6214
commit
6722e584ba
@ -735,9 +735,9 @@ def add_operational_reserve_margin(n, sns, config):
|
|||||||
.loc[vres_i.intersection(ext_i)]
|
.loc[vres_i.intersection(ext_i)]
|
||||||
.rename({"Generator-ext": "Generator"})
|
.rename({"Generator-ext": "Generator"})
|
||||||
)
|
)
|
||||||
lhs = summed_reserve + (p_nom_vres * (-EPSILON_VRES * xr.DataArray(capacity_factor))).sum(
|
lhs = summed_reserve + (
|
||||||
"Generator"
|
p_nom_vres * (-EPSILON_VRES * xr.DataArray(capacity_factor))
|
||||||
)
|
).sum("Generator")
|
||||||
|
|
||||||
# Total demand per t
|
# Total demand per t
|
||||||
demand = get_as_dense(n, "Load", "p_set").sum(axis=1)
|
demand = get_as_dense(n, "Load", "p_set").sum(axis=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user