Operations Research · Unit 7
Queuing Theory
Exam-focused notes for Queuing Theory (Operations Research, ORS255): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.
Queuing Theory in short
A queue is a line of customers waiting for service, such as people at a bank counter or jobs waiting for a server. Queuing theory measures waiting time and queue length, so that managers can choose the right number of servers and balance service cost against waiting cost.
What this unit covers
- Definition and characteristics of queues
- Queuing disciplines and service order
- Single channel queuing model
- Operating characteristics of queuing systems
- Poisson arrival processes
- Exponential service time distributions
- Average number of customers in system and queue
- Average waiting time calculations
Average waiting time calculations
2082 · 5 marks
In a certain bank, customers arrive in a Poisson fashion with an average time of 20 minutes between arrivals of the customers. The service time of the bank cashier follows the exponential distribution with mean time 15 minutes. Under the assumptions of single channel queuing model, find (a) The average time spent by a customer in the queue.(a);The;average;time;spent;by;a;customer;in;the;queue.(a)Theaveragetimespentbyacustomerinthequeue.(b) The probability that there are 3 customers in the bank.(b);The;probability;that;there;are;3;customers;in;the;bank.(b)Theprobabilitythatthereare3customersinthebank.[5]
Operating characteristics of queuing systems
2082 · 5 marks
Describe different operation characteristics of single channel queuing model. [5]
2079 · 5 marks
What is called a queue? Describe the operating characteristics of the single channel queuing model. [5]
Show solved answerHide answer
Queue and Single Channel Queuing Model
What is a Queue?
A queue is a linear data structure that follows the FIFO (First-In-First-Out) principle, where elements are inserted at the rear end and removed from the front end. In the context of queuing theory, a queue refers to a waiting line of customers or entities awaiting service.
Operating Characteristics of Single Channel Queuing Model
The single channel queuing model (also called M/M/1 queue) has the following key operating characteristics:
1. Single Server/Channel
- Only one service facility or server is available
- All arriving customers must wait in a single queue if the server is busy
- Customers are served one at a time in the order they arrive
2. FIFO Service Discipline
- Customers are served in the order of their arrival (First-Come-First-Served)
- No priority or preemption is allowed
- Each customer waits until all previous customers are served
3. Arrival Pattern
- Arrivals follow a Poisson distribution with arrival rate λ (lambda)
- Arrivals are random and independent
- The inter-arrival times are exponentially distributed
4. Service Time Distribution
- Service times follow an exponential distribution with service rate μ (mu)
- Service times are independent and identically distributed
- The server works continuously when customers are present
5. Queue Capacity
- The queue has unlimited capacity (infinite waiting space)
- Customers do not balk or renege (they always join and wait)
6. Steady State Condition
- The system operates under the condition λ < μ (arrival rate less than service rate)
- This ensures the queue does not grow indefinitely
7. Key Performance Metrics
- Utilization factor (ρ) = λ/μ
- Average number of customers in system (L) = λ/(μ - λ)
- Average waiting time in queue (Wq) = λ/[μ(μ - λ)]
2080.2 · 5 marks
A TV repairman finds that the time spent on his job has an exponential distribution with mean 30 minutes. If he repairs sets in the order in which they come and if the arrival of sets is approximately Poisson with an average rate of 10 per 8 hour day. What is his expected idle time each day? How many jobs are ahead of the set just brought in? [5]
Show solved answerHide answer
Model Answer: TV Repairman Queuing Problem (M/M/1)
Given
- Service time: Exponential, mean = 30 minutes
- Arrival: Poisson, average rate = 10 sets per 8-hour day
- Working day = 8 hours = 480 minutes
Solution
Rates (converted to consistent units, per hour)
Service rate: mean service time 30 min = 0.5 hour, so $$\mu = \frac{1}{0.5} = 2 \text{ sets/hour}$$
Arrival rate: $$\lambda = \frac{10}{8} = 1.25 \text{ sets/hour}$$
Traffic intensity
$$\rho = \frac{\lambda}{\mu} = \frac{1.25}{2} = 0.625$$
Since $\rho < 1$, the system is stable.
Expected idle time each day
Probability system is empty (repairman idle): $$P_0 = 1 - \rho = 1 - 0.625 = 0.375$$
Expected idle time per 8-hour day: $$= P_0 \times 8 = 0.375 \times 8 = 3 \text{ hours}$$
Expected number of jobs ahead of the set just brought in
The number of jobs "ahead" of an arriving set is the expected number in the system $L$ (all sets already present that must be dealt with before/including the one in service):
$$L = \frac{\lambda}{\mu - \lambda} = \frac{1.25}{2 - 1.25} = \frac{1.25}{0.75} = \frac{5}{3} \approx 1.67 \text{ jobs}$$
Final Answers
- Expected idle time each day: $3$ hours (180 minutes)
- Expected number of jobs ahead of the set just brought in: $L = \dfrac{5}{3} \approx 1.67$ jobs
Note on interpretation
The standard textbook interpretation of "how many jobs are ahead of the set just brought in" is the expected number in the system $L = 5/3 \approx 1.67$ (the newly arrived job sees, on average, $L$ jobs ahead of it, by PASTA). The alternative reading, the number waiting in the queue rather than in the system, gives $L_q \approx 1.04$. The conventional answer to this classic problem is $L = 5/3 \approx 1.67$.
0 · 5 marks
What is called a queue? Describe the operating characteristics of the single channel queuing model. [5]
Show solved answerHide answer
Model Answer: Queue and Single Channel Queuing Model
What is a Queue?
A queue is a linear data structure that follows the FIFO (First In First Out) principle, where elements are inserted at the rear end and removed from the front end. In the context of queuing theory, a queue refers to a waiting line of customers or entities awaiting service.
Operating Characteristics of Single Channel Queuing Model
The single channel queuing model (also called M/M/1 model) has the following key operating characteristics:
1. Single Server/Channel
- Only one service facility or server is available
- All arriving customers must wait in a single queue if the server is busy
- No parallel processing of customers
2. Arrival Pattern
- Customers arrive randomly following a Poisson distribution
- Arrivals are independent of each other
- Characterized by arrival rate (λ)
3. Service Pattern
- Service time follows an exponential distribution
- Service times are independent and random
- Characterized by service rate (μ)
- One customer is served at a time
4. Queue Discipline
- Follows FIFO (First In First Out) principle
- Customers are served in the order they arrive
- No priority or preemption
5. System Capacity
- Unlimited queue length (infinite capacity)
- Customers can wait indefinitely for service
- No customers are turned away
6. Population Source
- Infinite population of potential customers
- Arrival rate remains constant regardless of queue length
7. Key Performance Metrics
- Average number of customers in system (L)
- Average number waiting in queue (Lq)
- Average time in system (W)
- Average waiting time in queue (Wq)
- Server utilization (ρ = λ/μ)
This model is fundamental in operations research and is widely used to analyze real-world systems like bank counters, ticket windows, and service centers.
Average number of customers in system and queue
2081 · 5 marks
A bank operates a single-channel queuing system with customers arriving at a rate of 6 per hour and each customer being served at an average rate of 8 per hour. Calculate (a) the average number of customers in the system and (b) the average waiting time. λ=6 per hour\lambda = 6;per;hourλ=6perhourμ=8 per hour\mu = 8;per;hourμ=8perhour[5]
2080 · 5 marks
Customers arrive at a bank having single counter at the rate of 25 customers per hour. Time required to serve a customer has exponential distribution and average number of customers served per hour is 30. Find the average number of customers in queue and in system as well. [5]
2079 · 5 marks
On the average 96 patients per 24 hours day require the emergency service in clinic. Also on the average, a patient requires 10 minutes of active attention. Assume that the facility can handle only one emergency at a time. If this situation satisfies all the conditions for apply queuing theory, find the average (expected) queue length and the waiting time for the patient to be served. [5]
Queuing disciplines and service order
2080 · 5 marks
Describe different types of queuing disciplines used in serving a customer in a queue. [5]
2080.2 · 5 marks
What is called a queue? Describe different queue disciplines. [5]
Single channel queuing model
0 · 5 marks
An airlines organization has one reservation clerk on duty in its local branch at any given time. The clerk handles information regarding passenger reservations and flight timing. Assume that the number of customers arriving during any given period is Poisson distributed with an arrival rate of eight per hour and that the reservation clerk can service a customer in six minutes on an average, with an exponentially distributed service time. (a) What is the probability that the system is busy? (b) What is the average time a customer spends in the system? [5]
Make Unit 7 stick
Practice ORS255 with flashcards & quizzes