Waiting Lines
Waiting Lines
(QUEUING)
Waiting line problems arise whenever demand for a service exceeds supply,
resulting in the formation of queues. Such problems occur everywhere for
example:
Cars waiting at the traffic lights
Passengers waiting for buses
Customers waiting before a bank teller
Aircraft waiting for clearances of runways
Production process awaiting raw materials.
Components of Queue:
The Calling Source or Population can be either infinite or finite. Wherein big
population is infinite and small is referred to as finite.
ρ – λ / μ, the traffic density (or utilization rate), assumed to be less than one
1
1. The probability that the system is idle, i.e that there is no customer at all in
the system, Po, is
Po = 1 – λ/μ; Po = 1 – ρ
P (n>0) = ρ
3. The general formula for the probability that there are “n” units (customers)
in the system is given by:
where n = 0,1,2,3…..
P = 1 - Pn
Ls = λ / (μ – λ), or
= ρ /(1 – ρ)
5. Denoting by Ws, the expected time for an arriving customer in the system,
queuing and being served, we have:
Ws = 1 / (μ – λ), or
= Ls / λ
Wq = (λ/μ) x 1 / (μ – λ)
= Ws – (1/μ)
Lq = (λ/μ) x (λ / (μ – λ))
= λ x Wq
2
Example 1:
Customers arrive at the Post Office at a rate of 8 per hour. There is one postal
clerk serving the customers at a rate of 20 per hour.
There are situations where there is more than one server but only one queue,
this model can be applied to all waiting lines problems that has the following
characteristics:
1. There is an unlimited, single queue waiting line
2. The number of arrivals is Poisson distributed
3. The calling population is infinite
4. The queue discipline is FCFS
5. There are several servers and customer next in line will be served
6. All servers has the same rate of service, and the service time is
exponentially distributed
ρ = λ/μ, as before
Po =
2. The probability that there are “n” customers in the system, Pn, is given by:
There are two different expressions for Pn, as for n<c, some of the servers
are idle and the system is not using its full service capacity.
Ls = Lq + ρ
3
5. Denoting by Wq the expected time for an arriving customer in the queue,
and by Ws the expected time in the system, then:
Example 2:
Economic analysis of waiting lines -trade off a reduction in waiting cost, due
to improved service against the increased cost for obtaining this service.
Example 3:
The typist at Gan’s Car Company receives on the average 22 letters per day for
typing. The typist works 8 hours a day and it takes on the average 20 minutes to
type a letter. The company has determined that the cost of a letter waiting to be
mailed is 80 cents per hour and additional costs to the company are $40 per day
(salary of typist + equipment cost).
4
Example 4:
In example 3. Forced to improve the letter typing service, the company can either
hire an additional typist, or it can lease an automated typewriter. There are three
models of the automatic typewriter, the daily costs and resulting increases in the
typewriter’s efficiency is as follows: