public interface Branch extends ExtensionElement, IAdaptable, IBranchSwitchBreakModel
The following features are supported:
NetPackage.getBranch()| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCircuitNumber()
Returns the value of the 'Circuit Number' attribute.
|
Bus |
getFromBus()
Returns the value of the 'From Bus' reference.
|
Network<?,?> |
getNetwork()
Returns the value of the 'Network' reference.
|
Bus |
getOppositeBus(Bus bus)
get the opposite Bus of of input bus object
|
Bus |
getToBus()
Returns the value of the 'To Bus' reference.
|
boolean |
isChildBranch()
Returns the value of the 'Child Branch' attribute.
|
boolean |
isFromBus(Bus bus)
Check if the input Bus object is on the from side
|
boolean |
isFromSideMetered()
Returns the value of the 'From Side Metered' attribute.
|
boolean |
isGroundBranch()
Check if the branch is a ground branch (toBus=null)
|
boolean |
isToBus(Bus bus)
Check if the input Bus object is on the to side
|
void |
setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber)
Set branch attributes: name, desc and circuit number.
|
void |
setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber,
Area area,
Zone zone)
Set branch attributes: name, desc, circuit number, areaNo and zoneNo.
|
void |
setChildBranch(boolean value)
Sets the value of the '
Child Branch' attribute. |
void |
setCircuitNumber(java.lang.String value)
Sets the value of the '
Circuit Number' attribute. |
void |
setFromBus(Bus value)
Sets the value of the '
From Bus' reference. |
void |
setFromSideMetered(boolean value)
Sets the value of the '
From Side Metered' attribute. |
void |
setNetwork(Network<?,?> value)
Sets the value of the '
Network' reference. |
void |
setToBus(Bus value)
Sets the value of the '
To Bus' reference. |
java.lang.String |
toString(double baseKva)
Return a string representation of the branch 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, getAdaptergetConnectedPhysicalOppositeBus, getFromPhysicalBusConnected, getFromPhysicalBusId, getToPhysicalBusConnected, getToPhysicalBusIdNetwork<?,?> getNetwork()
If the meaning of the 'Network' container reference isn't clear, there really should be more of a description here...
The containing parent Network objectsetNetwork(Network),
NetPackage.getBranch_Network()void setNetwork(Network<?,?> value)
Network' reference.
value - the new value of the 'Network' reference.getNetwork()java.lang.String getCircuitNumber()
"1".
If the meaning of the 'Circuit Number' attribute isn't clear, there really should be more of a description here...
branch circuit number. It will be assigned automatically by the system starting from 1. The branch id is always in the format: fromBsuId->toBusId(circuitNumber)setCircuitNumber(String),
NetPackage.getBranch_CircuitNumber()void setCircuitNumber(java.lang.String value)
Circuit Number' attribute.
value - the new value of the 'Circuit Number' attribute.getCircuitNumber()boolean isChildBranch()
"false".
attribute to indicate if the branch is a child branch in a consolidated network
setChildBranch(boolean),
NetPackage.getBranch_ChildBranch()void setChildBranch(boolean value)
Child Branch' attribute.
value - the new value of the 'Child Branch' attribute.isChildBranch()boolean isFromSideMetered()
"true".
If the meaning of the 'From Metered' attribute isn't clear, there really should be more of a description here...
Check if the branch is from side metered.setFromSideMetered(boolean),
NetPackage.getBranch_FromSideMetered()void setFromSideMetered(boolean value)
From Side Metered' attribute.
value - the new value of the 'From Side Metered' attribute.isFromSideMetered()Bus getFromBus()
From Branch List'.
If the meaning of the 'From Bus' reference isn't clear, there really should be more of a description here...
Reference to the from side bus object. Please note - using getFromBus() method, you might get the parent bus in the consolidated network situatio.setFromBus(Bus),
NetPackage.getBranch_FromBus(),
Bus.getFromBranchList()void setFromBus(Bus value)
From Bus' reference.
value - the new value of the 'From Bus' reference.getFromBus()Bus getOppositeBus(Bus bus) throws InterpssException
bus - bus object
InterpssExceptionboolean isFromBus(Bus bus)
bus - bus object
boolean isToBus(Bus bus)
bus - bus object
Bus getToBus()
To Branch List'.
If the meaning of the 'To Bus' reference isn't clear, there really should be more of a description here...
Reference to the to side bus object. Please note - using getToBus() method, you might get the parent bus in the consolidated network situatio.setToBus(Bus),
NetPackage.getBranch_ToBus(),
Bus.getToBranchList()void setToBus(Bus value)
To Bus' reference.
value - the new value of the 'To Bus' reference.getToBus()void setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber)
name - branch name, optional in terms of analysis purposedesc - branch description, optional in terms of analysiscirNumber - branch circuit number
void setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber,
Area area,
Zone zone)
name - branch namedesc - branch descriptioncirNumber - branch circuit numberarea - branch areazone - branch zone
boolean isGroundBranch()
java.lang.String toString(double baseKva)
baseKva - System base kva