Merge branch 'master' of https://github.com/pypsa/pypsa-eur
This commit is contained in:
commit
5360eb0a2e
@ -86,6 +86,7 @@ electricity:
|
|||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
nprocesses: 4
|
nprocesses: 4
|
||||||
|
show_progress: false # false saves time
|
||||||
cutouts:
|
cutouts:
|
||||||
# use 'base' to determine geographical bounds and time span from config
|
# use 'base' to determine geographical bounds and time span from config
|
||||||
# base:
|
# base:
|
||||||
|
@ -56,6 +56,7 @@ electricity:
|
|||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
nprocesses: 4
|
nprocesses: 4
|
||||||
|
show_progress: false # false saves time
|
||||||
cutouts:
|
cutouts:
|
||||||
be-03-2013-era5:
|
be-03-2013-era5:
|
||||||
module: era5
|
module: era5
|
||||||
|
@ -217,7 +217,7 @@ def _adjust_capital_costs_using_connection_costs(n, connection_costs_to_bus, out
|
|||||||
tech,
|
tech,
|
||||||
", ".join(
|
", ".join(
|
||||||
"{:.0f} Eur/MW/a for `{}`".format(d, b)
|
"{:.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)
|
n.mremove("Link", all_links)
|
||||||
|
|
||||||
static_attrs = n.components["Link"]["attrs"].loc[lambda df: df.static]
|
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)
|
params.setdefault(attr, default)
|
||||||
n.links.loc[name] = pd.Series(params)
|
n.links.loc[name] = pd.Series(params)
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ electricity:
|
|||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
nprocesses: 4
|
nprocesses: 4
|
||||||
|
show_progress: false # false saves time
|
||||||
cutouts:
|
cutouts:
|
||||||
be-03-2013-era5:
|
be-03-2013-era5:
|
||||||
module: era5
|
module: era5
|
||||||
|
Loading…
Reference in New Issue
Block a user