-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create rescale mode for flow decomposition #146
Conversation
Signed-off-by: Caio Luke <caioluke97@gmail.com>
988f2ff
to
2d9cf28
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.
Thank you for your PR !
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowsRescaler.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowsRescaler.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlow.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowComputerUtils.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlow.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
@OpenSuze the tolerance test for the DecomposedFlowRescalerProportional (my rescaler) is still missing. But you can already have a look at the other modifications :) Update: all good now! |
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
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.
Thank you for your work !
Note: As we changed some flow decomposition parameters, there might be some changes to do on the pypowsybl side, I can have a look at it
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlow.java
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowBuilder.java
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlow.java
Outdated
Show resolved
Hide resolved
...tion/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowRescalerAcerMethodology.java
Outdated
Show resolved
Hide resolved
...osition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowRescalerProportional.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionComputer.java
Show resolved
Hide resolved
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/TestUtils.java
Outdated
Show resolved
Hide resolved
...ecomposition/src/test/java/com/powsybl/flow_decomposition/FlowDecompositionResultsTests.java
Show resolved
Hide resolved
...ecomposition/src/test/java/com/powsybl/flow_decomposition/FlowDecompositionResultsTests.java
Show resolved
Hide resolved
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/RescalingTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/RescalingTests.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionComputer.java
Show resolved
Hide resolved
…eters, add tests Signed-off-by: Caio Luke <caioluke97@gmail.com>
@OpenSuze I created a pull request for the docs update: powsybl/powsybl.github.io#322 |
I am sorry, we forgot to remove the flow decomposition documentation from the powsybl.github.io repository. |
Signed-off-by: Caio Luke <caioluke97@gmail.com>
@OpenSuze now we should be good :) |
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.
Thank you for this PR !
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionComputer.java
Outdated
Show resolved
Hide resolved
...main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerAcerMethodology.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowBuilder.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerProportional.java
Outdated
Show resolved
Hide resolved
…nstead of switch return Signed-off-by: Caio Luke <caioluke97@gmail.com>
Quality Gate passedIssues Measures |
* Replaced rescaleEnabled with rescaleMode * Created interface and implementations for DecomposedFlowRescaler * Create builder for DecomposedFlow Signed-off-by: Caio Luke <caioluke97@gmail.com> Signed-off-by: Hugo SCHINDLER <hugo.schindler@rte-france.com>
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Feature
What is the current behavior?
Currently we can only enable/disable rescaling in flow decomposition. This feature allows to choose different modes of rescaling.
What is the new behavior (if this is a feature change)?
Instead of only turning rescaling on and off, we can know choose different rescaling methods.
Does this PR introduce a breaking change or deprecate an API?