LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
qsys_gig1_approx_marchal.h File Reference

Marchal approximation of the mean response time of a G/I/G/1 queue. More...

Include dependency graph for qsys_gig1_approx_marchal.h:

Go to the source code of this file.

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::qsys

Functions

template<class T>
QsysResult< T > line::qsys::qsys_gig1_approx_marchal (const T &lambda, const T &mu, const T &ca, const T &cs)
 Marchal approximation of the mean response time of a G/I/G/1 queue.

Detailed Description

Marchal approximation of the mean response time of a G/I/G/1 queue.

Templated port of matlab/src/api/qsys/qsys_gig1_approx_marchal.m, cross-checked against jar/src/main/java/jline/api/qsys/Qsys_gig1_approx_marchal.java (identical).

W = rho/(1-rho) * (1+cs^2)/2/mu * (ca^2 + rho^2 cs^2)/(1 + rho^2 cs^2) + 1/mu

This is the published Marchal (1976) form, in which the correction ratio carries the squared coefficient of variation ca^2. All four codebases used ca unsquared until 2026-11, which is only correct at ca = 0 or 1. Pure field arithmetic, exact for T = Rational; it reduces to M/M/1 at ca = cs = 1.

Definition in file qsys_gig1_approx_marchal.h.