SlideShare a Scribd company logo
Chapter 9:
Queuing Models
© 2007 Pearson Education
Queuing or Waiting Line Analysis
• Queues (waiting lines) affect people
everyday
• A primary goal is finding the best level of
service
• Analytical modeling (using formulas) can
be used for many queues
• For more complex situations, computer
simulation is needed
Queuing System Costs
1. Cost of providing service
2. Cost of not providing service (waiting time)
Three Rivers Shipping Example
• Average of 5 ships arrive per 12 hr shift
• A team of stevedores unloads each ship
• Each team of stevedores costs $6000/shift
• The cost of keeping a ship waiting is
$1000/hour
• How many teams of stevedores to employ
to minimize system cost?
Three Rivers Waiting Line Cost Analysis
Number of Teams of Stevedores
1 2 3 4
Ave hours
waiting per ship 7 4 3 2
Cost of ship
waiting time
(per shift)
$35,000 $20,000 $15,000 $10,000
Stevedore cost
(per shift) $6000 $12,000 $18,000 $24,000
Total Cost $41,000 $32,000 $33,000 $34,000
Characteristics of a
Queuing System
The queuing system is determined by:
• Arrival characteristics
• Queue characteristics
• Service facility characteristics
Arrival Characteristics
• Size of the arrival population – either
infinite or limited
• Arrival distribution:
–Either fixed or random
–Either measured by time between
consecutive arrivals, or arrival rate
–The Poisson distribution is often used
for random arrivals
Poisson Distribution
• Average arrival rate is known
• Average arrival rate is constant for some
number of time periods
• Number of arrivals in each time period is
independent
• As the time interval approaches 0, the
average number of arrivals approaches 0
Poisson Distribution
λ = the average arrival rate per time unit
P(x) = the probability of exactly x arrivals
occurring during one time period
P(x) = e-λ
λx
x!
Behavior of Arrivals
• Most queuing formulas assume that all
arrivals stay until service is completed
• Balking refers to customers who do not
join the queue
• Reneging refers to customers who join
the queue but give up and leave before
completing service
Queue Characteristics
• Queue length (max possible queue length)
– either limited or unlimited
• Service discipline – usually FIFO (First In
First Out)
Service Facility Characteristics
1. Configuration of service facility
• Number of servers (or channels)
• Number of phases (or service stops)
2. Service distribution
• The time it takes to serve 1 arrival
• Can be fixed or random
• Exponential distribution is often used
Exponential Distribution
μ = average service time
t = the length of service time (t > 0)
P(t) = probability that service time will be
greater than t
P(t) = e- μt
Measuring Queue Performance
• ρ = utilization factor (probability of all
servers being busy)
• Lq = average number in the queue
• L = average number in the system
• Wq = average waiting time
• W = average time in the system
• P0 = probability of 0 customers in system
• Pn = probability of exactly n customers in
system
Kendall’s Notation
A / B / s
A = Arrival distribution
(M for Poisson, D for deterministic, and
G for general)
B = Service time distribution
(M for exponential, D for deterministic,
and G for general)
S = number of servers
The Queuing Models
Covered Here All Assume
1. Arrivals follow the Poisson distribution
2. FIFO service
3. Single phase
4. Unlimited queue length
5. Steady state conditions
We will look at 5 of the most commonly used
queuing systems.
Models CoveredName
(Kendall Notation) Example
Simple system
(M / M / 1)
Customer service desk in a
store
Multiple server
(M / M / s)
Airline ticket counter
Constant service
(M / D / 1)
Automated car wash
General service
(M / G / 1)
Auto repair shop
Limited population
(M / M / s / ∞ / N)
An operation with only 12
machines that might break
Single Server Queuing System (M/M/1)
• Poisson arrivals
• Arrival population is unlimited
• Exponential service times
• All arrivals wait to be served
• λ is constant
• μ > λ (average service rate > average
arrival rate)
Operating Characteristics for M/M/1 Queue
1. Average server utilization
ρ = λ / μ
2. Average number of customers waiting
Lq = λ2
μ(μ – λ)
2. Average number in system
L = Lq + λ / μ
4. Average waiting time
Wq = Lq = λ
λ μ(μ – λ)
5. Average time in the system
W = Wq + 1/ μ
5. Probability of 0 customers in system
P0 = 1 – λ/μ
7. Probability of exactly n customers in
system
Pn = (λ/μ )n
P0
Arnold’s Muffler Shop Example
• Customers arrive on average 2 per hour
(λ = 2 per hour)
• Average service time is 20 minutes
(μ = 3 per hour)
Install ExcelModules
Go to file 9-2.xls
Total Cost of Queuing System
Total Cost = Cw x L + Cs x s
Cw = cost of customer waiting time per
time period
L = average number customers in
system
Cs = cost of servers per time period
s = number of servers
Multiple Server System (M / M / s)
• Poisson arrivals
• Exponential service times
• s servers
• Total service rate must exceed arrival rate
( sμ > λ)
• Many of the operating characteristic
formulas are more complicated
Arnold’s Muffler Shop
With Multiple Servers
Two options have already been considered:
System
Cost
• Keep the current system (s=1) $32/hr
• Get a faster mechanic (s=1) $25/hr
Multi-server option
3. Have 2 mechanics (s=2) ?
Go to file 9-3.xls
Single Server System With
Constant Service Time (M/D/1)
• Poisson arrivals
• Constant service times (not random)
• Has shorter queues than M/M/1 system
- Lq and Wq are one-half as large
Garcia-Golding Recycling Example
• λ = 8 trucks per hour (random)
• μ = 12 trucks per hour (fixed)
• Truck & driver waiting cost is $60/hour
• New compactor will be amortized at
$3/unload
• Total cost per unload = ?
Go to file 9-4.xls
Single Server System With
General Service Time (M/G/1)
• Poisson arrivals
• General service time distribution with
known mean (μ) and standard deviation (σ)
• μ > λ
Professor Crino Office Hours
• Students arrive randomly at an average
rate of, λ = 5 per hour
• Service (advising) time is random at an
average rate of, μ = 6 per hour
• The service time standard deviation is,
σ = 0.0833 hours
Go to file 9-5.xls
Muti-Server System With
Finite Population (M/M/s/∞/N)
• Poisson arrivals
• Exponential service times
• s servers with identical service time
distributions
• Limited population of size N
• Arrival rate decreases as queue lengthens
Department of Commerce Example
• Uses 5 printers (N=5)
• Printers breakdown on average every 20
hours
λ = 1 printer = 0.05 printers per hour
20 hours
• Average service time is 2 hours
μ = 1 printer = 0.5 printers per hour
2 hours
Go to file 9-6.xls
More Complex Queuing Systems
• When a queuing system is more complex,
formulas may not be available
• The only option may be to use computer
simulation, which we will study in the next
chapter

More Related Content

What's hot

Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theoryPresi
 
Operating characteristics ofqueuing system
Operating characteristics ofqueuing systemOperating characteristics ofqueuing system
Operating characteristics ofqueuing system
Aminul Tanvin
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
Vidhya Kannan
 
Queuing theory
Queuing theoryQueuing theory
Queuing theoryAbu Bashar
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
Mani Deep
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Amit Sinha
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Bikash Kumar
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
Zeal Education Society, Pune
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
VishalHotchandani2
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
Dallina1
 
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle  routing and  schedulingSupply chain logistics : vehicle  routing and  scheduling
Supply chain logistics : vehicle routing and scheduling
Retigence Technologies
 
Queuing theory .
Queuing theory .Queuing theory .
Queuing theory .
GarimaGoel25
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
Alvin Niere
 
queuing theory/ waiting line theory
queuing theory/ waiting line theoryqueuing theory/ waiting line theory
queuing theory/ waiting line theory
Arushi Verma
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Shiwangi Thakur
 
Queueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and RenderQueueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and Render
Ai Lun Wu
 

What's hot (20)

Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
 
Operating characteristics ofqueuing system
Operating characteristics ofqueuing systemOperating characteristics ofqueuing system
Operating characteristics ofqueuing system
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle  routing and  schedulingSupply chain logistics : vehicle  routing and  scheduling
Supply chain logistics : vehicle routing and scheduling
 
Queue
QueueQueue
Queue
 
Queuing theory .
Queuing theory .Queuing theory .
Queuing theory .
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
 
queuing theory/ waiting line theory
queuing theory/ waiting line theoryqueuing theory/ waiting line theory
queuing theory/ waiting line theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and RenderQueueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and Render
 

Similar to Queuing model

Queuing theory
Queuing theoryQueuing theory
Queuing theory
Mufaddal Haidermota
 
Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
IJERA Editor
 
Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
IdcIdk1
 
08_Queueing_Models.pdf
08_Queueing_Models.pdf08_Queueing_Models.pdf
08_Queueing_Models.pdf
MohamedElhassan1990
 
Waiting Line Management
Waiting Line Management Waiting Line Management
Waiting Line Management
Joshua Miranda
 
L22 Queuing Theory
L22 Queuing TheoryL22 Queuing Theory
L22 Queuing Theory
Hossam Shafiq I
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysisReymond Dy
 
quening theory for the operations research
quening theory for the operations researchquening theory for the operations research
quening theory for the operations research
ssuser96912f1
 
module d_7e.ppt
module d_7e.pptmodule d_7e.ppt
module d_7e.ppt
ssuser96912f1
 
Ssme queueing theory
Ssme queueing theorySsme queueing theory
Ssme queueing theoryAmar Hegde
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Yogesh Kumbhar
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
ssuser0d0f881
 
Decision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdfDecision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdf
KhushbooJoshiSBS
 
Simulation chapter 4
Simulation chapter 4Simulation chapter 4
Simulation chapter 4
Hagos Guesh
 
Queuing_analysis
Queuing_analysisQueuing_analysis
Queuing_analysis
Abinanth Sathya
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from Measurements
Weikun Wang
 

Similar to Queuing model (20)

Q theory
Q theoryQ theory
Q theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
Unit V - Queuing Theory
 
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
To Minimize the Waiting Time and Waiting Time Cost of Dumpers, Waiting in a Q...
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
 
08_Queueing_Models.pdf
08_Queueing_Models.pdf08_Queueing_Models.pdf
08_Queueing_Models.pdf
 
Waiting Line Management
Waiting Line Management Waiting Line Management
Waiting Line Management
 
L22 Queuing Theory
L22 Queuing TheoryL22 Queuing Theory
L22 Queuing Theory
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysis
 
quening theory for the operations research
quening theory for the operations researchquening theory for the operations research
quening theory for the operations research
 
module d_7e.ppt
module d_7e.pptmodule d_7e.ppt
module d_7e.ppt
 
Ssme queueing theory
Ssme queueing theorySsme queueing theory
Ssme queueing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
 
Decision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdfDecision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdf
 
Simulation chapter 4
Simulation chapter 4Simulation chapter 4
Simulation chapter 4
 
