SlideShare a Scribd company logo
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 Queueing theory eq

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
Firoza10
 
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 engineering
AnantaKumarNandi
 
25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
AnantaKumarNandi
 
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%2fs1110865704401036
SANDRA 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
 
fading channels
 fading channels fading channels
fading channels
Faisal Farooq
 
Spacecraft RF Communications Course Sampler
Spacecraft RF Communications Course SamplerSpacecraft RF Communications Course Sampler
Spacecraft RF Communications Course Sampler
Jim Jenkins
 
311 communication system concepts
311 communication system concepts311 communication system concepts
311 communication system concepts
Mohammad 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 fitting
Tarik Kazaz
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
sanjeev2419
 
IGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.pptIGARSS2011_TU1.T03.2_Zhan.ppt
IGARSS2011_TU1.T03.2_Zhan.pptgrssieee
 
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/ ...
International Journal of Engineering Inventions www.ijeijournal.com
 

Similar to Queueing theory eq (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

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
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
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
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
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 

Queueing theory eq

  • 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