Class PerEquationTypeStoppingCriteria
java.lang.Object
com.powsybl.openloadflow.ac.solver.PerEquationTypeStoppingCriteria
- All Implemented Interfaces:
NewtonRaphsonStoppingCriteria
public class PerEquationTypeStoppingCriteria
extends Object
implements NewtonRaphsonStoppingCriteria
- Author:
- Alexandre Le Jean <alexandre.le-jean at artelys.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.ac.solver.NewtonRaphsonStoppingCriteria
NewtonRaphsonStoppingCriteria.TestResult
-
Constructor Summary
ConstructorsConstructorDescriptionPerEquationTypeStoppingCriteria
(double maxActivePowerMismatch, double maxReactivePowerMismatch, double maxVoltageMismatch, double maxDefaultAngleMismatch, double maxDefaultRatioMismatch, double maxDefaultSusceptanceMismatch) -
Method Summary
Modifier and TypeMethodDescriptiontest
(double[] fx, EquationSystem<AcVariableType, AcEquationType> equationSystem)
-
Constructor Details
-
PerEquationTypeStoppingCriteria
public PerEquationTypeStoppingCriteria(double maxActivePowerMismatch, double maxReactivePowerMismatch, double maxVoltageMismatch, double maxDefaultAngleMismatch, double maxDefaultRatioMismatch, double maxDefaultSusceptanceMismatch)
-
-
Method Details
-
test
public NewtonRaphsonStoppingCriteria.TestResult test(double[] fx, EquationSystem<AcVariableType, AcEquationType> equationSystem) - Specified by:
test
in interfaceNewtonRaphsonStoppingCriteria
-