SlideShare una empresa de Scribd logo
1 de 20
Queuing Theory –
Study of Congestion
  Operations Research
What is a queue?
• People waiting for service
  – Customers at a supermarket (IVR, railway counter)
  – Letters in a post office (Emails, SMS)
  – Cars at a traffic signal
• In ordered fashion (who defines order?)
  – Bank provides token numbers
  – Customers themselves ensure FIFO at Railway
    ticket counters
Where do we find queues?
A thought experiment
• When does a queue form?

• When will it not form?

• When will you not join a queue?

• When will you leave a queue?

• What is the worst case scenario?
What do you observe near a queue?
•   Conflict
•   Congestion
•   Idle counters
•   Overworked counters
•   Smart people trying to circumvent the queue
What do we want to know?
• How much time will it take?
• How many counters should be there?
• How to manage peak hour traffic?
Origins
• Queuing Theory had its beginning in the research
  work of a Danish engineer named A. K. Erlang.
• In 1909 Erlang experimented with fluctuating
  demand in telephone traffic.
• Eight years later he published a report addressing
  the delays in automatic dialing equipment.
• At the end of World War II, Erlang’s early work
  was extended to more general problems and to
  business applications of waiting lines.
Queuing System
Kendall Notation (a/b/c : d/e/f)
                         (a/b/c : d/e/f)


   Arrival                                                          Size of
Distribution                                                        source
                                                                    Infinite/
   M/D         Service Time                           Maximum
                                                                      finite
               Distribution                           number of
                   M/D                               customers in
                          Number of     Service         system
                          concurrent   Discipline         n
                            servers    FIFO/LIFO
                             n         / Priority/
                                        Random
Identify the queuing system

Railway ticket counter      (M/D/3:FIFO/200/∞)
Bank Service Counter
ATM
Airport – Check In
Airport - Security
Traffic Signal
Bus Stop
Train Platform (Boarding)
Paper Correction
Arrival modeled using
 Poisson Distribution
Some parameters

Arrival Rate                    λ
Service Rate                    μ
Number of customers in system   Ls
Number of customers in queue    Lq
Waiting time in system          Ws
Waiting time in queue           Wq
Utilization                     ρ
Types of queuing systems
M/M/1
T1=3
T2=7    Arrival Rate = N/Tt=6/19=.31
T3=10   Mean Time in system = J/N = 38/6=6.3
T4=6    Mean number in system = J/Tt=38/19=2
T5=6     = (J/N)*(N/Tt)=6.3*.31=2
T6=6     =λTq
J=38

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Waiting Line Management
Waiting Line Management Waiting Line Management
Waiting Line Management
 
Theory of queues
Theory of queuesTheory of queues
Theory of queues
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
 
Operating characteristics ofqueuing system
Operating characteristics ofqueuing systemOperating characteristics ofqueuing system
Operating characteristics ofqueuing system
 
14 queuing
14 queuing14 queuing
14 queuing
 
Queue
QueueQueue
Queue
 
queuing theory/ waiting line theory
queuing theory/ waiting line theoryqueuing theory/ waiting line theory
queuing theory/ waiting line theory
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Queuing theory .
Queuing theory .Queuing theory .
Queuing theory .
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 

Destacado

Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation ResearchManmohan Anand
 
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingGeorgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingBrian Wilson
 
A comparative study on turbo-roundabouts and spiral roundabouts
A comparative study on turbo-roundabouts and spiral roundaboutsA comparative study on turbo-roundabouts and spiral roundabouts
A comparative study on turbo-roundabouts and spiral roundaboutsDavid Homola
 
Roundabout feasibility analysis
Roundabout feasibility analysisRoundabout feasibility analysis
Roundabout feasibility analysisAnna McCreery
 
Traffic circles & roundabouts
Traffic circles & roundaboutsTraffic circles & roundabouts
Traffic circles & roundaboutsTHECITYALLIANCE
 
7 state model in Operating System
7 state model in Operating System7 state model in Operating System
7 state model in Operating SystemMohammad jawad khan
 
Systemc overview 2010
Systemc overview 2010Systemc overview 2010
Systemc overview 2010敬倫 林
 
C++ process new
C++ process newC++ process new
C++ process new敬倫 林
 
Concurrency 2010
Concurrency 2010Concurrency 2010
Concurrency 2010敬倫 林
 
Week1 Electronic System-level ESL Design and SystemC Begin
Week1 Electronic System-level ESL Design and SystemC BeginWeek1 Electronic System-level ESL Design and SystemC Begin
Week1 Electronic System-level ESL Design and SystemC Begin敬倫 林
 
Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -evechiportal
 
Top five reasons why every DV engineer will love the latest systemverilog 201...
Top five reasons why every DV engineer will love the latest systemverilog 201...Top five reasons why every DV engineer will love the latest systemverilog 201...
Top five reasons why every DV engineer will love the latest systemverilog 201...Srinivasan Venkataramanan
 
Thread and method_2010
Thread and method_2010Thread and method_2010
Thread and method_2010敬倫 林
 

Destacado (20)

The EOQ Formula
The EOQ FormulaThe EOQ Formula
The EOQ Formula
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
 
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive ModelingGeorgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
Georgia Tech: Performance Engineering - Queuing Theory and Predictive Modeling
 
A comparative study on turbo-roundabouts and spiral roundabouts
A comparative study on turbo-roundabouts and spiral roundaboutsA comparative study on turbo-roundabouts and spiral roundabouts
A comparative study on turbo-roundabouts and spiral roundabouts
 
Porozni asfalt
Porozni asfaltPorozni asfalt
Porozni asfalt
 
516 Queuing
516 Queuing516 Queuing
516 Queuing
 
Roundabout feasibility analysis
Roundabout feasibility analysisRoundabout feasibility analysis
Roundabout feasibility analysis
 
Traffic circles & roundabouts
Traffic circles & roundaboutsTraffic circles & roundabouts
Traffic circles & roundabouts
 
7 state model in Operating System
7 state model in Operating System7 state model in Operating System
7 state model in Operating System
 
OS Chapter03
OS Chapter03OS Chapter03
OS Chapter03
 
Systemc overview 2010
Systemc overview 2010Systemc overview 2010
Systemc overview 2010
 
MixedSignal UVM Demo CDNLive
MixedSignal UVM Demo CDNLiveMixedSignal UVM Demo CDNLive
MixedSignal UVM Demo CDNLive
 
C++ process new
C++ process newC++ process new
C++ process new
 
Concurrency 2010
Concurrency 2010Concurrency 2010
Concurrency 2010
 
Week1 Electronic System-level ESL Design and SystemC Begin
Week1 Electronic System-level ESL Design and SystemC BeginWeek1 Electronic System-level ESL Design and SystemC Begin
Week1 Electronic System-level ESL Design and SystemC Begin
 
Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eve
 
Top five reasons why every DV engineer will love the latest systemverilog 201...
Top five reasons why every DV engineer will love the latest systemverilog 201...Top five reasons why every DV engineer will love the latest systemverilog 201...
Top five reasons why every DV engineer will love the latest systemverilog 201...
 
Channel 2010
Channel 2010Channel 2010
Channel 2010
 
Thread and method_2010
Thread and method_2010Thread and method_2010
Thread and method_2010
 
SystemC Ports
SystemC PortsSystemC Ports
SystemC Ports
 

Similar a Queuing Theory

Similar a Queuing Theory (20)

Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
Tps04
Tps04Tps04
Tps04
 
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdfSolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
 
BSNL TRAINING PPT
BSNL TRAINING PPTBSNL TRAINING PPT
BSNL TRAINING PPT
 
BSNL TRAINING PPT
BSNL TRAINING PPTBSNL TRAINING PPT
BSNL TRAINING PPT
 
Applications of Time Division multiplexing : statistical TDM
Applications of  Time Division multiplexing : statistical TDMApplications of  Time Division multiplexing : statistical TDM
Applications of Time Division multiplexing : statistical TDM
 
