SlideShare a Scribd company logo
1. APOORVA GUPTA(11972)
2. JYOTI ( 11973)
M.Sc. (Mathematical Sciences- STATISTICS)
2014-2015
Under the supervision of
Dr. Gulab Bura
Department of Mathematics and Statistics,
AIM & ACT
Basic Terminologies related
to Queuing theory
Content
• Stochastic process
• Markov process
• Markov chain
• Poisson process
• Birth death process
• Introduction to queueing theory
• History
• Elements of Queuing System
• A Commonly Seen Queuing Model
• Application
• Future plan
• References
Stochastic process
Definition : A stochastic process is family of time
indexed random variable where t belongs to
index set . Formal notation , where I is an
index set that is subset of R.
Examples :
• No. of telephone calls are received at a switchboard.
Suppose that is the r.v. which represents the
number of incoming calls in an interval (0,t) of
duration t units.
• Outcomes of X(t) are called states .
}:{ ItXt 
tX
 tX
• Discrete time , Discrete state space
• Discrete time , Continuous state space
• Continuous time , Discrete state space
• Continuous time, Continuous state space
Stochastic process is classified in four categories on
the basis of state space and time space
EXAMPLES
• Discrete time, Discrete state space : number of
accidents at 9 pm, 10 pm, 11 pm etc.
• Continuous –time ,Discrete state space : Number
of accidents on a highway at an interval of time
say 9 pm to 10 pm.
• Discrete time ,continuous state space :age of
people in a city at a particular year say 2001,
2002, 2003 etc.
• Continuous time , Continuous state space :age of
people from March 2013 to march 2014.
MARKOV PROCESS
If is a stochastic process such that ,given the
values of X(t) , t >s ,do not depend on the values of X(u) ,u<s,
then the process is said to be a Markov process.
• A definition of such a process is given as :
If for ,
the process is a markov process .
}),({ TttX 
tttt n  ...21
})(,...,)(|)(Pr{ 11 nn xtXxtXxtX 
})(|)(Pr{ nn xtXxtX 
}),({ TttX 
)}(|)(Pr{)}(),(|)(Pr{ sXtXuXsXtX 
Markov chain :
A discrete parameter Markov process is known as
Markov chain.
Definition : The stochastic process is
called a markov chain ,if , for
= It is the probability of transition from the
state ‘j’ at (n-1) th trial to the state k at nth trial .
,......}2,1,0,{ nXn
Njjkj n 11,...,,,
},...,,|Pr{ 10121   nnnn jXjXjXkX
jknn pjXkX   }|Pr{ 1
jkp
Example of markov chain
Example : random walk between two barriers .
Homogeneous chain:
the transition probability independent of n, the
markov chain said to homogeneous.
Two types of markov chain :
• Discrete time markov chain
• Continuous time markov chain
}|Pr{ 1
jXkXp nnjk  
• A stochastic process {N(t), t>0} with discrete
state space and continuous time is called a
poisson process if it satisfies the following
postulates:
1. Independence
2. Homogeneity in time
3. Regularity
The Poisson Process
10
• Independence:
N( t+h)-N(t), the number of occurrence in the
interval (t,t+h) is independent of the number of
occurrences prior to that interval.
• Homogeneity in time:
pn(t) depends only on length ‘t’ of the interval and is
independent of where this interval is situated i.e.
pn(t) gives the probability of the number of
occurrences in the interval (t1 , t+t1 ) (which is of
length ‘t’) for every t1 .
Postulates for Poisson Process
Regularity In the interval of infinite small length
h, the probability of exactly one occurrence is
λh+o(h) and that of occurrence of more than one is
of o(h).
p1 (h)= λh+o(h)
  )(
2
hOhp
k
k 


  )(10 hohhP  
λ= rate of arrival
Probability of zero arrival
• Pure birth process is originated from Poisson process
in which the rate of birth depends on number of
persons.
Pure Birth Processes
P1 (t)=λnh+o(h)
Pn (t) = o(h) , k>=2
P0(t)= 1- λnh+o(h),
Birth-and-Death Process
• We consider pure birth process where
Here only births are considered, further deaths are also
considered as possible so,
Collectively for n>=k, equations are called as Birth and Death
process
P1 (t)=λn(h)+o(h) , k=1
Pn (t) = o(h), k>=2
P0 (t)= 1- λn(h)+o(h),k=0
q1 (t)=μn(h)+o(h) , k=1
qn (t) = o(h), k>=2
q0 (t)= 1- μn(h)+o(h),k=0
• Note: The foundation of many of the most
commonly used queuing models
 Birth – equivalent to the arrival of a customer
 Death – equivalent to the departure of a served
customer
15
A Birth-and-Death Process Rate Diagram
0 1 n-1 n
0 1 2 n-1 n n+1
1 2 n n+1
n = State n, i.e., the case of n customers in the system
 Excellent tool for describing the mechanics of a Birth-and-
Death process
Introduction of Queueing theory
• Queueing theory is the mathematical study of
waiting lines, or queues.
• In queueing theory a model is constructed so that
queue lengths and waiting times can be predicted.
• Queueing theory is generally considered a branch
of operations research because the results are often
used when making business decisions about the
resources needed to provide a service.
DEFINITION
• A queue is said to occur when the rate at which the
demand arises exceeds the rate at which service is
being provided.
• It is the quantitative technique which consists of
constructing mathematical models for various types
of queuing systems.
• Mathematical models are constructed so that queue
lengths and waiting times can be predicted which
helps in balancing the cost of service and the cost
associated with customers waiting for service
HISTORY
• Queueing theory’s history goes back
nearly 105 years.
• It is originated by A. K. Erlang in 1909, in
Danish when he is at his work place.
• Agner Krarup Erlang, a Danish engineer
who worked for the Copenhagen
Telephone Exchange, published the first
paper on what would now be called
queueing theory in 1909.
• He modeled the number of telephone
calls arriving at an exchange by a Poisson
process.
• Johannsen’s “Waiting Times and Number of Calls”
seems to be the first paper on the subject.
• But the method used in this paper was not
mathematically exact and therefore, from the point
of view of exact treatment, the paper that has
historic importance is A. K. Erlang’s, “The Theory of
Probabilities and Telephone Conversations”
• In this paper he lays the foundation for the place of
Poisson (and hence, exponential) distribution in
queueing theory.
• His most important work, Solutions of Some
Problems in the Theory of Probabilities of
Significance in Automatic Telephone Exchanges , was
published in 1917, which contained formulas for loss
and waiting probabilities which are now known as
Erlang’s loss formula (or Erlang B-formula) and delay
formula (or Erlang C-formula), respectively.
Agner Krarup Erlang, 1878–1929
Elements of Queuing System
Service process
Queue Discipline
Number of
servers
Elements of Queuing
Models
Arrival process
Customer’s
Behavior
System capacity
1. Arrival Process
Arrivals can be measured as the arrival rate or the interarrival
time (time between arrivals).
• These quantities may be deterministic or stochastic (given by a
probability distribution).
• Arrivals may also come in batches of multiple customers,
which is called batch or bulk arrivals.
• The batch size may be either deterministic or stochastic.
Interarrival time =1/ arrival rate
2.Customer’s Behaviour
• Balking: If a customer enters a system and
decides not to enter the queue since it is too
long is called Balking.
• Reneging: If a customer enters the queue but
after sometimes loses patience and leaves it is
called Reneging.
• Jockeying: When there are 2 or more parallel
queues and the customers move from one
queue to another to change his position is called
Jockeying.
25
3. Service Process
• Service Process determines the customer service
times in the system.
• As with arrival patterns, service patterns may be
deterministic or stochastic. There may also be
batched services.
• The service rate may be state-dependent. (This is the
analogue of impatience with arrivals.)
 Note that there is an important difference between
arrivals and services. Services do not occur when
the queue is empty.
26
4. Number of Servers
Single Server Queue:
Multiple Server Queue
Multiple Queue with Multiple Server
Multiple Queue with Single Server
5. Queue Discipline
• FIFO- First in First out
Or FCFS- First Come First Serve
• LIFO-Last in First out
• SIRO- Service in Random order
• Priority based
FIFO- First in First out
LIFO-Last in First out
SIRO
“Service In Random Order”
• Lottery system
Priority based
6.System capacity
• The capacity of a system can be finite or infinite.
There are many queuing systems whose capacity is
finite. In such cases problem of balking arises. It is
known as forced balking. In forced balking customer
needs the service but due to the problem of limited
capacity of the system the customer leaves the
system.
System Customers Server
Reception desk People Receptionist
Hospital Patients Doctors
Airport Airplanes Runway
Road network Cars Traffic light
Grocery Shoppers Checkout station
Queuing examples
A Commonly Seen Queuing Model
• Service times as well as inter arrival times are assumed
independent and identically distributed
– If not otherwise specified
• Commonly used notation principle: A/B/C
– A = The inter arrival time distribution
– B = The service time distribution
– C = The number of parallel servers
• Commonly used distributions
– M = Markovian (exponential) - Memory less
– D = Deterministic distribution
– G = General distribution
• Example: M/M/1
– Queuing system with exponentially distributed service and
inter-arrival times and 1 server
Examples of Different Queuing Systems
• Arrival Distribution: Poisson rate (M) tells you to
use exponential probability
• Service Distribution: again the M signifies an
exponential probability
• 1 represents the number of servers
 M/M/1: The system consists of only one server. This queuing
system can be applied to a wide variety of problems as any
system with a very large number customers.
M/M/1
M/M/1 queueing systems assume a Poisson arrival
process.
This assumption is a very good approximation for
arrival process in real systems that meet the
following rules:
•The number of customers in the system is very
large.
•Impact of a single customer on the performance of
the system is very small, i.e. a single customer
consumes a very small percentage of the system
resources.
•All customers are independent, i.e. their decision to
use the system are independent of other users.
Application of Queuing Theory
• Telecommunication.
• Traffic control.
• Determine the sequence of computer
operations.
• Predicting computer performance.
• Health service ( e.g. Control of hospital bed
assignments).
• Airport traffic, airline ticket sales.
• Layout of manufacturing systems.
Future plan
References
• Gross and Harris:
• J.Medhi: an introduction to stochastic process
• J.Medhi: an introduction to queueing theory
• Class notes
THANK YOU FOR
YOUR KIND
ATTENTION!!!

More Related Content

What's hot

Queue
QueueQueue
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
Manmohan Anand
 
Queueing theory
Queueing theoryQueueing 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
Zeal Education Society, Pune
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Bikash Kumar
 
information theory
information theoryinformation theory
information theory
Dr Naim R Kidwai
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
LuckySaigon1
 
Queuing unit v ppt
Queuing unit v pptQueuing unit v ppt
Queuing unit v ppt
Abilaasha Ganesan
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1
Mahafuz Aveek
 
Queueing theory
Queueing theoryQueueing theory
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
Presi
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory network
Amit Dahal
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Yogesh Kumbhar
 
Lecture 1 introduction and signals analysis
Lecture 1 introduction and signals analysisLecture 1 introduction and signals analysis
Lecture 1 introduction and signals analysis
talhawaqar
 
Unit 7 dynamic programming
Unit 7   dynamic programmingUnit 7   dynamic programming
Unit 7 dynamic programming
Nageswara Rao Thots
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
DebasisMohanty37
 
Impulse response and step response.ppt
Impulse response and step response.pptImpulse response and step response.ppt
Impulse response and step response.ppt
SameerParmar14
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Amit Sinha
 
Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdf
VishalPusadkar1
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
Ali Rind
 

What's hot (20)

Queue
QueueQueue
Queue
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
 
Queueing theory
Queueing theoryQueueing theory
Queueing 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
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
information theory
information theoryinformation theory
information theory
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
Queuing unit v ppt
Queuing unit v pptQueuing unit v ppt
Queuing unit v ppt
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory network
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Lecture 1 introduction and signals analysis
Lecture 1 introduction and signals analysisLecture 1 introduction and signals analysis
Lecture 1 introduction and signals analysis
 
Unit 7 dynamic programming
Unit 7   dynamic programmingUnit 7   dynamic programming
Unit 7 dynamic programming
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
Impulse response and step response.ppt
Impulse response and step response.pptImpulse response and step response.ppt
Impulse response and step response.ppt
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdf
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
 

Similar to basics of stochastic and queueing theory

Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdf
Ankit Katiyar
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
Priyanka Negi
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
Alexander Decker
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Shiwangi Thakur
 
Operation Research
Operation ResearchOperation Research
Operation Research
Ashutosh Khushu
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
RenjithVRavi1
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
Ramniwas final
Ramniwas finalRamniwas final
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
Khulna University
 
Stochastic control
Stochastic controlStochastic control
Stochastic control
Sajid Ali
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Open and closed queueing network
Open and closed queueing networkOpen and closed queueing network
Open and closed queueing network
Fahmida Afrin
 
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
 
probability in telecom switching
probability in telecom switchingprobability in telecom switching
probability in telecom switching
usman19
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
Mani Deep
 
Lecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdfLecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdf
Zakria Bilal
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
Dallina1
 
14 queuing
14 queuing14 queuing
14 queuing
Dian Saputra
 

Similar to basics of stochastic and queueing theory (20)

Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
Unit V - Queuing Theory
 
Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdf
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
 
Stochastic control
Stochastic controlStochastic control
Stochastic control
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Open and closed queueing network
Open and closed queueing networkOpen and closed queueing network
Open and closed queueing network
 
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
 
probability in telecom switching
probability in telecom switchingprobability in telecom switching
probability in telecom switching
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
Lecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdfLecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdf
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
14 queuing
14 queuing14 queuing
14 queuing
 

Recently uploaded

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 

Recently uploaded (20)

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 

basics of stochastic and queueing theory

  • 1. 1. APOORVA GUPTA(11972) 2. JYOTI ( 11973) M.Sc. (Mathematical Sciences- STATISTICS) 2014-2015 Under the supervision of Dr. Gulab Bura Department of Mathematics and Statistics, AIM & ACT Basic Terminologies related to Queuing theory
  • 2. Content • Stochastic process • Markov process • Markov chain • Poisson process • Birth death process • Introduction to queueing theory • History • Elements of Queuing System • A Commonly Seen Queuing Model • Application • Future plan • References
  • 3. Stochastic process Definition : A stochastic process is family of time indexed random variable where t belongs to index set . Formal notation , where I is an index set that is subset of R. Examples : • No. of telephone calls are received at a switchboard. Suppose that is the r.v. which represents the number of incoming calls in an interval (0,t) of duration t units. • Outcomes of X(t) are called states . }:{ ItXt  tX  tX
  • 4. • Discrete time , Discrete state space • Discrete time , Continuous state space • Continuous time , Discrete state space • Continuous time, Continuous state space Stochastic process is classified in four categories on the basis of state space and time space
  • 5. EXAMPLES • Discrete time, Discrete state space : number of accidents at 9 pm, 10 pm, 11 pm etc. • Continuous –time ,Discrete state space : Number of accidents on a highway at an interval of time say 9 pm to 10 pm. • Discrete time ,continuous state space :age of people in a city at a particular year say 2001, 2002, 2003 etc. • Continuous time , Continuous state space :age of people from March 2013 to march 2014.
  • 6. MARKOV PROCESS If is a stochastic process such that ,given the values of X(t) , t >s ,do not depend on the values of X(u) ,u<s, then the process is said to be a Markov process. • A definition of such a process is given as : If for , the process is a markov process . }),({ TttX  tttt n  ...21 })(,...,)(|)(Pr{ 11 nn xtXxtXxtX  })(|)(Pr{ nn xtXxtX  }),({ TttX  )}(|)(Pr{)}(),(|)(Pr{ sXtXuXsXtX 
  • 7. Markov chain : A discrete parameter Markov process is known as Markov chain. Definition : The stochastic process is called a markov chain ,if , for = It is the probability of transition from the state ‘j’ at (n-1) th trial to the state k at nth trial . ,......}2,1,0,{ nXn Njjkj n 11,...,,, },...,,|Pr{ 10121   nnnn jXjXjXkX jknn pjXkX   }|Pr{ 1 jkp
  • 8. Example of markov chain Example : random walk between two barriers . Homogeneous chain: the transition probability independent of n, the markov chain said to homogeneous. Two types of markov chain : • Discrete time markov chain • Continuous time markov chain }|Pr{ 1 jXkXp nnjk  
  • 9. • A stochastic process {N(t), t>0} with discrete state space and continuous time is called a poisson process if it satisfies the following postulates: 1. Independence 2. Homogeneity in time 3. Regularity The Poisson Process
  • 10. 10 • Independence: N( t+h)-N(t), the number of occurrence in the interval (t,t+h) is independent of the number of occurrences prior to that interval. • Homogeneity in time: pn(t) depends only on length ‘t’ of the interval and is independent of where this interval is situated i.e. pn(t) gives the probability of the number of occurrences in the interval (t1 , t+t1 ) (which is of length ‘t’) for every t1 . Postulates for Poisson Process
  • 11. Regularity In the interval of infinite small length h, the probability of exactly one occurrence is λh+o(h) and that of occurrence of more than one is of o(h). p1 (h)= λh+o(h)   )( 2 hOhp k k      )(10 hohhP   λ= rate of arrival Probability of zero arrival
  • 12. • Pure birth process is originated from Poisson process in which the rate of birth depends on number of persons. Pure Birth Processes P1 (t)=λnh+o(h) Pn (t) = o(h) , k>=2 P0(t)= 1- λnh+o(h),
  • 13. Birth-and-Death Process • We consider pure birth process where Here only births are considered, further deaths are also considered as possible so, Collectively for n>=k, equations are called as Birth and Death process P1 (t)=λn(h)+o(h) , k=1 Pn (t) = o(h), k>=2 P0 (t)= 1- λn(h)+o(h),k=0 q1 (t)=μn(h)+o(h) , k=1 qn (t) = o(h), k>=2 q0 (t)= 1- μn(h)+o(h),k=0
  • 14. • Note: The foundation of many of the most commonly used queuing models  Birth – equivalent to the arrival of a customer  Death – equivalent to the departure of a served customer
  • 15. 15 A Birth-and-Death Process Rate Diagram 0 1 n-1 n 0 1 2 n-1 n n+1 1 2 n n+1 n = State n, i.e., the case of n customers in the system  Excellent tool for describing the mechanics of a Birth-and- Death process
  • 16.
  • 17. Introduction of Queueing theory • Queueing theory is the mathematical study of waiting lines, or queues. • In queueing theory a model is constructed so that queue lengths and waiting times can be predicted. • Queueing theory is generally considered a branch of operations research because the results are often used when making business decisions about the resources needed to provide a service.
  • 18. DEFINITION • A queue is said to occur when the rate at which the demand arises exceeds the rate at which service is being provided. • It is the quantitative technique which consists of constructing mathematical models for various types of queuing systems. • Mathematical models are constructed so that queue lengths and waiting times can be predicted which helps in balancing the cost of service and the cost associated with customers waiting for service
  • 19. HISTORY • Queueing theory’s history goes back nearly 105 years. • It is originated by A. K. Erlang in 1909, in Danish when he is at his work place. • Agner Krarup Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange, published the first paper on what would now be called queueing theory in 1909. • He modeled the number of telephone calls arriving at an exchange by a Poisson process.
  • 20. • Johannsen’s “Waiting Times and Number of Calls” seems to be the first paper on the subject. • But the method used in this paper was not mathematically exact and therefore, from the point of view of exact treatment, the paper that has historic importance is A. K. Erlang’s, “The Theory of Probabilities and Telephone Conversations” • In this paper he lays the foundation for the place of Poisson (and hence, exponential) distribution in queueing theory.
  • 21. • His most important work, Solutions of Some Problems in the Theory of Probabilities of Significance in Automatic Telephone Exchanges , was published in 1917, which contained formulas for loss and waiting probabilities which are now known as Erlang’s loss formula (or Erlang B-formula) and delay formula (or Erlang C-formula), respectively. Agner Krarup Erlang, 1878–1929
  • 22. Elements of Queuing System Service process Queue Discipline Number of servers Elements of Queuing Models Arrival process Customer’s Behavior System capacity
  • 23. 1. Arrival Process Arrivals can be measured as the arrival rate or the interarrival time (time between arrivals). • These quantities may be deterministic or stochastic (given by a probability distribution). • Arrivals may also come in batches of multiple customers, which is called batch or bulk arrivals. • The batch size may be either deterministic or stochastic. Interarrival time =1/ arrival rate
  • 24. 2.Customer’s Behaviour • Balking: If a customer enters a system and decides not to enter the queue since it is too long is called Balking. • Reneging: If a customer enters the queue but after sometimes loses patience and leaves it is called Reneging. • Jockeying: When there are 2 or more parallel queues and the customers move from one queue to another to change his position is called Jockeying.
  • 25. 25 3. Service Process • Service Process determines the customer service times in the system. • As with arrival patterns, service patterns may be deterministic or stochastic. There may also be batched services. • The service rate may be state-dependent. (This is the analogue of impatience with arrivals.)  Note that there is an important difference between arrivals and services. Services do not occur when the queue is empty.
  • 26. 26 4. Number of Servers Single Server Queue: Multiple Server Queue
  • 27. Multiple Queue with Multiple Server Multiple Queue with Single Server
  • 28. 5. Queue Discipline • FIFO- First in First out Or FCFS- First Come First Serve • LIFO-Last in First out • SIRO- Service in Random order • Priority based
  • 29. FIFO- First in First out
  • 31. SIRO “Service In Random Order” • Lottery system
  • 33. 6.System capacity • The capacity of a system can be finite or infinite. There are many queuing systems whose capacity is finite. In such cases problem of balking arises. It is known as forced balking. In forced balking customer needs the service but due to the problem of limited capacity of the system the customer leaves the system.
  • 34. System Customers Server Reception desk People Receptionist Hospital Patients Doctors Airport Airplanes Runway Road network Cars Traffic light Grocery Shoppers Checkout station Queuing examples
  • 35. A Commonly Seen Queuing Model • Service times as well as inter arrival times are assumed independent and identically distributed – If not otherwise specified • Commonly used notation principle: A/B/C – A = The inter arrival time distribution – B = The service time distribution – C = The number of parallel servers • Commonly used distributions – M = Markovian (exponential) - Memory less – D = Deterministic distribution – G = General distribution • Example: M/M/1 – Queuing system with exponentially distributed service and inter-arrival times and 1 server
  • 36.
  • 37. Examples of Different Queuing Systems • Arrival Distribution: Poisson rate (M) tells you to use exponential probability • Service Distribution: again the M signifies an exponential probability • 1 represents the number of servers  M/M/1: The system consists of only one server. This queuing system can be applied to a wide variety of problems as any system with a very large number customers. M/M/1
  • 38. M/M/1 queueing systems assume a Poisson arrival process. This assumption is a very good approximation for arrival process in real systems that meet the following rules: •The number of customers in the system is very large. •Impact of a single customer on the performance of the system is very small, i.e. a single customer consumes a very small percentage of the system resources. •All customers are independent, i.e. their decision to use the system are independent of other users.
  • 39. Application of Queuing Theory • Telecommunication. • Traffic control. • Determine the sequence of computer operations. • Predicting computer performance. • Health service ( e.g. Control of hospital bed assignments). • Airport traffic, airline ticket sales. • Layout of manufacturing systems.
  • 41. References • Gross and Harris: • J.Medhi: an introduction to stochastic process • J.Medhi: an introduction to queueing theory • Class notes
  • 42. THANK YOU FOR YOUR KIND ATTENTION!!!