Skip to content

Scenarios 2026#174

Draft
lindnemi wants to merge 54 commits intomainfrom
scenarios-2026
Draft

Scenarios 2026#174
lindnemi wants to merge 54 commits intomainfrom
scenarios-2026

Conversation

@lindnemi
Copy link
Copy Markdown
Collaborator

Before asking for a review for this PR make sure to complete the following checklist:

  • Workflow with target rule ariadne_all completes without errors
  • The logic of export_ariadne_variables has been adapted to the changes
  • One or several figures that validate the changes in the PR have been posted as a comment
  • A brief description of the changes has been added to Changelog.md
  • The latest main has been merged into the PR
  • The config has a new prefix of the format YYYYMMDDdescriptive_title

brynpickering and others added 30 commits February 20, 2026 14:46
…087)

* Allow overwriting docs URL; select correct default config in test

* Minor fixes

* Generalise pre-commit config file exclusion
* Link release badge to documentation

I already caught myself several times clicking the release badge and expecting to get to the docs of that version. Now it should work

* Link to stable instead of specific relewase

* update release badge link; move docs badge
* fix: lower the lower bound for power grouping years

* doc: add release note
* refactor: use scripts path provider

* doc: add release note

---------

Co-authored-by: Lukas Trippe <lkstrp@pm.me>
* feat: set up pypsa-bot

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* trigger env change

* another one

* now authorized

* [pypsa-bot] update sync-locks

- `pixi run sync-locks`

* trigger

* [pypsa-bot] update sync-locks

- `pixi run sync-locks`

* test config schema trigger

* [pypsa-bot] update sync-locks & generate-config

- `pixi run sync-locks`
- `pixi run generate-config`

* test full new deps solve

* [pypsa-bot] update sync-locks & generate-config

- `pixi run sync-locks`
- `pixi run generate-config`

* Revert "test config schema trigger"

This reverts commit 7e6eb23fae742ac818f3671e8f9f044ffd3b7694.

* Revert "test full new deps solve"

This reverts commit 11d16bc9b7f7ed60a0a4e79f83974aa8c2ef706e.

* [pypsa-bot] update sync-locks

- `pixi run sync-locks`

* empty trigger after fix

* [pypsa-bot] run `sync-locks` & `generate-config`

- `pixi run sync-locks`
- `pixi run generate-config`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pypsa[bot] <994572+pypsa[bot]@users.noreply.github.com>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
* switch to latest version of nitrogen statistics

* update industry reference year

* add release note

* add to archive

* [pypsa-bot] run `generate-config`

- `pixi run generate-config`

* increment index years

---------

Co-authored-by: lkstrp <lkstrp@pm.me>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
* Update locked environment files for all platforms

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

---------

Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
… (#2106)

Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…114)

