-
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
[WIP INTERNSHIP] Add constraints correctly on multi TimeSteps for PST #1037
base: main_jeremy
Are you sure you want to change the base?
Conversation
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
…steps Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
data/crac/crac-impl/src/main/java/com/powsybl/openrao/data/cracimpl/StandardRangeImpl.java
Show resolved
Hide resolved
@@ -0,0 +1,350 @@ | |||
///* |
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.
you can make a new branch with this new class (or uncomment it if you think it makes sense to add it in this pr)
...va/com/powsybl/openrao/searchtreerao/linearoptimisation/algorithms/BestTapFinderMultiTS.java
Show resolved
Hide resolved
@@ -112,6 +111,30 @@ public static LinearOptimizationResult optimize(IteratingLinearOptimizerMultiTSI | |||
return bestResult; | |||
} | |||
|
|||
// Add logs for this class: RaoRunner not called in order to use MIP for multi TS so logs are missing | |||
private static void logMostLimitedElementsBetweenIteration(IteratingLinearOptimizerMultiTSInput input, IteratingLinearOptimizerParameters parameters, OpenRaoLogger logger, IteratingLinearOptimizationResultImpl result) { |
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.
does this method log the margin for all cnecs?
...m/powsybl/openrao/searchtreerao/linearoptimisation/algorithms/fillers/CoreProblemFiller.java
Outdated
Show resolved
Hide resolved
return solver.makeConstraint(lb, ub, signedRangeActionVariationConstraintId(rangeAction, state)); | ||
} | ||
|
||
public OpenRaoMPConstraint addInjectionBalanceVariationConstraint(double lb, double ub, State state) { |
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.
maybe we can add an extra argument for the timestep so we can get the constraint at a later time
...bl/openrao/searchtreerao/linearoptimisation/inputs/IteratingLinearOptimizerMultiTSInput.java
Outdated
Show resolved
Hide resolved
...arch-tree-rao/src/main/java/com/powsybl/openrao/searchtreerao/timestepsrao/TimeStepsRao.java
Outdated
Show resolved
Hide resolved
...arch-tree-rao/src/main/java/com/powsybl/openrao/searchtreerao/timestepsrao/TimeStepsRao.java
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,270 @@ | |||
package com.powsybl.openrao.searchtreerao.linearoptimisation.algorithms.linearproblem; |
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.
please add author and header
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.
and rename the file/class to XXXTest
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: wangjer <[email protected]>
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?
What 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: