qnosvisits
Compute the average number of visits to the service centers of a single class open Queueing Network with service centers.
INPUTS
P(i,j)is the probability that a request which completed service at center is routed to center ( matrix).
lambda(k)external arrival rate to center .
OUTPUTS
V(k)average number of visits to server .
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])
lambda = 1.2000
V =
5.0000 1.5000 2.5000
|
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 )
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
|