A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

24/7 CFE

This project explores the means, costs and impacts of 24/7 Carbon-Free Energy procurement in Europe.
https://github.com/PyPSA/247-cfe

Category: Energy Systems
Sub Category: Global and Regional Energy System Models

Keywords

energy energy-model power-system pypsa snakemake

Keywords from Contributors

energy-system energy-system-model

Last synced: about 22 hours ago
JSON representation

Repository metadata

Explore the impacts of 24/7 Carbon-Free Energy PPAs

README.md

Webpage
License: MIT
License: CC BY 4.0
Zenodo Study1
Zenodo Stidy2
Zenodo Paper1
Zenodo Paper2

PyPSA code for exploring the 24/7 Carbon-Free Energy procurement

You are welcome to visit a project webpage for a project overview, publications, media coverage, and more.

Getting started

Welcome! This project explores the mechanisms, costs, and system-level impacts of 24/7 Carbon-Free Energy (CFE) procurement.

The project comprises five distinct studies, each examining unique aspects of 24/7 CFE. The studies vary in their focus, model formulations, scenarios, and more. Ultimately, we aim to make the entire scientific workflow, from data to final charts, fully reproducible for each study. This repository includes code for three research items linked to GitHub releases. Two other two research papers are hosted in dedicated GitHub repositories with their reproducible workflows.

1. System-level impacts of 24/7 carbon-free electricity procurement in Europe

A study published on Zenodo, October 2022

2. On the means, costs, and system-level impacts of 24/7 carbon-free energy procurement

A research paper published in Energy Strategy Reviews, 2024

3. The value of space-time load-shifting flexibility for 24/7 carbon-free electricity procurement

Published on Zenodo, July 2023

4. Spatio-temporal load shifting for truly clean computing

A research paper published in Advances in Applied Energy, 2025

5. 24/7 carbon-free electricity matching accelerates adoption of advanced clean energy technologies

A commentary paper published in Joule, 2025

How to reproduce results of a specific study?

Studies #1 and #3

First, clone this repository:

git clone https://github.com/PyPSA/247-cfe --branch <tag_name> --single-branch
  • --single-branch option allows for cloning only git history leading to tip of the tag. This saves a lot of unnecessary code from being cloned.

  • tag_name is v0.2 for Study 1 or v0.3 for Study 2

Second, install the necessary dependencies using environment.yml file. The following commands will do the job:

conda env create -f envs/environment.yml
conda activate 247-cfe

Third, to run all the scenarios from the study, run the snakemake worflow:

snakemake --cores <n>

where <n> is the number of cores to use for the workflow.

  • Note that this call requires a high-performance computing environment.

  • It is also possible to run a smaller version of the model by adjusting the settings in config.yaml. For example, changing the config setting area from "EU" to "regions" reduces the regional coverage of the model, making the size of the problem feasible to solve on a private laptop with 8GB RAM.

Finally, when the workflow is complete, the results will be stored in results directory. The directory will contain solved networks, plots, summary csvs and logs.

  1. At this point, you can also compile the LaTeX project to reproduce the study .pdf file.

Studies #2 and #4

These research works are maintained in dedicated repositories, each containing an instruction on how to reproduce the results.

Study #5

  1. Clone the repository (the latest release):
git clone [email protected]:PyPSA/247-cfe.git
  1. Install the necessary dependencies using environment.yaml file. The following commands will do the job:
conda env create -f envs/environment.yaml
conda activate 247-env
  1. The results of the paper can be reproduced by running the snakemake workflow. The following commands will run the workflows for the paper:
snakemake --cores <n> --configfile config_247cfe
snakemake --cores <n> --configfile config_BackgroundSystem.yaml

where <n> is the number of cores to use for the workflow.

NB It is possible to reproduce the results on a private laptop with 16GB RAM.

Model results will be stored in the results directory. For each workflow, the directory will contain:

  • solved networks (.nc) for individual optimization problems
  • summary (.yaml) for individual optimization problems
  • summary (.csv) for aggregated results
  • log files (memory, python, solver)
  • detailed plots (.pdf) of the results
  1. At this point, a curious reader can reproduce the dashboards from the paper with the jupyter notebooks in the scripts/ directory. You can also compile the LaTeX project /manuscript/manuscript.tex to reproduce the paper .pdf file.

Data

Code uses pre-processed European electricity system data generated through PyPSA-Eur workflow using the myopic configuration. The data represents brownfield network scenarios. For convenience, sample networks for 2025 and 2030 are provided in the input/ folder.

Technology data assumptions are automatically retrieved from technology-data repository for <year> and <version>, as specified in config.yaml.

Acknowledgments

This research was supported by a grant from Google LLC.

License

This code is licensed under the open source MIT License.
Different open licenses apply to LaTeX files and input data, see Specifications.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 337
Total Committers: 2
Avg Commits per committer: 168.5
Development Distribution Score (DDS): 0.036

Commits in past year: 61
Committers in past year: 1
Avg Commits per committer in past year: 61.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Irieo i****n@g****m 325
Tom Brown t****m@n****g 12

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 8
Total pull requests: 13
Average time to close issues: about 2 months
Average time to close pull requests: 23 days
Total issue authors: 1
Total pull request authors: 2
Average comments per issue: 0.38
Average comments per pull request: 0.15
Merged pull request: 12
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 3
Past year average time to close issues: N/A
Past year average time to close pull requests: less than a minute
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/PyPSA/247-cfe

Top Issue Authors

  • Irieo (8)

Top Pull Request Authors

  • Irieo (12)
  • virio-andreyana (1)

Top Issue Labels

Top Pull Request Labels

  • enhancement (1)

Score: 4.219507705176107