Skip to content

Commit c3d7792

Browse files
committed
Merge remote-tracking branch 'upstream/master' into merge-october-13
2 parents df36b86 + 39d924d commit c3d7792

24 files changed

+394
-246
lines changed

.github/workflows/codeql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
# Initializes the CodeQL tools for scanning.
6161
- name: Initialize CodeQL
62-
uses: github/codeql-action/init@v3
62+
uses: github/codeql-action/init@v4
6363
with:
6464
languages: ${{ matrix.language }}
6565
build-mode: ${{ matrix.build-mode }}
@@ -87,6 +87,6 @@ jobs:
8787
exit 1
8888
8989
- name: Perform CodeQL Analysis
90-
uses: github/codeql-action/analyze@v3
90+
uses: github/codeql-action/analyze@v4
9191
with:
9292
category: "/language:${{matrix.language}}"

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v5.0.0
8+
rev: v6.0.0
99
hooks:
1010
- id: check-merge-conflict
1111
- id: check-added-large-files
@@ -14,7 +14,7 @@ repos:
1414
# Run ruff to lint and format
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
1616
# Ruff version.
17-
rev: v0.12.2
17+
rev: v0.13.3
1818
hooks:
1919
# Run the linter.
2020
- id: ruff
@@ -43,11 +43,11 @@ repos:
4343
rev: v2.15.0
4444
hooks:
4545
- id: pretty-format-yaml
46-
exclude: (pinned\.yaml|\.lock\.yaml)$
46+
exclude: (\.lock\.yaml)$
4747
args: [--autofix, --indent, "2", --preserve-quotes]
4848

4949
# Format Snakemake rule / workflow files
5050
- repo: https://github.com/snakemake/snakefmt
51-
rev: v0.11.0
51+
rev: v0.11.2
5252
hooks:
5353
- id: snakefmt

config/config.default.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,12 @@ conventional:
312312
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#lines
313313
lines:
314314
types:
315+
63.: 94-AL1/15-ST1A 20.0
316+
66.: 94-AL1/15-ST1A 20.0
317+
90.: 184-AL1/30-ST1A 110.0
318+
110.: 184-AL1/30-ST1A 110.0
319+
132.: 243-AL1/39-ST1A 110.0
320+
150.: 243-AL1/39-ST1A 110.0
315321
220.: Al/St 240/40 2-bundle 220.0
316322
300.: Al/St 240/40 3-bundle 300.0
317323
330.: Al/St 240/40 3-bundle 300.0
@@ -656,9 +662,6 @@ sector:
656662
tax_weighting: false
657663
construction_index: true
658664
tes: true
659-
tes_tau:
660-
decentral: 3
661-
central: 180
662665
boilers: true
663666
resistive_heaters: true
664667
oil_boilers: false
@@ -918,7 +921,7 @@ industry:
918921
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#costs
919922
costs:
920923
year: 2050
921-
version: v0.13.2
924+
version: v0.13.3
922925
social_discountrate: 0.02
923926
fill_values:
924927
FOM: 0
@@ -929,6 +932,7 @@ costs:
929932
lifetime: 25
930933
"CO2 intensity": 0
931934
"discount rate": 0.07
935+
"standing losses": 0
932936
overwrites: {}
933937
marginal_cost:
934938
solar: 0.01
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
run:
5+
name: "distribution-grid-experimental"
6+
7+
electricity:
8+
voltages: [63., 66., 90., 110., 132., 150., 220., 300., 330., 380., 400., 500., 750.]
9+
base_network: osm-raw
10+
11+
transmission_projects:
12+
enable: false

envs/environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
- jpype1
1818

1919
# Inhouse packages
20-
- pypsa>=0.32.1
20+
- pypsa>=0.35.2
2121
- atlite>=0.3
2222
- linopy>=0.4.4
2323
- powerplantmatching>=0.5.15,<0.7 # restrict ppm until fix of https://github.com/PyPSA/powerplantmatching/issues/229

