SlideShare a Scribd company logo
1 of 14
Modeling and Simulation
DS301
Chapter 03
Queueing Simulation
Faculty of Computers and Informatics
2022
• Introduction.
• Description of Queuing System.
• Simulating a Single-Server Queue.
 Example.
• Simulating a Queue with Multi-Servers.
 Example.
Chapter 3: Queueing Simulation
Modeling and Simulation
2
Introduction (1/3)
Modeling and Simulation
3
Queueing Model:
• Simulation is often used in the analysis of queueing
models. In a simple but typical queueing model,
customers arrive from time to time and join a queue
(waiting line), are eventually served, and finally leave
the system.
Introduction (2/3)
Modeling and Simulation 4
• Queueing models, whether solved mathematically or
analyzed through simulation, provide the analyst with a
powerful tool for designing and evaluating the
performance of queueing systems.
• Typical measures of system performance include server
utilization (percentage of time a server is busy), length of
waiting lines, and delays of customers.
Introduction (3/3)
Modeling and Simulation 5
• Quite often, when designing to improve a queueing
system, the analyst (or decision maker) is involved in
tradeoffs between server utilization and customer
satisfaction in terms of line lengths and delays.
Description of Queuing Sys (1/8)
Modeling and Simulation 6
• The key elements of a queueing system are the
customers and servers.
• The term customer can refer to people, machines, trucks,
mechanics, patients, airplanes, e-mail, cases, or orders—
anything that arrives at a facility and requires service.
• The term server might refer to receptionists, repair
personnel, mechanics, medical personnel, runways at an
airport, automatic packers, order pickers, or CPUs in a
computer—any resource (person, machine, etc.) that
provides the requested service.
Description of Queuing Sys (2/8)
Modeling and Simulation
7
Queueing System:
1. The Calling Population.
2. System Capacity.
3. TheArrival Process.
4. Queue Behavior and Queue Discipline.
5. Service Times and the Service Mechanism.
Description of Queuing Sys (3/8)
Modeling and Simulation 8
1. The Calling Population (1/3):
• Also called: Input source (source of customers).
• The population of potential customers, referred to as the
calling population, may be assumed to be finite or
infinite.
Description of Queuing Sys (3/8)
Modeling and Simulation 9
1. The Calling Population (2/3):
• Infinite size:
 Simulation assumptions: If a unit leaves the calling
population and joins the waiting line or enters service,
there is no change in the arrival rate of other units that
may need service.
 Most simulated models.
• Finite size:
 Less common and complicates the simulation.
Description of Queuing Sys (3/8)
Modeling and Simulation
10
1. The Calling Population (3/3):
• The main difference between finite and infinite
population models is how the arrival rate is defined. In
an infinite population model, the arrival rate (i.e., the
average number of arrivals per unit of time) is not
affected by the number of customers who have left the
calling population and joined the queueing system.
Description of Queuing Sys (4/8)
Modeling and Simulation
11
2. System Capacity:
• Is the maximum number of units that can be
accommodated in the system.
• In many queueing systems, there is a limit to the
number of customers that may be in the waiting line or
system.
• It’s unlimited capacity if the system can accommodate
any number of units in the waiting line.
Description of Queuing Sys (5/8)
Modeling and Simulation
12
3. TheArrival Process:
• The arrival process for infinite-population models is
usually characterized in terms of interarrival times of
successive customers. Arrivals may occur at scheduled
times or at random times. When at random times, the
interarrival times are usually characterized by a
probability distribution.
Description of Queuing Sys (6/8)
Modeling and Simulation 13
4. Queue Behavior and Queue Discipline (1/2):
• Queue behavior refers to the actions of customers while
in a queue waiting for service to begin. In some
situations, there is a possibility that incoming customers
will balk (leave when they see that the line is too long),
renege (leave after being in the line when they see that
the line is moving too slowly), or jockey (move from
one line to another if they think they have chosen a slow
line).
Description of Queuing Sys (6/8)
Modeling and Simulation
14
4. Queue Behavior and Queue Discipline (2/2):
• Queue discipline refers to the logical ordering of
customers in a queue and determines which customer
will be chosen for service when a server becomes free.
• Common queue disciplines include first-in-first-out
(FIFO), last-in-first-out (LIFO), service in random order
(SIRO), shortest processing time first (SPT), and
service according to priority (PR).

More Related Content

Similar to Modeling_Simulation_ch3_lecture_1.pptx

Similar to Modeling_Simulation_ch3_lecture_1.pptx (20)

QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Simulation chapter 4
Simulation chapter 4Simulation chapter 4
Simulation chapter 4
 
Waiting Lines.pptx
Waiting Lines.pptxWaiting Lines.pptx
Waiting Lines.pptx
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
chapter11 liner model programing.pptx
chapter11 liner model programing.pptxchapter11 liner model programing.pptx
chapter11 liner model programing.pptx
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory network
 
Operations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfOperations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdf
 
Tps04
Tps04Tps04
Tps04
 
DES
DES DES
DES
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
 
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdfSolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
 
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
 
QUEUEING THEORY
QUEUEING THEORYQUEUEING THEORY
QUEUEING THEORY
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 

More from MaiGaafar

Modeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptxModeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptxMaiGaafar
 
Lecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptLecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptMaiGaafar
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxMaiGaafar
 
strategic-planning_chp (1).pptx
strategic-planning_chp (1).pptxstrategic-planning_chp (1).pptx
strategic-planning_chp (1).pptxMaiGaafar
 
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptxMaiGaafar
 
HU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptxHU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptxMaiGaafar
 
