Skip to content

Prioritätensteuerung: Logging verbessert - #4045

Merged
LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:loadmanagement_prio_list
Oct 2, 2026
Merged

LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:loadmanagement_prio_list

Conversation

@LKuemmel

@LKuemmel LKuemmel commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No blocking issues were identified; the only comment is a minor regression-test suggestion.

Review effort: Lite
Findings: None

What changed in this PR

Improves priority control by filtering inactive loads centrally and deferring bidirectional charging handling until after priority processing.

Changes:

  • Exposes and applies active-load filtering in the main algorithm.
  • Skips empty priority groups.
  • Moves bidirectional charging handling outside the group loop.
  • Updates the related unit test.
File Summary
packages/​control/​algorithm/​filter_chargepoints.py Exposes active-load filtering.
packages/​control/​algorithm/​filter_chargepoints_test.py Updates the filtering test.
packages/​control/​algorithm/​algorithm.py Applies filtering and reorders bidirectional charging processing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LKuemmel
LKuemmel merged commit f6367ae into openWB:master Oct 2, 2026
1 check passed
@LKuemmel
LKuemmel deleted the loadmanagement_prio_list branch October 2, 2026 09:43
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.

2 participants