Class MatrixMethodODE

java.lang.Object
jline.solvers.fluid.handlers.MatrixMethodODE
All Implemented Interfaces:
org.apache.commons.math3.ode.FirstOrderDifferentialEquations

public class MatrixMethodODE extends Object implements org.apache.commons.math3.ode.FirstOrderDifferentialEquations
  • Constructor Details

  • Method Details

    • computeDerivatives

      public void computeDerivatives(double t, double[] x, double[] dxdt) throws org.apache.commons.math3.exception.MaxCountExceededException, org.apache.commons.math3.exception.DimensionMismatchException
      Specified by:
      computeDerivatives in interface org.apache.commons.math3.ode.FirstOrderDifferentialEquations
      Throws:
      org.apache.commons.math3.exception.MaxCountExceededException
      org.apache.commons.math3.exception.DimensionMismatchException
    • setVarClosure

      public void setVarClosure(boolean[] infStates)
      Turns on the variance-carrying saturation term and declares which states belong to INF stations, which carry no min() to close at all.
    • theta

      public Matrix theta(Matrix x)
      The mass in service, i.e. theta(x) of Ruuskanen et al., PEVA 151 (2021): eq. (12) without smoothing, eq. (26)-(27) with an exponent set.

      The analyzer reads the metrics off this same theta: eq. (23) takes the utilization from the share the ODE integrated, so U and T must not revert to the hard min() after a smoothed solve. The state multiplier is NOT applied here, since the throughput scales by it while the utilization does not.

    • getDimension

      public int getDimension()
      Specified by:
      getDimension in interface org.apache.commons.math3.ode.FirstOrderDifferentialEquations