public interface Network<TBus extends Bus,TBranch extends Branch> extends NameTag, IAdaptable, INetworkElement, INetBusElement<TBus>, INetBranchElement<TBus,TBranch>, IMultiNet
The following features are supported:
NetPackage.getNetwork()| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(INetBVisitor<?,?> visitor)
accept a visitor to visit the Network object.
|
void |
addArea(Area area)
Add the area object into the Network, if it not exists in the network.
|
void |
addOwner(Owner owner)
Add the owner object into the Network, if it not exists in the network.
|
void |
addZone(Zone zone)
Add the zone object into the Network, if it not exists in the network.
|
void |
arrangeBusNumber()
arrange bus sort number
|
ISparseEqnInteger |
formAdjacencyMatrix()
form the adjacency matrix, based on the bus.sortNumber
|
org.eclipse.emf.common.util.EList<Area> |
getAreaList()
Returns the value of the 'Area List' containment reference list.
|
double |
getBaseKva()
Returns the value of the 'Base Kva' attribute.
|
double |
getBaseMva()
get network base MVA
|
org.eclipse.emf.common.util.EList<TBranch> |
getBranchList()
Returns the value of the 'Branch List' reference list.
|
org.eclipse.emf.common.util.EList<TBus> |
getBusList()
Returns the value of the 'Bus List' reference list.
|
org.eclipse.emf.common.util.EList<ChildNetwork<?,?>> |
getChildNetList()
Returns the value of the 'Child Net List' containment reference list.
|
double |
getFrequency()
Returns the value of the 'Frequency' attribute.
|
OriginalDataFormat |
getOriginalDataFormat()
Returns the value of the 'Original Data Format' attribute.
|
org.eclipse.emf.common.util.EList<Owner> |
getOwnerList()
Returns the value of the 'Owner List' containment reference list.
|
java.lang.String |
getRefBusId()
Returns the value of the 'Ref Bus Id' attribute.
|
RefBusType |
getRefBusType()
Returns the value of the 'Ref Bus Type' attribute.
|
org.eclipse.emf.common.util.EList<TieLine> |
getTieLineList()
Returns the value of the 'Tie Line List' containment reference list.
|
org.eclipse.emf.common.util.EList<Zone> |
getZoneList()
Returns the value of the 'Zone List' containment reference list.
|
boolean |
isAllowGroundBranch()
Returns the value of the 'Allow Ground Branch' attribute.
|
boolean |
isBusNumberArranged()
Returns the value of the 'Bus Number Arranged' attribute.
|
boolean |
isBypassDataCheck()
Returns the value of the 'Bypass Data Check' attribute.
|
boolean |
isDataChecked()
Returns the value of the 'Data Checked' attribute.
|
boolean |
isRefBus(Bus bus)
check if the bus is a reference bus
|
boolean |
isSwitchBreakModel()
Returns the value of the 'Switch Break Model' attribute.
|
java.lang.String |
net2String()
Transform all elements in the network to a string for print out purpose.
|
void |
rebuildLookupTable()
Rebuilt the network object lookup table, for example, after the network is recreated by de-serialization.
|
void |
setAllowGroundBranch(boolean value)
Sets the value of the '
Allow Ground Branch' attribute. |
void |
setBaseKva(double value)
Sets the value of the '
Base Kva' attribute. |
void |
setBusNumberArranged(boolean value)
Sets the value of the '
Bus Number Arranged' attribute. |
void |
setBypassDataCheck(boolean value)
Sets the value of the '
Bypass Data Check' attribute. |
void |
setDataChecked(boolean value)
Sets the value of the '
Data Checked' attribute. |
void |
setFrequency(double value)
Sets the value of the '
Frequency' attribute. |
void |
setOriginalDataFormat(OriginalDataFormat value)
Sets the value of the '
Original Data Format' attribute. |
void |
setRefBusId(java.lang.String value)
Sets the value of the '
Ref Bus Id' attribute. |
void |
setRefBusType(RefBusType value)
Sets the value of the '
Ref Bus Type' attribute. |
void |
setSwitchBreakModel(boolean value)
Sets the value of the '
Switch Break Model' attribute. |
void |
setToEmpty()
Set the network to empty, including remove all elements from the areaList, busList and branchList ...
|
checkData, checkData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatusreadData, writeDatagetAdapter, getAdapteraddTieLine, getArea, getOwner, getOwner, getZone, removeTieLine, setVisitedStatusaddBus, getBus, getBus, getBus, getNoActiveBus, getNoBus, hasBus, removeBus, removeBus, setBusaddBranch, addBranch, addBranch, addBranch, addBranch, getBranch, getBranch, getBranch, getBranch, getBranch, getNoActiveBranch, getNoBranch, hasBranch, hasBranch, removeBranch, removeBranch, removeBranchgetChildNet, hasChildNetdouble getBaseKva()
"100000".
If the meaning of the 'Base Kva' attribute isn't clear, there really should be more of a description here...
Base Kva in unit KVA.setBaseKva(double),
NetPackage.getNetwork_BaseKva()void setBaseKva(double value)
Base Kva' attribute.
value - the new value of the 'Base Kva' attribute.getBaseKva()double getFrequency()
"50".
System base frequency in Hz
setFrequency(double),
NetPackage.getNetwork_Frequency()void setFrequency(double value)
Frequency' attribute.
value - the new value of the 'Frequency' attribute.getFrequency()boolean isBusNumberArranged()
"false".
If the meaning of the 'Bus Number Arranged' attribute isn't clear, there really should be more of a description here...
An indicator of bus number arrangement statussetBusNumberArranged(boolean),
NetPackage.getNetwork_BusNumberArranged()void setBusNumberArranged(boolean value)
Bus Number Arranged' attribute.
value - the new value of the 'Bus Number Arranged' attribute.isBusNumberArranged()boolean isDataChecked()
"false".
If the meaning of the 'Data Checked' attribute isn't clear, there really should be more of a description here...
set to true after the data has been checked.setDataChecked(boolean),
NetPackage.getNetwork_DataChecked()void setDataChecked(boolean value)
Data Checked' attribute.
value - the new value of the 'Data Checked' attribute.isDataChecked()boolean isBypassDataCheck()
"false".
If the meaning of the 'Bypass Data Check' attribute isn't clear, there really should be more of a description here...
set to true if bypass the data check is needed.setBypassDataCheck(boolean),
NetPackage.getNetwork_BypassDataCheck()void setBypassDataCheck(boolean value)
Bypass Data Check' attribute.
value - the new value of the 'Bypass Data Check' attribute.isBypassDataCheck()boolean isAllowGroundBranch()
"false".
If the meaning of the 'Allow Ground Branch' attribute isn't clear, there really should be more of a description here...
An indicator for allowing branch branch, which connect to a bus and the ground.setAllowGroundBranch(boolean),
NetPackage.getNetwork_AllowGroundBranch()void setAllowGroundBranch(boolean value)
Allow Ground Branch' attribute.
value - the new value of the 'Allow Ground Branch' attribute.isAllowGroundBranch()boolean isSwitchBreakModel()
"false".
If the meaning of the 'Switch Break Model' attribute isn't clear, there really should be more of a description here...
If true, allow to define bus section and dummy bus at branch for the switch/break model. The switch/break model is implemented using the bus section concept and child branch concept. It is independent of the zero Z branch concept. Zero Z branch could be used to create a switch/break network model.setSwitchBreakModel(boolean),
NetPackage.getNetwork_SwitchBreakModel()void setSwitchBreakModel(boolean value)
Switch Break Model' attribute.
value - the new value of the 'Switch Break Model' attribute.isSwitchBreakModel()org.eclipse.emf.common.util.EList<TBus> getBusList()
If the meaning of the 'Bus List' containment reference list isn't clear, there really should be more of a description here...
bus list containing bus objectsNetPackage.getNetwork_BusList()org.eclipse.emf.common.util.EList<Zone> getZoneList()
Zone.
It is bidirectional and its opposite is 'Network'.
If the meaning of the 'Zone List' containment reference list isn't clear, there really should be more of a description here...
zone list containing zone objectsNetPackage.getNetwork_ZoneList(),
Zone.getNetwork()org.eclipse.emf.common.util.EList<TBranch> getBranchList()
If the meaning of the 'Branch List' containment reference list isn't clear, there really should be more of a description here...
branch list containing branch objects for 2W branches, which will be represented in the Y-matrix.NetPackage.getNetwork_BranchList()org.eclipse.emf.common.util.EList<Area> getAreaList()
Area.
It is bidirectional and its opposite is 'Network'.
If the meaning of the 'Area List' containment reference list isn't clear, there really should be more of a description here...
area list containing area objectsNetPackage.getNetwork_AreaList(),
Area.getNetwork()void addArea(Area area)
void addZone(Zone zone)
void addOwner(Owner owner)
org.eclipse.emf.common.util.EList<TieLine> getTieLineList()
TieLine.
It is bidirectional and its opposite is 'Network'.
If the meaning of the 'Tie Line List' containment reference list isn't clear, there really should be more of a description here...
Tieline list containing tieline objectsNetPackage.getNetwork_TieLineList(),
TieLine.getNetwork()org.eclipse.emf.common.util.EList<Owner> getOwnerList()
Owner.
It is bidirectional and its opposite is 'Network'.
If the meaning of the 'Owner List' containment reference list isn't clear, there really should be more of a description here...
Owner list containing owner objectsNetPackage.getNetwork_OwnerList(),
Owner.getNetwork()org.eclipse.emf.common.util.EList<ChildNetwork<?,?>> getChildNetList()
ChildNetwork<?, ?>.
It is bidirectional and its opposite is 'Parent Network'.
child network list containing child network objects
NetPackage.getNetwork_ChildNetList(),
ChildNetwork.getParentNetwork()boolean accept(INetBVisitor<?,?> visitor)
OriginalDataFormat getOriginalDataFormat()
OriginalDataFormat.
If the meaning of the 'Original Data Format' attribute isn't clear, there really should be more of a description here...
Original data formatOriginalDataFormat,
setOriginalDataFormat(OriginalDataFormat),
NetPackage.getNetwork_OriginalDataFormat()void setOriginalDataFormat(OriginalDataFormat value)
Original Data Format' attribute.
value - the new value of the 'Original Data Format' attribute.OriginalDataFormat,
getOriginalDataFormat()RefBusType getRefBusType()
"Swing".
The literals are from the enumeration RefBusType.
If the meaning of the 'Ref Bus Type' attribute isn't clear, there really should be more of a description here...
Reference bus type (Swing or user defined). User defined often is needed for the sensitivity analysis.RefBusType,
setRefBusType(RefBusType),
NetPackage.getNetwork_RefBusType()void setRefBusType(RefBusType value)
Ref Bus Type' attribute.
value - the new value of the 'Ref Bus Type' attribute.RefBusType,
getRefBusType()java.lang.String getRefBusId()
"false".
If the meaning of the 'Ref Bus Id' attribute isn't clear, there really should be more of a description here...
When reference bus is user defined, this attribute defines reference bus id.setRefBusId(String),
NetPackage.getNetwork_RefBusId()void setRefBusId(java.lang.String value)
Ref Bus Id' attribute.
value - the new value of the 'Ref Bus Id' attribute.getRefBusId()boolean isRefBus(Bus bus)
double getBaseMva()
void setToEmpty()
java.lang.String net2String()
void arrangeBusNumber()
void rebuildLookupTable()
ISparseEqnInteger formAdjacencyMatrix()