Class DefaultNewtonRaphsonStoppingCriteria
java.lang.Object
com.powsybl.openloadflow.ac.solver.DefaultNewtonRaphsonStoppingCriteria
- All Implemented Interfaces:
NewtonRaphsonStoppingCriteria
public class DefaultNewtonRaphsonStoppingCriteria
extends Object
implements NewtonRaphsonStoppingCriteria
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.ac.solver.NewtonRaphsonStoppingCriteria
NewtonRaphsonStoppingCriteria.TestResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Convergence epsilon per equation: 10^-4 in p.u => 10^-2 in Kv, Mw or MVar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontest
(double[] fx, EquationSystem<AcVariableType, AcEquationType> equationSystem)
-
Field Details
-
DEFAULT_CONV_EPS_PER_EQ
public static final double DEFAULT_CONV_EPS_PER_EQConvergence epsilon per equation: 10^-4 in p.u => 10^-2 in Kv, Mw or MVar
-
-
Constructor Details
-
DefaultNewtonRaphsonStoppingCriteria
public DefaultNewtonRaphsonStoppingCriteria() -
DefaultNewtonRaphsonStoppingCriteria
public DefaultNewtonRaphsonStoppingCriteria(double convEpsPerEq)
-
-
Method Details
-
test
public NewtonRaphsonStoppingCriteria.TestResult test(double[] fx, EquationSystem<AcVariableType, AcEquationType> equationSystem) - Specified by:
test
in interfaceNewtonRaphsonStoppingCriteria
-