-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle slack distribution failure behavior in DC Load Flow #1146
Merged
vidaldid-rte
merged 17 commits into
main
from
dc_slack_distribution_failure_behavior_fail
Dec 12, 2024
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
fbd9f27
Fix regression slack distribution reports
jeandemanged f35fdba
Merge branch 'main' into fix-active-power-distribution-reports
jeandemanged 5f3a3f4
add tests
jeandemanged a28ad35
add log
jeandemanged 3b5deda
renaming
jeandemanged 6ef56f1
Added handling of slack distribution failure behavior fail in DcLoadF…
SylvestreSakti 95188d4
FAIL behavior
SylvestreSakti b7d953f
Moved slack distribution check to first distribution
SylvestreSakti 0663e9c
Checkstyle
SylvestreSakti 0d1e802
Added DC loadflow test
SylvestreSakti 98f1394
checkstyle
SylvestreSakti 20aa8ee
Move code in separated method
SylvestreSakti 30b29e8
try finalize
jeandemanged dac55c1
add test on reports
jeandemanged 5331ad0
Merge branch 'refs/heads/main' into dc_slack_distribution_failure_beh…
jeandemanged 86484d5
parametrized test
jeandemanged d16ed45
Merge branch 'main' into dc_slack_distribution_failure_behavior_fail
vidaldid-rte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use the
distributeSlack()
method to avoid duplication ? The output of distributeSlack() is not used anywhere else (in WoodburyEngine the method is called without using its output) so it can be changed to return theresult
variableThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I inlined it to avoid a double-call to getActivePowerMismatch, indeed we should perhaps move distributeSlack() to Woodbury, and create an issue about usage of slack distribution failure behavior in Woodbury engine