LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
qsys_gig1_approx_marchal.m
1function [W,rhohat]=qsys_gig1_approx_marchal(lambda,mu,ca,cs)
2% W=QSYS_GIG1_APPROX_MARCHAL(LAMBDA,MU,CA,CS)
3
4rho=lambda/mu;
5Wmm1 = rho/(1-rho);
6W = Wmm1*(1+cs^2)/2/mu*(ca+rho^2*cs^2)/(1+rho^2*cs^2)+1/mu;
7rhohat = W*lambda/(1+W*lambda); % so that M/M/1 formulas still hold
8end