public class AclfBranchImpl extends BranchImpl implements AclfBranch
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 BranchFlowControl |
flowControl
The cached value of the '
Flow Control ' containment reference. |
protected static double |
FROM_PS_XFR_ANGLE_EDEFAULT
The default value of the '
From PS Xfr Angle ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
FROM_SHUNT_Y_EDEFAULT
The default value of the '
From Shunt Y ' attribute. |
protected static double |
FROM_TURN_RATIO_EDEFAULT
The default value of the '
From Turn Ratio ' attribute. |
protected double |
fromPSXfrAngle
The cached value of the '
From PS Xfr Angle ' attribute. |
protected org.apache.commons.math3.complex.Complex |
fromShuntY
The cached value of the '
From Shunt Y ' attribute. |
protected double |
fromTurnRatio
The cached value of the '
From Turn Ratio ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
HSHUNT_Y_EDEFAULT
The default value of the '
HShunt Y ' attribute. |
protected org.apache.commons.math3.complex.Complex |
hShuntY
The cached value of the '
HShunt Y ' attribute. |
protected static double |
LOSS_FACTOR_EDEFAULT
The default value of the '
Loss Factor ' attribute. |
protected double |
lossFactor
The cached value of the '
Loss Factor ' attribute. |
protected static double |
RATING_AMPS_EDEFAULT
The default value of the '
Rating Amps ' attribute. |
protected static double |
RATING_MVA1_EDEFAULT
The default value of the '
Rating Mva1 ' attribute. |
protected static double |
RATING_MVA2_EDEFAULT
The default value of the '
Rating Mva2 ' attribute. |
protected static double |
RATING_MVA3_EDEFAULT
The default value of the '
Rating Mva3 ' attribute. |
protected double |
ratingAmps
The cached value of the '
Rating Amps ' attribute. |
protected double |
ratingMva1
The cached value of the '
Rating Mva1 ' attribute. |
protected double |
ratingMva2
The cached value of the '
Rating Mva2 ' attribute. |
protected double |
ratingMva3
The cached value of the '
Rating Mva3 ' attribute. |
protected static double |
TO_PS_XFR_ANGLE_EDEFAULT
The default value of the '
To PS Xfr Angle ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
TO_SHUNT_Y_EDEFAULT
The default value of the '
To Shunt Y ' attribute. |
protected static double |
TO_TURN_RATIO_EDEFAULT
The default value of the '
To Turn Ratio ' attribute. |
protected double |
toPSXfrAngle
The cached value of the '
To PS Xfr Angle ' attribute. |
protected org.apache.commons.math3.complex.Complex |
toShuntY
The cached value of the '
To Shunt Y ' attribute. |
protected double |
toTurnRatio
The cached value of the '
To Turn Ratio ' attribute. |
protected static int |
XFR_ZTABLE_NUMBER_EDEFAULT
The default value of the '
Xfr ZTable Number ' attribute. |
protected int |
xfrZTableNumber
The cached value of the '
Xfr ZTable Number ' attribute. |
protected org.apache.commons.math3.complex.Complex |
z
The cached value of the '
Z ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
Z_EDEFAULT
The default value of the '
Z ' attribute. |
protected static org.apache.commons.math3.complex.Complex |
ZMULTIPLY_FACTOR_EDEFAULT
The default value of the '
ZMultiply Factor ' attribute. |
protected org.apache.commons.math3.complex.Complex |
zMultiplyFactor
The cached value of the '
ZMultiply Factor ' attribute. |
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 |
AclfBranchImpl() |
Modifier and Type | Method and Description |
---|---|
double |
b11ft()
B11 is for Q-V equation.
|
double |
b11tf() |
double |
b1ft()
B1 is for P-Ang equation.
|
double |
b1tf() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetFlowControl(BranchFlowControl newFlowControl,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
checkData(DataCheckConfiguration config) |
double |
current(Unit.UnitType unit) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
org.apache.commons.math3.complex.Complex |
getAdjustedZ() |
AclfBranchCode |
getBranchCode() |
BranchFlowControl |
getFlowControl() |
BaseAclfBus<?,?> |
getFromAclfBus() |
double |
getFromPSXfrAngle() |
org.apache.commons.math3.complex.Complex |
getFromShuntY() |
double |
getFromTurnRatio() |
double |
getHigherBaseVoltage() |
org.apache.commons.math3.complex.Complex |
getHShuntY() |
double |
getLossFactor() |
PSXfrPControl |
getPSXfrPControl() |
double |
getRatingAmps() |
double |
getRatingMva1() |
double |
getRatingMva2() |
double |
getRatingMva3() |
TapControl |
getTapControl() |
BaseAclfBus<?,?> |
getToAclfBus() |
double |
getToPSXfrAngle() |
org.apache.commons.math3.complex.Complex |
getToShuntY() |
double |
getToTurnRatio() |
int |
getXfrZTableNumber() |
org.apache.commons.math3.complex.Complex |
getY() |
org.apache.commons.math3.complex.Complex |
getZ() |
org.apache.commons.math3.complex.Complex |
getZMultiplyFactor() |
boolean |
hasSameBaseVoltage() |
boolean |
isConnect2RefBus() |
boolean |
isGroundBranch()
A branch is a ground branch if acitve and its to bus is null
|
boolean |
isLine() |
boolean |
isPSXfr() |
boolean |
isPSXfrPControl() |
boolean |
isTapControl() |
boolean |
isXfr() |
boolean |
isZeroZBranch() |
org.apache.commons.math3.complex.Complex |
loss() |
org.apache.commons.math3.complex.Complex |
loss(Unit.UnitType unit) |
double |
mvaFlow(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
powerFrom2To() |
org.apache.commons.math3.complex.Complex |
powerFrom2To(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
powerTo2From() |
org.apache.commons.math3.complex.Complex |
powerTo2From(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
pqFlow(Unit.UnitType unit) |
boolean |
ratingViolation(CABranchRatingType type) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setBranchCode(AclfBranchCode newBranchCode) |
void |
setFlowControl(BranchFlowControl newFlowControl) |
void |
setFromPSXfrAngle(double newFromPSXfrAngle) |
void |
setFromShuntY(org.apache.commons.math3.complex.Complex newFromShuntY) |
void |
setFromTurnRatio(double newFromTurnRatio) |
void |
setHShuntY(org.apache.commons.math3.complex.Complex newHShuntY) |
void |
setLossFactor(double newLossFactor) |
void |
setRatingAmps(double newRatingAmps) |
void |
setRatingMva1(double newRatingMva1) |
void |
setRatingMva2(double newRatingMva2) |
void |
setRatingMva3(double newRatingMva3) |
void |
setToPSXfrAngle(double newToPSXfrAngle) |
void |
setToShuntY(org.apache.commons.math3.complex.Complex newToShuntY) |
void |
setToTurnRatio(double newToTurnRatio) |
void |
setXfrZTableNumber(int newXfrZTableNumber) |
void |
setZ(org.apache.commons.math3.complex.Complex newZ) |
void |
setZMultiplyFactor(org.apache.commons.math3.complex.Complex newZMultiplyFactor) |
AclfLineAdapter |
toLine() |
AclfPSXformerAdapter |
toPSXfr() |
java.lang.String |
toString() |
java.lang.String |
toString(double baseKVA) |
AclfXformerAdapter |
toXfr() |
double |
voltageDrop(Unit.UnitType unit) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
org.apache.commons.math3.complex.Complex |
yff() |
org.apache.commons.math3.complex.Complex |
yft() |
org.apache.commons.math3.complex.Complex |
ytf() |
org.apache.commons.math3.complex.Complex |
ytt() |
basicSetFromBus, basicSetToBus, eInverseAdd, getCircuitNumber, getFromBus, getFromBusId, getNetwork, getOppositeBus, getOriginalBranchId, getToBus, getToBusId, isFromBus, isFromSideMetered, 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
getCircuitNumber, getFromBus, getFromBusId, getNetwork, getOppositeBus, getOriginalBranchId, getToBus, getToBusId, isFromBus, isFromSideMetered, 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
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
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 Z_EDEFAULT
Z
' attribute.
getZ()
protected org.apache.commons.math3.complex.Complex z
Z
' attribute.
getZ()
protected static final org.apache.commons.math3.complex.Complex ZMULTIPLY_FACTOR_EDEFAULT
ZMultiply Factor
' attribute.
getZMultiplyFactor()
protected org.apache.commons.math3.complex.Complex zMultiplyFactor
ZMultiply Factor
' attribute.
getZMultiplyFactor()
protected static final int XFR_ZTABLE_NUMBER_EDEFAULT
Xfr ZTable Number
' attribute.
getXfrZTableNumber()
,
Constant Field Valuesprotected int xfrZTableNumber
Xfr ZTable Number
' attribute.
getXfrZTableNumber()
protected static final org.apache.commons.math3.complex.Complex HSHUNT_Y_EDEFAULT
HShunt Y
' attribute.
getHShuntY()
protected org.apache.commons.math3.complex.Complex hShuntY
HShunt Y
' attribute.
getHShuntY()
protected static final double FROM_TURN_RATIO_EDEFAULT
From Turn Ratio
' attribute.
getFromTurnRatio()
,
Constant Field Valuesprotected double fromTurnRatio
From Turn Ratio
' attribute.
getFromTurnRatio()
protected static final double TO_TURN_RATIO_EDEFAULT
To Turn Ratio
' attribute.
getToTurnRatio()
,
Constant Field Valuesprotected double toTurnRatio
To Turn Ratio
' attribute.
getToTurnRatio()
protected static final org.apache.commons.math3.complex.Complex FROM_SHUNT_Y_EDEFAULT
From Shunt Y
' attribute.
getFromShuntY()
protected org.apache.commons.math3.complex.Complex fromShuntY
From Shunt Y
' attribute.
getFromShuntY()
protected static final org.apache.commons.math3.complex.Complex TO_SHUNT_Y_EDEFAULT
To Shunt Y
' attribute.
getToShuntY()
protected org.apache.commons.math3.complex.Complex toShuntY
To Shunt Y
' attribute.
getToShuntY()
protected static final double FROM_PS_XFR_ANGLE_EDEFAULT
From PS Xfr Angle
' attribute.
getFromPSXfrAngle()
,
Constant Field Valuesprotected double fromPSXfrAngle
From PS Xfr Angle
' attribute.
getFromPSXfrAngle()
protected static final double TO_PS_XFR_ANGLE_EDEFAULT
To PS Xfr Angle
' attribute.
getToPSXfrAngle()
,
Constant Field Valuesprotected double toPSXfrAngle
To PS Xfr Angle
' attribute.
getToPSXfrAngle()
protected static final double RATING_MVA1_EDEFAULT
Rating Mva1
' attribute.
getRatingMva1()
,
Constant Field Valuesprotected double ratingMva1
Rating Mva1
' attribute.
getRatingMva1()
protected static final double RATING_MVA2_EDEFAULT
Rating Mva2
' attribute.
getRatingMva2()
,
Constant Field Valuesprotected double ratingMva2
Rating Mva2
' attribute.
getRatingMva2()
protected static final double RATING_MVA3_EDEFAULT
Rating Mva3
' attribute.
getRatingMva3()
,
Constant Field Valuesprotected double ratingMva3
Rating Mva3
' attribute.
getRatingMva3()
protected static final double RATING_AMPS_EDEFAULT
Rating Amps
' attribute.
getRatingAmps()
,
Constant Field Valuesprotected double ratingAmps
Rating Amps
' attribute.
getRatingAmps()
protected BranchFlowControl flowControl
Flow Control
' containment reference.
getFlowControl()
protected static final double LOSS_FACTOR_EDEFAULT
Loss Factor
' attribute.
getLossFactor()
,
Constant Field Valuesprotected double lossFactor
Loss Factor
' attribute.
getLossFactor()
public AclfBranchCode getBranchCode()
getBranchCode
in interface AclfBranch
AclfBranchCode
,
AclfBranch.setBranchCode(AclfBranchCode)
,
AclfPackage.getAclfBranch_BranchCode()
public void setBranchCode(AclfBranchCode newBranchCode)
setBranchCode
in interface AclfBranch
newBranchCode
- the new value of the 'Branch Code' attribute.AclfBranchCode
,
AclfBranch.getBranchCode()
public org.apache.commons.math3.complex.Complex getZ()
getZ
in interface AclfBranch
AclfBranch.setZ(Complex)
,
AclfPackage.getAclfBranch_Z()
public org.apache.commons.math3.complex.Complex getAdjustedZ()
getAdjustedZ
in interface AclfBranch
public void setZ(org.apache.commons.math3.complex.Complex newZ)
setZ
in interface AclfBranch
newZ
- the new value of the 'Z' attribute.AclfBranch.getZ()
public org.apache.commons.math3.complex.Complex getZMultiplyFactor()
getZMultiplyFactor
in interface AclfBranch
AclfBranch.setZMultiplyFactor(Complex)
,
AclfPackage.getAclfBranch_ZMultiplyFactor()
public void setZMultiplyFactor(org.apache.commons.math3.complex.Complex newZMultiplyFactor)
setZMultiplyFactor
in interface AclfBranch
newZMultiplyFactor
- the new value of the 'ZMultiply Factor' attribute.AclfBranch.getZMultiplyFactor()
public int getXfrZTableNumber()
getXfrZTableNumber
in interface AclfBranch
AclfBranch.setXfrZTableNumber(int)
,
AclfPackage.getAclfBranch_XfrZTableNumber()
public void setXfrZTableNumber(int newXfrZTableNumber)
setXfrZTableNumber
in interface AclfBranch
newXfrZTableNumber
- the new value of the 'Xfr ZTable Number' attribute.AclfBranch.getXfrZTableNumber()
public org.apache.commons.math3.complex.Complex getHShuntY()
getHShuntY
in interface AclfBranch
AclfBranch.setHShuntY(Complex)
,
AclfPackage.getAclfBranch_HShuntY()
public void setHShuntY(org.apache.commons.math3.complex.Complex newHShuntY)
setHShuntY
in interface AclfBranch
newHShuntY
- the new value of the 'HShunt Y' attribute.AclfBranch.getHShuntY()
public double getFromTurnRatio()
getFromTurnRatio
in interface AclfBranch
AclfBranch.setFromTurnRatio(double)
,
AclfPackage.getAclfBranch_FromTurnRatio()
public void setFromTurnRatio(double newFromTurnRatio)
setFromTurnRatio
in interface AclfBranch
newFromTurnRatio
- the new value of the 'From Turn Ratio' attribute.AclfBranch.getFromTurnRatio()
public double getToTurnRatio()
getToTurnRatio
in interface AclfBranch
AclfBranch.setToTurnRatio(double)
,
AclfPackage.getAclfBranch_ToTurnRatio()
public void setToTurnRatio(double newToTurnRatio)
setToTurnRatio
in interface AclfBranch
newToTurnRatio
- the new value of the 'To Turn Ratio' attribute.AclfBranch.getToTurnRatio()
public org.apache.commons.math3.complex.Complex getFromShuntY()
getFromShuntY
in interface AclfBranch
AclfBranch.setFromShuntY(Complex)
,
AclfPackage.getAclfBranch_FromShuntY()
public void setFromShuntY(org.apache.commons.math3.complex.Complex newFromShuntY)
setFromShuntY
in interface AclfBranch
newFromShuntY
- the new value of the 'From Shunt Y' attribute.AclfBranch.getFromShuntY()
public org.apache.commons.math3.complex.Complex getToShuntY()
getToShuntY
in interface AclfBranch
AclfBranch.setToShuntY(Complex)
,
AclfPackage.getAclfBranch_ToShuntY()
public void setToShuntY(org.apache.commons.math3.complex.Complex newToShuntY)
setToShuntY
in interface AclfBranch
newToShuntY
- the new value of the 'To Shunt Y' attribute.AclfBranch.getToShuntY()
public double getFromPSXfrAngle()
getFromPSXfrAngle
in interface AclfBranch
AclfBranch.setFromPSXfrAngle(double)
,
AclfPackage.getAclfBranch_FromPSXfrAngle()
public void setFromPSXfrAngle(double newFromPSXfrAngle)
setFromPSXfrAngle
in interface AclfBranch
newFromPSXfrAngle
- the new value of the 'From PS Xfr Angle' attribute.AclfBranch.getFromPSXfrAngle()
public double getToPSXfrAngle()
getToPSXfrAngle
in interface AclfBranch
AclfBranch.setToPSXfrAngle(double)
,
AclfPackage.getAclfBranch_ToPSXfrAngle()
public void setToPSXfrAngle(double newToPSXfrAngle)
setToPSXfrAngle
in interface AclfBranch
newToPSXfrAngle
- the new value of the 'To PS Xfr Angle' attribute.AclfBranch.getToPSXfrAngle()
public double getRatingMva1()
getRatingMva1
in interface AclfBranch
getRatingMva1
in interface IAclfBranch
AclfBranch.setRatingMva1(double)
,
AclfPackage.getAclfBranch_RatingMva1()
public void setRatingMva1(double newRatingMva1)
setRatingMva1
in interface AclfBranch
newRatingMva1
- the new value of the 'Rating Mva1' attribute.AclfBranch.getRatingMva1()
public double getRatingMva2()
getRatingMva2
in interface AclfBranch
getRatingMva2
in interface IAclfBranch
AclfBranch.setRatingMva2(double)
,
AclfPackage.getAclfBranch_RatingMva2()
public void setRatingMva2(double newRatingMva2)
setRatingMva2
in interface AclfBranch
newRatingMva2
- the new value of the 'Rating Mva2' attribute.AclfBranch.getRatingMva2()
public double getRatingMva3()
getRatingMva3
in interface AclfBranch
getRatingMva3
in interface IAclfBranch
AclfBranch.setRatingMva3(double)
,
AclfPackage.getAclfBranch_RatingMva3()
public void setRatingMva3(double newRatingMva3)
setRatingMva3
in interface AclfBranch
newRatingMva3
- the new value of the 'Rating Mva3' attribute.AclfBranch.getRatingMva3()
public double getRatingAmps()
getRatingAmps
in interface AclfBranch
AclfBranch.setRatingAmps(double)
,
AclfPackage.getAclfBranch_RatingAmps()
public void setRatingAmps(double newRatingAmps)
setRatingAmps
in interface AclfBranch
newRatingAmps
- the new value of the 'Rating Amps' attribute.AclfBranch.getRatingAmps()
public double getLossFactor()
getLossFactor
in interface AclfBranch
AclfBranch.setLossFactor(double)
,
AclfPackage.getAclfBranch_LossFactor()
public void setLossFactor(double newLossFactor)
setLossFactor
in interface AclfBranch
newLossFactor
- the new value of the 'Loss Factor' attribute.AclfBranch.getLossFactor()
public BranchFlowControl getFlowControl()
getFlowControl
in interface AclfBranch
AclfBranch.setFlowControl(BranchFlowControl)
,
AclfPackage.getAclfBranch_FlowControl()
public TapControl getTapControl()
getTapControl
in interface IAclfBranchAdjustment
public PSXfrPControl getPSXfrPControl()
getPSXfrPControl
in interface IAclfBranchAdjustment
public org.eclipse.emf.common.notify.NotificationChain basicSetFlowControl(BranchFlowControl newFlowControl, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFlowControl(BranchFlowControl newFlowControl)
setFlowControl
in interface AclfBranch
newFlowControl
- the new value of the 'Flow Control' containment reference.AclfBranch.getFlowControl()
public boolean checkData(DataCheckConfiguration config)
checkData
in interface NameTag
checkData
in class BranchImpl
config
- data check configuration
public org.apache.commons.math3.complex.Complex getY()
getY
in interface AclfBranch
public boolean hasSameBaseVoltage()
hasSameBaseVoltage
in interface IAclfBranchFunc
public boolean isZeroZBranch()
isZeroZBranch
in interface IAclfBranchFunc
public boolean isConnect2RefBus()
isConnect2RefBus
in interface IAclfBranchFunc
public double getHigherBaseVoltage()
getHigherBaseVoltage
in interface IAclfBranchFunc
public double current(Unit.UnitType unit)
current
in interface AclfBranch
unit
- unit of the current
public org.apache.commons.math3.complex.Complex powerFrom2To(Unit.UnitType unit)
powerFrom2To
in interface AclfBranch
unit
- unit of the power flow
public org.apache.commons.math3.complex.Complex powerFrom2To()
powerFrom2To
in interface AclfBranch
public org.apache.commons.math3.complex.Complex powerTo2From(Unit.UnitType unit)
powerTo2From
in interface AclfBranch
unit
- unit of the power flow
public org.apache.commons.math3.complex.Complex powerTo2From()
powerTo2From
in interface AclfBranch
public org.apache.commons.math3.complex.Complex loss()
loss
in interface IAclfBranchFunc
public org.apache.commons.math3.complex.Complex loss(Unit.UnitType unit)
loss
in interface IAclfBranchFunc
unit
- unit of the loss
public double voltageDrop(Unit.UnitType unit)
voltageDrop
in interface IAclfBranchFunc
unit
- unit of the voltage drop
public double mvaFlow(Unit.UnitType unit)
mvaFlow
in interface IAclfBranchFunc
unit
- unit of the mva flow
public org.apache.commons.math3.complex.Complex pqFlow(Unit.UnitType unit)
pqFlow
in interface IAclfBranchFunc
unit
- unit of the PQ flow
public boolean ratingViolation(CABranchRatingType type)
ratingViolation
in interface IAclfBranchFunc
type
- branc rating type
public boolean isGroundBranch()
BranchImpl
isGroundBranch
in interface Branch
isGroundBranch
in class BranchImpl
public boolean isLine()
isLine
in interface AclfBranch
public boolean isPSXfr()
isPSXfr
in interface AclfBranch
public boolean isXfr()
isXfr
in interface AclfBranch
public boolean isTapControl()
isTapControl
in interface IAclfBranchAdjustment
public boolean isPSXfrPControl()
isPSXfrPControl
in interface IAclfBranchAdjustment
public BaseAclfBus<?,?> getFromAclfBus()
getFromAclfBus
in interface AclfBranch
public BaseAclfBus<?,?> getToAclfBus()
getToAclfBus
in interface AclfBranch
public AclfLineAdapter toLine()
toLine
in interface IAclfBranchAdaptation
public AclfXformerAdapter toXfr()
toXfr
in interface IAclfBranchAdaptation
public AclfPSXformerAdapter toPSXfr()
toPSXfr
in interface IAclfBranchAdaptation
public double b11ft()
b11ft
in interface IAclfBranch
public double b11tf()
b11tf
in interface IAclfBranch
public double b1ft()
b1ft
in interface IAclfBranch
public double b1tf()
b1tf
in interface IAclfBranch
public org.apache.commons.math3.complex.Complex yff()
yff
in interface IAclfBranch
public org.apache.commons.math3.complex.Complex ytt()
ytt
in interface IAclfBranch
public org.apache.commons.math3.complex.Complex yft()
yft
in interface IAclfBranch
public org.apache.commons.math3.complex.Complex ytf()
ytf
in interface IAclfBranch
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class BranchImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BranchImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BranchImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BranchImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BranchImpl
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BranchImpl
public java.lang.String toString()
toString
in class BranchImpl
public java.lang.String toString(double baseKVA)
toString
in interface Branch
toString
in class BranchImpl
baseKVA
- System base kva
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class BranchImpl
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class BranchImpl
java.io.IOException