Merge branch 'abolish-sector-opts-wildcard' of github.com:PyPSA/pypsa-eur into abolish-sector-opts-wildcard
This commit is contained in:
commit
ed30fa3c94
@ -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