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.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 |
---|---|
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, eSetProxyURI
eAddVirtualValue, 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, toString
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public static boolean NR_AutoAdjust
protected INrSolver nrSolver
Nr Solver
' reference.
getNrSolver()
public INrSolver getNrSolver()
getNrSolver
in interface LfCalculator
LfCalculator.setNrSolver(INrSolver)
,
CoreAlgorithmPackage.getLfCalculator_NrSolver()
public void setNrSolver(INrSolver newNrSolver)
setNrSolver
in interface LfCalculator
newNrSolver
- the new value of the 'Nr Solver' reference.LfCalculator.getNrSolver()
public LoadflowAlgorithm getLfAlgo()
getLfAlgo
in interface LfCalculator
LfCalculator.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 LfCalculator
newLfAlgo
- the new value of the 'Lf Algo' container reference.LfCalculator.getLfAlgo()
public boolean calLoadflow() throws InterpssException
calLoadflow
in interface LfCalculator
InterpssException
public boolean nrMethod() throws InterpssException
nrMethod
in interface LfCalculator
InterpssException
public boolean pqMethod() throws InterpssException
pqMethod
in interface LfCalculator
InterpssException
public boolean gsMethod() throws InterpssException
gsMethod
in interface LfCalculator
InterpssException
public boolean customMethod(CustomLFMethod method) throws InterpssException
customMethod
in interface LfCalculator
method
- Aclf method
InterpssException
public boolean nrStep()
nrStep
in interface LfCalculator
public boolean pq_PStep(boolean adjustChangeStep) throws InterpssException
pq_PStep
in interface LfCalculator
adjustChangeStep
- boolean to indicate if the change step needs to be adjusted
InterpssException
public boolean pq_QStep(boolean adjustChangeStepk) throws InterpssException
pq_QStep
in interface LfCalculator
adjustChangeStepk
- boolean to indicate if the change step needs to be adjusted
InterpssException
public boolean gsStep()
gsStep
in interface LfCalculator
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EObjectImpl
public 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.BasicEObjectImpl
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 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl