Skip to content

Implemented LMP based partitioning#36

Open
BenjaminStoeckl wants to merge 11 commits into
mainfrom
feature/LMP_based_partitioning
Open

Implemented LMP based partitioning#36
BenjaminStoeckl wants to merge 11 commits into
mainfrom
feature/LMP_based_partitioning

Conversation

@BenjaminStoeckl

@BenjaminStoeckl BenjaminStoeckl commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Added the functionality of partition based on locational marginal prices. The lmps currently get clustered by a hierarchical clustering algorithm with connectivity of nodes enforced.

Changes

  • Added new partition strategy LMPPartitioning
  • Added tests for the new partitioning strategy

Testing

Describe how you tested your changes.

  • All tests pass: pytest
  • Code is formatted: ruff format .
  • No linting errors: ruff check .
  • Documentation updated (if applicable)

Related Issues

Closes # Partitioning Strategy based on Locational Marginal Prices

@codecov

codecov Bot commented Apr 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.77551% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
npap/partitioning/locational_marginal_price.py 88.42% 7 Missing and 4 partials ⚠️

📢 Thoughts on this report? Let us know!

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