envs/linux-64.lock.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ dependencies:
6868
- ca-certificates=2025.8.3=hbd8a1cb_0
6969
- cached-property=1.5.2=hd8ed1ab_1
7070
- cached_property=1.5.2=pyha770c72_1
71+
- cachetools=4.2.4=pyhd8ed1ab_0
7172
- cairo=1.18.4=h3394656_0
7273
- cartopy=0.25.0=py312hf79963d_0
7374
- cdsapi=0.7.6=pyhd8ed1ab_0
@@ -152,8 +153,8 @@ dependencies:
152153
- gdk-pixbuf=2.42.12=h2b0a6b4_3
153154
- geographiclib=2.1=pyhd8ed1ab_0
154155
- geojson=3.2.0=pyhd8ed1ab_0
155-
- geopandas=1.1.1=pyhd8ed1ab_0
156-
- geopandas-base=1.1.1=pyha770c72_0
156+
- geopandas=1.1.1=pyhd8ed1ab_1
157+
- geopandas-base=1.1.1=pyha770c72_1
157158
- geopy=2.4.1=pyhd8ed1ab_2
158159
- geos=3.13.1=h97f6797_0
159160
- geotiff=1.7.4=h239500f_2
@@ -178,7 +179,7 @@ dependencies:
178179
- hdf4=4.2.15=h2a13503_7
179180
- hdf5=1.14.6=nompi_h6e4c0c1_103
180181
- hicolor-icon-theme=0.17=ha770c72_2
181-
- highspy=1.11.0=np20py312ha7205f5_0
182+
- highspy=1.11.0=np2py312h0f77346_1
182183
- hpack=4.1.0=pyhd8ed1ab_0
183184
- httpcore=1.0.9=pyh29332c3_0
184185
- httptools=0.6.4=py312h66e93f0_0
@@ -189,7 +190,7 @@ dependencies:
189190
- icu=75.1=he02047a_0
190191
- identify=2.6.13=pyhd8ed1ab_0
191192
- idna=3.10=pyhd8ed1ab_1
192-
- immutables=0.21=py312h66e93f0_1
193+
- immutables=0.21=py312h4c3975b_2
193194
- importlib-metadata=8.7.0=pyhe01879c_1
194195
- infinity=1.5=pyhd8ed1ab_1
195196
- iniconfig=2.0.0=pyhd8ed1ab_1
@@ -251,9 +252,10 @@ dependencies:
251252
- libcups=2.3.3=hb8b1518_5
252253
- libcurl=8.14.1=h332b0f4_0
253254
- libdeflate=1.24=h86f0d12_0
254-
- libdrm=2.4.125=hb9d3cd8_0
255+
- libdrm=2.4.125=hb03c661_1
255256
- libedit=3.1.20250104=pl5321h7949ede_0
256257
- libegl=1.7.0=ha4b6fd6_2
258+
- libegl-devel=1.7.0=ha4b6fd6_2
257259
- libev=4.33=hd590300_2
258260
- libevent=2.1.12=hf998b51_1
259261
- libexpat=2.7.1=hecca717_0
@@ -326,7 +328,7 @@ dependencies:
326328
- libxslt=1.1.43=h7a3aeb2_0
327329
- libzip=1.11.2=h6991a6a_0
328330
- libzlib=1.3.1=hb9d3cd8_2
329-
- linopy=0.5.5=pyhd8ed1ab_0
331+
- linopy=0.5.7=pyhd8ed1ab_0
330332
- locket=1.0.0=pyhd8ed1ab_0
331333
- lxml=6.0.1=py312h70dad80_0
332334
- lz4=4.4.4=py312hf0f0c11_0
@@ -359,14 +361,14 @@ dependencies:
359361
- nbformat=5.10.4=pyhd8ed1ab_1
360362
- ncurses=6.5=h2d0b736_3
361363
- nest-asyncio=1.6.0=pyhd8ed1ab_1
362-
- netcdf4=1.7.2=nompi_py312h3805cb1_102
364+
- netcdf4=1.7.2=nompi_py312hdd76c12_103
363365
- networkx=3.5=pyhe01879c_0
364-
- nlohmann_json=3.12.0=h3f2d84a_0
366+
- nlohmann_json=3.12.0=h54a6638_1
365367
- nodeenv=1.9.1=pyhd8ed1ab_1
366368
- nomkl=1.0=h5ca1d4c_0
367369
- notebook=7.4.5=pyhd8ed1ab_0
368370
- notebook-shim=0.2.4=pyhd8ed1ab_1
369-
- numexpr=2.10.2=py312h6a710ac_100
371+
- numexpr=2.13.1=py312h88efc94_101
370372
- numpy=1.26.4=py312heda63a1_0
371373
- oauthlib=3.3.1=pyhd8ed1ab_0
372374
- openjdk=23.0.2=h53dfc1b_2
@@ -416,7 +418,7 @@ dependencies:
416418
- psycopg-c=3.2.9=py312h9b58c09_1
417419
- pthread-stubs=0.4=hb9d3cd8_1002
418420
- ptyprocess=0.7.0=pyhd8ed1ab_1
419-
- pulp=2.8.0=py312hd0750ca_2
421+
- pulp=2.8.0=py312hd0750ca_3
420422
- pure_eval=0.2.3=pyhd8ed1ab_1
421423
- py-cpuinfo=9.0.0=pyhd8ed1ab_1
422424
- pyam=3.0.0=pyhd8ed1ab_1
@@ -565,7 +567,7 @@ dependencies:
565567
- virtualenv=20.34.0=pyhd8ed1ab_0
566568
- watchfiles=1.1.0=py312h12e396e_0
567569
- wayland=1.24.0=h3e06ad9_0
568-
- wcwidth=0.2.13=pyhd8ed1ab_1
570+
- wcwidth=0.2.14=pyhd8ed1ab_0
569571
- webcolors=24.11.1=pyhd8ed1ab_0
570572
- webencodings=0.5.1=pyhd8ed1ab_3
571573
- websocket-client=1.8.0=pyhd8ed1ab_1
@@ -594,21 +596,22 @@ dependencies:
594596
- xorg-libxdamage=1.1.6=hb9d3cd8_0
595597
- xorg-libxdmcp=1.1.5=hb9d3cd8_0
596598
- xorg-libxext=1.3.6=hb9d3cd8_0
597-
- xorg-libxfixes=6.0.1=hb9d3cd8_0
599+
- xorg-libxfixes=6.0.2=hb03c661_0
598600
- xorg-libxi=1.8.2=hb9d3cd8_0
599601
- xorg-libxinerama=1.1.5=h5888daf_1
600602
- xorg-libxrandr=1.5.4=hb9d3cd8_0
601603
- xorg-libxrender=0.9.12=hb9d3cd8_0
602604
- xorg-libxt=1.3.1=hb9d3cd8_0
603605
- xorg-libxtst=1.2.5=hb9d3cd8_3
604606
- xorg-libxxf86vm=1.1.6=hb9d3cd8_0
607+
- xorg-xorgproto=2024.1=hb9d3cd8_1
605608
- xyzservices=2025.4.0=pyhd8ed1ab_0
606609
- xz=5.8.1=hbcc6ac9_2
607610
- xz-gpl-tools=5.8.1=hbcc6ac9_2
608611
- xz-tools=5.8.1=hb9d3cd8_2
609612
- yaml=0.2.5=h280c20c_3
610613
- yte=1.8.1=pyha770c72_0
611-
- zeromq=4.3.5=h3b0a872_7
614+
- zeromq=4.3.5=h387f397_9
612615
- zict=3.0.0=pyhd8ed1ab_1
613616
- zipp=3.23.0=pyhd8ed1ab_0
614617
- zlib=1.3.1=hb9d3cd8_2