Queuing unit v ppt
Queuing unit v pptQueuing unit v ppt
Queuing unit v ppt
 
Switching systems lecture3
Switching  systems lecture3Switching  systems lecture3
Switching systems lecture3
 
Introduction to-telecommunication-rf
Introduction to-telecommunication-rfIntroduction to-telecommunication-rf
Introduction to-telecommunication-rf
 
Queuing Theory.pdf
Queuing Theory.pdfQueuing Theory.pdf
Queuing Theory.pdf
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Telecom domain presentation_v1.0
Telecom domain presentation_v1.0Telecom domain presentation_v1.0
Telecom domain presentation_v1.0
 
GSM capacity planning
GSM capacity planningGSM capacity planning
GSM capacity planning
 
Q theory
Q theoryQ theory
Q theory
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
Operation and mainetainence of switch ppt
Operation and mainetainence of switch pptOperation and mainetainence of switch ppt
Operation and mainetainence of switch ppt
 
ISDN & ATM
ISDN & ATMISDN & ATM
ISDN & ATM
 

Más de Nilam Kabra

Layout Case Study
Layout Case StudyLayout Case Study
Layout Case StudyNilam Kabra
 
Facility & Layout Design Case Study
Facility & Layout Design Case StudyFacility & Layout Design Case Study
Facility & Layout Design Case StudyNilam Kabra
 
Capacity & Inventory Management
Capacity & Inventory ManagementCapacity & Inventory Management
Capacity & Inventory ManagementNilam Kabra
 
Organizational Behavior Chapter 9
Organizational Behavior Chapter 9Organizational Behavior Chapter 9
Organizational Behavior Chapter 9Nilam Kabra
 
Organizational Behavior Chapter 8
Organizational Behavior Chapter 8Organizational Behavior Chapter 8
Organizational Behavior Chapter 8Nilam Kabra
 
Organizational Behavior Chapter 7
Organizational Behavior Chapter 7Organizational Behavior Chapter 7
Organizational Behavior Chapter 7Nilam Kabra
 
Organizational Behavior Chapter 5
Organizational Behavior Chapter 5Organizational Behavior Chapter 5
Organizational Behavior Chapter 5Nilam Kabra
 
Organizational Behavior Chapter 4
Organizational Behavior Chapter 4Organizational Behavior Chapter 4
Organizational Behavior Chapter 4Nilam Kabra
 
Organizational Behavior Chapter 3
Organizational Behavior Chapter 3Organizational Behavior Chapter 3
Organizational Behavior Chapter 3Nilam Kabra
 
Organizational Behavior Chapter 2
Organizational Behavior Chapter 2Organizational Behavior Chapter 2
Organizational Behavior Chapter 2Nilam Kabra
 
Organizational Behavior Chapter 1
Organizational Behavior Chapter 1Organizational Behavior Chapter 1
Organizational Behavior Chapter 1Nilam Kabra
 
Transportation Assignment
Transportation AssignmentTransportation Assignment
Transportation AssignmentNilam Kabra
 
Replacement Theory
Replacement TheoryReplacement Theory
Replacement TheoryNilam Kabra
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic ProgrammingNilam Kabra
 
Relationship Marketing
Relationship MarketingRelationship Marketing
Relationship MarketingNilam Kabra
 
Human Resource Management
Human Resource ManagementHuman Resource Management
Human Resource ManagementNilam Kabra
 

Más de Nilam Kabra (18)

Layout Case Study
Layout Case StudyLayout Case Study
Layout Case Study
 
Facility & Layout Design Case Study
Facility & Layout Design Case StudyFacility & Layout Design Case Study
Facility & Layout Design Case Study
 
Equations
EquationsEquations
Equations
 
EOQ Ken Homa
EOQ   Ken HomaEOQ   Ken Homa
EOQ Ken Homa
 
Capacity & Inventory Management
Capacity & Inventory ManagementCapacity & Inventory Management
Capacity & Inventory Management
 
