Discrete Event “Hand” Simulation of a GI/GI/1 Queue

Slides:



Advertisements
Similar presentations
Waiting Line Management
Advertisements

Operations Management
Introduction into Simulation Basic Simulation Modeling.
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
IE 429, Parisay, January 2003 Review of Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete, continuous.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
 1  Outline  performance measures for a single-server station  discrete-event simulation  hand simulation  process-oriented simulation approach.
Lecture 3 Concepts of Discrete-Event Simulation. 2 Discrete Event Model  In the discrete approach to system simulation, state changes in the physical.
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.
Simulation of multiple server queuing systems
Classification of Simulation Models
DISCRETE-EVENT SIMULATION CONCEPTS and EVENT SCHEDULING ALGORITHM
Operations Management Waiting Lines. 2 Ardavan Asef-Vaziri Dec-2010Operations Management: Waiting Lines1  Questions: Can we process the orders? How many.
Simulation A Queuing Simulation. Example The arrival pattern to a bank is not Poisson There are three clerks with different service rates A customer must.
Queuing CEE 320 Anne Goodchild.
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
CPSC 531: DES Overview1 CPSC 531:Discrete-Event Simulation Instructor: Anirban Mahanti Office: ICT Class Location:
Fundamental Simulation Concepts
Lecture 4 Mathematical and Statistical Models in Simulation.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
 1  Outline  simulating GI/G/1 queues  M/M/1 queues  theoretical results of queueing systems  an inventory system  simulation program with an event.
Graduate Program in Engineering and Technology Management
Simulation Examples ~ By Hand ~ Using Excel
1 Chapter 2 Fundamental Simulation Concepts. Simulation with Arena Fundamental Simulation Concepts C2/2 What We’ll Do... Underlying ideas, methods, and.
1 Chapter 2 Fundamental Simulation Concepts Dr. Jason Merrick.
Simulation with ArenaChapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Fundamental Simulation Concepts Chapter 2.
ETM 607 – Discrete Event Simulation Fundamentals Define Discrete Event Simulation. Define concepts (entities, attributes, event list, etc…) Define “world-view”,
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.
Queuing Queues are a part of life and waiting to be served is never really pleasant. The longer people wait the less likely they are to want to come back.
Queuing Theory. Introduction Queuing is the study of waiting lines, or queues. The objective of queuing analysis is to design systems that enable organizations.
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Chapter 2 Fundamental Simulation Concepts.
CSC 205 Programming II Lecture 22 Carwash Simulation.
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Fundamental Simulation Concepts.
Slide 1 of 46 Fundamental Simulation Concepts Chapter 2.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Simulation with ArenaChapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Simulation by Hand: Setup.
SIMULATION OF A SINGLE-SERVER QUEUEING SYSTEM
NETW 707 Modeling and Simulation Amr El Mougy Maggie Mashaly.
1 Simulation Implementation Using high-level languages.
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.
Dr. Anis Koubâa CS433 Modeling and Simulation
CS 450 – Modeling and Simulation Dr. X. Topics System Analysis Arrival process The Queue The Server The simulation.
CDA6530: Performance Models of Computers and Networks Chapter 8: Statistical Simulation ---- Discrete Event Simulation (DES) TexPoint fonts used in EMF.
SIMULATION EXAMPLES. Monte-Carlo (Static) Simulation Estimating profit on a sale promotion Estimating profit on a sale promotion Estimating profit on.
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.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Simulation Examples And General Principles Part 2
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
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
Simulation Statistics
ETM 607 – Spreadsheet Simulations
ADVANTAGES OF SIMULATION
Discrete Event Simulation
COMPUTER 2430 Object Oriented Programming and Data Structures I
Internet Queuing Delay Introduction
SIMULATION EXAMPLES QUEUEING SYSTEMS.
ETM 607 – Simulation Software and Arena Modeling
More Explanation of an example in chapter4
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Native simulation of different scheduling policies
Concepts In Discrete-Event Simulation
Fundamental Simulation Concepts
MECH 3550 : Simulation & Visualization
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

Discrete Event “Hand” Simulation of a GI/GI/1 Queue Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Chapter 2 – Fundamental Simulation Concepts The System Arriving customers Departing (Server) Queue (FIFO) customer in Service 4 5 6 7 Simulation Objectives Claimed objective: Estimate expected waiting time in queue, expected queue length, and proportion of time the server is busy. Real objective: Introduce you to discrete event simulation Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Chapter 2 – Fundamental Simulation Concepts Model Specifics Initially (time 0) empty and idle Base time units: minutes Input data (assume given for now …), in minutes: Customer Number Arrival Time Interarrival Time Service Time 1 0.00 1.73 2.90 2 1.73 1.35 1.76 3 3.08 0.71 3.39 4 3.79 0.62 4.52 5 4.41 14.28 4.46 6 18.69 0.70 4.36 7 19.39 15.52 2.07 8 34.91 3.15 3.36 9 38.06 1.76 2.37 10 39.82 1.00 5.38 11 40.82 . . . . . . Stop when 20 minutes of (simulated) time have passed Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Schematic System Representation Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by “Hand”: t = 0.00, Initialize Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 0.00, Arrival of Customer 1 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 1.73, Arrival of Customer 2 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 2.90, Departure of Customer 1 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 3.08, Arrival of Customer 3 2 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 3.79, Arrival of Customer 4 2 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 4.41, Arrival of Customer 5 3 2 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 4.66, Departure of Customer 2 5 4 3 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 8.05, Departure of Customer 3 4 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 12.57, Departure of Customer 4 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 17.03, Departure of Customer 5 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 18.69, Arrival of Customer 6 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 19.39, Arrival of Customer 7 6 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Discrete Event Simulation by Hand: t = 20.00, The End 7 6 Simulation with Arena Chapter 2 – Fundamental Simulation Concepts

Simulation by Hand: Finishing Up Average waiting time in queue: Time-average number in queue: Server Utilization : Simulation with Arena Chapter 2 – Fundamental Simulation Concepts