pypsa-ariadne
🛑 THIS REPOSITORY IS DEPRECATED 🟢 The story continues at PyPSA-DE High resolution, sector-coupled model of the German Energy System
Science Score: 54.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
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
â—‹DOI references
-
â—‹Academic publication links
-
✓Committers with academic emails
4 of 14 committers (28.6%) from academic institutions -
â—‹Institutional organization owner
-
â—‹JOSS paper metadata
-
â—‹Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Keywords from Contributors
Repository
🛑 THIS REPOSITORY IS DEPRECATED 🟢 The story continues at PyPSA-DE High resolution, sector-coupled model of the German Energy System
Basic Info
- Host: GitHub
- Owner: PyPSA
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://github.com/PyPSA/pypsa-de
- Size: 1.78 MB
Statistics
- Stars: 18
- Watchers: 4
- Forks: 6
- Open Issues: 10
- Releases: 13
Metadata Files
README.md
🟢 Development continues at PyPSA-DE
🛑 This repostiory is deprecated
Kopernikus-Projekt Ariadne - Gesamtsystemmodell PyPSA-DE
Dieses Repository enthält das Gesamtsystemmodell PyPSA-DE für das Kopernikus-Projekt Ariadne, basierend auf der Toolbox PyPSA und dem Datensatz PyPSA-Eur. Das Modell bildet Deutschland mit hoher geographischer Auflösung, mit voller Sektorenkopplung und mit Integration in das europäische Energiesystem ab.
This repository contains the entire scientific project, including data sources and code. The philosophy behind this repository is that no intermediary results are included, but all results are computed from raw data and code.
Clone the repository - including necessary submodules!
To start you need to clone the PyPSA-Ariadne repository. Since the repository relies on Git Submodules to integrate the PyPSA-Eur dataset as a basis on which to expand, you need to include the --recurse-submodules flag in your git clone command:
git clone --recurse-submodules git@github.com:PyPSA/pypsa-ariadne.git
Alternatively, after having cloned the repository without activating submodules, you can run the two following commands:
git submodule update --init --recursive
This command first initializes your local configuration file, second fetches all the data from the project(s) declared as submodule(s) (in this case, PyPSA-Eur) as well as all potential nested submodules, and third checks out the appropriate PyPSA-Eur commit which is defined in the PyPSA-Ariadne repository.
You can fetch and merge any new commits from the remote of the submodules with the following command:
git submodule update --remote
More information on Git Submodules can be found here.
Getting ready
You need conda or mamba to run the analysis. Using mamba, you can create an environment from within you can run it:
mamba env create -f environment.yaml
For external users: Use config.public.yaml
The default workflow configured for this repository assumes access to the internal Ariadne2 database. Users that do not have the required login details can run the analysis based on the data published during the first phase of the Ariadne project.
This is possible by providing an additional config to the snakemake workflow. For every snakemake COMMAND specified in the instructions below, public users should use:
snakemake --configfile=config/config.public.yaml COMMAND
The additional config file specifies the required database, model, and scenario names for Ariadne1. If public users wish to edit the default scenario specifications, they should change scenarios.public.yaml instead of scenarios.manual.yaml. More details on using scenarios are given below.
For internal users: Provide login details
The snakemake rule retrieve_ariadne_database logs into the interal Ariadne IIASA Database via the pyam package. The credentials for logging into this database have to be stored locally on your machine with ixmp4. To do this activate the project environment and run
ixmp4 login <username>
You will be prompted to enter your <password>.
Caveat: These credentials are stored on your machine in plain text.
To switch between internal and public use, the command ixmp4 logout may be necessary.
Run the analysis
Before running any analysis with scenarios, the rule build_scenarios must be executed. This will create the file config/scenarios.automated.yaml which includes input data and CO2 targets from the IIASA Ariadne database as well as the specifications from the manual scenario file. [This file is specified in the default config.yaml via they key run:scenarios:manual_file (by default located at config/scenarios.manual.yaml)].
snakemake -call build_scenarios -f
Note that the hierarchy of scenario files is the following: scenarios.automated.yaml > (any explicitly specified --configfiles) > config.yaml> config.default.yamlChanges in the file scenarios.manual.yamlare only taken into account if the rule build_scenarios is executed.
For the first run, open config.yaml and set
enable:
retrieve: true # set to false once initial data is retrieved
retrieve_cutout: true # set to false once initial data is retrieved
and then run from main repository
snakemake -call
This will run all analysis steps to reproduce results.
To generate a PDF of the dependency graph of all steps build/dag.pdf run:
snakemake -c1 --use-conda -f dag
Repo structure
config: configuration filesariadne-data: Germany specific data from the Ariadne projectworkflow: contains the Snakemake workflow, including the submodule PyPSA-Eur and specific scripts for Germanycutouts: very large weather data cutouts supplied by atlite library (does not exist initially)data: place for raw data (does not exist initially)resources: place for intermediate/processing data for the workflow (does not exist initially)results: will contain all results (does not exist initially)
Differences to PyPSA-EUR
- Specific cost assumption for Germany:
- Gas, Oil, Coal prices
- electrolysis and heat-pump costs
- Infrastructure costs according to the Netzentwicklungsplan 23 (NEP23)
- option for pessimstic, mean and optimistic cost development
- Transport and Industry demands as well as heating stock imported from the sectoral models in the Ariadne consortium
- More detailed data on CHPs in Germany
- Option for building the German Wasserstoffkernnetz
- The model has been validated against 2020 electricity data for Germany
- National CO2-Targets according to the Klimaschutzgesetz
- Additional constraints that limit maximum capacity of specific technologies
- Import constraints
- Renewable build out according to the Wind-an-Land, Wind-auf-See and Solarstrategie laws
- A comprehensive reporting module that exports Capacity Expansion, Primary/Secondary/Final Energy, CO2 Emissions per Sector, Trade, Investments, ...
- Plotting functionality to compare different scenarios
License
The code in this repo is MIT licensed, see ./LICENSE.md.
Owner
- Name: PyPSA
- Login: PyPSA
- Kind: organization
- Website: www.pypsa.org
- Repositories: 29
- Profile: https://github.com/PyPSA
Python for Power System Analysis
Citation (CITATION.cff)
cff-version: 1.2.0
message: "pypsa-ariadne"
title: "Kopernikus-Projekt Ariadne - Gesamtsystemmodell PyPSA-Eur"
repository: https://github.com/account/pypsa-ariadne
version: 0.0.0
doi: "N/A"
date-released: "N/A"
license: MIT
authors:
- family-names: Your surname
given-names: Christoph Tries
orcid: https://orcid.org/0009-0000-2425-0993
GitHub Events
Total
- Create event: 65
- Release event: 6
- Issues event: 32
- Watch event: 8
- Delete event: 32
- Issue comment event: 94
- Push event: 343
- Pull request review comment event: 32
- Pull request review event: 39
- Pull request event: 117
- Fork event: 2
Last Year
- Create event: 65
- Release event: 6
- Issues event: 32
- Watch event: 8
- Delete event: 32
- Issue comment event: 94
- Push event: 343
- Pull request review comment event: 32
- Pull request review event: 39
- Pull request event: 117
- Fork event: 2
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Michael Lindner | m****r@p****e | 391 |
| toniseibold | t****b@g****m | 130 |
| JulianGeis | J****s@g****t | 95 |
| Tom Brown | t****m@n****g | 53 |
| Fabian Neumann | f****n@o****e | 22 |
| Lukas Trippe | l****p@p****e | 12 |
| dependabot[bot] | 4****] | 6 |
| pre-commit-ci[bot] | 6****] | 6 |
| chrstphtrs | c****s@t****e | 5 |
| cpschau | c****s@i****e | 2 |
| Michael Lindner | m****r@t****e | 2 |
| Fabian | f****f@g****e | 1 |
| Philipp Glaum | p****m@t****e | 1 |
| cpschau | 1****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 90
- Total pull requests: 222
- Average time to close issues: about 1 month
- Average time to close pull requests: 9 days
- Total issue authors: 7
- Total pull request authors: 11
- Average comments per issue: 0.92
- Average comments per pull request: 1.54
- Merged pull requests: 180
- Bot issues: 0
- Bot pull requests: 12
Past Year
- Issues: 31
- Pull requests: 119
- Average time to close issues: 9 days
- Average time to close pull requests: 4 days
- Issue authors: 5
- Pull request authors: 8
- Average comments per issue: 0.65
- Average comments per pull request: 1.39
- Merged pull requests: 97
- Bot issues: 0
- Bot pull requests: 10
Top Authors
Issue Authors
- lindnemi (47)
- toniseibold (26)
- JulianGeis (14)
- nworbmot (3)
- fneum (2)
- cpschau (2)
- seaasun (1)
Pull Request Authors
- lindnemi (135)
- toniseibold (118)
- JulianGeis (83)
- lkstrp (19)
- nworbmot (18)
- dependabot[bot] (11)
- fneum (10)
- pre-commit-ci[bot] (8)
- cpschau (8)
- p-glaum (2)
- FabianHofmann (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- atlite >=0.2.9
- black
- cartopy
- country_converter
- dask
- descartes
- fiona
- geopandas >=0.11.0
- geopy
- graphviz
- gurobi
- highs
- ipopt
- ipython
- jupyter
- jupyterlab
- lxml
- matplotlib <3.6
- memory_profiler
- netcdf4
- networkx
- numpy
- openpyxl !=3.1.1
- pandas >=1.4
- pip
- powerplantmatching >=0.5.5
- pre-commit
- proj
- pyam
- pycountry
- pyomo
- pypsa >=0.25.1
- pytables
- python >=3.8
- pytz
- pyxlsb
- rasterio !=1.2.10
- rioxarray
- scipy
- seaborn
- shapely >=2.0
- snakemake-minimal >=7.7.0
- tabula-py
- tqdm
- tsam >=1.1.0
- xarray
- xlrd
- yaml