SlideShare a Scribd company logo
1 of 3
Download to read offline
Queuing Theory Equations
Definition
λ = Arrival Rate
μ = Service Rate
ρ = λ / μ
C = Number of Service Channels
M = Random Arrival/Service rate (Poisson)
D = Deterministic Service Rate (Constant rate)
M/D/1 case (random Arrival, Deterministic service, and one service channel)
Expected average queue length E(m)= (2ρ- ρ2
)/ 2 (1- ρ)
Expected average total time E(v) = 2- ρ / 2 μ (1- ρ)
Expected average waiting time E(w) = ρ / 2 μ (1- ρ)
M/M/1 case (Random Arrival, Random Service, and one service channel)
The probability of having zero vehicles in the systems Po = 1 - ρ
The probability of having n vehicles in the systems Pn = ρn
Po
Expected average queue length E(m)= ρ / (1- ρ)
Expected average total time E(v) = ρ / λ (1- ρ)
Expected average waiting time E(w) = E(v) – 1/μ
M/M/C case (Random Arrival, Random Service, and C service channel)
Note :
c
ρ
must be < 1.0
The probability of having zero vehicles in the systems
Po =
( )
1_
1
0 /1!!
⎥
⎦
⎤
⎢
⎣
⎡
−
+∑
−
=
c
n
Cn
ccn ρ
ρρ
The probability of having n vehicles in the systems
Pn = Po
!n
n
ρ
for n < c
Pn =Po
!cc cn
n
−
ρ
for n > c
Expected average queue length
E(m)=
( )2
1
/1
1
! ccc
P
c
o
ρ
ρ
−
+
Expected average number in the systems
E(n) = E(m) + ρ
Expected average total time E(v) = E(n) / λ
Expected average waiting time E(w) = E(v) – 1/μ
M/M/C/K case (Random Arrival, Random Service, and C service Channels and K
maximum number of vehicles in the system)
The probability of having zero vehicles in the systems
For 1≠
c
ρ
1
1
0
1
1
1
!!
1
−
−
=
+−
⎥
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎢
⎣
⎡
⎟
⎟
⎟
⎟
⎟
⎠
⎞
⎜
⎜
⎜
⎜
⎜
⎝
⎛
−
⎟
⎠
⎞
⎜
⎝
⎛
−
⎟⎟
⎠
⎞
⎜⎜
⎝
⎛
+⎟
⎠
⎞
⎜
⎝
⎛
= ∑
c
n
cK
c
n
o
c
c
cn
P
ρ
ρ
ρ
ρ
For 1=
c
ρ
( )
1
1
0
1
!!
1
−
−
=
⎥
⎦
⎤
⎢
⎣
⎡
+−⎟⎟
⎠
⎞
⎜⎜
⎝
⎛
+⎟
⎠
⎞
⎜
⎝
⎛
= ∑
c
n
c
n
o cK
cn
P
ρ
ρ
cn0for
!
1
≤≤= o
n
n P
n
P ρ
kncforP
!c
1
o
n
c-n
≤≤⎟
⎠
⎞
⎜
⎝
⎛
= ρ
c
Pn
( )
⎥
⎥
⎦
⎤
⎢
⎢
⎣
⎡
⎟
⎠
⎞
⎜
⎝
⎛
+−⎟
⎠
⎞
⎜
⎝
⎛
−−⎟
⎠
⎞
⎜
⎝
⎛
−
⎟
⎠
⎞
⎜
⎝
⎛
−
⎟
⎠
⎞
⎜
⎝
⎛
=
−+− ckck
c
o
c
ck
cc
c
c
c
P
mE
ρρρ
ρ
ρ
ρ
111
1!
)(
1
2
∑
−
=
−
−+=
1
0 !
)(
)()(
c
n
n
o
n
nc
PcmEnE
ρ
( )KP
nE
vE
−
=
1
)(
)(
λ
μ
1
)()( −= vEwE

More Related Content

Similar to Queuing Theory Equations Guide

Unit 5 Part II-Queuing Models.pptx _MFCS 2
Unit 5 Part II-Queuing Models.pptx _MFCS 2Unit 5 Part II-Queuing Models.pptx _MFCS 2
Unit 5 Part II-Queuing Models.pptx _MFCS 2Firoza10
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysisReymond Dy
 
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineeringAnantaKumarNandi
 
25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineeringAnantaKumarNandi
 
Paper id 22201419
Paper id 22201419Paper id 22201419
Paper id 22201419IJRAT
 
Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdfAnkit Katiyar
 
Art%3 a10.1155%2fs1110865704401036
Art%3 a10.1155%2fs1110865704401036Art%3 a10.1155%2fs1110865704401036
Art%3 a10.1155%2fs1110865704401036SANDRA BALSECA
 
Pilot based channel estimation improvement in orthogonal frequency-division m...
Pilot based channel estimation improvement in orthogonal frequency-division m...Pilot based channel estimation improvement in orthogonal frequency-division m...
Pilot based channel estimation improvement in orthogonal frequency-division m...IJECEIAES
 
Spacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerSpacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerJim Jenkins
 
311 communication system concepts
311 communication system concepts311 communication system concepts
311 communication system conceptsMohammad Bappy
 
PhD Summary (isprateno)
PhD Summary (isprateno)PhD Summary (isprateno)
PhD Summary (isprateno)Jovan Stosic
 
Analysis of multipath channel delay estimation using subspace fitting
Analysis of multipath channel delay estimation using subspace fittingAnalysis of multipath channel delay estimation using subspace fitting
Analysis of multipath channel delay estimation using subspace fittingTarik Kazaz
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation pptsanjeev2419
 
IGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.pptIGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.pptgrssieee
 

Similar to Queuing Theory Equations Guide (20)

ershov911
ershov911ershov911
ershov911
 
Unit 5 Part II-Queuing Models.pptx _MFCS 2
Unit 5 Part II-Queuing Models.pptx _MFCS 2Unit 5 Part II-Queuing Models.pptx _MFCS 2
Unit 5 Part II-Queuing Models.pptx _MFCS 2
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysis
 
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering
 
25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
 
Final ppt
Final pptFinal ppt
Final ppt
 
Queue
QueueQueue
Queue
 
Paper id 22201419
Paper id 22201419Paper id 22201419
Paper id 22201419
 
Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdf
 
Art%3 a10.1155%2fs1110865704401036
Art%3 a10.1155%2fs1110865704401036Art%3 a10.1155%2fs1110865704401036
Art%3 a10.1155%2fs1110865704401036
 
Pilot based channel estimation improvement in orthogonal frequency-division m...
Pilot based channel estimation improvement in orthogonal frequency-division m...Pilot based channel estimation improvement in orthogonal frequency-division m...
Pilot based channel estimation improvement in orthogonal frequency-division m...
 
fading channels
 fading channels fading channels
fading channels
 
Ofdm
OfdmOfdm
Ofdm
 
Spacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerSpacecraft RF Communications Course Sampler
Spacecraft RF Communications Course Sampler
 
311 communication system concepts
311 communication system concepts311 communication system concepts
311 communication system concepts
 
PhD Summary (isprateno)
PhD Summary (isprateno)PhD Summary (isprateno)
PhD Summary (isprateno)
 
Analysis of multipath channel delay estimation using subspace fitting
Analysis of multipath channel delay estimation using subspace fittingAnalysis of multipath channel delay estimation using subspace fitting
Analysis of multipath channel delay estimation using subspace fitting
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
 
IGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.pptIGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.ppt
 
Ofdm Detection on Umts Utra-Fdd up-Link and Implementation of the Modulator/ ...
Ofdm Detection on Umts Utra-Fdd up-Link and Implementation of the Modulator/ ...Ofdm Detection on Umts Utra-Fdd up-Link and Implementation of the Modulator/ ...
Ofdm Detection on Umts Utra-Fdd up-Link and Implementation of the Modulator/ ...
 

Recently uploaded

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 

Recently uploaded (20)

INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 

Queuing Theory Equations Guide

  • 1. Queuing Theory Equations Definition λ = Arrival Rate μ = Service Rate ρ = λ / μ C = Number of Service Channels M = Random Arrival/Service rate (Poisson) D = Deterministic Service Rate (Constant rate) M/D/1 case (random Arrival, Deterministic service, and one service channel) Expected average queue length E(m)= (2ρ- ρ2 )/ 2 (1- ρ) Expected average total time E(v) = 2- ρ / 2 μ (1- ρ) Expected average waiting time E(w) = ρ / 2 μ (1- ρ) M/M/1 case (Random Arrival, Random Service, and one service channel) The probability of having zero vehicles in the systems Po = 1 - ρ The probability of having n vehicles in the systems Pn = ρn Po Expected average queue length E(m)= ρ / (1- ρ) Expected average total time E(v) = ρ / λ (1- ρ) Expected average waiting time E(w) = E(v) – 1/μ
  • 2. M/M/C case (Random Arrival, Random Service, and C service channel) Note : c ρ must be < 1.0 The probability of having zero vehicles in the systems Po = ( ) 1_ 1 0 /1!! ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − +∑ − = c n Cn ccn ρ ρρ The probability of having n vehicles in the systems Pn = Po !n n ρ for n < c Pn =Po !cc cn n − ρ for n > c Expected average queue length E(m)= ( )2 1 /1 1 ! ccc P c o ρ ρ − + Expected average number in the systems E(n) = E(m) + ρ Expected average total time E(v) = E(n) / λ Expected average waiting time E(w) = E(v) – 1/μ
  • 3. M/M/C/K case (Random Arrival, Random Service, and C service Channels and K maximum number of vehicles in the system) The probability of having zero vehicles in the systems For 1≠ c ρ 1 1 0 1 1 1 !! 1 − − = +− ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ − ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ +⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ∑ c n cK c n o c c cn P ρ ρ ρ ρ For 1= c ρ ( ) 1 1 0 1 !! 1 − − = ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ +−⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ +⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ∑ c n c n o cK cn P ρ ρ cn0for ! 1 ≤≤= o n n P n P ρ kncforP !c 1 o n c-n ≤≤⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = ρ c Pn ( ) ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎣ ⎡ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ +−⎟ ⎠ ⎞ ⎜ ⎝ ⎛ −−⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = −+− ckck c o c ck cc c c c P mE ρρρ ρ ρ ρ 111 1! )( 1 2 ∑ − = − −+= 1 0 ! )( )()( c n n o n nc PcmEnE ρ ( )KP nE vE − = 1 )( )( λ μ 1 )()( −= vEwE