0% found this document useful (0 votes)
15 views

Queing Extra Questions

The document contains several questions regarding queuing models and their solutions. It includes questions about call centers, message switching centers, shared computer terminals, printers, and barbershops. The answers provide calculations and analyses of the queuing characteristics like arrival rates, service rates, utilization, wait times and number of customers in the system.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Queing Extra Questions

The document contains several questions regarding queuing models and their solutions. It includes questions about call centers, message switching centers, shared computer terminals, printers, and barbershops. The answers provide calculations and analyses of the queuing characteristics like arrival rates, service rates, utilization, wait times and number of customers in the system.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Sample Queuing Model Questions and Answers

Question:

A call center with one operator has an incoming call rate of three calls per hour. On the
average, the operator spends 15 minutes for each call. Answer the following questions:

a. How busy is the operator?


b. How likely is it that a customer will have to wait on hold?
c. How long can we expect customers to have to wait on hold?
d. What arrival rate can a single operator reasonably handle without causing excessive
waiting (less than 5 minutes)?

Question:

Traffic to a message switching center for one of the outgoing communication lines arrive in a
random pattern at an average rate of 240 messages per minute. The line has a transmission
rate of 800 characters per second. The message length distribution (including control
characters) is approximately exponential with an average length of 176 characters. Calculate
the following principal statistical measures of system performance, assuming that a very large
number of message buffers are provided:

a. Average number of messages in the system


b. Average number of messages in the queue waiting to be transmitted.
c. Average time a message spends in the system.
d. Average time a message waits for transmission
e. Probability that 10 or more messages are waiting to be transmitted (not including the
message being transmitted)

Answer: This is an M/M/1 model

E[s] = Average Message Length / Line Speed = {176 char/message} / {800 char/sec} = 0.22
sec/message

μ = 1 / 0.22 {message / sec} = 4.55 message / sec

λ = 240 message / min = 4 message / sec

ρ = λ/μ = 0.88
a. L = ρ / (1 - ρ) = 7.33 (messages)

b. Lq = ρ2 / (1 - ρ) = 6.45 (messages)

c. W = E[s] / (1 - ρ) = 1.83 (sec)

d. Wq = ρ × E[s] / (1 - ρ) = 1.61 (sec)

e. P {11 or more messages in the system} = P{N ≥ 11} = ρ11 = 0.245


Question:

A branch office of a large engineering firm has one on-line terminal that is connected to a
central computer system during the normal eight-hour working day. Engineers, who work
throughout the city, drive to the branch office to use the terminal to make routine calculations.
Statistics collected over a period of time indicate that the arrival pattern of people at the
branch office to use the terminal has a Poisson (random) distribution, with a mean of 10 people
coming to use the terminal each day. The distribution of time spent by an engineer at a
terminal is exponential, with a mean of 30 minutes. The branch office receives complains from
the staff about the terminal service. It is reported that individuals often wait over an hour to
use the terminal and it rarely takes less than an hour and a half in the office to complete a few
calculations. The manager is puzzled because the statistics show that the terminal is in use only
5 hours out of 8, on the average. This level of utilization would not seem to justify the
acquisition of another terminal. What insight can queuing theory provide?

Answer: This is an M/M/1 model

λ = 10 person / day

= {10 person / day}×{1 day / 8hr}×{1hr / 60 min} = 10 person / 480 min = 1 person / 48 min

In other words: λ = 1 / 48 (person / min)

E[s] = 30 minutes : 1 person

Thus: μ = 1 / 30 (person / min)

In summary:

 Arrival Rate = λ = 1 / 48 (customer / min)


1
𝜆 30 5
 Server Utilization = 𝜌 = = 48
1 = = = 0.625
𝜇 30
48 8

 Probability of 2 or more customers in system = P{N ≥ 2] = ρ2 = 0.391


 Mean number in the system = L = ρ / (1 - ρ) = 1.667
 Mean time a customer spends in the system = W = 1/ (μ - λ) = 80 (min)
 Mean number of customers in queue = Lq = ρ2 / (1 - ρ) = 1.04
 Mean time in queue = Wq = λ / (μ (μ-λ) ) = 50 (min)
Question:

Assume that you have a printer that can print an average file in two minutes. Every two and a
half minutes a user sends another file to the printer.

a. How long does it take before a user can get their output?
b. To speed things up you can buy another printer that is exactly the same as the one you
have. How long will it take for a user to get their files printed if you had two identical
printers?
c. Another solution is to replace the existing printer with one that can print a file in an
average of one minute. How long does it take for a user to get their output with the
faster printer?

Answer: (a) is M/M/1 model, (b) is M/M/2 model, and (c) is M/M/1 model

λ = 1/2.5 = 0.4 (file/min)

For slow printer: E[s] = 2 (min). Thus: μ = 0.5 (file / min)

a. W = 1/ (μ - λ) = 1/0.1 = 10 (min)
b. W = Wq + (1/μ)
ρ = λ/(cμ) = 0.4/(2x0.5) = 0.4
1
 c 1 ( /  )n ( /  )c 1 
From M/M/c formula: P0      
 n 0 n! c! 1  ( /( c ) 
(0.4/0.5)1 (0.4/0.5)2 1 1 1
Thus: 𝑃0 = (1 + + × )−1 = = ≈ 0.43
1! 2! 1−(0.4/(2×0.5)) 1+0.8+0.64 ×
2 0.6
1
2.33

(𝜆⁄𝜇 )𝑐 𝜌 (𝜆⁄𝜇 )2 𝜌 (0.4/0.5)2 × 0.4


𝐿𝑞 = 𝑃 = 𝑃 = × 0.43 = 0.15
𝑐! (1 − 𝜌)2 0 2! (1 − 𝜌)2 0 2 × (1 − 0.4)2
And, Wq = Lq/λ = 0.15/0.4 = 0.375
Thus: W = 0.375 + (1/0.5) = 2.375 (min)
c. For this question, λ remains unchanged. However: μ = 1 (file/minute)
Thus: W = 1/ (μ - λ) = 1/0.6 = 1.67 (min)

It is quite obvious that replacing the existing printer with a faster one will lead to shorter time
for a user to get their output.
Question:

The unisex barbershop can hold only three customers, one in service and two waiting.
Additional customers are turned away when the system is full. On the average, a customer
arrives at the barbershop for every half an hour and the barber usually spends 20 minutes to
provide service for one customer.

a. What is the waiting time of each customer?


b. How busy is the barber?
c. What is the rate of customer being turned away due to there is no available space?

Answer: This is an M/M/C/K model (C = 1 and K = 3)

λ = 1 customer / 0.5 hour = 2 (customer/hour)

E[s] = 20 minutes : 1 customer

Thus: μ = 3 (customer / hour)

ρ = λ/μ = 2/3
1−𝜌 1−2⁄3 1/3
𝑃0 = = = = 0.415
1−𝜌𝐾+1 1−(2⁄3)3+1 1−16/81

As 𝑃𝑛 = 𝜌𝑛 𝑃0 , then: P1 = 0.277, P2 = 0.185, and P3 = 0.123

And: λe = λ(1-PK) = 2 x (1 - 0.123) = 1.754 (customer/hour)


2 3+1 16
 ( K  1)  K 1 2/3 (3+1)( ) 4×( ) 64
L  = − 3
2 3+1
= 2 − 81 16 = 2 − = 1.015 (customer)
1  1  K 1 1−2/3 1−( )
3
1−
81
65

Lq = L - (1 - P0) = 1 – (1 – 0.415) = 0.43 (customer)

a. The waiting time of each customer = Wq = Lq / λe = 0.43/1.754 = 0.245 (hour) or about 15


minutes
b. Utilization = λe / μ = 1.754/3 = 0.585
c. The loss rate of this model = λ - λe = 2 – 1.754 = 0.246 (customer / hour)

You might also like