possibility-for-electricity-autarky

Is your European region able to provide itself with 100% renewable electricity?

https://github.com/timtroendle/possibility-for-electricity-autarky

Science Score: 41.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

analysis electricity-autarky europe paper renewable-energy reproducible-research research
Last synced: 7 months ago · JSON representation ·

Repository

Is your European region able to provide itself with 100% renewable electricity?

Basic Info
Statistics
  • Stars: 10
  • Watchers: 3
  • Forks: 5
  • Open Issues: 1
  • Releases: 0
Topics
analysis electricity-autarky europe paper renewable-energy reproducible-research research
Created over 8 years ago · Last pushed over 4 years ago
Metadata Files
Readme License Citation

README.md

Possibility for renewable electricity autarky in Europe

Is your European region able to provide itself with 100% renewable electricity?

This repository contains the entire research project, including code and report. The philosophy behind this repository is that no intermediary results are included, but all results are computed from raw data and code.

article DOI data DOI code DOI

Getting ready

Installation

The following dependencies are needed to set up an environment in which the analysis can be run and the paper be build:

When these dependencies are installed, you can create a conda environment from within you can run the analysis:

conda env create -f environment.yaml

Don't forget to activate the environment. To see what you can do now, run:

snakemake --list

Data to be retrieved manually

Whenever possible, data is downloaded automatically. As this is not always possible, you will need to retrieve the following data sets manually:

Run the analysis

snakemake --use-conda paper

This will run all analysis steps to reproduce results and eventually build the paper.

You can also run certain parts only by using other snakemake rules; to get a list of all rules run snakemake --list.

To generate a PDF of the dependency graph of all steps, run:

snakemake --rulegraph | dot -Tpdf > dag.pdf

(needs dot: conda install graphviz).

Run on Euler cluster

To run on Euler, use the following command:

snakemake --use-conda --profile config/euler

If you want to run on another cluster, read snakemake's documentation on cluster execution and take config/euler as a starting point.

Manual steps

At the moment, there is one manual step involved: running renewables.ninja simulations of wind and solar electricity. It is added to the automatic workflow as input data. Should you want to change the simulations, because you want to change parameters of the simulation (see parameters.ninja in the config), you can do that in three steps:

1) Create input files by first changing the config, then running snakemake -s rules/ninja-input.smk. 2) Run the simulations on renewables.ninja. 3) Update the data in data/capacityfactors/{technology}.

Run the tests

snakemake --use-conda test

Repo structure

  • report: contains all files necessary to build the paper; plots and result files are not in here but generated automatically
  • src: contains the Python source code
  • tests: contains the test code
  • config: configurations used in the study
  • rules: additional Snakemake rules and workflows
  • data: place for raw data, whether retrieved manually and automatically
  • build: will contain all results (does not exist initially)

Citation

If you use this code or data in an academic publication, please see CITATION.md.

License

The code in this repo is MIT licensed, see ./LICENSE.md. This excludes the KlinicSlab font family (all files in ./report/fonts/) which is copyright Lost Type.

Owner

  • Name: Tim Tröndle
  • Login: timtroendle
  • Kind: user
  • Company: ETH Zürich

Citation (CITATION.md)

If you use this code or data in an academic publication, please cite the following article:

Tröndle, T., Pfenninger, S., Lilliestam, J., 2019. Home-made or imported: on the possibility for renewable electricity autarky on all scales in Europe. Energy Strategy Reviews 26. https://doi.org/10.1016/j.esr.2019.100388

GitHub Events

Total
  • Fork event: 1
Last Year
  • Fork event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 374
  • Total Committers: 1
  • Avg Commits per committer: 374.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tim Tröndle t****e@u****h 374
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 1
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 months
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.67
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • brynpickering (1)
Pull Request Authors
  • brynpickering (3)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Dependencies

environment.yaml pypi
  • pycountry *