feature(RAO Result): convert to operator strategy#1633
Conversation
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
...sult-api/src/main/java/com/powsybl/openrao/data/raoresult/api/OperatorStrategyConverter.java
Outdated
Show resolved
Hide resolved
...sult-api/src/main/java/com/powsybl/openrao/data/raoresult/api/OperatorStrategyConverter.java
Outdated
Show resolved
Hide resolved
...sult-api/src/main/java/com/powsybl/openrao/data/raoresult/api/OperatorStrategyConverter.java
Outdated
Show resolved
Hide resolved
| } | ||
|
|
||
| default StrategiesAndActions getOperatorStrategies(Crac crac, Network network) { | ||
| return OperatorStrategyConverter.getOperatorStrategies(this, crac, network); |
There was a problem hiding this comment.
maybe let's accept once and for all that a RaoResult depends on a Crac (thus we can add a RaoResult.getCrac() method) and that a Crac depends on a Network (Crac.getNetwork())
@phiedw @Godelaine thoughts ?
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
|
❌ The last analysis has failed. |
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
…ao/data/raoresult/api/OperatorStrategyConverter.java Co-authored-by: Peter Mitri <peter.mitri@rte-france.com> Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
|
There is currently no way to serialize a Switch Pair Action because it is not part of PowSyBl core ecosystem. I see two ways of doing it:
@pet-mit do you have an opinion on this matter? I guess a key point is to know whether a switch pai is to be considered as one elementary action or two |
|
why do you need to serialize a switch pair action as one powsybl action ? |


Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
What kind of change does this PR introduce?
Allow to convert a RAO Result to a list of Operator Strategies and Actions to easily run a security analysis based on the outputs of the RAO.
Simply run
RaoResult::getOperatorStrategiesWhat is the current behavior?
What is the new behavior (if this is a feature change)?
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: