-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(optimization): re-optimize some PSTs in second preventive #924
Conversation
12ea1d5
to
4e338b2
Compare
9bb1d50
to
d999c04
Compare
1484910
to
16c3760
Compare
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.
Change your continuation indentation to 4 spaces.
Indeed, since I switched to the pro version of IntelliJ, i forgot to change it, thanks
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
5d44be0
to
06c172a
Compare
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
3afd041
to
41676d7
Compare
5661ca2
to
d411e9d
Compare
.collect(Collectors.toSet()); | ||
|
||
// If first preventive diverged, we want to remove every range action that is both preventive and auto or curative. |
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.
Why do we want to do this?
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.
If the 1st preventive diverges, I can't get any RAs setpoint for this state and therefore I can't compare taps to know if raUsageLimits are at risk.
Considering this, i chose to take no risk and remove every RA available for multiple instants.
Perhaps there's another way to do it and if so, do not hesitate to comment it
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.
That seems the safest thing to do indeed. Do you know if there is a test case that runs a full RAO with a skipped first preventive? (I'm curious what happens in that case in the rest of the algorithm)
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
Show resolved
Hide resolved
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
d411e9d
to
6e8e28e
Compare
Signed-off-by: belthlemar <[email protected]>
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Fixes #894
Other information
This PR is linked with another PR with added doc: farao-community/farao-community.github.io#117.
Every test on cucumber main branch passed.