public interface Bus extends ExtensionElement, IAdaptable, IBusSwitchBreakModel
The following features are supported:
NetPackage.getBus()| Modifier and Type | Method and Description |
|---|---|
double |
getBaseVoltage()
Returns the value of the 'Base Voltage' attribute.
|
java.util.List<Branch> |
getBranchList()
Get the branch list including fromBranchList + toBranchList.
|
org.eclipse.emf.common.util.EList<Bus> |
getBusSecList()
Returns the value of the 'Bus Sec List' reference list.
|
org.eclipse.emf.common.util.EList<Branch> |
getFromBranchList()
Returns the value of the 'From Branch List' reference list.
|
Network<?,?> |
getNetwork()
Returns the value of the 'Network' reference.
|
Bus |
getParent()
Returns the value of the 'Parent' reference.
|
int |
getSecNo()
Returns the value of the 'Sec No' attribute.
|
int |
getSubAreaFlag()
Returns the value of the 'Sub Area Flag' attribute.
|
org.eclipse.emf.common.util.EList<Branch> |
getToBranchList()
Returns the value of the 'To Branch List' reference list.
|
int |
nActiveBranchConnected()
Get number of active branches connected to the bus
|
int |
nBranchConnected()
Get number of branches connected to the bus
|
int |
nBranchConnected(boolean visited)
Get number of visted (if visited = true) or unvisited (if visited = false) branches connected to the bus
|
int |
nNonGroundBranchConnected(boolean inclActiveOnly)
Get number of non-grounded branches connected to the bus.
|
void |
setAttributes(java.lang.String name,
java.lang.String desc)
Set bus attributes: name and desc.
|
void |
setAttributes(java.lang.String name,
java.lang.String desc,
Area area,
Zone zone)
Set bus attributes: name, desc, area and zone.
|
void |
setBaseVoltage(double value)
Sets the value of the '
Base Voltage' attribute. |
void |
setBaseVoltage(double volt,
Unit.UnitType unit)
Set the bus base voltage in the specified unit
|
void |
setNetwork(Network<?,?> value)
Sets the value of the '
Network' reference. |
void |
setParent(Bus value)
Sets the value of the '
Parent' reference. |
void |
setSecNo(int value)
Sets the value of the '
Sec No' attribute. |
void |
setSubAreaFlag(int value)
Sets the value of the '
Sub Area Flag' attribute. |
java.lang.String |
toString(double baseKva)
return a string representation of the bus states
|
getExtensionObject, setExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, checkData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverreadData, writeDatagetAdapter, getAdapteraddSection, addSection, getConnectedPhysicalBranch, getConnectedPhysicalBranchList, getSection, isChildSection, isIslandBus, isParent, removeSectiondouble getBaseVoltage()
"0.0".
If the meaning of the 'Base Voltage' attribute isn't clear, there really should be more of a description here...
Bus base voltage in VoltsetBaseVoltage(double),
NetPackage.getBus_BaseVoltage()void setBaseVoltage(double value)
Base Voltage' attribute.
value - the new value of the 'Base Voltage' attribute.getBaseVoltage()int getSubAreaFlag()
"-1".
Bus section number. secNo = -1 indicates the bus is a parent bus. secNo > 1
indicates the bus is a child node
setSubAreaFlag(int),
NetPackage.getBus_SubAreaFlag()void setSubAreaFlag(int value)
Sub Area Flag' attribute.
value - the new value of the 'Sub Area Flag' attribute.getSubAreaFlag()int getSecNo()
"0".
If the meaning of the 'Sec Id' attribute isn't clear, there really should be more of a description here...
Bus section number. secNo = -1 indicates the bus is a parent bus. secNo > 1 indicates the bus is a child nodesetSecNo(int),
NetPackage.getBus_SecNo()void setSecNo(int value)
Sec No' attribute.
value - the new value of the 'Sec No' attribute.getSecNo()org.eclipse.emf.common.util.EList<Branch> getFromBranchList()
Branch.
It is bidirectional and its opposite is 'From Bus'.
If the meaning of the 'From Branch List' reference list isn't clear, there really should be more of a description here...
reference list to branches, which are connected to the bus at the fromsideNetPackage.getBus_FromBranchList(),
Branch.getFromBus()org.eclipse.emf.common.util.EList<Bus> getBusSecList()
Bus.
It is bidirectional and its opposite is 'Parent'.
If the meaning of the 'Bus Sec List' reference list isn't clear, there really should be more of a description here...
containing list of child buses in the case of Bus Switch/Break Model implementation.NetPackage.getBus_BusSecList(),
getParent()Bus getParent()
Bus Sec List'.
If the meaning of the 'Parent' reference isn't clear, there really should be more of a description here...
reference to its parent Bus object in the Bus Switch/Break Model implementationsetParent(Bus),
NetPackage.getBus_Parent(),
getBusSecList()void setParent(Bus value)
Parent' reference.
value - the new value of the 'Parent' reference.getParent()Network<?,?> getNetwork()
If the meaning of the 'Network' container reference isn't clear, there really should be more of a description here...
Parant containing network objectsetNetwork(Network),
NetPackage.getBus_Network()void setNetwork(Network<?,?> value)
Network' reference.
value - the new value of the 'Network' reference.getNetwork()org.eclipse.emf.common.util.EList<Branch> getToBranchList()
Branch.
It is bidirectional and its opposite is 'To Bus'.
If the meaning of the 'To Branch List' reference list isn't clear, there really should be more of a description here...
reference list to branches, which are connected to the bus at the tosideNetPackage.getBus_ToBranchList(),
Branch.getToBus()void setAttributes(java.lang.String name,
java.lang.String desc)
name - bus namedesc - bus description
void setAttributes(java.lang.String name,
java.lang.String desc,
Area area,
Zone zone)
name - bus namedesc - bus descriptionarea - bus areazone - bus zone
int nBranchConnected()
int nBranchConnected(boolean visited)
int nActiveBranchConnected()
int nNonGroundBranchConnected(boolean inclActiveOnly)
java.util.List<Branch> getBranchList()
java.lang.String toString(double baseKva)
void setBaseVoltage(double volt,
Unit.UnitType unit)
volt - bus base voltageunit - base voltage unit