public class DefaultMultiNetLfSolver extends java.lang.Object implements IMultiNetLfSolver
copyright| Constructor and Description |
|---|
DefaultMultiNetLfSolver()
default constructor
|
DefaultMultiNetLfSolver(LoadflowAlgorithm algo)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
releaseResource()
release resource after completing LF run, if necessary
|
void |
setAclfAlgorithm(LoadflowAlgorithm algo) |
boolean |
updateChildNetAndRunLf(boolean initStep)
update the child networks based on parent net LF results and then perform Loadflow
of all child networks.
|
org.apache.commons.math3.complex.Complex |
updateParentNet()
update the parent network based on LF results from the child net Loadflow results.
|
public DefaultMultiNetLfSolver()
public DefaultMultiNetLfSolver(LoadflowAlgorithm algo)
algo - public void setAclfAlgorithm(LoadflowAlgorithm algo)
IMultiNetLfSolversetAclfAlgorithm in interface IMultiNetLfSolveralgo - the containing LF algorithmpublic boolean updateChildNetAndRunLf(boolean initStep)
throws InterpssException
IMultiNetLfSolverupdateChildNetAndRunLf in interface IMultiNetLfSolverinitStep - if it is the first LF run step. The child net might need to perform initializationInterpssExceptionpublic org.apache.commons.math3.complex.Complex updateParentNet()
throws InterpssException
IMultiNetLfSolverupdateParentNet in interface IMultiNetLfSolverInterpssExceptionpublic void releaseResource()
IMultiNetLfSolverreleaseResource in interface IMultiNetLfSolver