Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6579886
bugfix: add existing renewables consistent with renewable_carriers li…
daniel-rdt Jun 27, 2025
f72ebe2
Add offwind float to CCL (#1725)
JuliaSvn Jun 30, 2025
dcc3891
Fix: Invalid aquifer shapes in build_ates_potentials (#1724)
amos-schledorn Jun 30, 2025
d077398
Update locked environment files for all platforms (#1726)
github-actions[bot] Jul 2, 2025
b3f40dd
Revert "Update locked environment files for all platforms (#1726)" (#…
lkstrp Jul 3, 2025
cc096eb
doc: Add note on SARAH cutout creation (#1735)
euronion Jul 7, 2025
56eb5d8
fix(deps): pin `xarray<2025.07.0` (#1736)
github-actions[bot] Jul 7, 2025
72a962a
Update locked environment files for all platforms (#1738)
github-actions[bot] Jul 7, 2025
ed670ac
fix: PyPSA v1 compatibility follow up (#1741)
lkstrp Jul 7, 2025
b1419e6
Chore: Replace dep5 file with REUSE.toml (#1739)
euronion Jul 7, 2025
c8ce51e
[pre-commit.ci] pre-commit autoupdate (#1744)
pre-commit-ci[bot] Jul 8, 2025
fe6b51b
Bug fix for non-linestrings (#1737)
bobbyxng Jul 9, 2025
f4388f9
fix: fix rulegraph for snakemake 9.7.1 (#1745)
tgilon Jul 9, 2025
b1a5e9d
fix: pass heat_pump_cop_approximation configs correctly (#1729)
TomKae00 Jul 9, 2025
7c5e6fe
Fix ``plot_hydrogen_network`` : storage + Added CCL explantions in th…
JuliaSvn Jul 10, 2025
aea4d7b
fix: update function to check against instead of (#1750)
cpschau Jul 10, 2025
06cc0ad
Allow country-specific district heating potentials (#1742)
cpschau Jul 11, 2025
e43746d
prepare release v2025.07.0 (#1753)
fneum Jul 11, 2025
6f9475f
feat: add a TYNDP base network (#1646)
tgilon Jul 11, 2025
67f0919
fix: `logger.getLogger("gurobipy")` does not exist (#1755)
bobbyxng Jul 14, 2025
d86db2f
fix: resolve minor issues in TYNDP base network (#1759)
tgilon Jul 23, 2025
57c9c94
fix: remove deprecations of pypsa 1.0 (#1771)
lkstrp Jul 24, 2025
4ebaeef
fix: fix country_converter logging in build_population_layouts (#1757)
tgilon Jul 24, 2025
c059ba5
Fix:Issue warning instead of error for non-extendable heat storage in…
amos-schledorn Jul 25, 2025
8866f58
fix:add geothermal-sourced HP to HP cost names and turn on geothermal…
amos-schledorn Jul 25, 2025
2482b1f
Merge remote-tracking branch 'eur/master' into merge-july
lkstrp Jul 28, 2025
42ffaaa
refactor: remove deprecated old pinned env files (#1732)
lkstrp Jul 29, 2025
04e6428
fix: prevent division by zero in aluminium production calculation to …
cpschau Jul 30, 2025
b261087
doc: improve license (#1782)
tgilon Jul 31, 2025
9529284
fix: allow `pypsa<0.35` (#1786)
lkstrp Jul 31, 2025
f01378f
Merge remote-tracking branch 'eur/master' into merge-july
lkstrp Jul 31, 2025
a81e8fa
ci: fix env install
lkstrp Jul 31, 2025
4b7af7f
Merge branch 'main' into merge-july
Aug 7, 2025
c45d860
disable techs again that were activated by default in the upstream repo
lindnemi Aug 7, 2025
751ab3d
change industry:sector:ammonia to sector:ammonia to conform with upst…
lindnemi Aug 7, 2025
6aa3a2f
Merge branch 'main' into merge-july
lkstrp Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:

- name: Use base env file if it was changed
run: |
git fetch origin master
if git diff --name-only origin/master | grep '${{ env.BASE_ENV }}'; then
git fetch origin ${{ github.event.repository.default_branch }}
if git diff --name-only origin/${{ github.event.repository.default_branch }} | grep '${{ env.BASE_ENV }}'; then
echo "Base env ${{ env.BASE_ENV }} changed. Using it instead of locked envs."
echo "env_file=${{ env.BASE_ENV }}" >> $GITHUB_ENV
else
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/update-pinned-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ jobs:
for file in envs/*.lock.yml; do
mv "$file" "${file%.yml}.yaml"
done
- name: Add SPDX headers to lock files
run: |
SPDX_HEADER="# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>\n# SPDX-License-Identifier: CC0-1.0\n"

# Add header to all generated lock files
for file in envs/*.lock.yaml; do
echo "Adding header to $file"
echo -e "$SPDX_HEADER" | cat - "$file" > temp && mv temp "$file"
done

- name: Insert environment name in lock files
run: |
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ clean-tests:
snakemake -call --configfile config/test/config.myopic.yaml --delete-all-output
snakemake -call make_summary_perfect --configfile config/test/config.perfect.yaml --delete-all-output
snakemake -call --configfile config/test/config.scenarios.yaml -n --delete-all-output
snakemake -call plot_power_networks_clustered --configfile config/test/config.tyndp.yaml --delete-all-output

# Removes all created files except for large cutout files (similar to fresh clone)
reset:
Expand Down
25 changes: 25 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version = 1
SPDX-PackageName = "PyPSA-Eur"
SPDX-PackageSupplier = "Tom Brown <t.brown@tu-berlin.de>"
SPDX-PackageDownloadLocation = "https://github.com/pypsa/pypsa-eur"

[[annotations]]
path = [
"data/**",
"doc/configtables/*",
"doc/data.csv",
"doc/img/*",
"test/test_data/*",
]
SPDX-FileCopyrightText = "The PyPSA-Eur Authors"
SPDX-License-Identifier = "CC-BY-4.0"

[[annotations]]
path = [
".github/**",
"borg-it",
"envs/*.lock.yaml",
"matplotlibrc",
]
SPDX-FileCopyrightText = "The PyPSA-Eur Authors"
SPDX-License-Identifier = "CC0-1.0"
3 changes: 2 additions & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ if config["foresight"] == "perfect":
rule all:
input:
expand(RESULTS + "graphs/costs.svg", run=config["run"]["name"]),
expand(resources("maps/power-network.pdf"), run=config["run"]["name"]),
expand(
resources("maps/power-network-s-{clusters}.pdf"),
run=config["run"]["name"],
Expand Down Expand Up @@ -202,7 +203,7 @@ rule rulegraph:
r"""
# Generate DOT file using nested snakemake with the dumped final config
echo "[Rule rulegraph] Using final config file: {input.config_file}"
snakemake --rulegraph all --configfile {input.config_file} --quiet | sed -n "/digraph/,\$p" > {output.dot}
snakemake --rulegraph --configfile {input.config_file} --quiet | sed -n "/digraph/,\$p" > {output.dot}

# Generate visualizations from the DOT file
if [ -s {output.dot} ]; then
Expand Down
9 changes: 7 additions & 2 deletions config/config.de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run
run:
prefix: 20250717_improve_transport_demand
prefix: 20250807_merge_july
name:
# - ExPol
- KN2045_Mix
Expand Down Expand Up @@ -313,6 +313,11 @@ sector:
rural: true
co2_spatial: true
biomass_spatial: true
ammonia: false
methanol:
methanol_to_power:
ocgt: false
biomass_to_methanol: false
#relax so no infeasibility in 2050 with no land transport demand
min_part_load_fischer_tropsch: 0.
regional_oil_demand: true #set to true if regional CO2 constraints needed
Expand All @@ -323,6 +328,7 @@ sector:
biogas_upgrading_cc: true
biomass_to_liquid: true
biomass_to_liquid_cc: true
electrobiofuels: false
cluster_heat_buses: true
# calculated based on ariadne "Stock|Space Heating"
# and then 2% of buildings renovated per year to reduce their demand by 80%
Expand Down Expand Up @@ -362,7 +368,6 @@ sector:

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#industry
industry:
ammonia: false
steam_biomass_fraction: 0.4
steam_hydrogen_fraction: 0.3
steam_electricity_fraction: 0.3
Expand Down
Loading
Loading