Skip to content

Commit 94cc29e

Browse files
committed
merge README.md, CITATION.md, repo config, gh workflows, pre-commit etc.
1 parent a703d19 commit 94cc29e

File tree

9 files changed

+137
-229
lines changed

9 files changed

+137
-229
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
# Custom commits
1010
9865a970893d9e515786f33c629b14f71645bf1e
11+
# DE model specific
12+
ca1f43c23f1c0936cb9f9e1062854fdf0060c409
1113

1214
# pre-commit commits
1315
4a1933f49aaf2ed530d13100efbd34b8f32e103e

.github/pull_request_template.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
Closes # (if applicable).
2-
3-
## Changes proposed in this Pull Request
4-
5-
6-
## Checklist
7-
8-
- [ ] I tested my contribution locally and it works as intended.
9-
- [ ] Code and workflow changes are sufficiently documented.
10-
- [ ] Changed dependencies are added to `envs/environment.yaml`.
11-
- [ ] Changes in configuration options are added in `config/config.default.yaml`.
12-
- [ ] Changes in configuration options are documented in `doc/configtables/*.csv`.
13-
- [ ] Sources of newly added data are documented in `doc/data_sources.rst`.
14-
- [ ] A release note `doc/release_notes.rst` is added.
1+
Before asking for a review for this PR make sure to complete the following checklist:
2+
3+
- [ ] Workflow with target rule `ariadne_all` completes without errors
4+
- [ ] The logic of `export_ariadne_variables` has been adapted to the changes
5+
- [ ] One or several figures that validate the changes in the PR have been posted as a comment
6+
- [ ] A brief description of the changes has been added to `Changelog.md`
7+
- [ ] The latest `main` has been merged into the PR
8+
- [ ] The config has a new prefix of the format `YYYYMMDDdescriptive_title`

.github/workflows/validate.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
if: github.event.pull_request.head.repo.full_name == github.repository
1717
runs-on: self-hosted
1818
steps:
19-
- uses: lkstrp/[email protected].2
19+
- uses: lkstrp/[email protected].4
2020
with:
2121
step: run-self-hosted-validation
22-
env_file: envs/environment.yaml
23-
snakemake_config: config/test/config.validator.yaml
22+
env_file: environment.yaml
23+
snakemake_config: config/config.yaml
24+
pre_command: "build_scenarios -f"
25+
main_command: "ariadne_all"
2426
env:
2527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2628

@@ -30,20 +32,20 @@ jobs:
3032
needs: run-validation
3133
runs-on: ubuntu-latest
3234
steps:
33-
- uses: lkstrp/[email protected].2
35+
- uses: lkstrp/[email protected].4
3436
with:
3537
step: create-comment
36-
snakemake_config: config/test/config.validator.yaml
38+
snakemake_config: config/config.yaml
3739
# The path starting from prefix in config
3840
# For plot results/<prefix>/<scenario>/<plot_name>.png pass
3941
# <scenario>/<plot_name>.png
4042
plots: >
4143
"
42-
graphs/energy.svg
43-
graphs/costs.svg
44-
graphs/balances-energy.svg
45-
graphs/balances-urban_central_heat.svg
46-
graphs/balances-urban_decentral_heat.svg
47-
graphs/balances-rural_heat.svg
44+
KN2045_Bal_v4/ariadne/primary_energy.png
45+
KN2045_Bal_v4/ariadne/secondary_energy.png
46+
KN2045_Bal_v4/ariadne/final_energy.png
47+
ariadne_comparison/Trade-Secondary-Energy-Hydrogen-Volume.png
48+
ariadne_comparison/Trade-Secondary-Energy-Liquids-Hydrogen-Volume.png
49+
ariadne_comparison/Capacity-Electricity-Solar.png
4850
"
4951
validator_key: ${{ secrets.VALIDATOR_KEY }}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,10 @@ d1gam3xoknrgr2.cloudfront.net/
7575
merger-todos.md
7676

7777
*.html
78+
79+
# DE model specific
80+
cidportal.jrc.ec.europa.eu
81+
zenodo.org
82+
globalenergymonitor.org/wp-content/uploads/2023/07/Europe-Gas-Tracker-2023-03-v3.xlsx
83+
fnb-gas.de
84+
raw.githubusercontent.com

.pre-commit-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
2-
#
3-
# SPDX-License-Identifier: CC0-1.0
41
exclude: "^LICENSES"
52

63
repos:
@@ -86,9 +83,3 @@ repos:
8683
hooks:
8784
- id: jupyter-notebook-cleanup
8885
exclude: examples/solve-on-remote.ipynb
89-
90-
# Check for FSFE REUSE compliance (licensing)
91-
- repo: https://github.com/fsfe/reuse-tool
92-
rev: v4.0.3
93-
hooks:
94-
- id: reuse

.reuse/dep5

Lines changed: 0 additions & 32 deletions
This file was deleted.

CITATION.cff

Lines changed: 10 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,12 @@
1-
# SPDX-FileCopyrightText: : 2021 The PyPSA-Eur Authors
2-
#
3-
# SPDX-License-Identifier: CC0-1.0
4-
5-
cff-version: 1.1.0
6-
message: "If you use this package, please cite it in the following way."
7-
title: "PyPSA-Eur: An open sector-coupled optimisation model of the European energy system"
8-
repository: https://github.com/pypsa/pypsa-eur
9-
version: 0.13.0
1+
cff-version: 1.2.0
2+
message: "pypsa-de"
3+
title: "Kopernikus-Projekt Ariadne - Gesamtsystemmodell PyPSA-Eur"
4+
repository: https://github.com/PyPSA/pypsa-de
5+
version: 0.0.0
6+
doi: "N/A"
7+
date-released: "N/A"
108
license: MIT
119
authors:
12-
- family-names: Brown
13-
given-names: Tom
14-
orcid: https://orcid.org/0000-0001-5898-1911
15-
- family-names: Victoria
16-
given-names: Marta
17-
orcid: https://orcid.org/0000-0003-1665-1281
18-
- family-names: Zeyen
19-
given-names: Elisabeth
20-
orcid: https://orcid.org/0000-0002-7262-3296
21-
- family-names: Hofmann
22-
given-names: Fabian
23-
orcid: https://orcid.org/0000-0002-6604-5450
24-
- family-names: Neumann
25-
given-names: Fabian
26-
orcid: https://orcid.org/0000-0001-8551-1480
27-
- family-names: Frysztacki
28-
given-names: Martha
29-
orcid: https://orcid.org/0000-0002-0788-1328
30-
- family-names: Hampp
31-
given-names: Johannes
32-
orcid: https://orcid.org/0000-0002-1776-116X
33-
- family-names: Schlachtberger
34-
given-names: David
35-
orcid: https://orcid.org/0000-0002-8167-8213
36-
- family-names: Hörsch
37-
given-names: Jonas
38-
orcid: https://orcid.org/0000-0001-9438-767X
39-
- family-names: Schledorn
40-
given-names: Amos
41-
- family-names: Schauß
42-
given-names: Caspar
43-
- family-names: van Greevenbroek
44-
given-names: Koen
45-
- family-names: Millinger
46-
given-names: Markus
47-
- family-names: Glaum
48-
given-names: Philipp
49-
- family-names: Xiong
50-
given-names: Bobby
51-
- family-names: Seibold
52-
given-names: Toni
10+
- family-names: Your surname
11+
given-names: Christoph Tries
12+
orcid: https://orcid.org/0009-0000-2425-0993

0 commit comments

Comments
 (0)