Compute the average number of visits to the service centers of a single class open Queueing Network with K service centers.
INPUTS
P(i,j)is the probability that a request which completed service at center i is routed to center j (K \times K matrix).
lambda(k)external arrival rate to center k.
OUTPUTS
V(k)average number of visits to server k.
The following code
p = 0.3;
lambda = 1.2
P = [0 0.3 0.5; ...
1 0 0 ; ...
1 0 0 ];
V = qnosvisits(P,[1.2 0 0])
Produces the following output
lambda = 1.2000 V = 5.0000 1.5000 2.5000
The following code
P = [ 0 0.4 0.6 0; ...
0.2 0 0.2 0.6; ...
0 0 0 1; ...
0 0 0 0 ];
lambda = [0.1 0 0 0.3];
V = qnosvisits(P,lambda);
S = [2 1 2 1.8];
m = [3 1 1 2];
[U R Q X] = qnos( sum(lambda), S, V, m )
Produces the following output
U = 0.072464 0.043478 0.147826 0.360000 R = 2.0011 1.0455 2.3469 2.0680 Q = 0.217507 0.045455 0.173469 0.827206 X = 0.108696 0.043478 0.073913 0.400000
Package: queueing