-
Notifications
You must be signed in to change notification settings - Fork 8
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
Newton raphson new stopping criteria #699
Conversation
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/CustomNewtonRaphsonStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/CustomNewtonRaphsonStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/CustomNewtonRaphsonStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/NewtonRaphsonStoppingCriteriaType.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/CustomNewtonRaphsonStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/CustomNewtonRaphsonStoppingCriteria.java
Outdated
Show resolved
Hide resolved
I do not understand what exactly is here the criterion |
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
Hi Ankur, in current main branch, the criterion is to have a norm 2 difference between target vector and equations evaluation under a threshold (10^-4) by default. |
4207797
to
1d90dd8
Compare
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…ire an EquationSystem to call the method Test() Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…pingCriteria Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…new implemented class NewtonRaphsonStoppingCriteria Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…present a constant value. Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…CriteriaType Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
… better trace in log in case of error Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…onRaphsonStoppingCriteria.java Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Bertrand Rix <bertrand.rix@artelys.com>
…age mismatch Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…he pull request Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…opping criteria Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Bertrand Rix <bertrand.rix@artelys.com>
03aa6ce
to
96d63ae
Compare
…ratio and susceptance. Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…hsonCriteria. Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
src/main/java/com/powsybl/openloadflow/ac/nr/NewtonRaphsonStoppingCriteriaType.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/NewtonRaphsonStoppingCriteriaType.java
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/PerEquationTypeStoppingCriteria.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/ac/nr/LineSearchStateVectorScaling.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…tions Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…ate" to "create" for better uniformity Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…tch value. Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…s for new parameter newtonraphson stopping criteria type Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
# Conflicts: # src/main/java/com/powsybl/openloadflow/OpenLoadFlowParameters.java # src/test/java/com/powsybl/openloadflow/OpenLoadFlowProviderTest.java
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
…hanged tests accordingly Signed-off-by: Alexandre Le Jean <alexandre.le-jean@artelys.com>
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature: add a new Newton-Raphson convergence criteria for OPLF.
What is the current behavior? (You can also link to an open issue here)
Only one Newton-Raphson convergence criteria that is hardcoded using mismatch vector norm
What is the new behavior (if this is a feature change)?
A new Newton-Raphson convergence criteria that different value based on the unit for Voltage, Active Power, Reactive Power.
Does this PR introduce a breaking change or deprecate an API? If yes, check the following: