247-cfe

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

https://github.com/PyPSA/247-cfe

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: sciencedirect.com, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

energy energy-model power-system pypsa snakemake

Keywords from Contributors

energy-system-model energy-system
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: PyPSA
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 31.7 MB
Statistics
  • Stars: 36
  • Watchers: 2
  • Forks: 10
  • Open Issues: 2
  • Releases: 3
Topics
energy energy-model power-system pypsa snakemake
Created about 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

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.

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 git@github.com: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

  • Name: PyPSA
  • Login: PyPSA
  • Kind: organization

Python for Power System Analysis

GitHub Events

Total
  • Issues event: 1
  • Watch event: 7
  • Push event: 8
  • Pull request event: 5
  • Fork event: 3
  • Create event: 2
Last Year
  • Issues event: 1
  • Watch event: 7
  • Push event: 8
  • Pull request event: 5
  • Fork event: 3
  • Create event: 2

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 337
  • Total Committers: 2
  • Avg Commits per committer: 168.5
  • Development Distribution Score (DDS): 0.036
Past Year
  • Commits: 61
  • Committers: 1
  • Avg Commits per committer: 61.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Irieo i****n@g****m 325
Tom Brown t****m@n****g 12
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 15
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 21 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.13
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Irieo (7)
  • MaykThewessen (1)
Pull Request Authors
  • Irieo (13)
  • virio-andreyana (2)
Top Labels
Issue Labels
Pull Request Labels