[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1dbb7e911d
commit
5364e7dfcc
@ -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
|
||||
]
|
||||
|
||||
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]
|
||||
|
||||
n.madd(
|
||||
|
Loading…
Reference in New Issue
Block a user