-
Notifications
You must be signed in to change notification settings - Fork 43
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
Limit reduction API #2760
Limit reduction API #2760
Conversation
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…ction considered Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…on API Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Quality Gate failedFailed conditions 57.6% Coverage on New Code (required ≥ 80%) See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
…nit tests Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
This reverts commit 165e67d. Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
...analysis-api/src/main/java/com/powsybl/security/limitreduction/LimitReductionDefinition.java
Outdated
Show resolved
Hide resolved
...analysis-api/src/main/java/com/powsybl/security/limitreduction/LimitReductionDefinition.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
…f a list Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
…criteria Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
…mitReductionDefinition Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
… powsybl-action-dsl module and in LimitViolation) Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
…terion boundaries and NetworkElement fields Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
} | ||
|
||
@Override | ||
public boolean isValidFor(NetworkElementCriterionType type) { |
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.
I am not sure to understand what the method isValidFor
is used for.
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.
Thanks for this huge work, looks good to me. I will test it on powsybl-open-loadflow as soon as possible.
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Quality Gate passedIssues Measures |
- Limit reduction generic criteria - Add limit reductions in security analysis API Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com> Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
#2751 : Limit Reduction Definition classes + (de)serialization
The computation of the reduced limits will be in another PR.
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)
SecurityAnalysisProvider.run(…)
now takes an additional parameter:List<LimitReduction> limitReductions
. You need to add this parameter to your ownSecurityAnalysisProvider
implementations.Other information: