External AC Solvers#
PowSyBl Open LoadFlow provides out-of-the box two AC Solvers:
Newton-Raphson
Newton-Krylov
Other AC solvers can be plugged into PowSyBl Open LoadFlow with the following interfaces that you would need to implement:
AcSolver
: the solver itselfAcSolverParameters
: any additional parameter that you need specifically for your solverAcSolverFactory
: Responsible for creatingAcSolver
instances andAcSolverParameters
. Provide your own implementation ofAcSolverFactory
and make it available to the Java ServiceLoader. ThegetName()
method should provide the plugin name - which can then be used in theacSolverType
Load Flow parameter
PowSyBl Open LoadFlow uses the same plugin mechanism internally. For more details you may have a look at:
NewtonRaphson
/NewtonRaphsonParameters
/NewtonRaphsonFactory
NewtonKrylov
/NewtonKrylovParameters
/NewtonKrylovFactory