public class AclfBranchImpl extends BranchImpl implements AclfBranch
The following features are implemented:
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.EObservableAdapterListcopyright| 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) |
void |
copy(NameTag from,
NameTag to) |
void |
copyRef(NameTag from,
NameTag to) |
org.apache.commons.math3.complex.Complex |
current() |
double |
current(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
currentIntoNetFromSide() |
org.apache.commons.math3.complex.Complex |
currentIntoNetToSide() |
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) |
void |
eUnset(int featureID) |
java.lang.Object |
getAdapter(java.lang.Class<?> klass) |
AclfBranchCode |
getBranchCode() |
double |
getDclfFlow() |
IAclfBranch |
getExtAclfBranch() |
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() |
double |
getZMultiplyFactor() |
boolean |
hasSameBaseVoltage() |
boolean |
isLine() |
boolean |
isPSXfr() |
boolean |
isPSXfrPControl() |
boolean |
isTapControl() |
boolean |
isXfr() |
boolean |
isZeroImpedanceBranch() |
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(SecAnalysisBranchRatingType type) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setBranchCode(AclfBranchCode newBranchCode) |
void |
setDclfFlow(double newDclfFlow) |
void |
setExtensionObject(java.lang.Object obj) |
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(double newZMultiplyFactor) |
AclfLine |
toLine() |
AclfPSXformer |
toPSXfr() |
java.lang.String |
toString() |
java.lang.String |
toString(double baseKVA) |
AclfXformer |
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, getAdapter, getCircuitNumber, getConnectedPhysicalOppositeBus, getFromBus, getFromPhysicalBusConnected, getFromPhysicalBusId, getNetwork, getOppositeBus, getToBus, getToPhysicalBusConnected, getToPhysicalBusId, isChildBranch, isFromBus, isFromSideMetered, isGroundBranch, isToBus, processZeroImpedanceBranch, setAttributes, setAttributes, setChildBranch, setCircuitNumber, setFromBus, setFromSideMetered, setNetwork, setToBusgetExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCircuitNumber, getFromBus, getNetwork, getOppositeBus, getToBus, isChildBranch, isFromBus, isFromSideMetered, isGroundBranch, isToBus, setAttributes, setAttributes, setChildBranch, setCircuitNumber, setFromBus, setFromSideMetered, setNetwork, setToBusgetExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, 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, eSetDelivergetAdaptergetConnectedPhysicalOppositeBus, getFromPhysicalBusConnected, getFromPhysicalBusId, getToPhysicalBusConnected, getToPhysicalBusIdpublic boolean checkData(DataCheckConfiguration config)
checkData in interface NameTagcheckData in class BranchImplconfig - data check configuration
public void copy(NameTag from, NameTag to) throws InterpssException
NameTagImplcopy in interface NameTagcopy in class BranchImplfrom - from objectto - to object
InterpssExceptionpublic void copyRef(NameTag from, NameTag to) throws InterpssException
NameTagImplcopyRef in interface NameTagcopyRef in class BranchImplfrom - from ref objectto - to ref object
InterpssExceptionpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class BranchImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class BranchImpljava.io.IOExceptionpublic AclfBranchCode getBranchCode()
getBranchCode in interface AclfBranchAclfBranchCode,
AclfBranch.setBranchCode(AclfBranchCode),
AclfPackage.getAclfBranch_BranchCode()public void setBranchCode(AclfBranchCode newBranchCode)
setBranchCode in interface AclfBranchnewBranchCode - the new value of the 'Branch Code' attribute.AclfBranchCode,
AclfBranch.getBranchCode()public boolean isLine()
isLine in interface AclfBranchpublic boolean isPSXfr()
isPSXfr in interface AclfBranchpublic boolean isXfr()
isXfr in interface AclfBranchpublic boolean isTapControl()
isTapControl in interface IAclfBranchAdjustmentpublic boolean isPSXfrPControl()
isPSXfrPControl in interface IAclfBranchAdjustmentpublic org.apache.commons.math3.complex.Complex getZ()
getZ in interface AclfBranchAclfBranch.setZ(Complex),
AclfPackage.getAclfBranch_Z()public org.apache.commons.math3.complex.Complex getY()
getY in interface AclfBranchpublic void setZ(org.apache.commons.math3.complex.Complex newZ)
setZ in interface AclfBranchnewZ - the new value of the 'Z' attribute.AclfBranch.getZ()public double getZMultiplyFactor()
getZMultiplyFactor in interface AclfBranchAclfBranch.setZMultiplyFactor(double),
AclfPackage.getAclfBranch_ZMultiplyFactor()public void setZMultiplyFactor(double newZMultiplyFactor)
setZMultiplyFactor in interface AclfBranchnewZMultiplyFactor - the new value of the 'ZMultiply Factor' attribute.AclfBranch.getZMultiplyFactor()public int getXfrZTableNumber()
getXfrZTableNumber in interface AclfBranchAclfBranch.setXfrZTableNumber(int),
AclfPackage.getAclfBranch_XfrZTableNumber()public void setXfrZTableNumber(int newXfrZTableNumber)
setXfrZTableNumber in interface AclfBranchnewXfrZTableNumber - the new value of the 'Xfr ZTable Number' attribute.AclfBranch.getXfrZTableNumber()public org.apache.commons.math3.complex.Complex getHShuntY()
getHShuntY in interface AclfBranchAclfBranch.setHShuntY(Complex),
AclfPackage.getAclfBranch_HShuntY()public void setHShuntY(org.apache.commons.math3.complex.Complex newHShuntY)
setHShuntY in interface AclfBranchnewHShuntY - the new value of the 'HShunt Y' attribute.AclfBranch.getHShuntY()public double getFromTurnRatio()
getFromTurnRatio in interface AclfBranchAclfBranch.setFromTurnRatio(double),
AclfPackage.getAclfBranch_FromTurnRatio()public void setFromTurnRatio(double newFromTurnRatio)
setFromTurnRatio in interface AclfBranchnewFromTurnRatio - the new value of the 'From Turn Ratio' attribute.AclfBranch.getFromTurnRatio()public double getToTurnRatio()
getToTurnRatio in interface AclfBranchAclfBranch.setToTurnRatio(double),
AclfPackage.getAclfBranch_ToTurnRatio()public void setToTurnRatio(double newToTurnRatio)
setToTurnRatio in interface AclfBranchnewToTurnRatio - the new value of the 'To Turn Ratio' attribute.AclfBranch.getToTurnRatio()public org.apache.commons.math3.complex.Complex getFromShuntY()
getFromShuntY in interface AclfBranchAclfBranch.setFromShuntY(Complex),
AclfPackage.getAclfBranch_FromShuntY()public void setFromShuntY(org.apache.commons.math3.complex.Complex newFromShuntY)
setFromShuntY in interface AclfBranchnewFromShuntY - the new value of the 'From Shunt Y' attribute.AclfBranch.getFromShuntY()public org.apache.commons.math3.complex.Complex getToShuntY()
getToShuntY in interface AclfBranchAclfBranch.setToShuntY(Complex),
AclfPackage.getAclfBranch_ToShuntY()public void setToShuntY(org.apache.commons.math3.complex.Complex newToShuntY)
setToShuntY in interface AclfBranchnewToShuntY - the new value of the 'To Shunt Y' attribute.AclfBranch.getToShuntY()public double getFromPSXfrAngle()
getFromPSXfrAngle in interface AclfBranchAclfBranch.setFromPSXfrAngle(double),
AclfPackage.getAclfBranch_FromPSXfrAngle()public void setFromPSXfrAngle(double newFromPSXfrAngle)
setFromPSXfrAngle in interface AclfBranchnewFromPSXfrAngle - the new value of the 'From PS Xfr Angle' attribute.AclfBranch.getFromPSXfrAngle()public double getToPSXfrAngle()
getToPSXfrAngle in interface AclfBranchAclfBranch.setToPSXfrAngle(double),
AclfPackage.getAclfBranch_ToPSXfrAngle()public void setToPSXfrAngle(double newToPSXfrAngle)
setToPSXfrAngle in interface AclfBranchnewToPSXfrAngle - the new value of the 'To PS Xfr Angle' attribute.AclfBranch.getToPSXfrAngle()public double getRatingMva1()
getRatingMva1 in interface AclfBranchgetRatingMva1 in interface IAclfBranchAclfBranch.setRatingMva1(double),
AclfPackage.getAclfBranch_RatingMva1()public void setRatingMva1(double newRatingMva1)
setRatingMva1 in interface AclfBranchnewRatingMva1 - the new value of the 'Rating Mva1' attribute.AclfBranch.getRatingMva1()public double getRatingMva2()
getRatingMva2 in interface AclfBranchgetRatingMva2 in interface IAclfBranchAclfBranch.setRatingMva2(double),
AclfPackage.getAclfBranch_RatingMva2()public void setRatingMva2(double newRatingMva2)
setRatingMva2 in interface AclfBranchnewRatingMva2 - the new value of the 'Rating Mva2' attribute.AclfBranch.getRatingMva2()public double getRatingMva3()
getRatingMva3 in interface AclfBranchgetRatingMva3 in interface IAclfBranchAclfBranch.setRatingMva3(double),
AclfPackage.getAclfBranch_RatingMva3()public void setRatingMva3(double newRatingMva3)
setRatingMva3 in interface AclfBranchnewRatingMva3 - the new value of the 'Rating Mva3' attribute.AclfBranch.getRatingMva3()public double getRatingAmps()
getRatingAmps in interface AclfBranchAclfBranch.setRatingAmps(double),
AclfPackage.getAclfBranch_RatingAmps()public void setRatingAmps(double newRatingAmps)
setRatingAmps in interface AclfBranchnewRatingAmps - the new value of the 'Rating Amps' attribute.AclfBranch.getRatingAmps()public double getLossFactor()
getLossFactor in interface AclfBranchAclfBranch.setLossFactor(double),
AclfPackage.getAclfBranch_LossFactor()public void setLossFactor(double newLossFactor)
setLossFactor in interface AclfBranchnewLossFactor - the new value of the 'Loss Factor' attribute.AclfBranch.getLossFactor()public double getDclfFlow()
getDclfFlow in interface AclfBranchAclfBranch.setDclfFlow(double),
AclfPackage.getAclfBranch_DclfFlow()public void setDclfFlow(double newDclfFlow)
setDclfFlow in interface AclfBranchnewDclfFlow - the new value of the 'Dclf Flow' attribute.AclfBranch.getDclfFlow()public BranchFlowControl getFlowControl()
getFlowControl in interface AclfBranchAclfBranch.setFlowControl(BranchFlowControl),
AclfPackage.getAclfBranch_FlowControl()public TapControl getTapControl()
getTapControl in interface IAclfBranchAdjustmentpublic PSXfrPControl getPSXfrPControl()
getPSXfrPControl in interface IAclfBranchAdjustmentpublic org.eclipse.emf.common.notify.NotificationChain basicSetFlowControl(BranchFlowControl newFlowControl, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFlowControl(BranchFlowControl newFlowControl)
setFlowControl in interface AclfBranchnewFlowControl - the new value of the 'Flow Control' containment reference.AclfBranch.getFlowControl()public boolean hasSameBaseVoltage()
hasSameBaseVoltage in interface IAclfBranchFuncpublic boolean isZeroZBranch()
throws InterpssException
isZeroZBranch in interface IAclfBranchFuncInterpssExceptionpublic double getHigherBaseVoltage()
getHigherBaseVoltage in interface IAclfBranchFuncpublic BaseAclfBus<?,?> getFromAclfBus()
getFromAclfBus in interface AclfBranchpublic BaseAclfBus<?,?> getToAclfBus()
getToAclfBus in interface AclfBranchpublic java.lang.Object getAdapter(java.lang.Class<?> klass)
getAdapter in interface IAdaptablegetAdapter in class BranchImplpublic AclfLine toLine()
toLine in interface IAclfBranchAdaptationpublic AclfXformer toXfr()
toXfr in interface IAclfBranchAdaptationpublic AclfPSXformer toPSXfr()
toPSXfr in interface IAclfBranchAdaptationpublic double b11ft()
b11ft in interface IAclfBranchpublic double b11tf()
b11tf in interface IAclfBranchpublic double b1ft()
b1ft in interface IAclfBranchpublic double b1tf()
b1tf in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex yff()
yff in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex ytt()
ytt in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex yft()
yft in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex ytf()
ytf in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex currentIntoNetFromSide()
currentIntoNetFromSide in interface IAclfBranchpublic org.apache.commons.math3.complex.Complex currentIntoNetToSide()
currentIntoNetToSide in interface IAclfBranchpublic double current(Unit.UnitType unit)
current in interface AclfBranchunit - unit of the current
public org.apache.commons.math3.complex.Complex current()
public org.apache.commons.math3.complex.Complex powerFrom2To(Unit.UnitType unit)
powerFrom2To in interface AclfBranchunit - unit of the power flow
public org.apache.commons.math3.complex.Complex powerFrom2To()
powerFrom2To in interface AclfBranchpublic org.apache.commons.math3.complex.Complex powerTo2From(Unit.UnitType unit)
powerTo2From in interface AclfBranchunit - unit of the power flow
public org.apache.commons.math3.complex.Complex powerTo2From()
powerTo2From in interface AclfBranchpublic org.apache.commons.math3.complex.Complex loss()
loss in interface IAclfBranchFuncpublic org.apache.commons.math3.complex.Complex loss(Unit.UnitType unit)
loss in interface IAclfBranchFuncunit - unit of the loss
public double voltageDrop(Unit.UnitType unit)
voltageDrop in interface IAclfBranchFuncunit - unit of the voltage drop
public double mvaFlow(Unit.UnitType unit)
mvaFlow in interface IAclfBranchFuncunit - unit of the mva flow
public org.apache.commons.math3.complex.Complex pqFlow(Unit.UnitType unit)
pqFlow in interface IAclfBranchFuncunit - unit of the PQ flow
public boolean ratingViolation(SecAnalysisBranchRatingType type)
ratingViolation in interface IAclfBranchFunctype - branc rating type
public IAclfBranch getExtAclfBranch()
public void setExtensionObject(java.lang.Object obj)
ExtensionElementImplsetExtensionObject in interface ExtensionElementsetExtensionObject in class ExtensionElementImplobj - the new value of the 'Extension Object' attribute.ExtensionElement.getExtensionObject()public boolean isZeroImpedanceBranch()
BranchImplisZeroImpedanceBranch in class BranchImplpublic 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 BranchImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class BranchImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class BranchImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class BranchImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class BranchImplpublic java.lang.String toString()
toString in class BranchImplpublic java.lang.String toString(double baseKVA)
toString in interface BranchtoString in class BranchImplbaseKVA - System base kva