public final class QSS2Pts extends QSSBase
Pts: When handling a rate-event, select the time at which to estimate the second derivative for the internal, continuous state model using a "pertubation time scale" procedure.
_cStateModels, _currSimTime, _derivFcn, _dqs, _evtIndCt, _exactInputs, _ivCt, _ivModels, _qStateModels, _quantEvtTimeMax, _stateCt| Constructor and Description |
|---|
QSS2Pts() |
| Modifier and Type | Method and Description |
|---|---|
void |
_initializeWorker()
Initialize object fields (QSS-specific).
|
protected Time |
_predictQuantizationEventTimeWorker(int stateIdx,
Time quantEvtTimeMax)
Get the predicted quantization-event time for a state (QSS-specific).
|
protected void |
_triggerQuantizationEventWorker(int stateIdx)
Form a new external, quantized state model (QSS-specific).
|
protected void |
_triggerRateEventWorker()
Form new internal, continuous state models (QSS-specific).
|
protected void |
_triggerRateEventWorkerEventDetection()
Form new internal, continuous state models (QSS-specific).
|
int |
getStateModelOrder()
Get the order of the external, quantized state models exposed by the integrator.
|
_predictQuantizationEventDeltaTimeQSS2General, _predictQuantizationEventDeltaTimeQSS2QFromC, _predictQuantizationEventDeltaTimeQSS3General, _predictQuantizationEventDeltaTimeQSS3QFromC, advanceToTime, evaluateStateModel, evaluateStateModelContinuous, findQuantum, getCurrentSimulationTime, getEventIndicatorCount, getExactInputs, getInputVariableCount, getInputVariableModel, getStateCount, getStateModel, initialize, initializeDerivativeFunction, initializeDerivativeFunction, initializeSimulationTime, minimumTime, needInputVariableModelIndex, needQuantizationEventIndex, needQuantizationEventIndexes, needRateEvent, predictQuantizationEventTime, predictQuantizationEventTimeEarliest, predictQuantizationEventTimeEarliest, setCurrentSimulationTime, setExactInputs, setInputVariableModel, setNumberOfEventIndicators, setQuantizationEventTimeMaximum, setQuantizationTolerance, setQuantizationTolerances, setStateValue, stepToTime, stepToTime, stringifyStateModel, stringifyStateModelContinuous, triggerQuantizationEvent, triggerQuantizationEvents, triggerRateEvent, triggerRateEvent, validatepublic final int getStateModelOrder()
getStateModelOrder in class QSSBasepublic final void _initializeWorker()
_initializeWorker in class QSSBaseprotected final Time _predictQuantizationEventTimeWorker(int stateIdx, Time quantEvtTimeMax)
_predictQuantizationEventTimeWorker in class QSSBasestateIdx - The state index.quantEvtTimeMax - The maximum quantization event time.protected final void _triggerQuantizationEventWorker(int stateIdx)
_triggerQuantizationEventWorker in class QSSBasestateIdx - The state index.protected final void _triggerRateEventWorker()
throws java.lang.Exception
_triggerRateEventWorker in class QSSBasejava.lang.Exception - If the rate event worker fails.protected final void _triggerRateEventWorkerEventDetection()
throws java.lang.Exception
_triggerRateEventWorkerEventDetection in class QSSBasejava.lang.Exception - If the rate event worker event detection fails.