Skip to content

Commit

Permalink
Set default value of scaling_store_expansion to False
Browse files Browse the repository at this point in the history
This parameter shpuld be only used when plotting storage expansion as bus_colors.
It leads to errors whem this parameter is used for other bus_colors, e.g. "gen-dist".
To use it easier, this parameter is set to False by default.
  • Loading branch information
ClaraBuettner committed Oct 30, 2023
1 parent 6c97eaa commit 75e285b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions etrago/tools/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2320,11 +2320,7 @@ def plot_grid(
ext_min=0.1,
ext_width=False,
legend_entries="all",
scaling_store_expansion={
"H2": 50,
"heat": 0.1,
"battery": 10,
},
scaling_store_expansion=False,
geographical_boundaries=[-2.5, 16, 46.8, 58],
):
"""Function that plots etrago.network and results for lines and buses
Expand Down Expand Up @@ -2386,6 +2382,7 @@ def plot_grid(
scaling_store_expansion : dict, optional
Set scaling values to be used per technology for the plots
storage_expansion and h2_battery_storage_expansion. The default is
False, it could be assinged like this:
{"H2": 50, "heat": 0.1, "battery": 10}
geographical_boundaries : list, optional
Set georaphical boundaries for the plots The default is
Expand Down

0 comments on commit 75e285b

Please sign in to comment.