public class LfCalculatorImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements LfCalculator
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 |
|---|---|
static boolean |
NR_AutoAdjust
If set true, only apply non-divergent LF when mismatch is increasing
|
protected INrSolver |
nrSolver
The cached value of the '
Nr Solver' reference. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
LfCalculatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLfAlgo(LoadflowAlgorithm newLfAlgo,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
calLoadflow() |
boolean |
customMethod(CustomLFMethod method) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
LoadflowAlgorithm |
getLfAlgo() |
INrSolver |
getNrSolver() |
boolean |
gsMethod() |
boolean |
gsStep() |
boolean |
nrMethod() |
boolean |
nrStep() |
boolean |
pq_PStep(boolean adjustChangeStep) |
boolean |
pq_QStep(boolean adjustChangeStepk) |
boolean |
pqMethod() |
void |
setLfAlgo(LoadflowAlgorithm newLfAlgo) |
void |
setNrSolver(INrSolver newNrSolver) |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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, toStringeBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic static boolean NR_AutoAdjust
protected INrSolver nrSolver
Nr Solver' reference.
getNrSolver()public INrSolver getNrSolver()
getNrSolver in interface LfCalculatorLfCalculator.setNrSolver(INrSolver),
CoreAlgorithmPackage.getLfCalculator_NrSolver()public void setNrSolver(INrSolver newNrSolver)
setNrSolver in interface LfCalculatornewNrSolver - the new value of the 'Nr Solver' reference.LfCalculator.getNrSolver()public LoadflowAlgorithm getLfAlgo()
getLfAlgo in interface LfCalculatorLfCalculator.setLfAlgo(LoadflowAlgorithm),
CoreAlgorithmPackage.getLfCalculator_LfAlgo(),
LoadflowAlgorithm.getLfCalculator()public org.eclipse.emf.common.notify.NotificationChain basicSetLfAlgo(LoadflowAlgorithm newLfAlgo, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLfAlgo(LoadflowAlgorithm newLfAlgo)
setLfAlgo in interface LfCalculatornewLfAlgo - the new value of the 'Lf Algo' container reference.LfCalculator.getLfAlgo()public boolean calLoadflow()
throws InterpssException
calLoadflow in interface LfCalculatorInterpssExceptionpublic boolean nrMethod()
throws InterpssException
nrMethod in interface LfCalculatorInterpssExceptionpublic boolean pqMethod()
throws InterpssException
pqMethod in interface LfCalculatorInterpssExceptionpublic boolean gsMethod()
throws InterpssException
gsMethod in interface LfCalculatorInterpssExceptionpublic boolean customMethod(CustomLFMethod method) throws InterpssException
customMethod in interface LfCalculatormethod - Aclf method
InterpssExceptionpublic boolean nrStep()
nrStep in interface LfCalculatorpublic boolean pq_PStep(boolean adjustChangeStep)
throws InterpssException
pq_PStep in interface LfCalculatoradjustChangeStep - boolean to indicate if the change step needs to be adjusted
InterpssExceptionpublic boolean pq_QStep(boolean adjustChangeStepk)
throws InterpssException
pq_QStep in interface LfCalculatoradjustChangeStepk - boolean to indicate if the change step needs to be adjusted
InterpssExceptionpublic boolean gsStep()
gsStep in interface LfCalculatorprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic 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 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature 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 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl