qnmarkov
Compute utilization, response time, average queue length and throughput for open or closed queueing networks with finite capacity and a single class of requests. Blocking type is Repetitive-Service (RS). This function explicitly generates and solve the underlying Markov chain, and thus might require a large amount of memory.
More specifically, networks which can me analyzed by this function have the following properties:
INPUTS
lambda(k)
N
If the first argument is a vector lambda, it is considered to be
the external arrival rate lambda(k) ≥ 0
to service center
of an open network. If the first argument is a scalar, it is
considered as the population size N of a closed network; in this case
N must be strictly
less than the network capacity: N < sum(C)
.
S(k)
average service time at service center
C(k)
capacity of service center . The capacity includes both
the buffer and server space m(k)
. Thus the buffer space is
C(k)-m(k)
.
P(i,j)
transition probability from service center to service center .
m(k)
number of servers at service center
. Note that m(k) ≥ C(k)
for each k.
If m is omitted, all service centers are assumed to have a
single server (m(k) = 1
for all ).
OUTPUTS
U(k)
center utilization.
R(k)
response time on service center .
Q(k)
average number of customers in the service center , the request in service.
X(k)
throughput of service center .
NOTES
The space complexity of this implementation is . The time complexity is dominated by the time needed to solve a linear system with unknowns.