public class LfAdjustAlgorithmImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements LfAdjustAlgorithm
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 LfAdjustAccFactor |
accFactorConfig
The cached value of the '
Acc Factor Config ' reference. |
protected static boolean |
ACTIVATE_ALL_ADJUST_EDEFAULT
The default value of the '
Activate All Adjust ' attribute. |
protected boolean |
activateAllAdjust
The cached value of the '
Activate All Adjust ' attribute. |
protected static boolean |
APPLY_ADJUST_ALGO_EDEFAULT
The default value of the '
Apply Adjust Algo ' attribute. |
protected boolean |
applyAdjustAlgo
The cached value of the '
Apply Adjust Algo ' attribute. |
protected static boolean |
LIMIT_BACKOFF_CHECK_EDEFAULT
The default value of the '
Limit Backoff Check ' attribute. |
protected boolean |
limitBackoffCheck
The cached value of the '
Limit Backoff Check ' attribute. |
protected PowerAdjControlConfig |
powerAdjConfig
The cached value of the '
Power Adj Config ' reference. |
protected VoltageAdjControlConfig |
voltAdjConfig
The cached value of the '
Volt Adj Config ' reference. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
LfAdjustAlgorithmImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLfAlgo(LoadflowAlgorithm newLfAlgo,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
doAllAdjust(Mismatch mismatch,
AclfMethodType lfMethod)
Perform adjustment.
|
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) |
LfAdjustAccFactor |
getAccFactorConfig() |
LoadflowAlgorithm |
getLfAlgo() |
PowerAdjControlConfig |
getPowerAdjConfig() |
double |
getPowerAdjStartError(double tolerance) |
VoltageAdjControlConfig |
getVoltAdjConfig() |
double |
getVoltAdjStartError(double tolerance) |
void |
initialize(java.util.function.Consumer<LfAdjustAlgorithm> initializer) |
void |
initSensitivity() |
boolean |
isActivateAllAdjust() |
boolean |
isApplyAdjustAlgo() |
boolean |
isLimitBackoffCheck() |
boolean |
needAdjustment()
Check if there is a need to perform adjustment.
|
void |
setAccFactorConfig(LfAdjustAccFactor newAccFactorConfig) |
void |
setActivateAllAdjust(boolean newActivateAllAdjust) |
void |
setApplyAdjustAlgo(boolean newApplyAdjustAlgo) |
void |
setLfAlgo(LoadflowAlgorithm newLfAlgo) |
void |
setLimitBackoffCheck(boolean newLimitBackoffCheck) |
void |
setPowerAdjConfig(PowerAdjControlConfig newPowerAdjConfig) |
void |
setVoltAdjConfig(VoltageAdjControlConfig newVoltAdjConfig) |
java.lang.String |
toString() |
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
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
protected static final boolean APPLY_ADJUST_ALGO_EDEFAULT
Apply Adjust Algo
' attribute.
isApplyAdjustAlgo()
,
Constant Field Valuesprotected boolean applyAdjustAlgo
Apply Adjust Algo
' attribute.
isApplyAdjustAlgo()
protected static final boolean ACTIVATE_ALL_ADJUST_EDEFAULT
Activate All Adjust
' attribute.
isActivateAllAdjust()
,
Constant Field Valuesprotected boolean activateAllAdjust
Activate All Adjust
' attribute.
isActivateAllAdjust()
protected static final boolean LIMIT_BACKOFF_CHECK_EDEFAULT
Limit Backoff Check
' attribute.
isLimitBackoffCheck()
,
Constant Field Valuesprotected boolean limitBackoffCheck
Limit Backoff Check
' attribute.
isLimitBackoffCheck()
protected LfAdjustAccFactor accFactorConfig
Acc Factor Config
' reference.
getAccFactorConfig()
protected VoltageAdjControlConfig voltAdjConfig
Volt Adj Config
' reference.
getVoltAdjConfig()
protected PowerAdjControlConfig powerAdjConfig
Power Adj Config
' reference.
getPowerAdjConfig()
public boolean isApplyAdjustAlgo()
isApplyAdjustAlgo
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setApplyAdjustAlgo(boolean)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_ApplyAdjustAlgo()
public void setApplyAdjustAlgo(boolean newApplyAdjustAlgo)
setApplyAdjustAlgo
in interface LfAdjustAlgorithm
newApplyAdjustAlgo
- the new value of the 'Apply Adjust Algo' attribute.LfAdjustAlgorithm.isApplyAdjustAlgo()
public boolean isLimitBackoffCheck()
isLimitBackoffCheck
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setLimitBackoffCheck(boolean)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_LimitBackoffCheck()
public void setLimitBackoffCheck(boolean newLimitBackoffCheck)
setLimitBackoffCheck
in interface LfAdjustAlgorithm
newLimitBackoffCheck
- the new value of the 'Limit Backoff Check' attribute.LfAdjustAlgorithm.isLimitBackoffCheck()
public LfAdjustAccFactor getAccFactorConfig()
getAccFactorConfig
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setAccFactorConfig(LfAdjustAccFactor)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_AccFactorConfig()
public void setAccFactorConfig(LfAdjustAccFactor newAccFactorConfig)
setAccFactorConfig
in interface LfAdjustAlgorithm
newAccFactorConfig
- the new value of the 'Acc Factor Config' reference.LfAdjustAlgorithm.getAccFactorConfig()
public VoltageAdjControlConfig getVoltAdjConfig()
getVoltAdjConfig
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setVoltAdjConfig(VoltageAdjControlConfig)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_VoltAdjConfig()
public void setVoltAdjConfig(VoltageAdjControlConfig newVoltAdjConfig)
setVoltAdjConfig
in interface LfAdjustAlgorithm
newVoltAdjConfig
- the new value of the 'Volt Adj Config' reference.LfAdjustAlgorithm.getVoltAdjConfig()
public PowerAdjControlConfig getPowerAdjConfig()
getPowerAdjConfig
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setPowerAdjConfig(PowerAdjControlConfig)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_PowerAdjConfig()
public void setPowerAdjConfig(PowerAdjControlConfig newPowerAdjConfig)
setPowerAdjConfig
in interface LfAdjustAlgorithm
newPowerAdjConfig
- the new value of the 'Power Adj Config' reference.LfAdjustAlgorithm.getPowerAdjConfig()
public LoadflowAlgorithm getLfAlgo()
getLfAlgo
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setLfAlgo(LoadflowAlgorithm)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_LfAlgo()
,
LoadflowAlgorithm.getLfAdjAlgo()
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 LfAdjustAlgorithm
newLfAlgo
- the new value of the 'Lf Algo' container reference.LfAdjustAlgorithm.getLfAlgo()
public double getPowerAdjStartError(double tolerance)
getPowerAdjStartError
in interface LfAdjustAlgorithm
tolerance
- error tolerance
public double getVoltAdjStartError(double tolerance)
getVoltAdjStartError
in interface LfAdjustAlgorithm
tolerance
- error tolerance
public boolean isActivateAllAdjust()
isActivateAllAdjust
in interface LfAdjustAlgorithm
LfAdjustAlgorithm.setActivateAllAdjust(boolean)
,
CoreAlgorithmPackage.getLfAdjustAlgorithm_ActivateAllAdjust()
public void setActivateAllAdjust(boolean newActivateAllAdjust)
setActivateAllAdjust
in interface LfAdjustAlgorithm
newActivateAllAdjust
- the new value of the 'Activate All Adjust' attribute.LfAdjustAlgorithm.isActivateAllAdjust()
public void initSensitivity() throws InterpssException
initSensitivity
in interface LfAdjustAlgorithm
InterpssException
public void initialize(java.util.function.Consumer<LfAdjustAlgorithm> initializer)
initialize
in interface LfAdjustAlgorithm
initializer
- error tolerance
public boolean needAdjustment() throws IpssNumericException
needAdjustment
in interface LfAdjustAlgorithm
IpssNumericException
public void doAllAdjust(Mismatch mismatch, AclfMethodType lfMethod)
doAllAdjust
in interface LfAdjustAlgorithm
mismatch
- Max LF calculation mismatch in the parent network for controlling
if the adjustment/control should be started.lfMethod
- Aclf method
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
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EObjectImpl
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
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl