Class LIQSS1


  • public final class LIQSS1
    extends QSSBase
    Implement the LIQSS1 method for solving ordinary differential equations.
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    David M. Lorenzetti, Contributor: Thierry S. Nouidui
    Pt.AcceptedRating:
    red (reviewmoderator) // FIXME: Fill in.
    Pt.ProposedRating:
    red (dmlorenzetti)
    • Constructor Detail

      • LIQSS1

        public LIQSS1()
    • Method Detail

      • getStateModelOrder

        public final int getStateModelOrder()
        Get the order of the external, quantized state models exposed by the integrator.
        Specified by:
        getStateModelOrder in class QSSBase
        Returns:
        Order of the external, quantized state models.
      • _initializeWorker

        public final void _initializeWorker()
        Initialize object fields (QSS-specific).
        Specified by:
        _initializeWorker in class QSSBase
      • _predictQuantizationEventTimeWorker

        protected final Time _predictQuantizationEventTimeWorker​(int stateIdx,
                                                                 Time quantEvtTimeMax)
        Get the predicted quantization-event time for a state (QSS-specific).
        Specified by:
        _predictQuantizationEventTimeWorker in class QSSBase
        Parameters:
        stateIdx - The state index.
        quantEvtTimeMax - The maximum quantization event time.
        Returns:
        The the predicted quantization-event time for a state (QSS-specific).
      • _triggerQuantizationEventWorker

        protected final void _triggerQuantizationEventWorker​(int stateIdx)
        Form a new external, quantized state model (QSS-specific).
        Specified by:
        _triggerQuantizationEventWorker in class QSSBase
        Parameters:
        stateIdx - The state index.
      • _triggerRateEventWorker

        protected final void _triggerRateEventWorker()
                                              throws java.lang.Exception
        Form new internal, continuous state models (QSS-specific).
        Specified by:
        _triggerRateEventWorker in class QSSBase
        Throws:
        java.lang.Exception - If the rate event worker fails.
      • _triggerRateEventWorkerEventDetection

        protected final void _triggerRateEventWorkerEventDetection()
                                                            throws java.lang.Exception
        Form new internal, continuous state models (QSS-specific).
        Specified by:
        _triggerRateEventWorkerEventDetection in class QSSBase
        Throws:
        java.lang.Exception - If the rate event worker event detection fails.