public class YMatrixSolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BaseAclfNetwork<?,?> |
aclfNet |
Constructor and Description |
---|
YMatrixSolver(BaseAclfNetwork<?,?> net)
constructor
|
Modifier and Type | Method and Description |
---|---|
ISparseEqnComplex[] |
formYMatrixSet(boolean mPartOnly,
java.util.function.Predicate<BaseAclfBus<?,?>> predicate)
Form Y-matrix set [Ymm, Ymn, Ynm, Ynn], where, Ymm includes those buses that predicate.test(bus) is true.
|
void |
setYMatrixDirty()
set Y matrix dirty
|
protected BaseAclfNetwork<?,?> aclfNet
public YMatrixSolver(BaseAclfNetwork<?,?> net)
net
- public void setYMatrixDirty()
public ISparseEqnComplex[] formYMatrixSet(boolean mPartOnly, java.util.function.Predicate<BaseAclfBus<?,?>> predicate)
mPartOnly
- if true, only form the m-part [Ymm, Ymn]predicate
- predicate for testing buses in the m-set