TBus
- Bus object generic typeTBra
- Branch object generic typeTSub
- SubArea/Network generic typeTState
- Network state (current, voltage) generic type, for example, Complex for single phase analysispublic interface SubAreaNetProcessor<TBus,TBra,TSub,TState>
Modifier and Type | Field and Description |
---|---|
static int |
SetSubAreaFlagMaxCnt |
Modifier and Type | Method and Description |
---|---|
BaseCuttingBranch<TState>[] |
getCuttingBranches()
return the cutting branch set
|
Network<?,?> |
getNetwork()
get the parent network object
|
TSub |
getSubAreaNet(int flag)
get SubArea/Network by the area flag
|
java.util.List<TSub> |
getSubAreaNetList()
get the SubArea or SubNetwork list
|
void |
mergeSubNet()
After the splitting SubNetwork processing, merge the split sub networks back to the
parent network.
|
java.util.List<TSub> |
processSubAreaNet()
Process SubArea by automatically group buses into SubAreas based
on the defined cutting branches set.
|
java.util.List<TSub> |
processSubAreaNet(boolean singleSide)
Same processing logic as the processSubAreaNet() method.
|
java.util.List<TSub> |
processSubAreaNet(boolean singleSide,
boolean setCutBranchStatusTrue)
Same processing logic as the processSubAreaNet() method.
|
void |
setCuttingBranches(BaseCuttingBranch<TState>[] cuttingBranches)
set the cutting branch set
|
static final int SetSubAreaFlagMaxCnt
Network<?,?> getNetwork()
BaseCuttingBranch<TState>[] getCuttingBranches()
void setCuttingBranches(BaseCuttingBranch<TState>[] cuttingBranches)
cuttingBranches
- the cuttingBranches to setjava.util.List<TSub> getSubAreaNetList()
TSub getSubAreaNet(int flag)
flag
- the area flagjava.util.List<TSub> processSubAreaNet() throws InterpssException
InterpssException
java.util.List<TSub> processSubAreaNet(boolean singleSide) throws InterpssException
sigleSide
- flag for controlling only process the SubArea side of the networkInterpssException
java.util.List<TSub> processSubAreaNet(boolean singleSide, boolean setCutBranchStatusTrue) throws InterpssException
sigleSide
- flag for controlling only process the SubArea side of the networksetCutBranchStatusTrue
- flag to set CutBranch status to True after the processingInterpssException
void mergeSubNet() throws InterpssException
InterpssException