public class DynamicSimuAlgorithmImpl extends NetworkRefImpl<BaseDStabNetwork<?,?>> implements DynamicSimuAlgorithm
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.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAclfAlgorithm(LoadflowAlgorithm newAclfAlgorithm,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
checkData(DataCheckConfiguration config) |
boolean |
createBusFault(java.lang.String faultBusId,
double startTime,
double durationTime,
SimpleFaultCode faultCode,
org.apache.commons.math3.complex.Complex Zlg,
org.apache.commons.math3.complex.Complex Zll)
Create a bus fault and add it as a dynamic event to the dstab network
Required information: fault bus id, start time in sec, duration time in sec,
fault code to specify the fault type, as well as fault impedance
|
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) |
void |
eUnset(int featureID) |
LoadflowAlgorithm |
getAclfAlgorithm() |
IpssMsgListener |
getDynamicEventHandler() |
int |
getOutPutPerSteps() |
java.lang.String[] |
getOutputVarIdList() |
Machine |
getRefMachine() |
IDStabSimuOutputHandler |
getScriptOutputHandler() |
DynamicSimuMethod |
getSimuMethod() |
IDStabSimuOutputHandler |
getSimuOutputHandler() |
double |
getSimuStepSec() |
double |
getSimuTime() |
double |
getTotalSimuTimeSec() |
boolean |
initialization() |
boolean |
isDisableDynamicEvent() |
boolean |
isOutputFiltered() |
boolean |
performSimulation() |
void |
setAclfAlgorithm(LoadflowAlgorithm newAclfAlgorithm) |
void |
setDisableDynamicEvent(boolean newDisableDynamicEvent) |
void |
setDynamicEventHandler(IpssMsgListener newDynamicEventHandler) |
void |
setNetwork(BaseDStabNetwork<?,?> net) |
void |
setOutputFiltered(boolean newOutputFiltered) |
void |
setOutPutPerSteps(int outputPerSteps) |
void |
setOutputVarIdList(java.lang.String[] newOutputVarIdList) |
void |
setRefMachine(Machine newRefMachine) |
void |
setScriptOutputHandler(IDStabSimuOutputHandler newScriptOutputHandler) |
void |
setSimuMethod(DynamicSimuMethod newSimuMethod) |
void |
setSimuOutputHandler(IDStabSimuOutputHandler newSimuOutputHandler) |
void |
setSimuStepSec(double newSimuStepSec) |
void |
setSimuTime(double t) |
void |
setSolver(IDStabSolver newSolver)
set the DStab solver
|
void |
setTotalSimuTimeSec(double newTotalSimuTimeSec) |
boolean |
solveDEqnStep(boolean updateTime) |
java.lang.String |
toString() |
getNetwork, readData, writeDatacheckData, 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, 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, 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 boolean checkData(DataCheckConfiguration config)
checkData in interface NameTagcheckData in class NameTagImplconfig - data check configuration
public void setNetwork(BaseDStabNetwork<?,?> net)
setNetwork in interface NetworkRef<BaseDStabNetwork<?,?>>setNetwork in class NetworkRefImpl<BaseDStabNetwork<?,?>>net - the new value of the 'Network' reference.NetworkRef.getNetwork()public double getTotalSimuTimeSec()
getTotalSimuTimeSec in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setTotalSimuTimeSec(double),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_TotalSimuTimeSec()public void setTotalSimuTimeSec(double newTotalSimuTimeSec)
setTotalSimuTimeSec in interface DynamicSimuAlgorithmnewTotalSimuTimeSec - the new value of the 'Total Simu Time Sec' attribute.DynamicSimuAlgorithm.getTotalSimuTimeSec()public double getSimuStepSec()
getSimuStepSec in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setSimuStepSec(double),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuStepSec()public void setSimuStepSec(double newSimuStepSec)
setSimuStepSec in interface DynamicSimuAlgorithmnewSimuStepSec - the new value of the 'Simu Step Sec' attribute.DynamicSimuAlgorithm.getSimuStepSec()public DynamicSimuMethod getSimuMethod()
getSimuMethod in interface DynamicSimuAlgorithmDynamicSimuMethod,
DynamicSimuAlgorithm.setSimuMethod(DynamicSimuMethod),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuMethod()public void setSimuMethod(DynamicSimuMethod newSimuMethod)
setSimuMethod in interface DynamicSimuAlgorithmnewSimuMethod - the new value of the 'Simu Method' attribute.DynamicSimuMethod,
DynamicSimuAlgorithm.getSimuMethod()public boolean isOutputFiltered()
isOutputFiltered in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setOutputFiltered(boolean),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_OutputFiltered()public void setOutputFiltered(boolean newOutputFiltered)
setOutputFiltered in interface DynamicSimuAlgorithmnewOutputFiltered - the new value of the 'Output Filtered' attribute.DynamicSimuAlgorithm.isOutputFiltered()public java.lang.String[] getOutputVarIdList()
getOutputVarIdList in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setOutputVarIdList(String[]),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_OutputVarIdList()public void setOutputVarIdList(java.lang.String[] newOutputVarIdList)
setOutputVarIdList in interface DynamicSimuAlgorithmnewOutputVarIdList - the new value of the 'Output Var Id List' attribute.DynamicSimuAlgorithm.getOutputVarIdList()public IDStabSimuOutputHandler getSimuOutputHandler()
getSimuOutputHandler in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setSimuOutputHandler(IDStabSimuOutputHandler),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuOutputHandler()public void setSimuOutputHandler(IDStabSimuOutputHandler newSimuOutputHandler)
setSimuOutputHandler in interface DynamicSimuAlgorithmnewSimuOutputHandler - the new value of the 'Simu Output Handler' attribute.DynamicSimuAlgorithm.getSimuOutputHandler()public IDStabSimuOutputHandler getScriptOutputHandler()
getScriptOutputHandler in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setScriptOutputHandler(IDStabSimuOutputHandler),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_ScriptOutputHandler()public void setScriptOutputHandler(IDStabSimuOutputHandler newScriptOutputHandler)
setScriptOutputHandler in interface DynamicSimuAlgorithmnewScriptOutputHandler - the new value of the 'Script Output Handler' attribute.DynamicSimuAlgorithm.getScriptOutputHandler()public IpssMsgListener getDynamicEventHandler()
getDynamicEventHandler in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setDynamicEventHandler(IpssMsgListener),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_DynamicEventHandler()public void setDynamicEventHandler(IpssMsgListener newDynamicEventHandler)
setDynamicEventHandler in interface DynamicSimuAlgorithmnewDynamicEventHandler - the new value of the 'Dynamic Event Handler' attribute.DynamicSimuAlgorithm.getDynamicEventHandler()public boolean isDisableDynamicEvent()
isDisableDynamicEvent in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setDisableDynamicEvent(boolean),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_DisableDynamicEvent()public void setDisableDynamicEvent(boolean newDisableDynamicEvent)
setDisableDynamicEvent in interface DynamicSimuAlgorithmnewDisableDynamicEvent - the new value of the 'Disable Dynamic Event' attribute.DynamicSimuAlgorithm.isDisableDynamicEvent()public Machine getRefMachine()
getRefMachine in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setRefMachine(Machine),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_RefMachine()public void setRefMachine(Machine newRefMachine)
setRefMachine in interface DynamicSimuAlgorithmnewRefMachine - the new value of the 'Ref Machine' reference.DynamicSimuAlgorithm.getRefMachine()public LoadflowAlgorithm getAclfAlgorithm()
getAclfAlgorithm in interface DynamicSimuAlgorithmDynamicSimuAlgorithm.setAclfAlgorithm(LoadflowAlgorithm),
DstabAlgorithmPackage.getDynamicSimuAlgorithm_AclfAlgorithm()public org.eclipse.emf.common.notify.NotificationChain basicSetAclfAlgorithm(LoadflowAlgorithm newAclfAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAclfAlgorithm(LoadflowAlgorithm newAclfAlgorithm)
setAclfAlgorithm in interface DynamicSimuAlgorithmnewAclfAlgorithm - the new value of the 'Aclf Algorithm' containment reference.DynamicSimuAlgorithm.getAclfAlgorithm()public void setSolver(IDStabSolver newSolver)
DynamicSimuAlgorithmsetSolver in interface DynamicSimuAlgorithmpublic boolean performSimulation()
performSimulation in interface DynamicSimuAlgorithmpublic boolean initialization()
initialization in interface DynamicSimuAlgorithmpublic boolean solveDEqnStep(boolean updateTime)
solveDEqnStep in interface DynamicSimuAlgorithmpublic double getSimuTime()
getSimuTime in interface DynamicSimuAlgorithmpublic void setSimuTime(double t)
setSimuTime in interface DynamicSimuAlgorithmpublic 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<BaseDStabNetwork<?,?>>public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class NetworkRefImpl<BaseDStabNetwork<?,?>>public void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class NetworkRefImpl<BaseDStabNetwork<?,?>>public boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class NetworkRefImpl<BaseDStabNetwork<?,?>>public java.lang.String toString()
toString in class NameTagImplpublic int getOutPutPerSteps()
getOutPutPerSteps in interface DynamicSimuAlgorithmpublic void setOutPutPerSteps(int outputPerSteps)
setOutPutPerSteps in interface DynamicSimuAlgorithmpublic boolean createBusFault(java.lang.String faultBusId,
double startTime,
double durationTime,
SimpleFaultCode faultCode,
org.apache.commons.math3.complex.Complex Zlg,
org.apache.commons.math3.complex.Complex Zll)
DynamicSimuAlgorithmcreateBusFault in interface DynamicSimuAlgorithmZlg - : line to ground impedanceZll - : line to line impedance