-
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
ContingencyLoadFlowParameters extension support in Security Analysis #1156
base: main
Are you sure you want to change the base?
Conversation
5d88652
to
1a417ae
Compare
69d7eff
to
b59bda3
Compare
b59bda3
to
0f157c9
Compare
69fe35c
to
5a6aa8d
Compare
0f157c9
to
6229d23
Compare
3b552cf
to
2ed030b
Compare
6229d23
to
3cf9f83
Compare
2ed030b
to
aefec28
Compare
3cf9f83
to
2bdbabc
Compare
2bdbabc
to
2b17067
Compare
src/main/java/com/powsybl/openloadflow/sa/AbstractSecurityAnalysis.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/sa/AbstractSecurityAnalysis.java
Outdated
Show resolved
Hide resolved
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.
Thank you, I did some cleanup: you forgot to use the AbstractSecurityAnalysis
/ AcSecurityAnalysis
/ DcSecurityAnalysis
inheritance, making this simpler imho.
But there is some more work needed about outerloop reconfiguration, I wrote a suggestion, let me know what you think.
src/main/java/com/powsybl/openloadflow/sa/AcSecurityAnalysis.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/sa/DcSecurityAnalysis.java
Outdated
Show resolved
Hide resolved
src/test/java/com/powsybl/openloadflow/network/impl/LfNetworkLoaderImplTest.java
Show resolved
Hide resolved
46fcfc0
to
9ad5082
Compare
3f42c3a
to
b3017c9
Compare
b3017c9
to
2251959
Compare
…n to add) Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
2251959
to
3e6e387
Compare
Quality Gate passedIssues Measures |
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.
now that you are using OuterLoopConfig-s for contingency load flow parameters, this file can be left unmodified.
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.
now that you are using OuterLoopConfig-s for contingency load flow parameters, this file can be left unmodified.
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.
now that you are using OuterLoopConfig-s for contingency load flow parameters, this file can be left unmodified.
static List<AcOuterLoop> filterInconsistentOuterLoops(List<AcOuterLoop> outerLoops) { | ||
public static List<AcOuterLoop> filterInconsistentOuterLoops(List<AcOuterLoop> outerLoops) { |
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.
now that you are using OuterLoopConfig-s for contingency load flow parameters, this method can be left package-private
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.
mention this new parameter also in the PR description
@@ -25,6 +26,8 @@ public class ContingencyLoadFlowParameters extends AbstractExtension<Contingency | |||
|
|||
private LoadFlowParameters.BalanceType balanceType; | |||
|
|||
private List<String> outerLoopNames; |
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.
must be handled also in ContingencyLoadFlowParametersJsonSerializer
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Final part of #1091
Since AIC can be activated only for a contingency, LfNetWorkLoader now needs to always converts the areas.
What is the new behavior (if this is a feature change)?
Uses the class ContingencyLoadFlowParameters created in #1139 in SA calculations
Final part of the work on #1091
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: