Class Solver_oi_open_analyzer

java.lang.Object
jline.solvers.nc.handlers.Solver_oi_open_analyzer

public final class Solver_oi_open_analyzer extends Object
Exact analysis of an OPEN queueing network that mixes order-independent (OI) stations with BCMP product-form stations. Shared by SolverNC (Solver_nc_oi) and SolverMVA (MVARunner), since an open product-form network decomposes station by station and both solvers would otherwise carry the same code under two names.

Port of matlab/src/solvers/NC/solver_oi_open_analyzer.m. An OI queue is quasi-reversible (Berezner, Kriel, Krzesinski 1995), so with Poisson arrivals and Markov routing the joint law is the product of the isolated station marginals, each fed by its traffic-equation load lambda_ir = lambda_r * V(i,r):

  • OI station: Pfqn_oi_open, exact (saturation recursion) or oi.trunc;
  • INF: Poisson, Q_ir = lambda_ir / rate_ir;
  • c-server PS / LCFS-PR / class-independent-rate FCFS / SIRO: the load-dependent BCMP station with capacity min(k,c), i.e. the Erlang-C total queue length split in proportion to the class loads rho_ir.
An unstable station follows the getAvg instability convention (open-class QN/RN Inf, UN split to a station total of 1, TN untouched). OI stations are exempt from getAvg's own rho test, which reads sn.rates, the single-job rate mu([r]) of an OI station, so the decision is taken here from the OI rate. The isolated OI loss queue (SnIsOiLoss) is answered by Qsys_oi_loss, route oi.loss.