public class LoadflowAlgorithmImpl extends NetworkRefImpl<BaseAclfNetwork<?,?>> implements LoadflowAlgorithm
The following features are implemented:
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.EObservableAdapterListcopyright| Constructor and Description |
|---|
LoadflowAlgorithmImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetCustomMethod(CustomLFMethod newCustomMethod,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetDataCheckConfig(DataCheckConfiguration newDataCheckConfig,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetLfAdjAlgo(LfAdjustAlgorithm newLfAdjAlgo,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetLfCalculator(LfCalculator newLfCalculator,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetNetAdjAlgo(NetAdjustAlgorithm newNetAdjAlgo,
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) |
void |
eUnset(int featureID) |
CustomLFMethod |
getCustomMethod() |
DataCheckConfiguration |
getDataCheckConfig() |
double |
getGsAccFactor() |
LfAdjustAlgorithm |
getLfAdjAlgo() |
LfCalculator |
getLfCalculator() |
AclfMethod |
getLfMethod() |
int |
getMaxIterations() |
IMultiNetLfSolver |
getMultiNetSolver() |
NetAdjustAlgorithm |
getNetAdjAlgo() |
double |
getTolerance() |
double |
getTolerance(Unit.UnitType unit,
double baseKva) |
boolean |
isB11MatrixDirty() |
boolean |
isInitBusVoltage() |
boolean |
isNonDivergent() |
boolean |
isTurnOffIslandBus() |
boolean |
loadflow() |
boolean |
needAdjustment() |
boolean |
performAdjustment(Mismatch netMismatch,
AclfMethod lfMethod) |
void |
setB11MatrixDirty(boolean newB11MatrixDirty) |
void |
setCustomMethod(CustomLFMethod newCustomMethod) |
void |
setDataCheckConfig(DataCheckConfiguration newDataCheckConfig) |
void |
setGsAccFactor(double newGsAccFactor) |
void |
setInitBusVoltage(boolean newInitBusVoltage) |
void |
setLfAdjAlgo(LfAdjustAlgorithm newLfAdjAlgo) |
void |
setLfCalculator(LfCalculator newLfCalculator) |
void |
setLfMethod(AclfMethod newLfMethod) |
void |
setMaxIterations(int newMaxIterations) |
void |
setMultiNetSolver(IMultiNetLfSolver newMultiNetSolver) |
void |
setNetAdjAlgo(NetAdjustAlgorithm newNetAdjAlgo) |
void |
setNetwork(BaseAclfNetwork<?,?> newNetwork)
This is specialized for the more specific type known in this context.
|
void |
setNonDivergent(boolean newNonDivergent) |
void |
setNrSolver(INrSolver nrSolver) |
void |
setTolerance(double newTolerance) |
void |
setTolerance(double e,
Unit.UnitType unit,
double baseKva) |
void |
setTurnOffIslandBus(boolean newTurnOffIslandBus) |
java.lang.String |
toString() |
boolean |
visit(AclfNetwork net) |
boolean |
visit(BaseAclfNetwork<?,?> net) |
getNetwork, readData, writeDatacheckData, checkData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNetworkcheckData, checkData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverpublic void setNetwork(BaseAclfNetwork<?,?> newNetwork)
setNetwork in interface NetworkRef<BaseAclfNetwork<?,?>>setNetwork in class NetworkRefImpl<BaseAclfNetwork<?,?>>newNetwork - the new value of the 'Network' reference.NetworkRef.getNetwork()public int getMaxIterations()
getMaxIterations in interface LoadflowAlgorithmLoadflowAlgorithm.setMaxIterations(int),
CoreAlgorithmPackage.getLoadflowAlgorithm_MaxIterations()public void setMaxIterations(int newMaxIterations)
setMaxIterations in interface LoadflowAlgorithmnewMaxIterations - the new value of the 'Max Iterations' attribute.LoadflowAlgorithm.getMaxIterations()public double getTolerance()
getTolerance in interface LoadflowAlgorithmLoadflowAlgorithm.setTolerance(double),
CoreAlgorithmPackage.getLoadflowAlgorithm_Tolerance()public void setTolerance(double newTolerance)
setTolerance in interface LoadflowAlgorithmnewTolerance - the new value of the 'Tolerance' attribute.LoadflowAlgorithm.getTolerance()public boolean isTurnOffIslandBus()
isTurnOffIslandBus in interface LoadflowAlgorithmLoadflowAlgorithm.setTurnOffIslandBus(boolean),
CoreAlgorithmPackage.getLoadflowAlgorithm_TurnOffIslandBus()public void setTurnOffIslandBus(boolean newTurnOffIslandBus)
setTurnOffIslandBus in interface LoadflowAlgorithmnewTurnOffIslandBus - the new value of the 'Turn Off Island Bus' attribute.LoadflowAlgorithm.isTurnOffIslandBus()public boolean isB11MatrixDirty()
isB11MatrixDirty in interface LoadflowAlgorithmLoadflowAlgorithm.setB11MatrixDirty(boolean),
CoreAlgorithmPackage.getLoadflowAlgorithm_B11MatrixDirty()public void setB11MatrixDirty(boolean newB11MatrixDirty)
setB11MatrixDirty in interface LoadflowAlgorithmnewB11MatrixDirty - the new value of the 'B11 Matrix Dirty' attribute.LoadflowAlgorithm.isB11MatrixDirty()public double getGsAccFactor()
getGsAccFactor in interface LoadflowAlgorithmLoadflowAlgorithm.setGsAccFactor(double),
CoreAlgorithmPackage.getLoadflowAlgorithm_GsAccFactor()public void setGsAccFactor(double newGsAccFactor)
setGsAccFactor in interface LoadflowAlgorithmnewGsAccFactor - the new value of the 'Gs Acc Factor' attribute.LoadflowAlgorithm.getGsAccFactor()public boolean isInitBusVoltage()
isInitBusVoltage in interface LoadflowAlgorithmLoadflowAlgorithm.setInitBusVoltage(boolean),
CoreAlgorithmPackage.getLoadflowAlgorithm_InitBusVoltage()public void setInitBusVoltage(boolean newInitBusVoltage)
setInitBusVoltage in interface LoadflowAlgorithmnewInitBusVoltage - the new value of the 'Init Bus Voltage' attribute.LoadflowAlgorithm.isInitBusVoltage()public DataCheckConfiguration getDataCheckConfig()
getDataCheckConfig in interface LoadflowAlgorithmLoadflowAlgorithm.setDataCheckConfig(DataCheckConfiguration),
CoreAlgorithmPackage.getLoadflowAlgorithm_DataCheckConfig()public org.eclipse.emf.common.notify.NotificationChain basicSetDataCheckConfig(DataCheckConfiguration newDataCheckConfig, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDataCheckConfig(DataCheckConfiguration newDataCheckConfig)
setDataCheckConfig in interface LoadflowAlgorithmnewDataCheckConfig - the new value of the 'Data Check Config' containment reference.LoadflowAlgorithm.getDataCheckConfig()public AclfMethod getLfMethod()
getLfMethod in interface LoadflowAlgorithmAclfMethod,
LoadflowAlgorithm.setLfMethod(AclfMethod),
CoreAlgorithmPackage.getLoadflowAlgorithm_LfMethod()public void setLfMethod(AclfMethod newLfMethod)
setLfMethod in interface LoadflowAlgorithmnewLfMethod - the new value of the 'Lf Method' attribute.AclfMethod,
LoadflowAlgorithm.getLfMethod()public boolean isNonDivergent()
isNonDivergent in interface LoadflowAlgorithmLoadflowAlgorithm.setNonDivergent(boolean),
CoreAlgorithmPackage.getLoadflowAlgorithm_NonDivergent()public void setNonDivergent(boolean newNonDivergent)
setNonDivergent in interface LoadflowAlgorithmnewNonDivergent - the new value of the 'Non Divergent' attribute.LoadflowAlgorithm.isNonDivergent()public NetAdjustAlgorithm getNetAdjAlgo()
getNetAdjAlgo in interface LoadflowAlgorithmLoadflowAlgorithm.setNetAdjAlgo(NetAdjustAlgorithm),
CoreAlgorithmPackage.getLoadflowAlgorithm_NetAdjAlgo(),
NetAdjustAlgorithm.getLfAlgo()public org.eclipse.emf.common.notify.NotificationChain basicSetNetAdjAlgo(NetAdjustAlgorithm newNetAdjAlgo, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNetAdjAlgo(NetAdjustAlgorithm newNetAdjAlgo)
setNetAdjAlgo in interface LoadflowAlgorithmnewNetAdjAlgo - the new value of the 'Net Adj Algo' containment reference.LoadflowAlgorithm.getNetAdjAlgo()public LfAdjustAlgorithm getLfAdjAlgo()
getLfAdjAlgo in interface LoadflowAlgorithmLoadflowAlgorithm.setLfAdjAlgo(LfAdjustAlgorithm),
CoreAlgorithmPackage.getLoadflowAlgorithm_LfAdjAlgo(),
LfAdjustAlgorithm.getLfAlgo()public org.eclipse.emf.common.notify.NotificationChain basicSetLfAdjAlgo(LfAdjustAlgorithm newLfAdjAlgo, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLfAdjAlgo(LfAdjustAlgorithm newLfAdjAlgo)
setLfAdjAlgo in interface LoadflowAlgorithmnewLfAdjAlgo - the new value of the 'Lf Adj Algo' containment reference.LoadflowAlgorithm.getLfAdjAlgo()public LfCalculator getLfCalculator()
getLfCalculator in interface LoadflowAlgorithmLoadflowAlgorithm.setLfCalculator(LfCalculator),
CoreAlgorithmPackage.getLoadflowAlgorithm_LfCalculator(),
LfCalculator.getLfAlgo()public org.eclipse.emf.common.notify.NotificationChain basicSetLfCalculator(LfCalculator newLfCalculator, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLfCalculator(LfCalculator newLfCalculator)
setLfCalculator in interface LoadflowAlgorithmnewLfCalculator - the new value of the 'Lf Calculator' containment reference.LoadflowAlgorithm.getLfCalculator()public IMultiNetLfSolver getMultiNetSolver()
getMultiNetSolver in interface LoadflowAlgorithmLoadflowAlgorithm.setMultiNetSolver(IMultiNetLfSolver),
CoreAlgorithmPackage.getLoadflowAlgorithm_MultiNetSolver()public void setMultiNetSolver(IMultiNetLfSolver newMultiNetSolver)
setMultiNetSolver in interface LoadflowAlgorithmnewMultiNetSolver - the new value of the 'Multi Net Solver' reference.LoadflowAlgorithm.getMultiNetSolver()public CustomLFMethod getCustomMethod()
getCustomMethod in interface LoadflowAlgorithmLoadflowAlgorithm.setCustomMethod(CustomLFMethod),
CoreAlgorithmPackage.getLoadflowAlgorithm_CustomMethod()public org.eclipse.emf.common.notify.NotificationChain basicSetCustomMethod(CustomLFMethod newCustomMethod, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setCustomMethod(CustomLFMethod newCustomMethod)
setCustomMethod in interface LoadflowAlgorithmnewCustomMethod - the new value of the 'Custom Method' containment reference.LoadflowAlgorithm.getCustomMethod()public boolean loadflow()
throws InterpssException
loadflow in interface LoadflowAlgorithmInterpssExceptionpublic double getTolerance(Unit.UnitType unit, double baseKva)
getTolerance in interface LoadflowAlgorithmunit - tolerance unitbaseKva - base kva for unit conversion
public void setTolerance(double e,
Unit.UnitType unit,
double baseKva)
setTolerance in interface LoadflowAlgorithme - toleranceunit - tolerance unitbaseKva - base kva for unit conversion
public boolean needAdjustment()
throws IpssNumericException
needAdjustment in interface LoadflowAlgorithmIpssNumericExceptionpublic boolean performAdjustment(Mismatch netMismatch, AclfMethod lfMethod)
performAdjustment in interface LoadflowAlgorithmnetMismatch - max mismatch in the networklfMethod - Aclf method
public void setNrSolver(INrSolver nrSolver)
setNrSolver in interface LoadflowAlgorithmnrSolver - tolerance
public boolean visit(AclfNetwork net)
public boolean visit(BaseAclfNetwork<?,?> net) throws InterpssException
visit in interface IAclfNetBVisitorInterpssExceptionpublic 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 java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class NetworkRefImpl<BaseAclfNetwork<?,?>>public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class NetworkRefImpl<BaseAclfNetwork<?,?>>public void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class NetworkRefImpl<BaseAclfNetwork<?,?>>public boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class NetworkRefImpl<BaseAclfNetwork<?,?>>public java.lang.String toString()
toString in class NameTagImpl