Docsity

Discrete-Event System Simulation: An Example of Queuing System and Grocery Center - Prof. , Study notes of Computer Science

Toggle sidebar
bg1
١
Chapter 2
Simulation Examples
Banks, Carson, Nelson & Nicol
Discrete-Event System Simulation
٢
Simulation steps using Simulation Table
Determine the characteristics of each of the
inputs to the simulation (probability
distributions).
Construct a simulation table (repetition 1).
For each repetition i, generate a value for the
inputs, and evaluate function, calculating a value
of response yi.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Discrete-Event System Simulation: An Example of Queuing System and Grocery Center - Prof. and more Study notes Computer Science in PDF only on Docsity!

Chapter 2

Simulation Examples

Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

٢

Simulation steps using Simulation Table

„ Determine the characteristics of each of the inputs to the simulation (probability distributions).

„ Construct a simulation table (repetition 1).

„ For each repetition i , generate a value for the inputs, and evaluate function, calculating a value of response y (^) i.

٣

Simulation table

n

…

2

1

Repetitions xi1 xi2 … … yi

Inputs Response

٤

Simulation of Queuing System (Details in chapter 6)

Finite/Infinite Dis. arrival Rate FIFO/RR/… Priority Finite/Infinite

Dis. Service Numbers

٧

Arrival Event

٨

Example 2.1 : Grocery Center

„ One checkout counter

„ Arrival time between customers are 1 to 8 minutes (equal probability)

„ Service time vary from 1 to 6 (service time table)

„ We are going to analysis for 100 customers.

٩

Outputs

„ Average waiting time=174/100=1.74 minutes

„ The probability that a customer has to wait=0.

„ The proportion of idle time of the server=101/418=0.

„ Average service time=317/100=3.

١٠

١٣

Results of 400 Trials

١٤

Simulation of Inventory Systems

„ N: Length of periodic review that inventory level is checked

An order is made to bring the inventory to the level M „ Lead Time: the length of time between the placement and receipt of anorder (here is zero)

„ Q: order quantity

١٥

Question

„ How can we compute the π value?