From 162c4c98115e1ad0b037d579611dd7ca75872e1b Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Thu, 20 Feb 2025 16:41:53 +0100 Subject: [PATCH 01/14] improve README --- README.md | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 253a3069b..9db65ed3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# Kopernikus-Projekt Ariadne - Gesamtsystemmodell PyPSA-DE +# PyPSA-DE - Ein sektorengekoppeltes Modell des deutschen Energiesystems - A Sector-Coupled Optimisation Model of the German Energy System -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. +PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Datensatzes [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow löst ein lineares Optimierungsproblem und simuliert die Strom- und Wasserstoffübertragungsnetze sowie Erzeugung, Nachfrage und Speicher in allen Sektoren des Energiesystem Deutschland und seiner Nachbarländer. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. + +PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European dataset [PyPSA-Eur](https://github.com/PyPSA/pypsa). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. 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. @@ -10,9 +12,11 @@ You need `conda` or `mamba` to run the analysis. Using conda, you can create an conda env create -f envs/environment.yaml -## For external users: Use config.public.yaml +## Connecting to the Ariadne-Database + +### 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](https://data.ece.iiasa.ac.at/ariadne/). +The default workflow configured for this repository assumes access to the internal Ariadne2 database. These will soon be made publicly available. Until then, 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](https://data.ece.iiasa.ac.at/ariadne/). 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: @@ -22,7 +26,7 @@ snakemake COMMAND --configfile=config/config.public.yaml 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 +### For internal users: Provide login details The snakemake rule `retrieve_ariadne_database` logs into the interal Ariadne IIASA Database via the [`pyam`](https://pyam-iamc.readthedocs.io/en/stable/tutorials/iiasa.html) 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 @@ -53,7 +57,6 @@ To run the analysis use This will run all analysis steps to reproduce results. If computational resources on your local machine are limit you may decrease the number of cores by adding, e.g. `-c4` to the call. - ## Repo structure * `config`: configuration files @@ -66,26 +69,43 @@ This will run all analysis steps to reproduce results. If computational resource * `logs` and `benchmarks` * The `Snakefile` contains the snakemake workflow -## Some notable differences to PyPSA-EUR +## Differences to PyPSA-EUR +PyPSA-DE is a softfork of PyPSA-EUR. It adds several data sources and workflow steps that improve the representation of the German Energy System. Here is a non-conclusive list of the most important changes + +- Default resolution of 16 regions in Germany and 13 region for neighboring countries +- 10 pre-defined scenarios (1 Current Policies, 3 Net-Zero Scenarios (Balanced, Focus H2, Focus Electricity), 2 Demand Variations based on the Balanced Scenario, 4 Demand Variations Based on the Current Policies Scenario) - 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 +- Import constraints on Efuels, hydrogen and electricity - 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, ... +- A comprehensive reporting module that exports Capacity Expansion, Primary/Secondary/Final Energy, CO2 Emissions per Sector, Trade, Investments, and more. - Plotting functionality to compare different scenarios -- Electricity Network development until 2030 (and for AC beyond) according to the Netzentwicklungsplan -- Offshore development until 2030 according to the Offshore Netzentwicklungsplan +- Electricity Network development until 2030 (and for AC beyond) according to the NEP23 +- Offshore development until 2030 according to the Offshore NEP23 - Hydrogen network development until 2028 according to the Wasserstoffkernnetz. PCI / IPCEI projects for later years are included as well. +- `costs:horizon` - specify if technology costs are expected to follow an `optimistic, mean` or `pessimistic` trajectory + +## New Config Options + +- `iiasa_database` - Interaction with IIASA database. Specify a database, and `leitmodelle` for demand and co2 emissions data in specific sectors +- `wasserstoff_kernnetz` - Configure which parts of the Wasserstoff Kernnetz should be included in the model +- `new_decentral_fossil_boiler_ban` - specify in which country and which years to ban fossil boilers +- `coal_generation_ban` - specify in which country and which years to ban electricity generation from coal +- `nuclear_generation_ban` - specify in which country and which years to ban electricity generation from nuclear +- first_technology_occurrence - specify the year form which on specific technologies are available +- `solving:constraints` - specify PyPSA-DE specific limits, e.g. on capacity, trade and generation +- `co2_budget_DE_source` specify the carbon trajectory for Germany: Following the projections of the Umweltbundestamt (`UBA`) or targeting net zero with the Klimaschutzgesetz(`KSG`) +- `costs:NEP` and `costs:transmission` - specify which year of the Netzentwicklungsplan should be used as basis for the transmission line costs (`2021,2023`) and if new HVDC links should be built with `overhead` or `underground` cables ## License From 66d29c98293e5c76f26da60934e34b12582e5aee Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Thu, 20 Feb 2025 16:57:29 +0100 Subject: [PATCH 02/14] add fancy image --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9db65ed3c..0f0cbadf8 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](ht 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. +![Stromnetzausbau in Deutschland](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) + + ## Getting ready You need `conda` or `mamba` to run the analysis. Using conda, you can create an environment from within which you can run the analysis: From e0701405fb21822263b3ade4223b2233ffe81427 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Thu, 20 Feb 2025 17:02:41 +0100 Subject: [PATCH 03/14] make image smaller --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f0cbadf8..84cee8efe 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,7 @@ PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [Py PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European dataset [PyPSA-Eur](https://github.com/PyPSA/pypsa). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. 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. - -![Stromnetzausbau in Deutschland](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) +[](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) ## Getting ready From 5a7e2ccc7fb92da08b008dcf15b822cfe649aff2 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Thu, 20 Feb 2025 17:03:01 +0100 Subject: [PATCH 04/14] sapce before image --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84cee8efe..7a76bd253 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [Py PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European dataset [PyPSA-Eur](https://github.com/PyPSA/pypsa). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. 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. + + [](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) From 3ff43f99740800be615f0d869b74c536649666d6 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:33:26 +0100 Subject: [PATCH 05/14] address review comments --- README.md | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7a76bd253..c74ba75bf 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,30 @@ # PyPSA-DE - Ein sektorengekoppeltes Modell des deutschen Energiesystems - A Sector-Coupled Optimisation Model of the German Energy System -PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Datensatzes [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow löst ein lineares Optimierungsproblem und simuliert die Strom- und Wasserstoffübertragungsnetze sowie Erzeugung, Nachfrage und Speicher in allen Sektoren des Energiesystem Deutschland und seiner Nachbarländer. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. +PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. -PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European dataset [PyPSA-Eur](https://github.com/PyPSA/pypsa). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. +PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European model [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries, as well as Italy and Spain, with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. 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. - -[](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) - +[``](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) ## Getting ready You need `conda` or `mamba` to run the analysis. Using conda, you can create an environment from within which you can run the analysis: +``` +conda env create -f envs/{os}-pinned.yaml +``` +Where `{os}` should be replaced with your operating system, e.g. for linux the command would be: - conda env create -f envs/environment.yaml +``` +conda env create -f envs/linux-pinned.yaml +``` ## Connecting to the Ariadne-Database ### For external users: Use config.public.yaml -The default workflow configured for this repository assumes access to the internal Ariadne2 database. These will soon be made publicly available. Until then, 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](https://data.ece.iiasa.ac.at/ariadne/). +The default workflow configured for this repository assumes access to the internal Ariadne2 database. The database will soon be publicly available. Until then, 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](https://data.ece.iiasa.ac.at/ariadne/). 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: @@ -28,7 +32,7 @@ This is possible by providing an additional config to the snakemake workflow. Fo snakemake COMMAND --configfile=config/config.public.yaml ``` -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. +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 can do so by changing `scenarios.public.yaml` to `scenarios.manual.yaml`. More details on using scenarios are given below. ### For internal users: Provide login details @@ -59,7 +63,7 @@ To run the analysis use snakemake ariadne_all -This will run all analysis steps to reproduce results. If computational resources on your local machine are limit you may decrease the number of cores by adding, e.g. `-c4` to the call. +This will run all analysis steps to reproduce results. If computational resources on your local machine are limited you may decrease the number of cores by adding, e.g. `-c4` to the call to get only 4 cores. For more option please refer to the [snakemake](https://snakemake.readthedocs.io/en/stable/) documentation. ## Repo structure @@ -71,11 +75,11 @@ This will run all analysis steps to reproduce results. If computational resource * `resources`: place for intermediate/processing data for the workflow (does not exist initially) * `results`: will contain all results (does not exist initially) * `logs` and `benchmarks` -* The `Snakefile` contains the snakemake workflow +* The `Snakefile` contains the PyPSA-DE specific snakemake workflow ## Differences to PyPSA-EUR -PyPSA-DE is a softfork of PyPSA-EUR. It adds several data sources and workflow steps that improve the representation of the German Energy System. Here is a non-conclusive list of the most important changes +PyPSA-DE is a softfork of PyPSA-EUR. As such, large parts of the functionality are similar, and the [documentation](https://pypsa-eur.readthedocs.io/en/latest/) of PyPSA-Eur is a good starting point to get acquainted with the model. On topf of that, PyPSA-DE adds several data sources and workflow steps that improve the representation of the German Energy System. Below is a non-conclusive list of the most important changes. - Default resolution of 16 regions in Germany and 13 region for neighboring countries - 10 pre-defined scenarios (1 Current Policies, 3 Net-Zero Scenarios (Balanced, Focus H2, Focus Electricity), 2 Demand Variations based on the Balanced Scenario, 4 Demand Variations Based on the Current Policies Scenario) @@ -83,9 +87,9 @@ PyPSA-DE is a softfork of PyPSA-EUR. It adds several data sources and workflow s - Gas, Oil, Coal prices - electrolysis and heat-pump costs - - Infrastructure costs according to the Netzentwicklungsplan 23 (NEP23) + - Infrastructure costs [according to the Netzentwicklungsplan](https://github.com/PyPSA/pypsa-ariadne/pull/193) 2021 and 2023 - 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 +- Transport and Industry demands as well as heating stock imported from the sectoral models in the Ariadne consortium ([Aladin](https://ariadneprojekt.de/modell-dokumentation-aladin/), [REMOD](https://ariadneprojekt.de/modell-dokumentation-remod/), [FORECAST](https://ariadneprojekt.de/modell-dokumentation-forecast/) and [REMIND](https://ariadneprojekt.de/modell-dokumentation-remind/)) - More detailed data on CHPs in Germany - The model has been validated against 2020 electricity data for Germany - National CO2-Targets according to the Klimaschutzgesetz @@ -101,12 +105,13 @@ PyPSA-DE is a softfork of PyPSA-EUR. It adds several data sources and workflow s ## New Config Options -- `iiasa_database` - Interaction with IIASA database. Specify a database, and `leitmodelle` for demand and co2 emissions data in specific sectors -- `wasserstoff_kernnetz` - Configure which parts of the Wasserstoff Kernnetz should be included in the model + +- `iiasa_database` - interaction with IIASA database. Specify a database, and `leitmodelle` for demand and co2 emissions data in specific sectors +- `wasserstoff_kernnetz` - configure which parts of the Wasserstoff Kernnetz should be included in the model - `new_decentral_fossil_boiler_ban` - specify in which country and which years to ban fossil boilers - `coal_generation_ban` - specify in which country and which years to ban electricity generation from coal - `nuclear_generation_ban` - specify in which country and which years to ban electricity generation from nuclear -- first_technology_occurrence - specify the year form which on specific technologies are available +- `first_technology_occurrence` - specify the year form which on specific technologies are available - `solving:constraints` - specify PyPSA-DE specific limits, e.g. on capacity, trade and generation - `co2_budget_DE_source` specify the carbon trajectory for Germany: Following the projections of the Umweltbundestamt (`UBA`) or targeting net zero with the Klimaschutzgesetz(`KSG`) - `costs:NEP` and `costs:transmission` - specify which year of the Netzentwicklungsplan should be used as basis for the transmission line costs (`2021,2023`) and if new HVDC links should be built with `overhead` or `underground` cables From e0ede78a93dfdf9ec7da1af71d23b3ea71e52230 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:33:53 +0000 Subject: [PATCH 06/14] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c74ba75bf..cbd9505ed 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ This will run all analysis steps to reproduce results. If computational resource ## Differences to PyPSA-EUR -PyPSA-DE is a softfork of PyPSA-EUR. As such, large parts of the functionality are similar, and the [documentation](https://pypsa-eur.readthedocs.io/en/latest/) of PyPSA-Eur is a good starting point to get acquainted with the model. On topf of that, PyPSA-DE adds several data sources and workflow steps that improve the representation of the German Energy System. Below is a non-conclusive list of the most important changes. +PyPSA-DE is a softfork of PyPSA-EUR. As such, large parts of the functionality are similar, and the [documentation](https://pypsa-eur.readthedocs.io/en/latest/) of PyPSA-Eur is a good starting point to get acquainted with the model. On topf of that, PyPSA-DE adds several data sources and workflow steps that improve the representation of the German Energy System. Below is a non-conclusive list of the most important changes. - Default resolution of 16 regions in Germany and 13 region for neighboring countries - 10 pre-defined scenarios (1 Current Policies, 3 Net-Zero Scenarios (Balanced, Focus H2, Focus Electricity), 2 Demand Variations based on the Balanced Scenario, 4 Demand Variations Based on the Current Policies Scenario) From 70437d9930cd34adc182266aa2692ab661b28747 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:34:15 +0100 Subject: [PATCH 07/14] change title --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c74ba75bf..95fe1d79e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PyPSA-DE - Ein sektorengekoppeltes Modell des deutschen Energiesystems - A Sector-Coupled Optimisation Model of the German Energy System +# PyPSA-DE - A Sector-Coupled Optimisation Model of the German Energy System - Ein sektorengekoppeltes Modell des deutschen Energiesystems PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. From 2fc716b561ba7e97813829ccc9a122f67acccdd6 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:37:46 +0100 Subject: [PATCH 08/14] typo and title --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34b163b8f..718e6d866 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# PyPSA-DE - A Sector-Coupled Optimisation Model of the German Energy System - Ein sektorengekoppeltes Modell des deutschen Energiesystems +# PyPSA-DE - A Sector-Coupled Optimisation Model of the German Energy System -PyPSA-DE ist sektorengekoppelten Energie-System Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. +### Ein sektorengekoppeltes Modell des deutschen Energiesystems + +PyPSA-DE ist ein sektorengekoppeltes Energiesystem-Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European model [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries, as well as Italy and Spain, with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. @@ -11,9 +13,11 @@ This repository contains the entire scientific project, including data sources a ## Getting ready You need `conda` or `mamba` to run the analysis. Using conda, you can create an environment from within which you can run the analysis: + ``` conda env create -f envs/{os}-pinned.yaml ``` + Where `{os}` should be replaced with your operating system, e.g. for linux the command would be: ``` @@ -105,7 +109,6 @@ PyPSA-DE is a softfork of PyPSA-EUR. As such, large parts of the functionality a ## New Config Options - - `iiasa_database` - interaction with IIASA database. Specify a database, and `leitmodelle` for demand and co2 emissions data in specific sectors - `wasserstoff_kernnetz` - configure which parts of the Wasserstoff Kernnetz should be included in the model - `new_decentral_fossil_boiler_ban` - specify in which country and which years to ban fossil boilers From 0051a0096c88e42958c5ebb2e23d462a4c113986 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:38:25 +0100 Subject: [PATCH 09/14] title again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 718e6d866..b4296acb0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PyPSA-DE - A Sector-Coupled Optimisation Model of the German Energy System +# PyPSA-DE - High resolution, sector-coupled model of the German Energy System ### Ein sektorengekoppeltes Modell des deutschen Energiesystems From 3092fe7351a59c002adb5ac8d10ec4b28eb90949 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:38:49 +0100 Subject: [PATCH 10/14] title again --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index b4296acb0..ec32e8970 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # PyPSA-DE - High resolution, sector-coupled model of the German Energy System -### Ein sektorengekoppeltes Modell des deutschen Energiesystems - PyPSA-DE ist ein sektorengekoppeltes Energiesystem-Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European model [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries, as well as Italy and Spain, with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. From 6f0442477516fa1df5ae7bfed901cdaa66ba9d77 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:39:10 +0100 Subject: [PATCH 11/14] fix image --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec32e8970..eb9457746 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](ht 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. -[``](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) +[](https://github.com/PyPSA/pypsa-de/blob/main/doc/img/INFRA_Stromnetzausbau.png?raw=true) ## Getting ready From 04abc490eaa2b65bb899049fe63d3407b1021768 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:39:16 +0000 Subject: [PATCH 12/14] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb9457746..46e6189b9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PyPSA-DE - High resolution, sector-coupled model of the German Energy System +# PyPSA-DE - High resolution, sector-coupled model of the German Energy System PyPSA-DE ist ein sektorengekoppeltes Energiesystem-Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. From 5a9116ec6d8c56e88339766a0c120663e7b58f11 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Fri, 21 Feb 2025 15:44:07 +0100 Subject: [PATCH 13/14] titel wieder --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46e6189b9..55697327c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -# PyPSA-DE - High resolution, sector-coupled model of the German Energy System +# PyPSA-DE - Hochaufgelöstes, sektorengekoppeltes Modell des deutschen Energiesystems PyPSA-DE ist ein sektorengekoppeltes Energiesystem-Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen. +# PyPSA-DE - High resolution, sector-coupled model of the German Energy System + PyPSA-DE is a sector-coupled energy system model based on the toolbox [PyPSA](https://github.com/PyPSA/pypsa) and the European model [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). It solves a linear optimization problem to simulate the electricty and hydrogen transmission networks, as well as supply, demand and storage in all sectors of the energy system in Germany and its neighboring countries, as well as Italy and Spain, with high spatial and temporal resolution. PyPSA-DE was developed in the context of the Kopernikus-Projekt [Ariadne](https://ariadneprojekt.de/en/), which studies scenarios of a carbon-neutral German economcy, and plays a decisive role in the upcoming Ariadne Szenarienreport, as leading model for the energy sector. 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. From c67fd7e4eaa128e4e5250eaf66ee1a9153482f85 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:44:35 +0000 Subject: [PATCH 14/14] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55697327c..59896f31d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PyPSA-DE - Hochaufgelöstes, sektorengekoppeltes Modell des deutschen Energiesystems +# PyPSA-DE - Hochaufgelöstes, sektorengekoppeltes Modell des deutschen Energiesystems PyPSA-DE ist ein sektorengekoppeltes Energiesystem-Modell auf Basis der Toolbox [PyPSA](https://github.com/PyPSA/pypsa) und des europäischen Modells [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur). Der PyPSA-DE Workflow modelliert das deutsche Energiesystem mit deutschlandspezifischen Datensätzen (MaStR, Netzentwicklungsplan,...) im Verbund mit den direkten Stromnachbarn sowie Spanien und Italien. Der Ausbau und der Betrieb von Kraftwerken, des Strom- und Wasserstoffübertragunsnetzes und die Energieversorgung aller Sektoren werden dann in einem linearen Optimierungsproblem gelöst, mit hoher zeitlicher und räumlicher Auflösung. PyPSA-DE wurde im Rahmen des Kopernikus-Projekts [Ariadne](https://ariadneprojekt.de/) entwickelt in dem Szenarien für ein klimaneutrales Deutschland untersucht werden, und spielt eine zentrale Rolle im Ariadne Szenarienreport, als Leitmodell für den Sektor Energiewirtschaft und als eines von drei Gesamtsystemmodellen.