Skip to content

Commit 374f70d

Browse files
committed
add information about avg electricity price to curtailment map
1 parent 7319ebc commit 374f70d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/plot_KPIs.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,12 @@ def plot_curtailment(network, regions, path, show_fig=True, focus_de=True, legen
172172
legend_kw=legend_kw,
173173
)
174174

175-
ax.set_title(f'Total annual curtailment: \n {round(total_curtailment/1e3, 3)} TWh',
175+
ax.set_title(f'Total annual curtailment: \n {round(total_curtailment/1e3, 3)} TWh'
176+
f'\n \n'
177+
f'Avg. Electricity Price: \n {round(regions.elec_price.mean(), 2)} EUR/MWh',
176178
loc='left',
177179
x=legend_x + 0.03,
178-
y=legend_y + 0.05,
180+
y=legend_y - 0.1,
179181
fontsize=12
180182
)
181183

@@ -185,7 +187,7 @@ def plot_curtailment(network, regions, path, show_fig=True, focus_de=True, legen
185187

186188
legend_kw = dict(
187189
loc="upper left",
188-
bbox_to_anchor=(legend_x, legend_y),
190+
bbox_to_anchor=(legend_x, legend_y - 0.15),
189191
frameon=False,
190192
title=r"\textbf{Curtailment}",
191193
alignment="left",

0 commit comments

Comments
 (0)