-
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
Contingency Load Flow parameters extension #1139
base: feature/refactor-outer-loops
Are you sure you want to change the base?
Contingency Load Flow parameters extension #1139
Conversation
09be168
to
dec6e7c
Compare
src/main/java/com/powsybl/openloadflow/sa/ContingencyParameters.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.
move to a new package com.powsybl.openloadflow.sa.extensions
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.
moved in 5a6aa8d
src/main/java/com/powsybl/openloadflow/sa/ContingencyParameters.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.
move to a new package com.powsybl.openloadflow.sa.extensions
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.
moved in 5a6aa8d
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.
move the new tests to subpackage com.powsybl.openloadflow.sa.extensions
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.
moved in 5a6aa8d
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.
not sure this class is really useful, just put this code inside the test, also the naming is confusing, JsonSerializer
is generic but we can see it is tailored to ContingencyJsonModule
. Have a look how it is done in ContingencyJsonTest
in powsybl-core.
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.
moved in 5a6aa8d
src/main/java/com/powsybl/openloadflow/sa/ContingencyParametersJsonSerializer.java
Outdated
Show resolved
Hide resolved
src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisProviderTest.java
Outdated
Show resolved
Hide resolved
d47e484
to
69fe35c
Compare
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>
69fe35c
to
5a6aa8d
Compare
src/main/java/com/powsybl/openloadflow/sa/extensions/ContingencyLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
...java/com/powsybl/openloadflow/sa/extensions/ContingencyLoadFlowParametersJsonSerializer.java
Show resolved
Hide resolved
...java/com/powsybl/openloadflow/sa/extensions/ContingencyLoadFlowParametersJsonSerializer.java
Show resolved
Hide resolved
...java/com/powsybl/openloadflow/sa/extensions/ContingencyLoadFlowParametersJsonSerializer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Creates the class needed for #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: