SlideShare a Scribd company logo
QUEUEING THEORY 
 Queueing Models can provide answers to performance related questions 
through mathematical analysis 
 Commonly used performance measures 
1. Average queue length (average number of customers in system) 
2. Average delay time T 
1. Compute Average queue length N 
 This is the average number of customers in the system. 
(Better: This is the average number of customers waiting in the system to get 
service....) 
Consider the following simple example: 
Suppose 
50% of the time, the system is empty (0 customer) 
50% of the time, the system has 1 customer 
Then 
the average number of customers in the system is the weighted sum: 
N = 0.5 × 0 + 0.5 × 1 = 0.5
 In general, 
the average queue length 
(or) 
the average number of customers in system 
is equal to: 
N = mean (expected) number of customer 
= 0 × Ҏ[ 0 customers in system] 
+ 1 × Ҏ[ 1 customer in system] 
+ 2 × Ҏ[ 2 customers in system] 
+ .... 
=   
k  k customers in system 
0 
P 
k 
 
 
(By definition of "expected value") 
= 
 k (☺Define   P pk k customers in system  )....(1) 
0 
pk 
k 
 

 Example: 
Compute Average queue length in the M/M/1 queue: 
o Recall that the state probability i of the M/M/1 queue is 
Ҏ[ k customers in system] = ρk (1 - ρ) 
(see: other slide) 
 The average (expected) queue length N of the M/M/1 queue is: 
N = 
 k (☺ Definition of N)& (☺ By (1)) 
0 
pk 
k 
 
 
= 
k   
0 
(1 ) k 
k 
  
 
 
(By formula, Pk = Ҏ[ k customers in system] = ρk (1 - ρ) ) 
= 
(1 ) k 
  k   
.... (2) 
0 
k 
 
 
0 1 
  1 2 3 4 
        
0 
know 
1 
... = (1 ) 
1 
k 
k 
We 
       
 
 
 
 
Define 
1 
   
U   
0 
(1 ) k 
k 
 
 
 
Thus
  
1 2 
 
 
         
0 
k 
k  (1  
) (3) 
   
 (  1)(1  )  1  1  ( )  (  1)(1  )  1  1 (  1)  (1  ) 
 
2 
 
  
k 
dU 
d 
 
 
dU d 
 
d d 
   
  
Using (3) 
k 2 
  
k 1 
k 2 
  
1 
 
0 
 
0 
---------(4) 
k 
k 
    
   
 
  
 
 
 
 
    
 k   1 
 
Substitute (4) in (2): 
  
N   
    
  
    
    
  
0 
1 
(1 ) 
(1 ) 
(5) 
k 
k 
   
 
  
 
 
 
 
 
        
 
 
2 
k 
1 
1 
1 
Therefore, 
the mean number of customers in an M/M/1 queue 
is equal to: 
ρ 
N(M/M/1) = ------- ..... (4) 
1 - ρ
2. Average delay time T 
 The delay is defined as: 
 The average delay time is the average amount of time 
that a customer spends in the system.

More Related Content

What's hot

Stream
StreamStream
Stream
Scott Shu
 
Advanced data structures slide 1 2
Advanced data structures slide 1 2Advanced data structures slide 1 2
Advanced data structures slide 1 2jomerson remorosa
 
Calculus
CalculusCalculus
Advanced data structure
Advanced data structureAdvanced data structure
Advanced data structure
Shakil Ahmed
 
Dynamic Memory Allocation(DMA)
Dynamic Memory Allocation(DMA)Dynamic Memory Allocation(DMA)
Dynamic Memory Allocation(DMA)
Kamal Acharya
 
Non-local Neural Network
Non-local Neural NetworkNon-local Neural Network
Non-local Neural Network
Hiroshi Fukui
 
Darkconsole Beamer
Darkconsole Beamer Darkconsole Beamer
Darkconsole Beamer
Hirwanto Iwan
 
Clojure introduction by Jason Basanese
Clojure introduction by Jason BasaneseClojure introduction by Jason Basanese
Clojure introduction by Jason Basanese
Jason Basanese
 

What's hot (9)

Stream
StreamStream
Stream
 
BazzucchiCampolmi
BazzucchiCampolmiBazzucchiCampolmi
BazzucchiCampolmi
 
Advanced data structures slide 1 2
Advanced data structures slide 1 2Advanced data structures slide 1 2
Advanced data structures slide 1 2
 
Calculus
CalculusCalculus
Calculus
 
Advanced data structure
Advanced data structureAdvanced data structure
Advanced data structure
 
Dynamic Memory Allocation(DMA)
Dynamic Memory Allocation(DMA)Dynamic Memory Allocation(DMA)
Dynamic Memory Allocation(DMA)
 
Non-local Neural Network
Non-local Neural NetworkNon-local Neural Network
Non-local Neural Network
 
Darkconsole Beamer
Darkconsole Beamer Darkconsole Beamer
Darkconsole Beamer
 
Clojure introduction by Jason Basanese
Clojure introduction by Jason BasaneseClojure introduction by Jason Basanese
Clojure introduction by Jason Basanese
 

Viewers also liked

Inventory notes
Inventory notesInventory notes
Inventory notes
Chinnannan Periasamy
 
Chi sq explanation
Chi sq explanationChi sq explanation
Chi sq explanation
Chinnannan Periasamy
 
Ec 15 101 advanced engineering mathematics
Ec 15 101 advanced engineering mathematicsEc 15 101 advanced engineering mathematics
Ec 15 101 advanced engineering mathematics
Chinnannan Periasamy
 
Marketing Plan for a Product Launch
Marketing Plan for a Product LaunchMarketing Plan for a Product Launch
Marketing Plan for a Product LaunchDiggyDigital
 

Viewers also liked (9)

Inventory notes
Inventory notesInventory notes
Inventory notes
 
segmentation
segmentationsegmentation
segmentation
 
HYPOTHESES STEPS
HYPOTHESES STEPSHYPOTHESES STEPS
HYPOTHESES STEPS
 
Chi sq explanation
Chi sq explanationChi sq explanation
Chi sq explanation
 
Ec 15 101 advanced engineering mathematics
Ec 15 101 advanced engineering mathematicsEc 15 101 advanced engineering mathematics
Ec 15 101 advanced engineering mathematics
 
Qtmd syllabus
Qtmd syllabusQtmd syllabus
Qtmd syllabus
 
Marketing Plan for a Product Launch
Marketing Plan for a Product LaunchMarketing Plan for a Product Launch
Marketing Plan for a Product Launch
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Parametric test
Parametric testParametric test
Parametric test
 

Similar to Avg q lenth

25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
AnantaKumarNandi
 
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering
AnantaKumarNandi
 
14 queuing
14 queuing14 queuing
14 queuing
Dian Saputra
 
Cost minimization model
Cost minimization modelCost minimization model
Cost minimization model
rowell balala
 
Standard cells library design
Standard cells library designStandard cells library design
Standard cells library design
Bharat Biyani
 
Time dependent solution of batch arrival queue
Time dependent solution of batch arrival queueTime dependent solution of batch arrival queue
Time dependent solution of batch arrival queue
Alexander Decker
 
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
ijsc
 
Genetic Algorithm for solving Dynamic Supply Chain Problem
Genetic Algorithm for solving Dynamic Supply Chain Problem  Genetic Algorithm for solving Dynamic Supply Chain Problem
Genetic Algorithm for solving Dynamic Supply Chain Problem
AI Publications
 
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
orajjournal
 
Analysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAnalysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAlexander Decker
 
Analysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAnalysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAlexander Decker
 
Functional Regression Analysis
Functional Regression AnalysisFunctional Regression Analysis
Functional Regression Analysis
NeuroMat
 
Rfid presentation in internet
Rfid presentation in internetRfid presentation in internet
Rfid presentation in internetAli Azarnia
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Queuing theory is a branch of mathematics that studies the behavior of waitin...
Queuing theory is a branch of mathematics that studies the behavior of waitin...Queuing theory is a branch of mathematics that studies the behavior of waitin...
Queuing theory is a branch of mathematics that studies the behavior of waitin...
Sonam704174
 
lec07_DFT.pdf
lec07_DFT.pdflec07_DFT.pdf
lec07_DFT.pdf
shannlevia123
 

Similar to Avg q lenth (20)

25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
 
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering
 
14 queuing
14 queuing14 queuing
14 queuing
 
Cost minimization model
Cost minimization modelCost minimization model
Cost minimization model
 
Standard cells library design
Standard cells library designStandard cells library design
Standard cells library design
 
Time dependent solution of batch arrival queue
Time dependent solution of batch arrival queueTime dependent solution of batch arrival queue
Time dependent solution of batch arrival queue
 
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
An Inventory Management System for Deteriorating Items with Ramp Type and Qua...
 
Genetic Algorithm for solving Dynamic Supply Chain Problem
Genetic Algorithm for solving Dynamic Supply Chain Problem  Genetic Algorithm for solving Dynamic Supply Chain Problem
Genetic Algorithm for solving Dynamic Supply Chain Problem
 
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
Fuzzy Inventory Model of Deteriorating Items under Power Dependent Demand and...
 
Analysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAnalysis of single server queueing system with batch service
Analysis of single server queueing system with batch service
 
Analysis of single server queueing system with batch service
Analysis of single server queueing system with batch serviceAnalysis of single server queueing system with batch service
Analysis of single server queueing system with batch service
 
Functional Regression Analysis
Functional Regression AnalysisFunctional Regression Analysis
Functional Regression Analysis
 
Rfid presentation in internet
Rfid presentation in internetRfid presentation in internet
Rfid presentation in internet
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Queuing theory is a branch of mathematics that studies the behavior of waitin...
Queuing theory is a branch of mathematics that studies the behavior of waitin...Queuing theory is a branch of mathematics that studies the behavior of waitin...
Queuing theory is a branch of mathematics that studies the behavior of waitin...
 
DCT
DCTDCT
DCT
 
DCT
DCTDCT
DCT
 
DCT
DCTDCT
DCT
 
Lecture set 6
Lecture set 6Lecture set 6
Lecture set 6
 
lec07_DFT.pdf
lec07_DFT.pdflec07_DFT.pdf
lec07_DFT.pdf
 

More from Chinnannan Periasamy

MCT
MCTMCT

More from Chinnannan Periasamy (7)

MCT
MCTMCT
MCT
 
11.00 technology ok
11.00 technology ok11.00 technology ok
11.00 technology ok
 
1.11 functions of money ppt-ok
1.11 functions of money ppt-ok1.11 functions of money ppt-ok
1.11 functions of money ppt-ok
 
Listening
ListeningListening
Listening
 
decision
decisiondecision
decision
 
M tech regulations
M tech regulationsM tech regulations
M tech regulations
 
1.iib ppt
1.iib ppt1.iib ppt
1.iib ppt
 

Recently uploaded

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
 
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
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
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
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
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
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
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
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
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
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

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
 
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...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
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
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
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
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
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...
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
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
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 

Avg q lenth

  • 1. QUEUEING THEORY  Queueing Models can provide answers to performance related questions through mathematical analysis  Commonly used performance measures 1. Average queue length (average number of customers in system) 2. Average delay time T 1. Compute Average queue length N  This is the average number of customers in the system. (Better: This is the average number of customers waiting in the system to get service....) Consider the following simple example: Suppose 50% of the time, the system is empty (0 customer) 50% of the time, the system has 1 customer Then the average number of customers in the system is the weighted sum: N = 0.5 × 0 + 0.5 × 1 = 0.5
  • 2.  In general, the average queue length (or) the average number of customers in system is equal to: N = mean (expected) number of customer = 0 × Ҏ[ 0 customers in system] + 1 × Ҏ[ 1 customer in system] + 2 × Ҏ[ 2 customers in system] + .... =   k  k customers in system 0 P k   (By definition of "expected value") =  k (☺Define   P pk k customers in system  )....(1) 0 pk k  
  • 3.  Example: Compute Average queue length in the M/M/1 queue: o Recall that the state probability i of the M/M/1 queue is Ҏ[ k customers in system] = ρk (1 - ρ) (see: other slide)  The average (expected) queue length N of the M/M/1 queue is: N =  k (☺ Definition of N)& (☺ By (1)) 0 pk k   = k   0 (1 ) k k     (By formula, Pk = Ҏ[ k customers in system] = ρk (1 - ρ) ) = (1 ) k   k   .... (2) 0 k   0 1   1 2 3 4         0 know 1 ... = (1 ) 1 k k We            Define 1    U   0 (1 ) k k    Thus
  • 4.   1 2            0 k k  (1  ) (3)     (  1)(1  )  1  1  ( )  (  1)(1  )  1  1 (  1)  (1  )  2    k dU d   dU d  d d      Using (3) k 2   k 1 k 2   1  0  0 ---------(4) k k                    k   1  Substitute (4) in (2):   N                   0 1 (1 ) (1 ) (5) k k                      2 k 1 1 1 Therefore, the mean number of customers in an M/M/1 queue is equal to: ρ N(M/M/1) = ------- ..... (4) 1 - ρ
  • 5. 2. Average delay time T  The delay is defined as:  The average delay time is the average amount of time that a customer spends in the system.