-
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
Add DecomposedFlow rescaler proportional to max AC current load #156
Conversation
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Quality Gate failedFailed conditions |
Hi @caioluke, |
Welcome back, Hugo :) Yes, indeed this PR adds quite some new stuff in the rescaler. What I need is to rescale DC flows in such a way that I get the same level of current overload as in the AC case. Therefore, I compare AC current overloads to find the terminal (1 or 2) with the highest current overload, and get the associated active power to rescale DC flows. Another subtlety is that I need to calculate these rescaling AC active powers with nominal voltage - as I have done in the code. |
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 the PR !
Sorry for the delay, I had other projects to attend to...
Could you rename your PR with a less generic name ?
I know that I ask for a lot of modifications.
I do not what to do another PR to fix yours.
Feel free to ask more details about this feedback
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/DecomposedFlow.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/DecomposedFlowBuilder.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/DecomposedFlowBuilder.java
Outdated
Show resolved
Hide resolved
...n/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerMaxCurrentOverload.java
Show resolved
Hide resolved
...n/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerMaxCurrentOverload.java
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/FlowComputerUtils.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/TestUtils.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>
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>
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 changes ! I appreciate your new DecomposedFlowRescaler
API :)
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java
Outdated
Show resolved
Hide resolved
...sition/src/main/java/com/powsybl/flow_decomposition/rescaler/AbstractDecomposedRescaler.java
Outdated
Show resolved
Hide resolved
...sition/src/main/java/com/powsybl/flow_decomposition/rescaler/AbstractDecomposedRescaler.java
Outdated
Show resolved
Hide resolved
...main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerAcerMethodology.java
Outdated
Show resolved
Hide resolved
...n/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerMaxCurrentOverload.java
Outdated
Show resolved
Hide resolved
...sition/src/main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerNoOp.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerProportional.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescalerProportional.java
Outdated
Show resolved
Hide resolved
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/RescalingTests.java
Show resolved
Hide resolved
flow-decomposition/src/test/java/com/powsybl/flow_decomposition/TestUtils.java
Outdated
Show resolved
Hide resolved
Could you add a bit of documentation please ? |
…lers Signed-off-by: Caio Luke <caioluke97@gmail.com>
Signed-off-by: Caio Luke <caioluke97@gmail.com>
@OpenSuze |
flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java
Outdated
Show resolved
Hide resolved
...on/src/main/java/com/powsybl/flow_decomposition/rescaler/AbstractDecomposedFlowRescaler.java
Show resolved
Hide resolved
...ecomposition/src/test/java/com/powsybl/flow_decomposition/FlowDecompositionObserverTest.java
Outdated
Show resolved
Hide resolved
Thank you for the documentation ! I think that I am ok with the parameter name. Both rescalers have some kind of proportionality. |
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 PR !
...omposition/src/main/java/com/powsybl/flow_decomposition/rescaler/DecomposedFlowRescaler.java
Show resolved
Hide resolved
Signed-off-by: Caio Luke <caioluke97@gmail.com>
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Feature
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?