validation: plot elec production fix typo

This commit is contained in:
Fabian 2023-07-13 18:36:14 +02:00
parent f90ef3bb73
commit f020cfa969
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ electricity:
Link: [] # H2 pipeline
# use pandas query strings here, e.g. Country not in ['Germany']
powerplants_filter: (DateOut >= 2022 or DateOut != DateOut)
powerplants_filter: not (DateOut < 2019)
conventional_carriers: [nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
renewable_carriers: [solar, onwind, offwind-ac, offwind-dc, hydro]

View File

@ -31,7 +31,7 @@ if __name__ == "__main__":
"plot_validation_electricity_production",
simpl="",
opts="Ept",
clusters="37",
clusters="37c",
ll="v1.0",
)
configure_logging(snakemake)
@ -119,7 +119,7 @@ if __name__ == "__main__":
optimized.plot.area(ax=axes[0], **kwargs, title="Optimized")
historical.plot.area(ax=axes[1], **kwargs, title="Historic")
diff = historical - optimized
diff = optimized - historical
diff.clip(lower=0).plot.area(
ax=axes[2], **kwargs, title="$\Delta$ (Optimized - Historic)"
)