sm-161216124538.pptx
sm-161216124538.pptxsm-161216124538.pptx
sm-161216124538.pptxMaiGaafar
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxMaiGaafar
 
HU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptxHU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptxMaiGaafar
 
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptxMaiGaafar
 
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptxModeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptxMaiGaafar
 

More from MaiGaafar (11)

Modeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptxModeling&Simulation_Ch01_lecture 2.pptx
Modeling&Simulation_Ch01_lecture 2.pptx
 
Lecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptLecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.ppt
 
Introduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptxIntroduction to Time Series Analysis.pptx
Introduction to Time Series Analysis.pptx
 
strategic-planning_chp (1).pptx
strategic-planning_chp (1).pptxstrategic-planning_chp (1).pptx
strategic-planning_chp (1).pptx
 
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch05-P2.pptx
 
HU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptxHU200-Introduction-2020-2021.pptx
HU200-Introduction-2020-2021.pptx
 
sm-161216124538.pptx
sm-161216124538.pptxsm-161216124538.pptx
sm-161216124538.pptx
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptx
 
HU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptxHU200-Supply-modified2020.pptx
HU200-Supply-modified2020.pptx
 
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptxBU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
BU_FCAI_SCC430_Modeling&Simulation_Ch06.pptx
 
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptxModeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
 

Recently uploaded

Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 

Recently uploaded (20)

Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 

Modeling_Simulation_ch3_lecture_1.pptx

  • 1. Modeling and Simulation DS301 Chapter 03 Queueing Simulation Faculty of Computers and Informatics 2022
  • 2. • Introduction. • Description of Queuing System. • Simulating a Single-Server Queue.  Example. • Simulating a Queue with Multi-Servers.  Example. Chapter 3: Queueing Simulation Modeling and Simulation 2
  • 3. Introduction (1/3) Modeling and Simulation 3 Queueing Model: • Simulation is often used in the analysis of queueing models. In a simple but typical queueing model, customers arrive from time to time and join a queue (waiting line), are eventually served, and finally leave the system.
  • 4. Introduction (2/3) Modeling and Simulation 4 • Queueing models, whether solved mathematically or analyzed through simulation, provide the analyst with a powerful tool for designing and evaluating the performance of queueing systems. • Typical measures of system performance include server utilization (percentage of time a server is busy), length of waiting lines, and delays of customers.
  • 5. Introduction (3/3) Modeling and Simulation 5 • Quite often, when designing to improve a queueing system, the analyst (or decision maker) is involved in tradeoffs between server utilization and customer satisfaction in terms of line lengths and delays.
  • 6. Description of Queuing Sys (1/8) Modeling and Simulation 6 • The key elements of a queueing system are the customers and servers. • The term customer can refer to people, machines, trucks, mechanics, patients, airplanes, e-mail, cases, or orders— anything that arrives at a facility and requires service. • The term server might refer to receptionists, repair personnel, mechanics, medical personnel, runways at an airport, automatic packers, order pickers, or CPUs in a computer—any resource (person, machine, etc.) that provides the requested service.
  • 7. Description of Queuing Sys (2/8) Modeling and Simulation 7 Queueing System: 1. The Calling Population. 2. System Capacity. 3. TheArrival Process. 4. Queue Behavior and Queue Discipline. 5. Service Times and the Service Mechanism.
  • 8. Description of Queuing Sys (3/8) Modeling and Simulation 8 1. The Calling Population (1/3): • Also called: Input source (source of customers). • The population of potential customers, referred to as the calling population, may be assumed to be finite or infinite.
  • 9. Description of Queuing Sys (3/8) Modeling and Simulation 9 1. The Calling Population (2/3): • Infinite size:  Simulation assumptions: If a unit leaves the calling population and joins the waiting line or enters service, there is no change in the arrival rate of other units that may need service.  Most simulated models. • Finite size:  Less common and complicates the simulation.
  • 10. Description of Queuing Sys (3/8) Modeling and Simulation 10 1. The Calling Population (3/3): • The main difference between finite and infinite population models is how the arrival rate is defined. In an infinite population model, the arrival rate (i.e., the average number of arrivals per unit of time) is not affected by the number of customers who have left the calling population and joined the queueing system.
  • 11. Description of Queuing Sys (4/8) Modeling and Simulation 11 2. System Capacity: • Is the maximum number of units that can be accommodated in the system. • In many queueing systems, there is a limit to the number of customers that may be in the waiting line or system. • It’s unlimited capacity if the system can accommodate any number of units in the waiting line.
  • 12. Description of Queuing Sys (5/8) Modeling and Simulation 12 3. TheArrival Process: • The arrival process for infinite-population models is usually characterized in terms of interarrival times of successive customers. Arrivals may occur at scheduled times or at random times. When at random times, the interarrival times are usually characterized by a probability distribution.
  • 13. Description of Queuing Sys (6/8) Modeling and Simulation 13 4. Queue Behavior and Queue Discipline (1/2): • Queue behavior refers to the actions of customers while in a queue waiting for service to begin. In some situations, there is a possibility that incoming customers will balk (leave when they see that the line is too long), renege (leave after being in the line when they see that the line is moving too slowly), or jockey (move from one line to another if they think they have chosen a slow line).
  • 14. Description of Queuing Sys (6/8) Modeling and Simulation 14 4. Queue Behavior and Queue Discipline (2/2): • Queue discipline refers to the logical ordering of customers in a queue and determines which customer will be chosen for service when a server becomes free. • Common queue disciplines include first-in-first-out (FIFO), last-in-first-out (LIFO), service in random order (SIRO), shortest processing time first (SPT), and service according to priority (PR).