Organizational Behavior Chapter 9
Organizational Behavior Chapter 9Organizational Behavior Chapter 9
Organizational Behavior Chapter 9
 
Organizational Behavior Chapter 8
Organizational Behavior Chapter 8Organizational Behavior Chapter 8
Organizational Behavior Chapter 8
 
Organizational Behavior Chapter 7
Organizational Behavior Chapter 7Organizational Behavior Chapter 7
Organizational Behavior Chapter 7
 
Organizational Behavior Chapter 5
Organizational Behavior Chapter 5Organizational Behavior Chapter 5
Organizational Behavior Chapter 5
 
Organizational Behavior Chapter 4
Organizational Behavior Chapter 4Organizational Behavior Chapter 4
Organizational Behavior Chapter 4
 
Organizational Behavior Chapter 3
Organizational Behavior Chapter 3Organizational Behavior Chapter 3
Organizational Behavior Chapter 3
 
Organizational Behavior Chapter 2
Organizational Behavior Chapter 2Organizational Behavior Chapter 2
Organizational Behavior Chapter 2
 
Organizational Behavior Chapter 1
Organizational Behavior Chapter 1Organizational Behavior Chapter 1
Organizational Behavior Chapter 1
 
Transportation Assignment
Transportation AssignmentTransportation Assignment
Transportation Assignment
 
Replacement Theory
Replacement TheoryReplacement Theory
Replacement Theory
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 
Relationship Marketing
Relationship MarketingRelationship Marketing
Relationship Marketing
 
Human Resource Management
Human Resource ManagementHuman Resource Management
Human Resource Management
 

Último

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 

Último (20)

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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"
 
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"
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

Queuing Theory

  • 1. Queuing Theory – Study of Congestion Operations Research
  • 2. What is a queue? • People waiting for service – Customers at a supermarket (IVR, railway counter) – Letters in a post office (Emails, SMS) – Cars at a traffic signal • In ordered fashion (who defines order?) – Bank provides token numbers – Customers themselves ensure FIFO at Railway ticket counters
  • 3. Where do we find queues?
  • 4. A thought experiment • When does a queue form? • When will it not form? • When will you not join a queue? • When will you leave a queue? • What is the worst case scenario?
  • 5. What do you observe near a queue? • Conflict • Congestion • Idle counters • Overworked counters • Smart people trying to circumvent the queue
  • 6. What do we want to know? • How much time will it take? • How many counters should be there? • How to manage peak hour traffic?
  • 7. Origins • Queuing Theory had its beginning in the research work of a Danish engineer named A. K. Erlang. • In 1909 Erlang experimented with fluctuating demand in telephone traffic. • Eight years later he published a report addressing the delays in automatic dialing equipment. • At the end of World War II, Erlang’s early work was extended to more general problems and to business applications of waiting lines.
  • 9. Kendall Notation (a/b/c : d/e/f) (a/b/c : d/e/f) Arrival Size of Distribution source Infinite/ M/D Service Time Maximum finite Distribution number of M/D customers in Number of Service system concurrent Discipline n servers FIFO/LIFO n / Priority/ Random
  • 10. Identify the queuing system Railway ticket counter (M/D/3:FIFO/200/∞) Bank Service Counter ATM Airport – Check In Airport - Security Traffic Signal Bus Stop Train Platform (Boarding) Paper Correction
  • 11.
  • 12. Arrival modeled using Poisson Distribution
  • 13. Some parameters Arrival Rate λ Service Rate μ Number of customers in system Ls Number of customers in queue Lq Waiting time in system Ws Waiting time in queue Wq Utilization ρ
  • 14. Types of queuing systems
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. M/M/1
  • 20. T1=3 T2=7 Arrival Rate = N/Tt=6/19=.31 T3=10 Mean Time in system = J/N = 38/6=6.3 T4=6 Mean number in system = J/Tt=38/19=2 T5=6 = (J/N)*(N/Tt)=6.3*.31=2 T6=6 =λTq J=38