EEL6507sp09L33
From BoykinWiki
Contents |
EEL6507 Spring 2009, Lecture 33, Wednesday 2009/04/08 (Notes created by Ryan C.W.Wong)
- Solving the distribution of the waiting time for M/G/1 queue.
Little's results revisit
[Little's results] state that

where
-
is the expected number in queue
-
is the limit of arrival rate
-
is the average of system time, which is equal to the sum of average of waiting time (
) and service time (
)
Average Waiting time
From [Little's results], we then have
![\begin{align}
\bar{w} &= \frac{\lambda \bar{T} - \lambda \bar{x}}{\lambda}
&= \frac{\bar{N} - \rho}{\lambda}
&= \frac{E\left[ q \right] - \rho}{\lambda}
\end{align}](/wiki/images/math/7/6/c/76ca436a3ab5777b567dfe63da0314f7.png)
where
![E[q] =\rho+\frac{\rho ^2}{2(1-\rho)}(1+C_b^2)](/wiki/images/math/7/d/9/7d9995955fd38bd572b322070640e6e1.png)
is given in [previous lecture].
Thus, the average waiting time is then given by

Examples:
- M/M/1 queue in which
, thus

- M/D/1 queue in which
, thus

- We can see that the average waiting time of M/D/1 is only half of that of M/M/1
Distribution of Waiting Time
The above figure represents the arrivals and departures of the queue and service, which we have seen in [previous lecture]. As pointed out before, the number of arrivals during
is denoted as
. It can be seen that the number of arrivals during
is actually equal to the number of customers left behind by
when he leaves the system, i.e.,
.
Thus as an analogy to what we have derived for the relation between
and
, which is the Laplace transform of the distribution of
and the z-transform of the distribution of
respectively, we can also show that

where
and
is the laplace transform of the distribution of
and the z-transform of the distribution of
respectively.
On the other hand, we have

from [previous lecture]..
Moreover, it is known that
and
and
are independent random variables. Thus, the distribution of
is equal to the convolution of the distribution of
and
. In other words, the Laplace transform of the distribution of
simply equals the product of the Laplace transform of the distribution of
and
. That is

Hence, the Laplace transform of the distribution of waiting time is

Let
and after some simple manipulations, we have
![W^{*}(s) = \frac{1-\rho}{1-\rho \left[ \frac{1-B^{*}(s)}{s \bar{x}} \right]}](/wiki/images/math/f/3/a/f3a98c4b06df2689c50327700400a22d.png)
where
is the Laplace transform of the distribution of [residual life] we derived before.

