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 creatingAcSolverinstances andAcSolverParameters. Provide your own implementation ofAcSolverFactoryand make it available to the Java ServiceLoader. ThegetName()method should provide the plugin name - which can then be used in theacSolverTypeLoad Flow parameter
PowSyBl Open LoadFlow uses the same plugin mechanism internally. For more details you may have a look at:
NewtonRaphson/NewtonRaphsonParameters/NewtonRaphsonFactoryNewtonKrylov/NewtonKrylovParameters/NewtonKrylovFactory