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.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 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. |
network
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
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, 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, 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
getNetwork
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 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 SimpleFaultAlgorithm
SimpleFaultAlgorithm.setMultiFactor(double)
,
ScAlgorithmPackage.getSimpleFaultAlgorithm_MultiFactor()
public void setMultiFactor(double newMultiFactor)
setMultiFactor
in interface SimpleFaultAlgorithm
newMultiFactor
- the new value of the 'Multi Factor' attribute.SimpleFaultAlgorithm.getMultiFactor()
public ScBusModelType getScBusModelType()
getScBusModelType
in interface SimpleFaultAlgorithm
ScBusModelType
,
SimpleFaultAlgorithm.setScBusModelType(ScBusModelType)
,
ScAlgorithmPackage.getSimpleFaultAlgorithm_ScBusModelType()
public void setScBusModelType(ScBusModelType newScBusModelType)
setScBusModelType
in interface SimpleFaultAlgorithm
newScBusModelType
- 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 SimpleFaultAlgorithm
ScAlgorithmPackage.getSimpleFaultAlgorithm_FaultList()
public void initParallelProcessing()
initParallelProcessing
in interface SimpleFaultAlgorithm
public void setYMatrixDirty()
setYMatrixDirty
in interface SimpleFaultAlgorithm
public void calFault() throws InterpssException
calFault
in interface SimpleFaultAlgorithm
InterpssException
public void calFault(boolean cacheBusScVolt) throws InterpssException
calFault
in interface SimpleFaultAlgorithm
cacheBusScVolt
- bus SC voltage result cache flag
InterpssException
public void calBusFault(AcscBusFault fault) throws InterpssException
calBusFault
in interface SimpleFaultAlgorithm
fault
- fault object
InterpssException
public void calBranchFault(AcscBranchFault fault) throws InterpssException
calBranchFault
in interface SimpleFaultAlgorithm
fault
- fault object
InterpssException
public AcscBusFault getFault(java.lang.String faultId)
getFault
in interface SimpleFaultAlgorithm
faultId
- fault id
public AcscBusFault addBusFault(java.lang.String busId, java.lang.String idStr, AcscBusFault busFault)
addBusFault
in interface SimpleFaultAlgorithm
busId
- bus ididStr
- fault id stringbusFault
- fault object
public AcscBranchFault addBranchFault(java.lang.String branchId, java.lang.String idStr, AcscBranchFault branchFault)
addBranchFault
in interface SimpleFaultAlgorithm
branchId
- fault branch ididStr
- fault id stringbranchFault
- fault object
public void removeFault(java.lang.String faultId)
removeFault
in interface SimpleFaultAlgorithm
faultId
- BusFault id or BranchFault id
public void removeAllFault()
removeAllFault
in interface SimpleFaultAlgorithm
protected 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.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NetworkRefImpl<BaseAcscNetwork<?,?>>
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NetworkRefImpl<BaseAcscNetwork<?,?>>
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NetworkRefImpl<BaseAcscNetwork<?,?>>
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NetworkRefImpl<BaseAcscNetwork<?,?>>
public java.lang.String toString()
toString
in class NameTagImpl