Class TransientDataHandler

  • All Implemented Interfaces:
    org.apache.commons.math3.ode.sampling.StepHandler

    
    public class TransientDataHandler
     implements StepHandler
                        

    Step handler for capturing transient data during fluid solver ODE integration.

    This class implements the Apache Commons Math StepHandler interface to collect time series data during numerical integration of ordinary differential equations in fluid queueing network analysis. It captures state vectors at each integration step for transient performance analysis.

    Uses dense DMatrixRMaj internally for O(1) element access during step handling, converting to Matrix objects only when the integration completes.

    Since:

    1.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TransientDataHandler(int numDimensions) Constructs a transient data handler for the specified number of state dimensions.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void handleStep(StepInterpolator interpolator, boolean isLast) Handles each integration step by storing the time and state vector data.
      void init(double t0, Array<double> x0, double t)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransientDataHandler

        TransientDataHandler(int numDimensions)
        Constructs a transient data handler for the specified number of state dimensions.
        Parameters:
        numDimensions - number of state variables in the ODE system
    • Method Detail

      • handleStep

         void handleStep(StepInterpolator interpolator, boolean isLast)

        Handles each integration step by storing the time and state vector data.

        Parameters:
        interpolator - provides access to current time and interpolated state
        isLast - indicates if this is the final integration step
      • init

         void init(double t0, Array<double> x0, double t)