public class SubNetworkPos extends BaseSubNetwork<AclfBus,AclfBranch,AclfNetwork,ISparseEqnComplex,org.apache.commons.math3.complex.Complex[][],org.apache.commons.math3.complex.Complex>
subNetbusVoltageMap| Constructor and Description |
|---|
SubNetworkPos(int flag)
default constructor
|
SubNetworkPos(int flag,
java.lang.String[] ids)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildSubNet(AclfNetwork parentNet,
int subNetFlag)
After the sub-area info have been defined, build the sub-net object from
the parent network object.
|
AclfNetwork |
createSubNetwork(int subNetFlag)
create the sub-network object
|
void |
formYMatrix()
form the Y-matrix for the SubNetwork
|
getSubNet, toStringgetBusVoltage, getFlag, getInterfaceBusIdList, getYSparseEqn, getZMatrix, setFlag, setYSparseEqn, setZMatrixpublic SubNetworkPos(int flag)
flag - public SubNetworkPos(int flag,
java.lang.String[] ids)
flag - ids - public AclfNetwork createSubNetwork(int subNetFlag)
BaseSubNetworkcreateSubNetwork in class BaseSubNetwork<AclfBus,AclfBranch,AclfNetwork,ISparseEqnComplex,org.apache.commons.math3.complex.Complex[][],org.apache.commons.math3.complex.Complex>public void buildSubNet(AclfNetwork parentNet, int subNetFlag) throws InterpssException
BaseSubNetworkIn this method, only Bus and Branch objected are "moved" from the parent network to the SubNetwork. It should be override in the subclass if more objects need to be "moved".
buildSubNet in class BaseSubNetwork<AclfBus,AclfBranch,AclfNetwork,ISparseEqnComplex,org.apache.commons.math3.complex.Complex[][],org.apache.commons.math3.complex.Complex>InterpssExceptionpublic void formYMatrix()