envs/osx-64.lock.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ dependencies:
6464
- ca-certificates=2025.8.3=hbd8a1cb_0
6565
- cached-property=1.5.2=hd8ed1ab_1
6666
- cached_property=1.5.2=pyha770c72_1
67+
- cachetools=4.2.4=pyhd8ed1ab_0
6768
- cairo=1.18.4=h950ec3b_0
6869
- cartopy=0.25.0=py312hbf2c5ff_0
6970
- cdsapi=0.7.6=pyhd8ed1ab_0
@@ -136,16 +137,16 @@ dependencies:
136137
- fonts-conda-forge=1=0
137138
- fonttools=4.59.2=py312h3d55d04_0
138139
- fqdn=1.5.1=pyhd8ed1ab_1
139-
- freetype=2.13.3=h694c41f_1
140+
- freetype=2.14.1=h694c41f_0
140141
- freexl=2.0.0=h3183152_2
141142
- fribidi=1.0.10=hbcb3906_0
142143
- fsspec=2025.7.0=pyhd8ed1ab_0
143144
- furl=2.1.4=pyhd8ed1ab_0
144145
- gdk-pixbuf=2.42.12=h5720e38_3
145146
- geographiclib=2.1=pyhd8ed1ab_0
146147
- geojson=3.2.0=pyhd8ed1ab_0
147-
- geopandas=1.1.1=pyhd8ed1ab_0
148-
- geopandas-base=1.1.1=pyha770c72_0
148+
- geopandas=1.1.1=pyhd8ed1ab_1
149+
- geopandas-base=1.1.1=pyha770c72_1
149150
- geopy=2.4.1=pyhd8ed1ab_2
150151
- geos=3.13.1=h502464c_0
151152
- geotiff=1.7.4=h88234f0_2
@@ -170,7 +171,7 @@ dependencies:
170171
- hdf4=4.2.15=h8138101_7
171172
- hdf5=1.14.6=nompi_hc8237f9_103
172173
- hicolor-icon-theme=0.17=h694c41f_2
173-
- highspy=1.11.0=np20py312h17ae09a_0
174+
- highspy=1.11.0=np2py312hf586766_1
174175
- hpack=4.1.0=pyhd8ed1ab_0
175176
- httpcore=1.0.9=pyh29332c3_0
176177
- httptools=0.6.4=py312h01d7ebd_0
@@ -181,7 +182,7 @@ dependencies:
181182
- icu=75.1=h120a0e1_0
182183
- identify=2.6.13=pyhd8ed1ab_0
183184
- idna=3.10=pyhd8ed1ab_1
184-
- immutables=0.21=py312h01d7ebd_1
185+
- immutables=0.21=py312h2f459f6_2
185186
- importlib-metadata=8.7.0=pyhe01879c_1
186187
- infinity=1.5=pyhd8ed1ab_1
187188
- iniconfig=2.0.0=pyhd8ed1ab_1
@@ -244,8 +245,8 @@ dependencies:
244245
- libevent=2.1.12=ha90c15b_1
245246
- libexpat=2.7.1=h21dd04a_0
246247
- libffi=3.4.6=h281671d_1
247-
- libfreetype=2.13.3=h694c41f_1
248-
- libfreetype6=2.13.3=h40dfd5c_1
248+
- libfreetype=2.14.1=h694c41f_0
249+
- libfreetype6=2.14.1=h6912278_0
249250
- libgd=2.3.3=h8555400_11
250251
- libgdal-core=3.10.3=h55ca5b3_13
251252
- libgdal-hdf4=3.10.3=h8901399_13
@@ -327,13 +328,13 @@ dependencies:
327328
- nbformat=5.10.4=pyhd8ed1ab_1
328329
- ncurses=6.5=h0622a9a_3
329330
- nest-asyncio=1.6.0=pyhd8ed1ab_1
330-
- netcdf4=1.7.2=nompi_py312ha2a03d4_102
331+
- netcdf4=1.7.2=nompi_py312h5646c37_103
331332
- networkx=3.5=pyhe01879c_0
332-
- nlohmann_json=3.12.0=h92383a6_0
333+
- nlohmann_json=3.12.0=h53ec75d_1
333334
- nodeenv=1.9.1=pyhd8ed1ab_1
334335
- notebook=7.4.5=pyhd8ed1ab_0
335336
- notebook-shim=0.2.4=pyhd8ed1ab_1
336-
- numexpr=2.10.2=py312ha51eba0_0
337+
- numexpr=2.13.1=py312hd12f69b_1
337338
- numpy=1.26.4=py312he3a82b2_0
338339
- oauthlib=3.3.1=pyhd8ed1ab_0
339340
- openjdk=23.0.2=h18c9476_2
@@ -383,7 +384,7 @@ dependencies:
383384
- psycopg-c=3.2.9=py312h6ad4387_1
384385
- pthread-stubs=0.4=h00291cd_1002
385386
- ptyprocess=0.7.0=pyhd8ed1ab_1
386-
- pulp=2.8.0=py312hda2ad9a_2
387+
- pulp=2.8.0=py312hda2ad9a_3
387388
- pure_eval=0.2.3=pyhd8ed1ab_1
388389
- py-cpuinfo=9.0.0=pyhd8ed1ab_1
389390
- pyam=3.0.0=pyhd8ed1ab_1
@@ -548,7 +549,7 @@ dependencies:
548549
- xyzservices=2025.4.0=pyhd8ed1ab_0
549550
- yaml=0.2.5=h4132b18_3
550551
- yte=1.8.1=pyha770c72_0
551-
- zeromq=4.3.5=h7130eaa_7
552+
- zeromq=4.3.5=h6c33b1e_9
552553
- zict=3.0.0=pyhd8ed1ab_1
553554
- zipp=3.23.0=pyhd8ed1ab_0
554555
- zlib=1.3.1=hd23fc13_2

0 commit comments

Comments
 (0)