Simulation of multiple server queuing systems

Slides:



Advertisements
Similar presentations
Waiting Line Management
Advertisements

Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
BA 452 Lesson C.2 Waiting Line Simulation 1 ReadingsReadings Chapter 12 Simulation.
IE 429, Parisay, January 2003 Review of Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete, continuous.
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
MGT 560 Queuing System Simulation Stochastic Modeling © Victor E. Sower, Ph.D., C.Q.E
Event-drive SimulationCS-2303, C-Term Project #3 – Event-driven Simulation CS-2303 System Programming Concepts (Slides include materials from The.
Lecture 13 – Continuous-Time Markov Chains
Simulation. Example: A Bank Simulator We are given: –The number of tellers –The arrival time of each customer –The amount of time each customer requires.
1 6.3 Binary Heap - Other Heap Operations There is no way to find any particular key without a linear scan through the entire heap. However, if we know.
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
SIMULATION EXAMPLES. SELECTED SIMULATION EXAMPLES 4 Queuing systems (Dynamic System) 4 Inventory systems (Dynamic and Static) 4 Monte-Carlo simulation.
M / M / 1 / GD / / (Section 4) Little’s queuing formula This is independent of number of servers, queue discipline, interarrival time dist., service time.
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
Lecture 4 Mathematical and Statistical Models in Simulation.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?

McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., 2008 CD12s.1 Generating Random Observations from a Probability Distribution The method for generating.
Graduate Program in Engineering and Technology Management
___________________________________________________________________________ Operations Research  Jan Fábry Waiting Line Models.
EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERNG Department of Industrial Engineering IENG461 System Modeling and Simulation Course Fall
Simulation Examples ~ By Hand ~ Using Excel
Waiting Line Models ___________________________________________________________________________ Quantitative Methods of Management  Jan Fábry.
Statistical Distributions
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
4/11: Queuing Models Collect homework, roll call Queuing Theory, Situations Single-Channel Waiting Line System –Distribution of arrivals –Distribution.
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
IE 429, Parisay, January 2010 What you need to know from Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete,
1 QUEUES. 2 Definition A queue is a linear list in which data can only be inserted at one end, called the rear, and deleted from the other end, called.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Queuing Modeling and Analysis.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Example simulation execution The Able Bakers Carhops Problem There are situation where there are more than one service channel. Consider a drive-in restaurant.
SIMULATION OF A SINGLE-SERVER QUEUEING SYSTEM
MATH 3033 based on Dekking et al. A Modern Introduction to Probability and Statistics Slides by Sean Hercus Instructor Longin Jan Latecki Ch. 6 Simulations.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
Chapter 2 Simulation Examples
Structure of a Waiting Line System Queuing theory is the study of waiting lines Four characteristics of a queuing system: –The manner in which customers.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
CS 4594 Broadband Intro to Queuing Theory. Kendall Notation Kendall notation: [Kendal 1951] A/B/c/k/m/Z A = arrival probability distribution (most often.
Example 14.3 Queuing | 14.2 | 14.4 | 14.5 | 14.6 | 14.7 |14.8 | Background Information n County Bank has several.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
MODELING AND SIMULATION CS 313 Simulation Examples 1.
Simulation of single server queuing systems
Chapter 2 Simulation Examples. Simulation steps using Simulation Table 1.Determine the characteristics of each of the inputs to the simulation (probability.
Modeling and Simulation
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics B: Michael Baron. Probability and Statistics for Computer Scientists,
WAITING LINES AND SIMULATION
18 Management of Waiting Lines
Simulation Statistics
ETM 607 – Spreadsheet Simulations
Modeling and Simulation CS 313
Internet Queuing Delay Introduction
Demo on Queuing Concepts
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Internet Queuing Delay Introduction
Queuing Systems Don Sutton.
C14: The central limit theorem
Variability 8/24/04 Paul A. Jensen
A Queue system based on the bank service
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Presentation transcript:

Simulation of multiple server queuing systems Example 3: Bank system with two tellers

Example 3 Bank system with two tellers: A bank has two tellers. Customers arrive at this teller at random from 1 to 4 minutes apart. Each possible value of interarrival time has the same probability of occurrence. The service times vary from 1 to 6 minutes with the same probabilities for each teller. The problem is to analyze the system by simulating the arrival and service of 20 customers. Solution: Distribution of time between Arrivals Service time Distribution Time between Arrival (Minutes) Probability Cumulative probability Random-Digit Assignment Service time (Minutes) 1   2 3 4 5 6 A set of uniformly distributed random numbers is needed to generate the arrivals at the teller and another set is needed to generate service times for each teller. Random numbers have the following properties: 1. The set of random numbers is uniformly distributed between 0 and 1. 2. Successive random numbers are independent.

Simulation table : Bank system with two tellers Customer Time Since Last Arrival (Minutes) Arrival Time Teller 1 Teller 2 Time Customer Waits in Queue Time customer spend in System Idle Time of Server 1 Idle Time of Server 2 Time Service Begins Service Time Time service ends 1   4   0 0  2 6  10 3 1  5  5 8 3  4 9  9 12  13 2  6 15  21  7 17  17 19 18  21 19  26 7  25 Tot 22  12 37  Av. 2.33  2.2  1.2 0.3  3.7  Pr.  0.2 0.15 0.5

System statistics Average time between arrival (sum of all interarrival times)/(number of arrivals-1)=21/9 =2.33 Expected time between arrival E(T) =∑ ti*p(ti)= 1× 0.25+ 2× 0.25+ 3× 0.25+4× 0.25= 2.5 Average service time teller1: (total service time)/(total number of customer)=22/10=2.2 Average service time teller2 (total service time)/(total number of customer)=12/10=1.2 Expected service time teller 1 & 2 Average waiting time (total waiting time in queue)/(total number of customers) =3/10=0.3 Probability of waiting (number of customers who wait)/(total number of customers) =2/10=0.2 Probability of idle server teller1 (total idle server time)/(total run time of simulation) =4/26=0.15 The probability of the server being busy teller1 = 1- 0.15=0.85 Probability of idle server teller2 (total idle server time)/(total run time of simulation) =13/25=0.52 The probability of the server being busy teller2 = 1- 0.52=0.48