Refactor connectivity break analysis to add connectivity loss impact of the contingencies#1192
Merged
vidaldid-rte merged 29 commits intomainfrom Apr 7, 2025
Merged
Conversation
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Hadrien-Godard
previously approved these changes
Mar 5, 2025
vidaldid-rte
reviewed
Mar 6, 2025
vidaldid-rte
reviewed
Mar 7, 2025
vidaldid-rte
reviewed
Mar 7, 2025
vidaldid-rte
reviewed
Mar 7, 2025
vidaldid-rte
reviewed
Mar 7, 2025
vidaldid-rte
reviewed
Mar 7, 2025
vidaldid-rte
requested changes
Mar 7, 2025
Collaborator
vidaldid-rte
left a comment
There was a problem hiding this comment.
Promising refactoring.
I think their is however a bug with HVDC loss detection (see coments).
Some other comments.
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
…connectivity-break-analysis
Signed-off-by: Hadrien <hadrien.godard@artelys.com>
…Results Signed-off-by: Hadrien <hadrien.godard@artelys.com>
…s both ends separated by a contingency Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
…he robot's judgement Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
…y-break-analysis' into connectivity-loss-in-connectivity-break-analysis
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
8 tasks
6 tasks
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
…-break-analysis # Conflicts: # src/main/java/com/powsybl/openloadflow/sa/WoodburyDcSecurityAnalysis.java # src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisTest.java
|
vidaldid-rte
approved these changes
Apr 7, 2025
Hadrien-Godard
approved these changes
Apr 7, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No, but the development is based on the collaborative work of #1169 , aiming to improve the performance of the fast DC SA.
Note that this PR does not directly improve the performance of the fast DC SA but lays the groundwork for it while also improving code quality.
What kind of change does this PR introduce?
The connectivity loss calculation is directly integrated in the class
ConnectivityBreakAnalysis, allowing to:WoodburyDcSecurityAnalysis;Does this PR introduce a new Powsybl Action implying to be implemented in simulators or pypowsybl?
What is the current behavior?
Connectivity results are redundantly obtained in the
WoodburyDcSecurityAnalysisclass. When theLfContingencyobject is computed for each contingency (as the SA progresses), theContingencyConnectivityLossImpactis calculated through a connectivity analysis.What is the new behavior (if this is a feature change)?
The connectivity results (
ContingencyConnectivityLossImpact) are integrated in theConnectivityBreakAnalysis.This approach allows the use of post-contingency connectivity to determine HVDC lines that end up without power, thus aligning the results of the fast DC SA with those of an equivalent load flow (where contingencies were applied manually).
Additionally, since
ConnectivityAnalysisResultobjects are used for both cases where a contingency either breaks connectivity or not, there is no longer a need to differentiate between these cases using separate method calls to compute the post-contingency state vector.Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information: