Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plotting script for FE KPIs #37

Open
wants to merge 39 commits into
base: form_energy_storage_dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
494a165
add plotting script for FE KPIs with curtailment plot included as draft
daniel-rdt Nov 8, 2024
a433cf7
formatting
daniel-rdt Nov 8, 2024
12ebacd
adjust curtailment legend from GW to GWh
daniel-rdt Nov 13, 2024
32a88c5
add line loading, energy balance and storage_energy balance on plot_K…
virio-andreyana Nov 14, 2024
7559104
Merge branch 'Form-feature/kpi-cost-curtailment' of github.com:open-e…
virio-andreyana Nov 14, 2024
c7aed21
fix missing time-series labels
virio-andreyana Nov 14, 2024
3760449
make time series that only visualize the electricity sector, more acc…
virio-andreyana Nov 15, 2024
6d5d414
elec price legend variable to min max
daniel-rdt Nov 15, 2024
2254b06
add system cost, with focus on germany electricity system. Axis adjus…
virio-andreyana Nov 18, 2024
39d42aa
Merge branch 'Form-feature/kpi-cost-curtailment' of github.com:open-e…
virio-andreyana Nov 18, 2024
e6d6fd4
fix legends and include calculation and logging of emissions and tota…
daniel-rdt Nov 20, 2024
e1394c1
Merge remote-tracking branch 'origin/Form-feature/kpi-cost-curtailmen…
daniel-rdt Nov 20, 2024
94cb12b
Merge branch 'form_energy_storage_dev' into Form-feature/kpi-cost-cur…
daniel-rdt Nov 28, 2024
37e06eb
Merge pull request #30 from open-energy-transition/Form-feature/kpi-c…
daniel-rdt Nov 29, 2024
464fe6c
(Incomplete) Implement a method to plot multiple customizable number …
virio-andreyana Dec 9, 2024
5dad9e6
update snakemake rules for dynamic output KPIs in rule plot_KPIs and …
daniel-rdt Dec 11, 2024
f4ad3f8
add plots for SOC. Ready to test run
virio-andreyana Dec 16, 2024
13b8555
add exception in case filtered data leads to no data
virio-andreyana Dec 17, 2024
477c388
add energy trade plot
virio-andreyana Jan 2, 2025
7ef6f1a
place the KPI configfile in its own yaml file, remove all ylim in bas…
virio-andreyana Jan 3, 2025
33c7648
fix SOC scaling issue
virio-andreyana Jan 3, 2025
69a4ea7
update iron air and adiabatic caes color
daniel-rdt Jan 6, 2025
6f4c173
fixes with plot labels and added storage energy balance time series
daniel-rdt Jan 6, 2025
dc63714
fix for storage energy and power capacity plotting
daniel-rdt Jan 6, 2025
aca80e1
improvements to curtailment map and curtailment EU plot
daniel-rdt Jan 6, 2025
55a4442
improvements to plotting style, header, legend, label size
daniel-rdt Jan 6, 2025
3207509
fix for line loading plot text
daniel-rdt Jan 6, 2025
6ccc30e
add storage only dispatch plot and small fix to grid lines for dispat…
daniel-rdt Jan 6, 2025
8bff10f
add csv with storage capacities in GW
daniel-rdt Jan 6, 2025
4871aca
small label adjustments and fixes to tech names
daniel-rdt Jan 6, 2025
044ba28
add expanded plots, fix carrier ordering after rebase
virio-andreyana Jan 7, 2025
5b6542e
minor bug fixes for plotting kpi config and grid lines
daniel-rdt Jan 7, 2025
368e3a2
fix expanded storage power capacity plots
daniel-rdt Jan 8, 2025
0a3e6b5
fix SOC plot y labels
daniel-rdt Jan 8, 2025
9c7b668
simplify and fix SOC
virio-andreyana Jan 8, 2025
d7684c6
Add complete documentation on plotting.rst and release notes
virio-andreyana Jan 10, 2025
817d7c3
aggregate carriers with similar names, especially in the heating sector
virio-andreyana Jan 13, 2025
f180806
minor fixes for CHP CC
virio-andreyana Jan 13, 2025
c57863a
add storage capacity map for DE and All
daniel-rdt Jan 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ from scripts._helpers import path_provider, copy_default_files, get_scenarios, g
copy_default_files(workflow)


configfile: "config/config.kpi.yaml"
configfile: "config/config.default.yaml"
configfile: "config/config.yaml"

Expand Down Expand Up @@ -75,7 +76,14 @@ if config["foresight"] == "perfect":
rule all:
input:
expand(RESULTS + "graphs/costs.svg", run=config["run"]["name"]),
"report/report.pdf"
"report/report.pdf",
expand(
RESULTS
+ "maps/base_s_{clusters}_l{ll}_{opts}_{sector_opts}-curtailment_{planning_horizons}.pdf",
** config["scenario"],
run=config["run"]["name"],
allow_missing=True,
)
default_target: True


Expand Down
21 changes: 15 additions & 6 deletions config/config.form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ logging:

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run
run:
prefix: "initial_main_scenarios"
name: "all"
prefix: "updated_initial_main_scenarios"
name: "main-mds-vanilla-dac-limit-ev40"
scenarios:
enable: true
file: config/scenarios.form.yaml
Expand Down Expand Up @@ -234,20 +234,29 @@ clustering:
resolution_sector: 1H #2920SEG

plotting:
time_series:
start_date: '2013-05-01'
end_date: '2013-06-01'
costs_max: 40
costs_threshold: 0.01
tech_colors:
# all battery variation:
lfp: '#ace37f'
vanadium: '#9B111E'
Vanadium Redox Flow battery storage: '#9B111E'
Vanadium-Redox Battery Storage: '#9B111E'
lair: '#87CEEB'
Liquid Air energy storage: '#87CEEB'
Liquid Air Energy Storage: '#87CEEB'
pair: '#003366'
Adiabatic CAES: '#003366'
iron-air battery: '#edba1c'
Iron-Air battery storage: '#edba1c'
Adiabatic CAES: '#edba1c'
iron-air battery: '#1c404c'
Iron-Air battery storage: '#1c404c'
Iron-Air Battery Storage: '#1c404c'
Li-Ion battery storage: '#ace37f'
Li-Ion Battery Storage: '#ace37f'
other battery storage: '#80c944'

solving:
mem_mb: 150000 #memory in MB; 20 GB enough for 50+B+I+H2; 100 GB for 181+B+I+H2
runtime: 24h #runtime in humanfriendly style https://humanfriendly.readthedocs.io/en/latest/
runtime: 24h #runtime in humanfriendly style https://humanfriendly.readthedocs.io/en/latest/
Loading