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

[benchmarks/pypsa] Simplify config files and shrink benchmarks #35

Merged
merged 22 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
80c3394
Updated unit commitment problem
danielelerede-oet Sep 16, 2024
6e8c7e9
Updated pypsametadata
danielelerede-oet Sep 16, 2024
5cc7f00
Updated PyPSA problems
danielelerede-oet Sep 18, 2024
55fb18e
updated PyPSA problems README
danielelerede-oet Sep 23, 2024
8eeaaac
remove lines in common with config.default.yaml
danielelerede-oet Sep 25, 2024
1ec34eb
Merge branch 'main' into daniele/pypsa-problems
siddharth-krishna Sep 25, 2024
6ecf7b1
simplified config files
danielelerede-oet Sep 26, 2024
6c85b6b
Merge branch 'daniele/pypsa-problems' of https://github.com/open-ener…
danielelerede-oet Sep 26, 2024
9344dbb
"Fixed MILP problem + update metadata + update command for op. problems"
danielelerede-oet Oct 2, 2024
7f1d2af
updated problem dimensions after MILP problem modification
danielelerede-oet Oct 2, 2024
bbdd68e
Update benchmarks/pypsa/pypsa-eur-elec-20-lv1-3h-op-ucconv.yaml
danielelerede-oet Oct 9, 2024
5b0470d
Merge branch 'main' of https://github.com/open-energy-transition/solv…
jacek-oet Oct 10, 2024
ee637ea
pre-commit fixes
danielelerede-oet Oct 11, 2024
16971f6
fix conflicts
danielelerede-oet Oct 11, 2024
f4481f8
updated metadata and pypsa-gas+wind+sol+ely-1h-ucgas.py
danielelerede-oet Oct 11, 2024
6a48d3b
change names for pypsa benchmarks and update metadata
danielelerede-oet Oct 17, 2024
88be3fc
Remove old instructions
siddharth-krishna Oct 25, 2024
2dc89de
Make pypsa-eur benchmarks as small as possible for testing
siddharth-krishna Oct 28, 2024
136d1ba
Merge branch 'main' into daniele/pypsa-problems
siddharth-krishna Oct 28, 2024
d26fb9d
Fix URLs, metadata, and benchmark small problems on e2-highmem-2
siddharth-krishna Oct 31, 2024
aea0813
Merge branch 'main' into daniele/pypsa-problems
siddharth-krishna Oct 31, 2024
644c4f8
Fix names, URLs, and rerun on e2-highmem-2
siddharth-krishna Oct 31, 2024
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
6 changes: 3 additions & 3 deletions benchmarks/pypsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This folder contains benchmarks based on PyPSA and PyPSA-Eur. The benchmarks can be generated by following these steps: (TODO replace this with a CI script)

1. Clone the repo [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur) and checkout commit `a69373b9`.
1. Clone the repo [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur) and checkout commit `8f1a6b1`.

1. Install the conda/mamba environment for pypsa-eur and install our custom branch of `linopy` on top of it by:
```bash
Expand All @@ -15,8 +15,8 @@ This folder contains benchmarks based on PyPSA and PyPSA-Eur. The benchmarks can
```bash
time snakemake -call all --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-sec-2-lv1-3h.yaml ; echo -e '\a'
time snakemake -call solve_elec_networks --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-elec-10-lvopt-3h.yaml ; echo -e '\a'
time snakemake -call results/networks/elec_s_20_ec_lv1_3h_op.nc --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-elec-20-lv1-3h-op.yaml ; echo -e '\a'
time snakemake -call results/networks/elec_s_20_ec_lv1_3h_op.nc --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-elec-20-lv1-3h-op-ucconv.yaml ; echo -e '\a'
time snakemake -call results/networks/base_s_20_ec_lv1_3h_op.nc --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-elec-20-lv1-3h-op.yaml ; echo -e '\a'
time snakemake -call results/networks/base_s_20_ec_lv1_3h_op.nc --cores all --printshellcmds --configfile ~/code/solver-benchmark/benchmarks/pypsa/pypsa-eur-elec-20-lv1-3h-op-ucconv.yaml ; echo -e '\a'
time python pypsa-gas+wind+sol+ely-1h-ucgas.py
time python pypsa-gas+wind+sol+ely-1h.py
```
Expand Down
18 changes: 9 additions & 9 deletions benchmarks/pypsa/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pypsa-eur-sec-2-lv1-3h:
Short description: Sector-coupled PyPSA-Eur infrastructure run for Italy considering 2050 as single planning horizon (LP, lot of variables, strongly intermeshed constraints)
Model name: PyPSA-Eur
Version: 0.12.0 (commit b328169)
Version: 0.13.0 (commit 8f1a6b1)
Technique: LP
Kind of problem: Infrastructure
Sectors: Sector-coupled (power + heating, biomass, industry, transport)
Expand All @@ -13,23 +13,23 @@ pypsa-eur-sec-2-lv1-3h:
N. of variables: 390692

pypsa-eur-elec-10-lvopt-3h:
Short description: PyPSA-Eur power sector infrastructure run for Italy considering 2050 as single planning horizon with transmission expansion (MILP, lot of variables, intermeshed constraints)
Short description: PyPSA-Eur power sector infrastructure run for Italy considering 2050 as single planning horizon with transmission expansion (LP, lot of variables, intermeshed constraints)
Model name: PyPSA-Eur
Version: 0.12.0 (commit b328169)
Technique: MILP
Version: 0.13.0 (commit 8f1a6b1)
Technique: LP
Kind of problem: Infrastructure
Sectors: Power
Time horizon: 1 year
Temporal resolution: 3 hourly
Spatial resolution: 10 nodes (Italy)
MILP features: Transmission expansion
MILP features: None
N. of constraints: 1432032
N. of variables: 1099126

pypsa-eur-elec-20-lv1-3h-op:
Short description: PyPSA-Eur operational run for Italy considering 2050 as single planning horizon (LP, lot of variables, poorly intermeshed constraints)
Model name: PyPSA-Eur
Version: 0.12.0 (commit b328169)
Version: 0.13.0 (commit 8f1a6b1)
Technique: LP
Kind of problem: Operational
Sectors: Power
Expand All @@ -43,7 +43,7 @@ pypsa-eur-elec-20-lv1-3h-op:
pypsa-eur-elec-20-lv1-3h-op-ucconv:
Short description: PyPSA-Eur operational run for Italy considering 2050 as single planning horizon and unit commitment for conventional fleet (MILP, lot of variables, poorly intermeshed constraints)
Model name: PyPSA-Eur
Version: 0.12.0 (commit b328169)
Version: 0.13.0 (commit 8f1a6b1)
Technique: MILP
Kind of problem: Operational
Sectors: Power
Expand All @@ -52,12 +52,12 @@ pypsa-eur-elec-20-lv1-3h-op-ucconv:
Spatial resolution: 20 nodes (Italy)
MILP features: Unit commitment for conventional fleet
N. of constraints: 108984
N. of variables: 15998
N. of variables: 1395780 (continuous), 219000 (binary)

pypsa-gas+wind+sol+ely-1h:
Short description: Simple PyPSA-based single-node gas + wind + solar + electrolyzer infrastructure model
Model name: PyPSA
Version: 0.12.0 (commit b328169)
Version: 0.13.0 (commit 8f1a6b1)
Technique: LP
Kind of problem: Infrastructure
Sectors: Power
Expand Down
Loading