qsmh1
Compute utilization, response time, average number of requests and throughput for a system. In this system, the customer service times have hyper-exponential distribution:
$$ B(x) = \sum_{j=1}^m \alpha_j(1-e^{-\mu_j x}),\quad x>0 $$
where is the probability that the request is served at phase , in which case the average service rate is . After completing service at phase , for some , the request exits the system.
INPUTS
lambdaArrival rate
mu mu(j) is the phase service rate. The total
number of phases is length(mu).
alpha alpha(j) is the probability that a request
is served at phase . alpha must have the same size
as mu.
OUTPUTS
UService center utilization
RService center response time
QAverage number of requests in the system
XService center throughput