| Modifier and Type | Field and Description |
|---|---|
double |
MinScaleFactor |
boolean |
StopAtNoSolutionFound |
| Constructor and Description |
|---|
DefaultNrSolver()
default constructor
|
DefaultNrSolver(BaseAclfNetwork<?,?> aclfNet)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
ISparseEqnMatrix2x2 |
formJMatrix()
form J-matrix.
|
void |
setAclfNet(BaseAclfNetwork<?,?> aclfNet)
set the containing AclfNet object.
|
void |
setPowerMismatch(ISparseEqnMatrix2x2 lfEqn)
set the power mismatch to the right-hand side of the eqn [A][x] = [B]
set AclfNet object bus mismatch to the [B] vector of the Sparse Eqn
|
void |
updateBusVoltage(ISparseEqnMatrix2x2 lfEqn)
After solving the eqn [A][x] = [B], [x] is stored in [B].
|
void |
updateBusVoltage(ISparseEqnMatrix2x2 lfEqn,
double scaleFactor) |
boolean |
updateBusVoltageNonDivergent(ISparseEqnMatrix2x2 lfEqn,
double tolerance)
After solving the eqn [A][x] = [B], [x] is stored in [B].
|
public double MinScaleFactor
public boolean StopAtNoSolutionFound
public DefaultNrSolver()
public DefaultNrSolver(BaseAclfNetwork<?,?> aclfNet)
aclfNet - public void setAclfNet(BaseAclfNetwork<?,?> aclfNet)
INrSolversetAclfNet in interface INrSolverpublic ISparseEqnMatrix2x2 formJMatrix()
INrSolverformJMatrix in interface INrSolverpublic void setPowerMismatch(ISparseEqnMatrix2x2 lfEqn)
INrSolversetPowerMismatch in interface INrSolverpublic void updateBusVoltage(ISparseEqnMatrix2x2 lfEqn)
INrSolverupdateBusVoltage in interface INrSolverpublic void updateBusVoltage(ISparseEqnMatrix2x2 lfEqn, double scaleFactor)
updateBusVoltage in interface INrSolverpublic boolean updateBusVoltageNonDivergent(ISparseEqnMatrix2x2 lfEqn, double tolerance)
INrSolverupdateBusVoltageNonDivergent in interface INrSolver