SlideShare a Scribd company logo
MEET OUR TEAM
Presentation title 1
OLA ELNAGHY ABDELRAHMAN
METWALLY
HELMIA NOAMAN AHMED MANSOUR
MEET OUR TEAM
Presentation title 2
ABDULLAH TAREK ESLAM HAMOUDA MAZEN ELBESSA AHMED KHALED
PRESENTED TO: DR. HANAN KOUTA
QUEUEING THEORY
(WAITING LINE)
▪ Queuing theory is a branch of
applied mathematics and
operations research that focuses
on the study of waiting lines and
the underlying processes that
govern them. It provides a
systematic framework for
understanding, analyzing, and
optimizing the efficiency and
performance of systems where
customers arrive, wait in a line,
and are served by one or more
service providers.
WHAT IS QUEUEING THEORY?
capacity
COMPONENTS OF QUEUEING SYSTEM:
arrival
service
discipline
ARRIVAL PROCESS?
CONSISTS OF 3 ELEMENTS:
Arrival Rate(λ) Inter-Arrival Time(T) Arrival Distribution
(T = 1/λ)
Arrival
distribution
Poisson
Distribution
Normal Distribution
Exponential
Distribution
Non-Homogeneous
Arrival
COMMON QUEUE DISCIPLINES:
▪ First-Come-First-Served (FCFS):
▪ Priority Queuing:
-Preemptive Queues
-Non-Preemptive Queues
▪ Last-Come-First-Served (LCFS):
▪ Shortest Processing Time (SPT):
▪ Round Robin
The choice of queue
discipline can significantly
impact the system's
performance, including
waiting times and service
times.
DIFFERENT TYPES OF QUEUING SYSTEMS:
Single server, single phase
Single server, multi phase
DIFFERENT TYPES OF QUEUING SYSTEMS:
multi server, single phase
DIFFERENT TYPES OF QUEUING SYSTEMS:
multi server, multi phase
KENDALL NOTATION: Kendall's notation typically consists of three parts:
A represents the arrival process of
customers
A
represents the service process (e.g.,
exponential service, constant service,
etc.).
B
C represents the number of service
channels (servers) available in the
system (e.g., single-server, multi-server).
c
KENDALL NOTATION: Kendall's notation typically consists of three parts:
D describes the queue discipline
(e.g., FIFO, LIFO, priority, etc.).
D
represents the maximum system
capacity (e.g., infinite, finite, or limited
queue length).
E
G indicates whether there is a waiting
room or not (e.g., with or without a
waiting room).
G
WAITING LINE MODELS:
M/M/1
M/M/c/c
M/M/∞
M/D/1
M/M/c
M/G/1
M/M/c/K
WHY?
So, WHY do we study queueing theory?
 Network Design
 Customer Service Improvement
 Computer Systems and Software Design
 Emergency Departments and health care
 Inventory Systems
 Call Centers
 Capacity Planning
CASE STUDY:
OPTIMIZING CUSTOMER SERVICE IN A RETAIL STORE USING QUEUEING
THEORY
Background:
A popular retail store with a high volume of customer foot
traffic was facing challenges in managing long queues at
the checkout counters, leading to customer dissatisfaction
and potential loss of sales. The management decided to
apply queueing theory to optimize their customer service
operations.
Objective:
The primary objective was to reduce customer waiting
times, improve overall service efficiency, and enhance
customer satisfaction without increasing operational costs.
IMPLEMENTATION STEPS:
Data Collection:
• Gathered data on customer arrival patterns throughout the day.
• Collected information on the average service time per
customer at the checkout counters.
Queueing Model
Selection:
• Selected an appropriate queueing model based on the
characteristics of the retail store's checkout system. The
Single-Server Queue model with Poisson arrival and
exponential service time distributions was deemed suitable.
Parameter
Estimation:
• Estimated parameters such as arrival rates and service
rates based on historical data.
Queueing
System
Analysis:
• Used the selected queueing model to analyze the system's
performance, including average queue length, utilization of
checkout counters, and expected waiting times.
Simulation and
Optimization:
• Employed simulation techniques to model the checkout process and
assess different scenarios.
• Explored the impact of varying the number of checkout counters and
staffing levels on customer waiting times and service efficiency.
Optimal Resource
Allocation:
• Determined the optimal number of checkout counters and staff
required to meet service level targets, balancing the cost of
additional resources against the benefits of improved customer
satisfaction.
Implementation
of Changes:
• Based on the findings from the queueing theory analysis and
simulations, the retail store management implemented changes in
the checkout process.
• Adjusted the number of open checkout counters during peak and
off-peak hours.
• Implemented a dynamic staffing model to respond to fluctuations
in customer demand.
RESULTS:
 Reduced Waiting Times
 Improved Customer Satisfaction
 Efficient Resource Utilization
 Increased Revenue
