Class FluidNhpp

java.lang.Object
jline.solvers.fluid.FluidNhpp

public final class FluidNhpp extends Object
Non-homogeneous Poisson (NHPP) support for the fluid solver.

An NHPP stores its process representation as the {breakpoints, rates, cyclic} schedule rather than a {D0, D1} MAP, and its pie is NaN. The fluid model treats such a source as a single-phase exponential at its nominal (time-average) rate, which sn.mu already carries; the time-varying intensity lambda(t) is applied separately by the per-event rate multiplier (FluidRateMultiplier). Mirrors the NHPP handling of MATLAB solver_fluid.m and SolverFLD/getTranAvg.m.

  • Method Details

    • substituteNhppProc

      public static Map<Station,Map<JobClass,MatrixCell>> substituteNhppProc(NetworkStruct sn, Map<Station,Map<JobClass,Matrix>> mu, Map<Station,Map<JobClass,Matrix>> phi)
      Returns the process map to hand to the closing-rate builder, with every NHPP station-class replaced by the equivalent one-phase exponential MAP {D0, D1} = {-lam, lam} at its nominal rate mu(i,k)(0), so that map_pie sees a valid Markovian representation. The corresponding phi entry is set to 1.

      The input maps are not modified except for phi, which the callers own as a local working copy; when no NHPP is present the original sn.proc reference is returned unchanged.

      Parameters:
      sn - network structure (read for procid and the station/class lists)
      mu - per-(station,class) phase rate vectors of the fluid ODE
      phi - per-(station,class) completion probability vectors (updated in place)
      Returns:
      the process map with the NHPP substitutions applied
    • detectNhppSchedule

      public static List<FluidRateMultiplier.NhppEntry> detectNhppSchedule(NetworkStruct sn)
      Builds the NHPP schedule entries for every EXT/source station carrying a non-homogeneous arrival process. Returns an empty list when there is none. Station and class indices are in the sn index space.
      Parameters:
      sn - network structure whose stations are inspected
      Returns:
      the schedule entries to inject in options.config.nhpp_sched