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
Repository
Is your European region able to provide itself with 100% renewable electricity?
Basic Info
- Host: GitHub
- Owner: timtroendle
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://timtroendle.github.io/possibility-for-electricity-autarky/
- Size: 4.62 MB
Statistics
- Stars: 10
- Watchers: 3
- Forks: 5
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
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.
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:
- European Settlement Map 2012, Release 2017, 100m, to be placed at
./data/esm-100m-2017/ - World Exclusive Economic Zones v10, to be placed in
./data/World_EEZ_v10_20180221 - capacity factors from renewable.ninja, to be placed in
./data/capacityfactors/{technology}.ncfor technology in "wind-onshore", "wind-offshore", "rooftop-pv", "open-field-pv"(to run simulations, seeManual stepsbelow)
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 automaticallysrc: contains the Python source codetests: contains the test codeconfig: configurations used in the studyrules: additional Snakemake rules and workflowsdata: place for raw data, whether retrieved manually and automaticallybuild: 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
- Website: https://cp.ethz.ch/people/person-detail.tim-troendle.html
- Twitter: timtroendle
- Repositories: 77
- Profile: https://github.com/timtroendle
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
Top Committers
| Name | 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
Pull Request Labels
Dependencies
- pycountry *