PROBLEMS:
PROBLEM (1)
A wholesale store has 2 service desks, one at each entrance of the
store. Customers arrive at each service
desk at an average of one every six minutes. The service time at
each service desk is four minutes per
customer.
a. How often is each service desk idle?
b. How many customers, on average, are waiting in line in
front of each service desk?
c. How much time does a customer spend at the service desk
(waiting plus service time)?
SOLUTION:
Data:
λ = 10 customers/hr
Service time = 4 minutes
μ = 1/service time =
(1/4)*60 = 15 customers/hr
λ /μ = 1/15 = 0.67
a. How often is each service desk idle?
A single server is idle when there are no customers
Proportion of idle time = PO
Po = 1- (λ /μ ) = 1-(0.67) = 0.33
b. How many customers, on average, are waiting in line in front
of each service desk?
Lq =
λ2
μ(μ−λ)
=
102
15(15−10)
= 1.33 𝑐𝑢𝑠𝑡𝑜𝑚𝑒𝑟𝑠
c. How much time does a customer spend at the service desk
(waiting plus service time)?
Ws= Wq+ service time=
Wq=
𝐿𝑞
λ
=
1.33
10
= 0.133 ℎ𝑟 = 8 𝑚𝑖𝑛𝑢𝑡𝑒𝑠
Ws= 8 + 4 = 12 minutes
PROBLEM (2)
The store manager is considering consolidating the 2 service desks
into one location,
staffed by 2 clerks. The clerks will continue to work at the same
individual speed of 4
minutes per customer.
a. How many customers, on average, are waiting in line?
b. How much time does a customer spend at the service desk
(waiting plus service time)?
c. Do you think the manager should consolidate the service
desks?
SOLUTION:
Data:
M=2
λ = 20 customers/hr
μ=15customers/hr
a. How many customers, on average, are waiting in line?
For simplicity, look in the table for the value of λ/μ that is
closest to the value we have. From the table, for λ/μ = 1.3 and
M = 2, L₁= 0.951customers
b. How much time does a customer spend at the service desk
(waiting plus service time)?
Wq = Lq/λ = 0.954/20 = 0.0477 hr = 2.9 minutes
Ws = 2.9 + 4 = 6.9 minutes
c. Do you think the manager should consolidate the service
desks?
Yes, because the waiting time is shorter now.
PROBLEM (3)
A clinic has two general practitioners who see patients daily. An
average of 6 patients arrives at the clinic every hour (Poisson
distributed). Each doctor spends an average of 15 minutes
(exponentially distributed) with a patient. The patient wait in a
waiting
area until one of the doctors is able to see him. However, since
patients typically do not feel well when they come to the clinic, the
doctors do not believe it is good practice to have a patient wait
longer than an average of 15 minutes.
Should this clinic add a third doctor? How would this alleviate the waiting problem?
SOLUTION:
DATA:
M=2
X = 6 patients/hr
Service time = 15
minutes
μ = 1/service time = (1/15)*60 = 4 patients/hr
λ/μ = 6/4 =1.5
The clinic has a policy that patients should not wait more than
15 minutes before seeing a doctor To answer the question, we
need to know the current waiting time and compare it to the
threshold.
From the table, for λ/μ= 1.5 and M = 2,
Lq = 1.929 patients
Wq = Lq/λ = 1.929/6 = 0.3215 hr = 19.3 minutes > 15 minutes
So, add a doctor.
M now is 3
From the table, for λ/μ = 1.5 and M = 3,
Lq = 0.237 patients
Wq = Lq/λ = 0.237/6 = 0.0395 hr = 2.4 minutes < 15 minutesBy
adding one doctor, we reduce the waiting time by (19.3-2.4) =
16.9 minutes
PROBLEM (3)
A service counter employs two servers. On average a server requires
8 minutes to
process a customer and service times follow an exponential
distribution. Customers
arrive at the counter at the rate of 12 per hour according to a Poisson
distribution.
Determine the following.
a. On average, the total number of customers in the system
b. The average number of customers waiting to be served
c. The average amount of time, in minutes, spent in the system
d. The probability that an arriving customer must wait for
service
e. The probability that two customers are waiting in line
SOLUTION:
Data:
M = 2λ = 12 customers/hr
Service time = 8 minutes
μ = 1/service time =
(1/8)*60 = 7.5
customers/hr
λ/μ = 12/7.5 = 1.6
a. On average, the total number of customers in the system
From the table, for λ/μ = 1.6 and M = 2,
Lq = 2.844 customers
Ls = Lq + λ/μ= 2.84 + 1.6 = 4.44 customers
b. The average number of customers waiting to be served
This is Lq which is 2.84 customers
c. The average amount of time, in minutes, spent in the system
Ws = Wq + service time
Wq = Lq/λ = 2.84/12 = 0.237 hr = 14.2 minutes
Ws = 14.2 + 8 = 22.2 minutes
SOLUTION:
Data:
M = 2λ = 12 customers/hr
Service time = 8 minutes
μ = 1/service time =
(1/8)*60 = 7.5
customers/hrλ/μ = 12/7.5
= 1.6
d. The probability that an arriving customer must wait for
service
Pw = P₂ + P3 + ... = 1 - (Po+P₁)
From the table, for λ/μ = 1.6 and M = 2,
Po= 0.111(/μ)"For n ≤ M, Pn = (λ/μ)*n/n! X Po
P₁ =(1.6)*1/1! X 0.111 = 0.1776
Pw=1- (0.111 + 0.1776) = 1- 0.2886 = 0.7114
e. The probability that two customers are waiting in line
P(n = 2 in line) = P(n = 4 in system) = P4
For n > M, Pn = (λ/μ)*n / M! M*n-M X PO
P4= (1.6)*4 / 2! 2*4-2 X 0.111= 0.0909
COST
• The costs of waiting in line:
1-paying idle employees while they are in line waiting for
something they need. (waiting for parts, supplies, deliveries,
etc.)
2-Unusable (unproductive) equipment awaiting repairs
EG: Broken assembly line machinery.
3-Losing customers because of long lines
-Reneging: Customers get tired of waiting and leave
-Balking: Customers see a long line and don't get in line.
• The cost of providing service to the line
● Paying people to service the customers in line
● Customers can be people, machines, or other objects
needing service.
● Paying repairmen to fix broken machines
Paying dock workers to load and unload trucks
● Paying customer-service people
● Using more production people to speed up the line
• Leasing of service equipment and facilities
Paying checkout cashiers
PROBLEM
In the Burger Dome restaurant problem, the waiting cost would be the cost per minute
for a customer waiting for service. This cost is not a direct cost to Burger Dome.
However, if Burger Dome ignores this cost and allows long waiting lines, customers
ultimately will take their business elsewhere. Thus, Burger Dome will experience lost sales and, in
effect, incur a cost.
In the Burger Dome problem, The service cost would include the server's wages,
benefits, and any other direct costs associated with establishing a server. At Burger
Dome, this cost is estimated to be $10 per hour.
Assume that Burger Dome is willing to assign a cost of $15 per hour for customer
waiting time.
Assume in Single-server system (L = 3 customers)
Two-server system (L = 0.8727 customer)
PROBLEM
Single-server system (L = 3 customers): TC = CwL+ Cşk
= 15(3) + 10(1) = $55.00 per hour
Solution
Two-server system (L = 0.8727 customer):
TC=CwL+ Cşk
= 15(0.8727) + 10(2) = $33.09 per hour

More Related Content

Similar to Queueing theory finallll waiting lines .pptx

Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
Dallina1
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Analyzing Wait Times at a Branded Coffee Store on a University Campus
Analyzing Wait Times at a Branded Coffee Store on a University CampusAnalyzing Wait Times at a Branded Coffee Store on a University Campus
Analyzing Wait Times at a Branded Coffee Store on a University CampusNicholas Taitague
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
Subham kumar
 
In designing a lean production facility layout
In designing a lean production facility layoutIn designing a lean production facility layout
In designing a lean production facility layout
johann11371
 
Project report subway - Arena (simulation)
Project report subway - Arena (simulation)Project report subway - Arena (simulation)
Project report subway - Arena (simulation)
Poorvi Deshpande
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
ssuser0d0f881
 
A company must perform a maintenance project consisting
A company must perform a maintenance project consistingA company must perform a maintenance project consisting
A company must perform a maintenance project consisting
johann11369
 
OM Week 1.pptx
OM Week 1.pptxOM Week 1.pptx
OM Week 1.pptx
NamanAgarwal323573
 
Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)
johann11374
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)Muhammad NasRi
 
Which of the following basic types of production layout
Which of the following basic types of production layoutWhich of the following basic types of production layout
Which of the following basic types of production layout
johann11372
 
Which of the following is a focusing step
Which of the following is a focusing stepWhich of the following is a focusing step
Which of the following is a focusing step
johann11373
 
A simple project listing of five activities and their respective time
A simple project listing of five activities and their respective timeA simple project listing of five activities and their respective time
A simple project listing of five activities and their respective time
johann11370
 
Simulation and modeling
Simulation and modelingSimulation and modeling
Simulation and modelingHabibur Rahman
 
From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...
johann11371
 
Which of the following is not a problem definition tool
Which of the following is not a problem definition toolWhich of the following is not a problem definition tool
Which of the following is not a problem definition tool
johann11374
 

Similar to Queueing theory finallll waiting lines .pptx (20)

QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Analyzing Wait Times at a Branded Coffee Store on a University Campus
Analyzing Wait Times at a Branded Coffee Store on a University CampusAnalyzing Wait Times at a Branded Coffee Store on a University Campus
Analyzing Wait Times at a Branded Coffee Store on a University Campus
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
 
In designing a lean production facility layout
In designing a lean production facility layoutIn designing a lean production facility layout
In designing a lean production facility layout
 
Project report subway - Arena (simulation)
Project report subway - Arena (simulation)Project report subway - Arena (simulation)
Project report subway - Arena (simulation)
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
 
A company must perform a maintenance project consisting
A company must perform a maintenance project consistingA company must perform a maintenance project consisting
A company must perform a maintenance project consisting
 
OM Week 1.pptx
OM Week 1.pptxOM Week 1.pptx
OM Week 1.pptx
 
Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)
 
Which of the following basic types of production layout
Which of the following basic types of production layoutWhich of the following basic types of production layout
Which of the following basic types of production layout
 
Which of the following is a focusing step
Which of the following is a focusing stepWhich of the following is a focusing step
Which of the following is a focusing step
 
A simple project listing of five activities and their respective time
A simple project listing of five activities and their respective timeA simple project listing of five activities and their respective time
A simple project listing of five activities and their respective time
 
Simulation and modeling
Simulation and modelingSimulation and modeling
Simulation and modeling
 
From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...
 
Which of the following is not a problem definition tool
Which of the following is not a problem definition toolWhich of the following is not a problem definition tool
Which of the following is not a problem definition tool
 

Recently uploaded

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 

Recently uploaded (20)

The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 

Queueing theory finallll waiting lines .pptx

  • 1. MEET OUR TEAM Presentation title 1 OLA ELNAGHY ABDELRAHMAN METWALLY HELMIA NOAMAN AHMED MANSOUR
  • 2. MEET OUR TEAM Presentation title 2 ABDULLAH TAREK ESLAM HAMOUDA MAZEN ELBESSA AHMED KHALED
  • 3. PRESENTED TO: DR. HANAN KOUTA QUEUEING THEORY (WAITING LINE)
  • 4. ▪ Queuing theory is a branch of applied mathematics and operations research that focuses on the study of waiting lines and the underlying processes that govern them. It provides a systematic framework for understanding, analyzing, and optimizing the efficiency and performance of systems where customers arrive, wait in a line, and are served by one or more service providers. WHAT IS QUEUEING THEORY?
  • 5.
  • 6. capacity COMPONENTS OF QUEUEING SYSTEM: arrival service discipline
  • 7. ARRIVAL PROCESS? CONSISTS OF 3 ELEMENTS: Arrival Rate(λ) Inter-Arrival Time(T) Arrival Distribution (T = 1/λ)
  • 9. COMMON QUEUE DISCIPLINES: ▪ First-Come-First-Served (FCFS): ▪ Priority Queuing: -Preemptive Queues -Non-Preemptive Queues ▪ Last-Come-First-Served (LCFS): ▪ Shortest Processing Time (SPT): ▪ Round Robin The choice of queue discipline can significantly impact the system's performance, including waiting times and service times.
  • 10. DIFFERENT TYPES OF QUEUING SYSTEMS: Single server, single phase Single server, multi phase
  • 11. DIFFERENT TYPES OF QUEUING SYSTEMS: multi server, single phase
  • 12. DIFFERENT TYPES OF QUEUING SYSTEMS: multi server, multi phase
  • 13. KENDALL NOTATION: Kendall's notation typically consists of three parts: A represents the arrival process of customers A represents the service process (e.g., exponential service, constant service, etc.). B C represents the number of service channels (servers) available in the system (e.g., single-server, multi-server). c
  • 14. KENDALL NOTATION: Kendall's notation typically consists of three parts: D describes the queue discipline (e.g., FIFO, LIFO, priority, etc.). D represents the maximum system capacity (e.g., infinite, finite, or limited queue length). E G indicates whether there is a waiting room or not (e.g., with or without a waiting room). G
  • 17. WHY? So, WHY do we study queueing theory?  Network Design  Customer Service Improvement  Computer Systems and Software Design  Emergency Departments and health care  Inventory Systems  Call Centers  Capacity Planning
  • 18. CASE STUDY: OPTIMIZING CUSTOMER SERVICE IN A RETAIL STORE USING QUEUEING THEORY
  • 19. Background: A popular retail store with a high volume of customer foot traffic was facing challenges in managing long queues at the checkout counters, leading to customer dissatisfaction and potential loss of sales. The management decided to apply queueing theory to optimize their customer service operations. Objective: The primary objective was to reduce customer waiting times, improve overall service efficiency, and enhance customer satisfaction without increasing operational costs.
  • 21. Data Collection: • Gathered data on customer arrival patterns throughout the day. • Collected information on the average service time per customer at the checkout counters. Queueing Model Selection: • Selected an appropriate queueing model based on the characteristics of the retail store's checkout system. The Single-Server Queue model with Poisson arrival and exponential service time distributions was deemed suitable. Parameter Estimation: • Estimated parameters such as arrival rates and service rates based on historical data.
  • 22. Queueing System Analysis: • Used the selected queueing model to analyze the system's performance, including average queue length, utilization of checkout counters, and expected waiting times. Simulation and Optimization: • Employed simulation techniques to model the checkout process and assess different scenarios. • Explored the impact of varying the number of checkout counters and staffing levels on customer waiting times and service efficiency. Optimal Resource Allocation: • Determined the optimal number of checkout counters and staff required to meet service level targets, balancing the cost of additional resources against the benefits of improved customer satisfaction.
  • 23. Implementation of Changes: • Based on the findings from the queueing theory analysis and simulations, the retail store management implemented changes in the checkout process. • Adjusted the number of open checkout counters during peak and off-peak hours. • Implemented a dynamic staffing model to respond to fluctuations in customer demand.
  • 25.  Reduced Waiting Times  Improved Customer Satisfaction  Efficient Resource Utilization  Increased Revenue
  • 27. PROBLEM (1) A wholesale store has 2 service desks, one at each entrance of the store. Customers arrive at each service desk at an average of one every six minutes. The service time at each service desk is four minutes per customer. a. How often is each service desk idle? b. How many customers, on average, are waiting in line in front of each service desk? c. How much time does a customer spend at the service desk (waiting plus service time)?
  • 28. SOLUTION: Data: λ = 10 customers/hr Service time = 4 minutes μ = 1/service time = (1/4)*60 = 15 customers/hr λ /μ = 1/15 = 0.67 a. How often is each service desk idle? A single server is idle when there are no customers Proportion of idle time = PO Po = 1- (λ /μ ) = 1-(0.67) = 0.33 b. How many customers, on average, are waiting in line in front of each service desk? Lq = λ2 μ(μ−λ) = 102 15(15−10) = 1.33 𝑐𝑢𝑠𝑡𝑜𝑚𝑒𝑟𝑠 c. How much time does a customer spend at the service desk (waiting plus service time)? Ws= Wq+ service time= Wq= 𝐿𝑞 λ = 1.33 10 = 0.133 ℎ𝑟 = 8 𝑚𝑖𝑛𝑢𝑡𝑒𝑠 Ws= 8 + 4 = 12 minutes
  • 29. PROBLEM (2) The store manager is considering consolidating the 2 service desks into one location, staffed by 2 clerks. The clerks will continue to work at the same individual speed of 4 minutes per customer. a. How many customers, on average, are waiting in line? b. How much time does a customer spend at the service desk (waiting plus service time)? c. Do you think the manager should consolidate the service desks?
  • 30. SOLUTION: Data: M=2 λ = 20 customers/hr μ=15customers/hr a. How many customers, on average, are waiting in line? For simplicity, look in the table for the value of λ/μ that is closest to the value we have. From the table, for λ/μ = 1.3 and M = 2, L₁= 0.951customers b. How much time does a customer spend at the service desk (waiting plus service time)? Wq = Lq/λ = 0.954/20 = 0.0477 hr = 2.9 minutes Ws = 2.9 + 4 = 6.9 minutes c. Do you think the manager should consolidate the service desks? Yes, because the waiting time is shorter now.
  • 31. PROBLEM (3) A clinic has two general practitioners who see patients daily. An average of 6 patients arrives at the clinic every hour (Poisson distributed). Each doctor spends an average of 15 minutes (exponentially distributed) with a patient. The patient wait in a waiting area until one of the doctors is able to see him. However, since patients typically do not feel well when they come to the clinic, the doctors do not believe it is good practice to have a patient wait longer than an average of 15 minutes. Should this clinic add a third doctor? How would this alleviate the waiting problem?
  • 32. SOLUTION: DATA: M=2 X = 6 patients/hr Service time = 15 minutes μ = 1/service time = (1/15)*60 = 4 patients/hr λ/μ = 6/4 =1.5 The clinic has a policy that patients should not wait more than 15 minutes before seeing a doctor To answer the question, we need to know the current waiting time and compare it to the threshold. From the table, for λ/μ= 1.5 and M = 2, Lq = 1.929 patients Wq = Lq/λ = 1.929/6 = 0.3215 hr = 19.3 minutes > 15 minutes So, add a doctor. M now is 3 From the table, for λ/μ = 1.5 and M = 3, Lq = 0.237 patients Wq = Lq/λ = 0.237/6 = 0.0395 hr = 2.4 minutes < 15 minutesBy adding one doctor, we reduce the waiting time by (19.3-2.4) = 16.9 minutes
  • 33. PROBLEM (3) A service counter employs two servers. On average a server requires 8 minutes to process a customer and service times follow an exponential distribution. Customers arrive at the counter at the rate of 12 per hour according to a Poisson distribution. Determine the following. a. On average, the total number of customers in the system b. The average number of customers waiting to be served c. The average amount of time, in minutes, spent in the system d. The probability that an arriving customer must wait for service e. The probability that two customers are waiting in line
  • 34. SOLUTION: Data: M = 2λ = 12 customers/hr Service time = 8 minutes μ = 1/service time = (1/8)*60 = 7.5 customers/hr λ/μ = 12/7.5 = 1.6 a. On average, the total number of customers in the system From the table, for λ/μ = 1.6 and M = 2, Lq = 2.844 customers Ls = Lq + λ/μ= 2.84 + 1.6 = 4.44 customers b. The average number of customers waiting to be served This is Lq which is 2.84 customers c. The average amount of time, in minutes, spent in the system Ws = Wq + service time Wq = Lq/λ = 2.84/12 = 0.237 hr = 14.2 minutes Ws = 14.2 + 8 = 22.2 minutes
  • 35. SOLUTION: Data: M = 2λ = 12 customers/hr Service time = 8 minutes μ = 1/service time = (1/8)*60 = 7.5 customers/hrλ/μ = 12/7.5 = 1.6 d. The probability that an arriving customer must wait for service Pw = P₂ + P3 + ... = 1 - (Po+P₁) From the table, for λ/μ = 1.6 and M = 2, Po= 0.111(/μ)"For n ≤ M, Pn = (λ/μ)*n/n! X Po P₁ =(1.6)*1/1! X 0.111 = 0.1776 Pw=1- (0.111 + 0.1776) = 1- 0.2886 = 0.7114 e. The probability that two customers are waiting in line P(n = 2 in line) = P(n = 4 in system) = P4 For n > M, Pn = (λ/μ)*n / M! M*n-M X PO P4= (1.6)*4 / 2! 2*4-2 X 0.111= 0.0909
  • 36. COST
  • 37. • The costs of waiting in line: 1-paying idle employees while they are in line waiting for something they need. (waiting for parts, supplies, deliveries, etc.) 2-Unusable (unproductive) equipment awaiting repairs EG: Broken assembly line machinery. 3-Losing customers because of long lines -Reneging: Customers get tired of waiting and leave -Balking: Customers see a long line and don't get in line.
  • 38. • The cost of providing service to the line ● Paying people to service the customers in line ● Customers can be people, machines, or other objects needing service. ● Paying repairmen to fix broken machines Paying dock workers to load and unload trucks ● Paying customer-service people ● Using more production people to speed up the line • Leasing of service equipment and facilities Paying checkout cashiers
  • 39.
  • 40. PROBLEM In the Burger Dome restaurant problem, the waiting cost would be the cost per minute for a customer waiting for service. This cost is not a direct cost to Burger Dome. However, if Burger Dome ignores this cost and allows long waiting lines, customers ultimately will take their business elsewhere. Thus, Burger Dome will experience lost sales and, in effect, incur a cost. In the Burger Dome problem, The service cost would include the server's wages, benefits, and any other direct costs associated with establishing a server. At Burger Dome, this cost is estimated to be $10 per hour. Assume that Burger Dome is willing to assign a cost of $15 per hour for customer waiting time. Assume in Single-server system (L = 3 customers) Two-server system (L = 0.8727 customer)
  • 41. PROBLEM Single-server system (L = 3 customers): TC = CwL+ Cşk = 15(3) + 10(1) = $55.00 per hour Solution Two-server system (L = 0.8727 customer): TC=CwL+ Cşk = 15(0.8727) + 10(2) = $33.09 per hour