Queues
Queues
N(t)
Based on these assumptions we are going to set up a
set of differential difference equations
Or
if there are only one customer then that customer must be leave during de
so that probability is
So we have
in general, suppose there are n customers at time t
plus delta t
the possible scenario at time t, n customer, n-1
costumer or n+1 customer
N customer at n customer at t
no customer leaves
The probabilities now approach a constant distribution which does not depend
on time. In this case it is reasonable to assume that
Equations now become
We have
With substituting
We have
The next iterate is
and, in general,
ρ=
Actually if we define
as the service time and
I as the inter arrival time of new customers
then this traffic density is this expectation value of the
over expectation value of inter arrival time
pn is expressed as
Hence,
which is the probability mass function of a geometric
distribution with parameter
then the series does not converge and {pn} cannot represent a probability
distribution. In this case the queue simply increases in length to infinity as t → ∞
whatever its initial length. On the other hand if
and the rate of arrivals is less than the average service time with the
result that a steady state should be achieved as we might expect.
Notice that, if
WE KNOW
we put all these together in this equation
Hence,
With n customers ahead the next customer could expect to wait for a time
to reach the server. Until service is completed the customer could expect
to spend time
the horizontal axis is the time from some point and
the vertical axis is the number of customers so this
shows the evolution of the number of customers after
some point in time
at first there are no customers so which is called the
slack period
at time t one customer arrives so now the system
enters the busy period so if the server is occupied
with at least one customer it is in the busy period
now we are interested in the average duration of the
busy period
we represent each slack period by the duration of each
slack period by s i s1 s2 s3 and so on and the duration
of the busy periods are represented by b1 b2 b3 and so
on
s/b =
s = b
which is the mean length of the busy
periods
The mean length of the busy periods
b
Server free. The probability that the server is free when
a customer arrives is
p0 = 1 − ρ.
Length of queue. The mean length of the queue
(including the person being served) is, if N represents
a random variable of the number in the queue,
traffic density
S and I are independent random variables of the
service and inter-arrival times, respectively. When S
and I are both exponentially distributed, then
E(S) = 1 /µ and E(I) = 1/λ
ρ = E(S)/ E(I) ,
Waiting time
Queues with multiple servers
M(λ)/U(µ)/1