Queuing_analysis
Queuing_analysisQueuing_analysis
Queuing_analysis
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from Measurements
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Queuing model

  • 1. Chapter 9: Queuing Models © 2007 Pearson Education
  • 2. Queuing or Waiting Line Analysis • Queues (waiting lines) affect people everyday • A primary goal is finding the best level of service • Analytical modeling (using formulas) can be used for many queues • For more complex situations, computer simulation is needed
  • 3. Queuing System Costs 1. Cost of providing service 2. Cost of not providing service (waiting time)
  • 4. Three Rivers Shipping Example • Average of 5 ships arrive per 12 hr shift • A team of stevedores unloads each ship • Each team of stevedores costs $6000/shift • The cost of keeping a ship waiting is $1000/hour • How many teams of stevedores to employ to minimize system cost?
  • 5. Three Rivers Waiting Line Cost Analysis Number of Teams of Stevedores 1 2 3 4 Ave hours waiting per ship 7 4 3 2 Cost of ship waiting time (per shift) $35,000 $20,000 $15,000 $10,000 Stevedore cost (per shift) $6000 $12,000 $18,000 $24,000 Total Cost $41,000 $32,000 $33,000 $34,000
  • 6. Characteristics of a Queuing System The queuing system is determined by: • Arrival characteristics • Queue characteristics • Service facility characteristics
  • 7. Arrival Characteristics • Size of the arrival population – either infinite or limited • Arrival distribution: –Either fixed or random –Either measured by time between consecutive arrivals, or arrival rate –The Poisson distribution is often used for random arrivals
  • 8. Poisson Distribution • Average arrival rate is known • Average arrival rate is constant for some number of time periods • Number of arrivals in each time period is independent • As the time interval approaches 0, the average number of arrivals approaches 0
  • 9. Poisson Distribution λ = the average arrival rate per time unit P(x) = the probability of exactly x arrivals occurring during one time period P(x) = e-λ λx x!
  • 10. Behavior of Arrivals • Most queuing formulas assume that all arrivals stay until service is completed • Balking refers to customers who do not join the queue • Reneging refers to customers who join the queue but give up and leave before completing service
  • 11. Queue Characteristics • Queue length (max possible queue length) – either limited or unlimited • Service discipline – usually FIFO (First In First Out)
  • 12. Service Facility Characteristics 1. Configuration of service facility • Number of servers (or channels) • Number of phases (or service stops) 2. Service distribution • The time it takes to serve 1 arrival • Can be fixed or random • Exponential distribution is often used
  • 13. Exponential Distribution μ = average service time t = the length of service time (t > 0) P(t) = probability that service time will be greater than t P(t) = e- μt
  • 14. Measuring Queue Performance • ρ = utilization factor (probability of all servers being busy) • Lq = average number in the queue • L = average number in the system • Wq = average waiting time • W = average time in the system • P0 = probability of 0 customers in system • Pn = probability of exactly n customers in system
  • 15. Kendall’s Notation A / B / s A = Arrival distribution (M for Poisson, D for deterministic, and G for general) B = Service time distribution (M for exponential, D for deterministic, and G for general) S = number of servers
  • 16. The Queuing Models Covered Here All Assume 1. Arrivals follow the Poisson distribution 2. FIFO service 3. Single phase 4. Unlimited queue length 5. Steady state conditions We will look at 5 of the most commonly used queuing systems.
  • 17. Models CoveredName (Kendall Notation) Example Simple system (M / M / 1) Customer service desk in a store Multiple server (M / M / s) Airline ticket counter Constant service (M / D / 1) Automated car wash General service (M / G / 1) Auto repair shop Limited population (M / M / s / ∞ / N) An operation with only 12 machines that might break
  • 18. Single Server Queuing System (M/M/1) • Poisson arrivals • Arrival population is unlimited • Exponential service times • All arrivals wait to be served • λ is constant • μ > λ (average service rate > average arrival rate)
  • 19. Operating Characteristics for M/M/1 Queue 1. Average server utilization ρ = λ / μ 2. Average number of customers waiting Lq = λ2 μ(μ – λ) 2. Average number in system L = Lq + λ / μ
  • 20. 4. Average waiting time Wq = Lq = λ λ μ(μ – λ) 5. Average time in the system W = Wq + 1/ μ 5. Probability of 0 customers in system P0 = 1 – λ/μ 7. Probability of exactly n customers in system Pn = (λ/μ )n P0
  • 21. Arnold’s Muffler Shop Example • Customers arrive on average 2 per hour (λ = 2 per hour) • Average service time is 20 minutes (μ = 3 per hour) Install ExcelModules Go to file 9-2.xls
  • 22. Total Cost of Queuing System Total Cost = Cw x L + Cs x s Cw = cost of customer waiting time per time period L = average number customers in system Cs = cost of servers per time period s = number of servers
  • 23. Multiple Server System (M / M / s) • Poisson arrivals • Exponential service times • s servers • Total service rate must exceed arrival rate ( sμ > λ) • Many of the operating characteristic formulas are more complicated
  • 24. Arnold’s Muffler Shop With Multiple Servers Two options have already been considered: System Cost • Keep the current system (s=1) $32/hr • Get a faster mechanic (s=1) $25/hr Multi-server option 3. Have 2 mechanics (s=2) ? Go to file 9-3.xls
  • 25. Single Server System With Constant Service Time (M/D/1) • Poisson arrivals • Constant service times (not random) • Has shorter queues than M/M/1 system - Lq and Wq are one-half as large
  • 26. Garcia-Golding Recycling Example • λ = 8 trucks per hour (random) • μ = 12 trucks per hour (fixed) • Truck & driver waiting cost is $60/hour • New compactor will be amortized at $3/unload • Total cost per unload = ? Go to file 9-4.xls
  • 27. Single Server System With General Service Time (M/G/1) • Poisson arrivals • General service time distribution with known mean (μ) and standard deviation (σ) • μ > λ
  • 28. Professor Crino Office Hours • Students arrive randomly at an average rate of, λ = 5 per hour • Service (advising) time is random at an average rate of, μ = 6 per hour • The service time standard deviation is, σ = 0.0833 hours Go to file 9-5.xls
  • 29. Muti-Server System With Finite Population (M/M/s/∞/N) • Poisson arrivals • Exponential service times • s servers with identical service time distributions • Limited population of size N • Arrival rate decreases as queue lengthens
  • 30. Department of Commerce Example • Uses 5 printers (N=5) • Printers breakdown on average every 20 hours λ = 1 printer = 0.05 printers per hour 20 hours • Average service time is 2 hours μ = 1 printer = 0.5 printers per hour 2 hours Go to file 9-6.xls
  • 31. More Complex Queuing Systems • When a queuing system is more complex, formulas may not be available • The only option may be to use computer simulation, which we will study in the next chapter