Bumps the github-actions group with 1 update: [docker/login-action](https://github.com/docker/login-action).


Updates `docker/login-action` from 3 to 4
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The current line is trying to install a package with the filename.  So, we need to use --file, not -f parameter.
Bumps the github-actions group with 1 update: [dorny/paths-filter](https://github.com/dorny/paths-filter).


Updates `dorny/paths-filter` from 3 to 4
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](dorny/paths-filter@v3...v4)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* doc: update the PR template

* Apply suggestions from code review

Co-authored-by: Lukas Trippe <lkstrp@pm.me>

* Update .github/pull_request_template.md

Co-authored-by: Lukas Trippe <lkstrp@pm.me>

---------

Co-authored-by: Lukas Trippe <lkstrp@pm.me>
Bugfixing the post discretization.
"enable": True leads to error in `n.optimize.optimize_transmission_expansion_iteratively`

Co-authored-by: Lukas Trippe <lkstrp@pm.me>
* Update locked environment files for all platforms

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

---------

Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
Bumps the github-actions group with 1 update: [actions/create-github-app-token](https://github.com/actions/create-github-app-token).


Updates `actions/create-github-app-token` from 2 to 3
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](actions/create-github-app-token@v2...v3)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nks (#2105)

* feat: add carrier specific load shedding and costs

* feat: add option for load sinks analogue to load shedding

* doc: add release note

* refactor: rename to all_carriers and default_cost options

* fix: fix reference to cost instead of price
* ci: validation runs via pypsa-app

* trigger

* chore: add smkmt logger (optional)

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

* trigger

* trigger

* trigger

---------

Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
…ibility (#2115)

* fix: clamp s/p_nom_max in brownfield to prevent floating-point infeasibility

When brownfield carries forward s_nom_opt from a previous horizon as
s_nom_min, solver floating-point tolerance can make s_nom_min exceed
s_nom_max by a tiny amount (e.g., 0.00013 MW on a 33,585 MW line).
This creates an infeasible constraint that crashes the solver.

Extends the fix from PRs #840 and #952 (which handle global transmission
constraints) to also cover per-line s_nom_max and DC link p_nom_max.

* fix: clip H2/gas retrofit remaining capacity to non-negative

When barrier solutions without crossover produce slightly imprecise
p_nom_opt values, the already-retrofitted H2 pipeline capacity can
marginally exceed the original pipe capacity. This makes
remaining_capacity negative, setting p_nom_max < p_nom_min = 0,
which causes infeasibility at the next planning horizon.

Observed on 115-cluster myopic runs with BarConvTol=1e-4:
  H2 pipeline retrofitted ES2 7 -> FR2 1: p_nom_max = -0.000649 MW
  H2 pipeline retrofitted GB1 3 -> GB1 7: p_nom_max = -0.000169 MW

Apply the same clip(lower=0) pattern used for AC lines and DC links.

---------

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
Co-authored-by: Lukas Trippe <lkstrp@pm.me>
…2130)

* ci: exclude packages newer than 7 days in lockfile update workflow

* add comment

* docs: add release note
The explicit client.shutdown() call can fail with a TimeoutError when
Dask worker processes don't exit within the nanny timeout on shared
filesystems (e.g. BeeGFS), converting a completed run into a false
Snakemake failure. Both output files are written before the shutdown
call, so the failure only affects cleanup.

The other Dask-using scripts in the repo (build_hac_features,
build_line_rating, build_daily_heat_demand) rely on process exit for
cleanup and do not call client.shutdown().
…#2132)

Bumps the github-actions group with 1 update: [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi).


Updates `prefix-dev/setup-pixi` from 0.9.4 to 0.9.5
- [Release notes](https://github.com/prefix-dev/setup-pixi/releases)
- [Commits](prefix-dev/setup-pixi@v0.9.4...v0.9.5)

---
updated-dependencies:
- dependency-name: prefix-dev/setup-pixi
  dependency-version: 0.9.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* perf: use auto chunks and a single dask thread

* Update config.default.yaml

* [pypsa-bot] run `generate-config`

- `pixi run generate-config`

* Update release_notes.rst

---------

Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](astral-sh/ruff-pre-commit@v0.14.10...v0.15.9)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.15.0 → v2.16.0](macisamuele/language-formatters-pre-commit-hooks@v2.15.0...v2.16.0)
- [github.com/snakemake/snakefmt: v0.11.2 → v1.0.0](snakemake/snakefmt@v0.11.2...v1.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: pre-commit

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lkstrp <lkstrp@pm.me>
coroa and others added 13 commits April 14, 2026 11:49
* fix: blacklist atlite 0.5.0

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

---------

Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
* Update locked environment files for all platforms

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

* update lock files

* ci: ignore deps cooldown for internal packages

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

* [pypsa-bot] run `sync-locks`

- `pixi run sync-locks`

---------

Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
Co-authored-by: lkstrp <lkstrp@pm.me>
* feat: improve config validator for scenario management

* doc: add release note
@lindnemi lindnemi marked this pull request as draft April 27, 2026 12:27
lindnemi and others added 10 commits April 28, 2026 09:08
…d utility scale (#2088)

* Heuristically split existing solar capacities 50:50 between rootop and utility scale

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pypsa-bot] run `sync-locks` & `generate-config`

- `pixi run sync-locks`
- `pixi run generate-config`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants