Skip to content

fix: use common consistency meth to prevent false warnings when addin…#1413

Merged
lkstrp merged 2 commits intoPyPSA:masterfrom
lkstrp:fix-glob-const-add
Oct 20, 2025
Merged

fix: use common consistency meth to prevent false warnings when addin…#1413
lkstrp merged 2 commits intoPyPSA:masterfrom
lkstrp:fix-glob-const-add

Conversation

@lkstrp
Copy link
Copy Markdown
Member

@lkstrp lkstrp commented Oct 20, 2025

Changes proposed in this Pull Request

Adding a GlobalConstraint raised a warning for an unknown bus. This is because #1250 introduced the so far undocumented attribute bus.

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in docs.
  • Unit tests for new features were added (if applicable).
  • A note for the release notes docs/release-notes.md of the upcoming release is included.
  • I consent to the release of this PR's code under the MIT license.

@lkstrp lkstrp enabled auto-merge (squash) October 20, 2025 07:33
@lkstrp lkstrp disabled auto-merge October 20, 2025 07:36
@lkstrp lkstrp merged commit 91871ce into PyPSA:master Oct 20, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant