This repository provides code to reproduce network-constrained DC dispatch with load shedding experiments used in the accompanying manuscript on power shortfall risks under higher renewable penetration, climate change, and network constraints.
The focus of this repository is to:
- run dispatch experiments for selected (layout, thermal capacity ratio) pairs,
- generate reproducible CSV outputs for downstream analysis, and
- provide a minimal sanity-check visualization in the notebook.
This repository is not intended to reproduce publication-quality figures directly in the runner. Produce manuscript figures in separate analysis scripts or notebooks.
RA_GB_Powergrid_Renewable_Climate_Change/
ensemble_csvs/ # Ensemble-based climate and demand inputs (CSV)
infra_data/ # Infrastructure JSON files by layout and ratio
result_csvs/ # Output CSV files (generated)
power_shortfall_dispatch.py
Power_Shortfall_Dispatch_Experiments.ipynb
run_dispatch.py # Command-line runner (recommended)
README.md
requirements.txt
LICENSE
CITATION.cff
.gitignore
Run dispatch experiments from the command line:
python run_dispatch.py \
--pairs "Existing:100,Existing:80,Existing:60,Uniform:60,Demand:60" \
--ensembles "001" \
--start "2020-01-01" \
--end "2030-01-01"Expected per-ensemble CSV filenames:
ensemble{ens}_Temp.csvensemble{ens}_Wind.csvensemble{ens}_Solar.csvensemble{ens}_Demand.csv
Expected per-case JSON filename convention:
infra_data_fpaths_{Layout}_{Ratio}.json
For each (layout, ratio, ensemble) combination:
ensemble{ens}_loadshed_{layout}_{ratio}.csvensemble{ens}_optim_variables_{layout}_{ratio}.csv
Power_Shortfall_Dispatch_Experiments.ipynb provides:
- experiment configuration,
- execution logic, and
- a minimal sanity-check visualization.
If you use this code, please cite the associated manuscript. See CITATION.cff.