public class AclfBranchRatingImpl extends AclfBranchAdapterImpl implements AclfBranchRating
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
branch
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 |
AclfBranchRatingImpl() |
Modifier and Type | Method and Description |
---|---|
double |
ampsLoadingPercent(double baseKva) |
double |
ampsLoadingPercent(double ampsRating,
double baseKva) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
double |
getMvaRating() |
double |
getMvaRating(CABranchRatingType ratingType) |
boolean |
isRatingViolated(CAViolationType vtype,
CABranchRatingType ratingType,
double baseKva) |
boolean |
isRatingViolated(CAViolationType type,
CABranchRatingType ratingType,
double loadingPercent,
double baseKva) |
boolean |
isRatingViolated(CAViolationType type,
double baseKva) |
boolean |
isRatingViolated(CAViolationType type,
double loadingPercent,
double baseKva) |
double |
mvaLoadingPercent(double baseKva) |
double |
mvaLoadingPercent(double mvaRating,
double baseKva) |
getFromShuntY, getMvaRating1, getMvaRating2, getMvaRating3, getToShuntY, getZ, setBranch, setFromShuntY, setFromShuntY, setMvaRating1, setMvaRating2, setMvaRating3, setToShuntY, setToShuntY, setZ
eGet, eIsSet, eSet, eUnset, getBranch, readData, toString, writeData
checkData, 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, eInverseAdd, eInverseRemove, 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
getFromShuntY, getMvaRating1, getMvaRating2, getMvaRating3, getToShuntY, getZ, setFromShuntY, setFromShuntY, setMvaRating1, setMvaRating2, setMvaRating3, setToShuntY, setToShuntY, setZ
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
public double mvaLoadingPercent(double mvaRating, double baseKva)
mvaLoadingPercent
in interface AclfBranchRating
mvaRating
- mva ratingbaseKva
- base kva for unit conversion
public double getMvaRating()
getMvaRating
in interface AclfBranchRating
public double getMvaRating(CABranchRatingType ratingType)
getMvaRating
in interface AclfBranchRating
ratingType
- branch rating type
public double mvaLoadingPercent(double baseKva)
mvaLoadingPercent
in interface AclfBranchRating
baseKva
- base kva for unit conversion
public double ampsLoadingPercent(double ampsRating, double baseKva)
ampsLoadingPercent
in interface AclfBranchRating
ampsRating
- current ratingbaseKva
- base kva for unit conversion
public double ampsLoadingPercent(double baseKva)
ampsLoadingPercent
in interface AclfBranchRating
baseKva
- base kva for unit conversion
public boolean isRatingViolated(CAViolationType type, double baseKva)
isRatingViolated
in interface AclfBranchRating
type
- rating typebaseKva
- base kva for unit conversion
public boolean isRatingViolated(CAViolationType type, double loadingPercent, double baseKva)
isRatingViolated
in interface AclfBranchRating
type
- rating typeloadingPercent
- loading percetagebaseKva
- base kva for unit conversion
public boolean isRatingViolated(CAViolationType vtype, CABranchRatingType ratingType, double baseKva)
isRatingViolated
in interface AclfBranchRating
vtype
- rating typeratingType
- rating typebaseKva
- base kva for unit conversion
public boolean isRatingViolated(CAViolationType type, CABranchRatingType ratingType, double loadingPercent, double baseKva)
isRatingViolated
in interface AclfBranchRating
type
- rating typeratingType
- rating typeloadingPercent
- loading percentagebaseKva
- base kva for unit conversion
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class AclfBranchAdapterImpl