public class SimpleFaultAlgorithmImpl extends NetworkRefImpl<BaseAcscNetwork<?,?>> implements SimpleFaultAlgorithm
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.EPropertiesHolderImplorg.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 org.eclipse.emf.common.util.EList<AcscBusFault> |
faultList
The cached value of the '
Fault List' containment reference list. |
protected static double |
MULTI_FACTOR_EDEFAULT
The default value of the '
Multi Factor' attribute. |
protected double |
multiFactor
The cached value of the '
Multi Factor' attribute. |
protected static ScBusModelType |
SC_BUS_MODEL_TYPE_EDEFAULT
The default value of the '
Sc Bus Model Type' attribute. |
protected ScBusModelType |
scBusModelType
The cached value of the '
Sc Bus Model Type' attribute. |
networkdesc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfoeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Constructor and Description |
|---|
SimpleFaultAlgorithmImpl() |
| Modifier and Type | Method and Description |
|---|---|
AcscBranchFault |
addBranchFault(java.lang.String branchId,
java.lang.String idStr,
AcscBranchFault branchFault) |
AcscBusFault |
addBusFault(java.lang.String busId,
java.lang.String idStr,
AcscBusFault busFault) |
void |
calBranchFault(AcscBranchFault fault) |
void |
calBusFault(AcscBusFault fault) |
void |
calFault() |
void |
calFault(boolean cacheBusScVolt) |
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) |
AcscBusFault |
getFault(java.lang.String faultId) |
org.eclipse.emf.common.util.EList<AcscBusFault> |
getFaultList() |
double |
getMultiFactor() |
ScBusModelType |
getScBusModelType() |
void |
initParallelProcessing() |
void |
removeAllFault() |
void |
removeFault(java.lang.String faultId) |
void |
setMultiFactor(double newMultiFactor) |
void |
setNetwork(BaseAcscNetwork<?,?> newNetwork)
This is specialized for the more specific type known in this context.
|
void |
setScBusModelType(ScBusModelType newScBusModelType) |
void |
setYMatrixDirty() |
java.lang.String |
toString() |
getNetwork, readData, writeDatacheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNetworkcheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverprotected static final double MULTI_FACTOR_EDEFAULT
Multi Factor' attribute.
getMultiFactor(),
Constant Field Valuesprotected double multiFactor
Multi Factor' attribute.
getMultiFactor()protected static final ScBusModelType SC_BUS_MODEL_TYPE_EDEFAULT
Sc Bus Model Type' attribute.
getScBusModelType()protected ScBusModelType scBusModelType
Sc Bus Model Type' attribute.
getScBusModelType()protected org.eclipse.emf.common.util.EList<AcscBusFault> faultList
Fault List' containment reference list.
getFaultList()public void setNetwork(BaseAcscNetwork<?,?> newNetwork)
setNetwork in interface NetworkRef<BaseAcscNetwork<?,?>>setNetwork in class NetworkRefImpl<BaseAcscNetwork<?,?>>newNetwork - the new value of the 'Network' reference.NetworkRef.getNetwork()public double getMultiFactor()
getMultiFactor in interface SimpleFaultAlgorithmSimpleFaultAlgorithm.setMultiFactor(double),
ScAlgorithmPackage.getSimpleFaultAlgorithm_MultiFactor()public void setMultiFactor(double newMultiFactor)
setMultiFactor in interface SimpleFaultAlgorithmnewMultiFactor - the new value of the 'Multi Factor' attribute.SimpleFaultAlgorithm.getMultiFactor()public ScBusModelType getScBusModelType()
getScBusModelType in interface SimpleFaultAlgorithmScBusModelType,
SimpleFaultAlgorithm.setScBusModelType(ScBusModelType),
ScAlgorithmPackage.getSimpleFaultAlgorithm_ScBusModelType()public void setScBusModelType(ScBusModelType newScBusModelType)
setScBusModelType in interface SimpleFaultAlgorithmnewScBusModelType - the new value of the 'Sc Bus Model Type' attribute.ScBusModelType,
SimpleFaultAlgorithm.getScBusModelType()public org.eclipse.emf.common.util.EList<AcscBusFault> getFaultList()
getFaultList in interface SimpleFaultAlgorithmScAlgorithmPackage.getSimpleFaultAlgorithm_FaultList()public void initParallelProcessing()
initParallelProcessing in interface SimpleFaultAlgorithmpublic void setYMatrixDirty()
setYMatrixDirty in interface SimpleFaultAlgorithmpublic void calFault()
throws InterpssException
calFault in interface SimpleFaultAlgorithmInterpssExceptionpublic void calFault(boolean cacheBusScVolt)
throws InterpssException
calFault in interface SimpleFaultAlgorithmcacheBusScVolt - bus SC voltage result cache flag
InterpssExceptionpublic void calBusFault(AcscBusFault fault) throws InterpssException
calBusFault in interface SimpleFaultAlgorithmfault - fault object
InterpssExceptionpublic void calBranchFault(AcscBranchFault fault) throws InterpssException
calBranchFault in interface SimpleFaultAlgorithmfault - fault object
InterpssExceptionpublic AcscBusFault getFault(java.lang.String faultId)
getFault in interface SimpleFaultAlgorithmfaultId - fault id
public AcscBusFault addBusFault(java.lang.String busId, java.lang.String idStr, AcscBusFault busFault)
addBusFault in interface SimpleFaultAlgorithmbusId - bus ididStr - fault id stringbusFault - fault object
public AcscBranchFault addBranchFault(java.lang.String branchId, java.lang.String idStr, AcscBranchFault branchFault)
addBranchFault in interface SimpleFaultAlgorithmbranchId - fault branch ididStr - fault id stringbranchFault - fault object
public void removeFault(java.lang.String faultId)
removeFault in interface SimpleFaultAlgorithmfaultId - BusFault id or BranchFault id
public void removeAllFault()
removeAllFault in interface SimpleFaultAlgorithmprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class NetworkRefImpl<BaseAcscNetwork<?,?>>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 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class NetworkRefImpl<BaseAcscNetwork<?,?>>public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class NetworkRefImpl<BaseAcscNetwork<?,?>>public void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class NetworkRefImpl<BaseAcscNetwork<?,?>>public boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class NetworkRefImpl<BaseAcscNetwork<?,?>>public java.lang.String toString()
toString in class NameTagImpl