public class SubNetworkPos extends BaseSubNetwork<AclfBus,AclfBranch,AclfNetwork,ISparseEqnComplex,org.apache.commons.math3.complex.Complex[][],org.apache.commons.math3.complex.Complex>
subNet
busVoltageMap
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, toString
getBusVoltage, getFlag, getInterfaceBusIdList, getYSparseEqn, getZMatrix, setFlag, setYSparseEqn, setZMatrix
public SubNetworkPos(int flag)
flag
- public SubNetworkPos(int flag, java.lang.String[] ids)
flag
- ids
- public AclfNetwork createSubNetwork(int subNetFlag)
BaseSubNetwork
createSubNetwork
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
BaseSubNetwork
In 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>
InterpssException
public void formYMatrix()