public class Aclf3WBranchImpl extends Branch3WImpl implements Aclf3WBranch
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Modifier and Type | Field and Description |
---|---|
protected static AclfBranchCode |
BRANCH_CODE_EDEFAULT
The default value of the '
Branch Code ' attribute. |
protected AclfBranchCode |
branchCode
The cached value of the '
Branch Code ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
VOLTAGE_STAR_BUS_EDEFAULT
The default value of the '
Voltage Star Bus ' attribute. |
protected org.apache.commons.math3.complex.Complex |
voltageStarBus
The cached value of the '
Voltage Star Bus ' attribute. |
protected static boolean |
ZCORRECTION_ON_WINDING_EDEFAULT
The default value of the '
ZCorrection On Winding ' attribute. |
protected boolean |
zCorrectionOnWinding |
fromBranch, starBus, tertiaryBranch, tertiaryBus, toBranch
CIRCUIT_NUMBER_EDEFAULT, circuitNumber, FROM_SIDE_METERED_EDEFAULT, fromBus, fromSideMetered, network, ORIGINAL_BRANCH_ID_EDEFAULT, originalBranchId, toBus
EXTENSION_OBJECT_EDEFAULT, extensionObject
area, AREA_ID_EDEFAULT, areaId, BOOLEAN_FLAG_EDEFAULT, booleanFlag, EXT_SEQ_NUMBER_EDEFAULT, extSeqNumber, INT_FLAG_EDEFAULT, intFlag, owner, OWNER_ID_EDEFAULT, ownerId, SORT_NUMBER_EDEFAULT, sortNumber, weight, WEIGHT_EDEFAULT, zone, ZONE_ID_EDEFAULT, zoneId
desc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfo
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
Aclf3WBranchImpl() |
Modifier and Type | Method and Description |
---|---|
void |
calculateStarBusVoltage() |
boolean |
create2WBranches(AclfBranchCode branchCode) |
boolean |
create2WBranches(AclfBranchCode branchCode,
java.lang.String[] properties) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
AclfBranchCode |
getBranchCode() |
AclfBranch |
getFromAclfBranch() |
AclfBranch |
getTertAclfBranch() |
AclfBranch |
getToAclfBranch() |
org.apache.commons.math3.complex.Complex |
getVoltageStarBus() |
boolean |
isZCorrectionOnWinding() |
void |
setBranchCode(AclfBranchCode newBranchCode) |
void |
setVoltageStarBus(org.apache.commons.math3.complex.Complex newVoltageStarBus) |
void |
setZCorrectionOnWinding(boolean value) |
Aclf3WXformerAdapter |
to3WXfr() |
Aclf3WPSXformerAdapter |
toPS3WXfr() |
java.lang.String |
toString() |
java.lang.String |
toString(double baseKVA) |
getFromBranch, getStarBus, getTertiaryBranch, getTertiaryBus, getTertiaryBusId, getToBranch, readData, setFromBranch, setStarBus, setTertiaryBranch, setTertiaryBus, setToBranch, writeData
basicSetFromBus, basicSetToBus, checkData, eInverseAdd, eInverseRemove, getCircuitNumber, getFromBus, getFromBusId, getNetwork, getOppositeBus, getOriginalBranchId, getToBus, getToBusId, isFromBus, isFromSideMetered, isGroundBranch, isToBus, reconnect, setAttributes, setAttributes, setCircuitNumber, setFromBus, setFromSideMetered, setNetwork, setOriginalBranchId, setToBus
getExtensionObject, setExtensionObject
getArea, getAreaId, getExtSeqNumber, getIntFlag, getOwner, getOwnerId, getSortNumber, getWeight, getZone, getZoneId, isBooleanFlag, setArea, setAreaId, setBooleanFlag, setExtSeqNumber, setIntFlag, setOwner, setOwnerId, setSortNumber, setWeight, setZone, setZoneId
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFromBranch, getStarBus, getTertiaryBranch, getTertiaryBus, getTertiaryBusId, getToBranch, setFromBranch, setStarBus, setTertiaryBranch, setTertiaryBus, setToBranch
getCircuitNumber, getFromBus, getFromBusId, getNetwork, getOppositeBus, getOriginalBranchId, getToBus, getToBusId, isFromBus, isFromSideMetered, isGroundBranch, isToBus, reconnect, setAttributes, setAttributes, setCircuitNumber, setFromBus, setFromSideMetered, setNetwork, setOriginalBranchId, setToBus
getExtensionObject, setExtensionObject
getArea, getAreaId, getExtSeqNumber, getIntFlag, getOwner, getOwnerId, getSortNumber, getWeight, getZone, getZoneId, isBooleanFlag, setArea, setAreaId, setBooleanFlag, setExtSeqNumber, setIntFlag, setOwner, setOwnerId, setSortNumber, setWeight, setZone, setZoneId
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected static final AclfBranchCode BRANCH_CODE_EDEFAULT
Branch Code
' attribute.
getBranchCode()
protected AclfBranchCode branchCode
Branch Code
' attribute.
getBranchCode()
protected static final org.apache.commons.math3.complex.Complex VOLTAGE_STAR_BUS_EDEFAULT
Voltage Star Bus
' attribute.
getVoltageStarBus()
protected org.apache.commons.math3.complex.Complex voltageStarBus
Voltage Star Bus
' attribute.
getVoltageStarBus()
protected static final boolean ZCORRECTION_ON_WINDING_EDEFAULT
ZCorrection On Winding
' attribute.
isZCorrectionOnWinding()
,
Constant Field Valuesprotected boolean zCorrectionOnWinding
public AclfBranchCode getBranchCode()
getBranchCode
in interface Aclf3WBranch
AclfBranchCode
,
Aclf3WBranch.setBranchCode(AclfBranchCode)
,
AclfPackage.getAclf3WBranch_BranchCode()
public void setBranchCode(AclfBranchCode newBranchCode)
setBranchCode
in interface Aclf3WBranch
newBranchCode
- the new value of the 'Branch Code' attribute.AclfBranchCode
,
Aclf3WBranch.getBranchCode()
public org.apache.commons.math3.complex.Complex getVoltageStarBus()
getVoltageStarBus
in interface Aclf3WBranch
Aclf3WBranch.setVoltageStarBus(Complex)
,
AclfPackage.getAclf3WBranch_VoltageStarBus()
public void setVoltageStarBus(org.apache.commons.math3.complex.Complex newVoltageStarBus)
setVoltageStarBus
in interface Aclf3WBranch
newVoltageStarBus
- the new value of the 'Voltage Star Bus' attribute.Aclf3WBranch.getVoltageStarBus()
public boolean create2WBranches(AclfBranchCode branchCode)
create2WBranches
in interface Aclf3WBranch
branchCode
- branch code could be xfr or psXfr
public boolean create2WBranches(AclfBranchCode branchCode, java.lang.String[] properties)
create2WBranches
in interface Aclf3WBranch
branchCode
- branch code could be xfr or psXfrproperties
- properties for create the 2W xfrs [startBiusId, fromBranchCirId,
toBranchCirId, tertBranchCirId ]
public AclfBranch getFromAclfBranch()
getFromAclfBranch
in interface Aclf3WBranch
public AclfBranch getToAclfBranch()
getToAclfBranch
in interface Aclf3WBranch
public AclfBranch getTertAclfBranch()
getTertAclfBranch
in interface Aclf3WBranch
public void calculateStarBusVoltage()
calculateStarBusVoltage
in interface Aclf3WBranch
public Aclf3WXformerAdapter to3WXfr()
to3WXfr
in interface IAclf3WXfrAdaptation
public Aclf3WPSXformerAdapter toPS3WXfr()
toPS3WXfr
in interface IAclf3WXfrAdaptation
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class Branch3WImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class Branch3WImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class Branch3WImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class Branch3WImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class Branch3WImpl
public java.lang.String toString()
toString
in class BranchImpl
public java.lang.String toString(double baseKVA)
BranchImpl
toString
in interface Branch
toString
in class Branch3WImpl
baseKVA
- System base kva
public boolean isZCorrectionOnWinding()
isZCorrectionOnWinding
in interface Aclf3WBranch
Aclf3WBranch.setZCorrectionOnWinding(boolean)
,
AclfPackage.getAclf3WBranch_ZCorrectionOnWinding()
public void setZCorrectionOnWinding(boolean value)
setZCorrectionOnWinding
in interface Aclf3WBranch
value
- the new value of the 'ZCorrection On Winding' attribute.Aclf3WBranch.isZCorrectionOnWinding()