public class DStabSolverImpl extends AbstractDStabSolver
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 |
|---|---|
protected double |
converge_tol |
protected IPSSMsgHub |
msg |
protected java.util.Hashtable<java.lang.String,org.apache.commons.math3.complex.Complex> |
voltageRecTable |
dstabAlgo, maxIterationTimes, outCnt, outPerSteps, simuPercent, simuTime, timestepeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Constructor and Description |
|---|
DStabSolverImpl(DynamicSimuAlgorithm algo,
IPSSMsgHub msg) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStep(double t)
implement the post simulation function
|
protected void |
applyDynamicEvent(double time)
Apply dynamic event if necessary at t = time
|
void |
beforeStep(double time)
implement the before simulation function
|
void |
consoleMsg(java.lang.String msg)
Send a string message to console
|
void |
diffEqnIntegrationStep(double t,
double dt,
DynamicSimuMethod method,
int flag) |
boolean |
hasDynEvent(double t) |
boolean |
networkSolutionStep() |
protected void |
output(BaseDStabBus<?,?> bus,
double t,
boolean plotOutput)
output simulation results
|
protected void |
output(DStabBranch bra,
double t,
boolean plotOutput) |
boolean |
procInitOutputEvent()
process initial output events
|
protected void |
procOutputEvent(byte eventType,
java.util.Hashtable<java.lang.String,java.lang.Object> states)
Process output event with event object
|
getMaxIterationTimes, getOutputPerSteps, getSimuTime, initialization, nextStep, performSimulation, setMaxIterationTimes, setOutputPerSteps, setSimuTime, solveDEqnStepeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI, eStaticClasseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, 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, eUnsetprotected IPSSMsgHub msg
protected java.util.Hashtable<java.lang.String,org.apache.commons.math3.complex.Complex> voltageRecTable
protected double converge_tol
public DStabSolverImpl(DynamicSimuAlgorithm algo, IPSSMsgHub msg)
public void beforeStep(double time)
throws DStabSimuException
IDStabSolverDStabSimuExceptionpublic boolean networkSolutionStep()
throws DStabSimuException
networkSolutionStep in class AbstractDStabSolverDStabSimuExceptionpublic void diffEqnIntegrationStep(double t,
double dt,
DynamicSimuMethod method,
int flag)
throws DStabSimuException
diffEqnIntegrationStep in class AbstractDStabSolverDStabSimuExceptionpublic void afterStep(double t)
throws DStabSimuException
IDStabSolverDStabSimuExceptionpublic boolean procInitOutputEvent()
AbstractDStabSolverprotected void output(BaseDStabBus<?,?> bus, double t, boolean plotOutput) throws DStabSimuException
bus - t - plotOutput - if true, output results for plottingDStabSimuExceptionprotected void output(DStabBranch bra, double t, boolean plotOutput) throws DStabSimuException
DStabSimuExceptionprotected void procOutputEvent(byte eventType,
java.util.Hashtable<java.lang.String,java.lang.Object> states)
throws DStabSimuException
eventType - event type, type is defined in DStabSimuAction, for example DStabSimuAction.EndOfSimuStepDStabSimuExceptionprotected void applyDynamicEvent(double time)
throws DStabSimuException
time - DStabSimuExceptionpublic void consoleMsg(java.lang.String msg)
msg - public boolean hasDynEvent(double t)
hasDynEvent in class AbstractDStabSolver