This commit is contained in:
Fabian Neumann 2022-12-28 09:35:15 +01:00
commit 5360eb0a2e
4 changed files with 5 additions and 2 deletions

View File

@ -86,6 +86,7 @@ electricity:
atlite:
nprocesses: 4
show_progress: false # false saves time
cutouts:
# use 'base' to determine geographical bounds and time span from config
# base:

View File

@ -56,6 +56,7 @@ electricity:
atlite:
nprocesses: 4
show_progress: false # false saves time
cutouts:
be-03-2013-era5:
module: era5

View File

@ -217,7 +217,7 @@ def _adjust_capital_costs_using_connection_costs(n, connection_costs_to_bus, out
tech,
", ".join(
"{:.0f} Eur/MW/a for `{}`".format(d, b)
for b, d in costs.iteritems()
for b, d in costs.items()
),
)
)
@ -369,7 +369,7 @@ def simplify_links(n, costs, config, output, aggregation_strategies=dict()):
n.mremove("Link", all_links)
static_attrs = n.components["Link"]["attrs"].loc[lambda df: df.static]
for attr, default in static_attrs.default.iteritems():
for attr, default in static_attrs.default.items():
params.setdefault(attr, default)
n.links.loc[name] = pd.Series(params)

View File

@ -54,6 +54,7 @@ electricity:
atlite:
nprocesses: 4
show_progress: false # false saves time
cutouts:
be-03-2013-era5:
module: era5