[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e023872d44
commit
85a2e97f1e
@ -285,7 +285,9 @@ def add_power_capacities_installed_before_baseyear(n, grouping_years, costs, bas
|
|||||||
i for i in inv_ind if (i + name_suffix_by) in n.generators.index
|
i for i in inv_ind if (i + name_suffix_by) in n.generators.index
|
||||||
]
|
]
|
||||||
|
|
||||||
p_max_pu = n.generators_t.p_max_pu[[i + name_suffix_by for i in inv_ind]]
|
p_max_pu = n.generators_t.p_max_pu[
|
||||||
|
[i + name_suffix_by for i in inv_ind]
|
||||||
|
]
|
||||||
p_max_pu.columns = [i + name_suffix for i in inv_ind]
|
p_max_pu.columns = [i + name_suffix for i in inv_ind]
|
||||||
|
|
||||||
n.madd(
|
n.madd(
|
||||||
|
Loading…
Reference in New Issue
Block a user