1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Advertisements

Statistical Inventory control models I
Structure of a Waiting Line System
Introduction into Simulation Basic Simulation Modeling.
1 Overview of Simulation When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions set for analytic.
11 Simulation. 22 Overview of Simulation – When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions.
Introduction to Risk Analysis Using Excel. Learning Objective.
Chapter 10: Simulation Modeling
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2005 Thomson/South-Western Chapter 13 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random.
Simulation.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Module C9 Simulation Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas --
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
SIMULATION. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Robert M. Saltzman © DS 851: 4 Main Components 1.Applications The more you see, the better 2.Probability & Statistics Computer does most of the work.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
1 1 Slide Chapter 6 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random Numbers n Time Increments.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Planning and Scheduling Service Operations
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Simulation Examples ~ By Hand ~ Using Excel
Introduction to Management Science
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 OM2, Supplementary Ch. D Simulation ©2010 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
B – 1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall. Simulation Supplement B.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #5 Jose M. Cruz Assistant Professor.
1 1 Slide Simulation. 2 2 Simulation n Advantages and Disadvantages of Simulation n Simulation Modeling n Random Variables n Simulation Languages n Validation.
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
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.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 19 Markov Decision Processes.
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
1 1 Slide © 2004 Thomson/South-Western Simulation n Simulation is one of the most frequently employed management science techniques. n It is typically.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
 Simulation enables the study of complex system.  Simulation is a good approach when analytic study of a system is not possible or very complex.  Informational,
MODELING AND SIMULATION CS 313 Simulation Examples 1.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 15-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Prepared by.
Building Valid, Credible & Appropriately Detailed Simulation Models
Introduction to Simulation Chapter 12. Introduction to Simulation  In many spreadsheets, the value for one or more cells representing independent variables.
Computer Simulation Henry C. Co Technology and Operations Management,
Prepared by Lloyd R. Jaisingh
ADVANTAGES OF SIMULATION
Modeling and Simulation CS 313
Prepared by Lee Revere and John Large
Professor S K Dubey,VSM Amity School of Business
Slides by John Loucks St. Edward’s University.
Simulation Supplement B.
Presentation transcript:

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University

2 2 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Simulation n Advantages and Disadvantages of Using Simulation n Modeling n Random Variables and Pseudo-Random Numbers n Time Increments n Simulation Languages n Validation and Statistical Considerations n Examples

3 3 Slide © 2008 Thomson South-Western. All Rights Reserved Simulation n Simulation is one of the most frequently employed management science techniques. n It is typically used to model random processes that are too complex to be solved by analytical methods.

4 4 Slide © 2008 Thomson South-Western. All Rights Reserved Advantages of Simulation n Among the advantages of simulation is the ability to gain insights into the model solution which may be impossible to attain through other techniques. n Also, once the simulation has been developed, it provides a convenient experimental laboratory to perform "what if" and sensitivity analysis.

5 5 Slide © 2008 Thomson South-Western. All Rights Reserved Disadvantages of Simulation n A large amount of time may be required to develop the simulation. n There is no guarantee that the solution obtained will actually be optimal. n Simulation is, in effect, a trial and error method of comparing different policy inputs. n It does not determine if some input which was not considered could have provided a better solution for the model.

6 6 Slide © 2008 Thomson South-Western. All Rights Reserved Simulation Modeling n One begins a simulation by developing a mathematical statement of the problem. n The model should be realistic yet solvable within the speed and storage constraints of the computer system being used. n Input values for the model as well as probability estimates for the random variables must then be determined.

7 7 Slide © 2008 Thomson South-Western. All Rights Reserved Random Variables n Random variable values are utilized in the model through a technique known as Monte Carlo simulation. n Each random variable is mapped to a set of numbers so that each time one number in that set is generated, the corresponding value of the random variable is given as an input to the model. n The mapping is done in such a way that the likelihood that a particular number is chosen is the same as the probability that the corresponding value of the random variable occurs.

8 8 Slide © 2008 Thomson South-Western. All Rights Reserved Pseudo-Random Numbers n Because a computer program generates random numbers for the mapping according to some formula, the numbers are not truly generated in a random fashion. n However, using standard statistical tests, the numbers can be shown to appear to be drawn from a random process. n These numbers are called pseudo-random numbers.

9 9 Slide © 2008 Thomson South-Western. All Rights Reserved Time Increments n In a fixed-time simulation model, time periods are incremented by a fixed amount. For each time period a different set of data from the input sequence is used to calculate the effects on the model. n In a next-event simulation model, time periods are not fixed but are determined by the data values from the input sequence.

10 Slide © 2008 Thomson South-Western. All Rights Reserved Simulation Programs n The computer program that performs the simulation is called a simulator. n Flowcharts can be useful in writing such a program. n While this program can be written in any general purpose language (e.g. BASIC, FORTRAN, C++, etc.) special languages which reduce the amount of code which must be written to perform the simulation have been developed. n Special simulation languages include SIMSCRIPT, SPSS, DYNAMO, and SLAM.

11 Slide © 2008 Thomson South-Western. All Rights Reserved Model Verification/Validation n Verification/validation of both the model and the method used by the computer to carry out the calculations is extremely important. n Models which do not reflect real world behavior cannot be expected to generate meaningful results. n Likewise, errors in programming can result in nonsensical results.

12 Slide © 2008 Thomson South-Western. All Rights Reserved Model Verification/Validation n Validation is generally done by having an expert review the model and the computer code for errors. n Ideally, the simulation should be run using actual past data. n Predictions from the simulation model should be compared with historical results.

13 Slide © 2008 Thomson South-Western. All Rights Reserved Experimental Design n Experimental design is an important consideration in the simulation process. n Issues such as the length of time of the simulation and the treatment of initial data outputs from the model must be addressed prior to collecting and analyzing output data. n Normally one is interested in results for the steady state (long run) operation of the system being modeled. n The initial data inputs to the simulation generally represent a start-up period for the process and it may be important that the data outputs for this start-up period be neglected for predicting this long run behavior.

14 Slide © 2008 Thomson South-Western. All Rights Reserved Experimental Design n For each policy under consideration by the decision maker, the simulation is run by considering a long sequence of input data values (given by a pseudo- random number generator). n Whenever possible, different policies should be compared by using the same sequence of input data.

15 Slide © 2008 Thomson South-Western. All Rights Reserved The price change of shares of Dynogen, Inc. has been observed over the past 50 trades. The frequency distribution is as follows: Price Change Number of Trades Price Change Number of Trades -  4 -  4 -  2 -  2 -  8 -   10 +  10 +  3 +  3 +  2 +  2 +  1 +  1 Total = 50 Total = 50 Example: Dynogen, Inc.

16 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Dynogen, Inc. n Relative Frequency Distribution and Random Number Mapping Price Change Relative Frequency Random Numbers Price Change Relative Frequency Random Numbers -               Total 1.00 Total 1.00

17 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Dynogen, Inc. If the current price per share of Dynogen is 23, use random numbers to simulate the price per share over the next 10 trades. Use the following stream of random numbers: 21, 84, 07, 30, 94, 57, 57, 19, 84, 84 21, 84, 07, 30, 94, 57, 57, 19, 84, 84

18 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Dynogen, Inc. n Simulation Worksheet Trade Random Price Stock Trade Random Price Stock Number Number Change Price Number Number Change Price  22 7/  22 7/    22 5/  22 5/ / /    22 7/  22 7/    23 1/  23 1/8

19 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Dynogen, Inc. n Spreadsheet for Stock Price Simulation

20 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Dynogen, Inc. n Theoretical Results and Observed Results Based on the probability distribution, the expected price change per trade can be calculated by: (.08)(-  ) + (.04)(-  ) + (.16)(-  ) + (.40)(0) (.08)(-  ) + (.04)(-  ) + (.16)(-  ) + (.40)(0) + (.20)(  ) + (.06)(  ) + (.04)(  ) + (.02)(  ) = (.20)(  ) + (.06)(  ) + (.04)(  ) + (.02)(  ) = The expected price change for 10 trades is (10)(.005) =.05. Hence, the expected stock price after 10 trades is = Compare this ending price with the spreadsheet simulation and “manual” simulation results on the previous slides.

21 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process Mark Koff is a specialist at repairing large metal- cutting machines that use laser technology. His repair territory consists of the cities of Austin, San Antonio, and Houston. His day-to-day repair assignment locations can be modeled as a Markov process. The transition matrix is shown on the next slide.

22 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process This Day’s Next Day's Location This Day’s Next Day's Location Location Austin San Antonio Houston Location Austin San Antonio Houston Austin Austin San Antonio San Antonio Houston Houston

23 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Random Number Mappings Currently in Currently in Currently in Currently in Currently in Currently in Austin San Antonio Houston Austin San Antonio Houston Next-Day Random Next-Day Random Next-Day Random Location Numbers Location Numbers Location Numbers Location Numbers Location Numbers Location Numbers Austin Austin Austin Austin Austin Austin San Ant San Ant San Ant San Ant San Ant San Ant Houston Houston Houston Houston Houston Houston

24 Slide © 2008 Thomson South-Western. All Rights Reserved Assume Mark is currently in Houston. Simulate where Mark will be over the next 16 days. What percentage of time will Mark be in each of the three cities? Use the following random numbers: 93, 63, 26, 16, 21, 26, 70, 55, 72, 89, 49, 64, 91, 02, 52, 69 Example: Mark Koff’s Process

25 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Simulation Worktable Starting in Houston Random Day's Random Day's Random Day's Random Day's Day Number Location Day Number Location Day Number Location Day Number Location 1 93 Houston 9 72 San Ant Houston 9 72 San Ant Houston San Ant Houston San Ant Houston San Ant Houston San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant Austin 6 26 San Ant Austin 7 70 San Ant Austin 7 70 San Ant Austin 8 55 San Ant San Ant San Ant San Ant.

26 Slide © 2008 Thomson South-Western. All Rights Reserved Repeat the simulation with Mark currently Repeat the simulation with Mark currently in Austin. Use the following random numbers: 13, 08, 60, 13, 68, 40, 40, 27, 23, 64, 36, 56, 25, 88, 18, 74 Compare the percentages with those found with Mark starting in Houston. Example: Mark Koff’s Process

27 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Simulation Worksheet Starting in Austin Starting in Austin Random Day's Random Day's Random Day's Random Day's Day Number LocationDay Number Location 1 13 Austin 9 23 San Ant Austin 9 23 San Ant Austin San Ant Austin San Ant San Ant San Ant San Ant San Ant Austin San Ant Austin San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant San Ant Austin 7 40 San Ant Austin 8 27 San Ant San Ant San Ant San Ant.

28 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Simulation Summary Starting in Houston Austin =  = 12.50% Austin =  = 12.50% San Antonio =  = 68.75% San Antonio =  = 68.75% Houston =  = 18.75% Houston =  = 18.75% Starting in Austin Austin =  = 25% Austin =  = 25% San Antonio =  = 75% San Antonio =  = 75% Houston =  = 0% Houston =  = 0%

29 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Partial Spreadsheet w/Variable Look-up Table LRN = Lower Random Number URN = Upper Random Number NDL = Next-Day Location

30 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Mark Koff’s Process n Partial Spreadsheet with Simulation Table =IF(A13=$A$2,VLOOKUP(C13,$A$6:$C$8,3), IF(A13=$D$2,VLOOKUP(C13,$D$6:$F$8,3), VLOOKUP(C13,$G$6:$I$8,3)))

31 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport Wayne International Airport primarily serves domestic air traffic. Occasionally, however, a chartered plane from abroad will arrive with passengers bound for Wayne's two great amusement parks, Algorithmland and Giffith's Cherry Preserve. Whenever an international plane arrives at the airport the two customs inspectors on duty set up operations to process the passengers.

32 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport Incoming passengers must first have their passports and visas checked. This is handled by one inspector. The time required to check a passenger's passports and visas can be described by the probability distribution on the next slide.

33 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport Time Required to Check a Passenger's Check a Passenger's Passport and Visa Probability Passport and Visa Probability 20 seconds seconds seconds seconds seconds seconds seconds seconds.10

34 Slide © 2008 Thomson South-Western. All Rights Reserved After having their passports and visas checked, the passengers next proceed to the second customs official who does baggage inspections. Passengers form a single waiting line with the official inspecting baggage on a first come, first served basis. The time required for baggage inspection follows the probability distribution shown on the next slide. Example: Wayne International Airport

35 Slide © 2008 Thomson South-Western. All Rights Reserved Time Required For Time Required For Baggage Inspection Probability Baggage Inspection Probability No Time.25 No Time.25 1 minute.60 1 minute.60 2 minutes.10 2 minutes.10 3 minutes.05 3 minutes.05 Example: Wayne International Airport

36 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Random Number Mapping Time Required to Time Required to Check a Passenger's Random Check a Passenger's Random Passport and Visa Probability Numbers Passport and Visa Probability Numbers 20 seconds seconds seconds seconds seconds seconds seconds seconds

37 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Random Number Mapping Time Required For Random Time Required For Random Baggage Inspection Probability Numbers Baggage Inspection Probability Numbers No Time No Time minute minute minutes minutes minutes minutes

38 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Next-Event Simulation Records For each passenger the following information must be recorded: When his service begins at the passport control inspection When his service begins at the passport control inspection The length of time for this service The length of time for this service When his service begins at the baggage inspection When his service begins at the baggage inspection The length of time for this service The length of time for this service

39 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Time Relationships Time a passenger begins service by the passport inspector = (Time the previous passenger started passport service) = (Time the previous passenger started passport service) + (Time of previous passenger's passport service) + (Time of previous passenger's passport service)

40 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Time Relationships Time a passenger begins service by the baggage inspector by the baggage inspector ( If passenger does not wait in line for baggage inspection) = (Time passenger completes service = (Time passenger completes service with the passport control inspector) with the passport control inspector) (If the passenger does wait in line for baggage inspection) (If the passenger does wait in line for baggage inspection) = (Time previous passenger completes = (Time previous passenger completes service with the baggage inspector) service with the baggage inspector)

41 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Time Relationships Time a customer completes service at the baggage inspector at the baggage inspector = (Time customer begins service with baggage inspector) + (Time required for baggage inspection) = (Time customer begins service with baggage inspector) + (Time required for baggage inspection)

42 Slide © 2008 Thomson South-Western. All Rights Reserved A chartered plane from abroad lands at Wayne Airport with 80 passengers. Simulate the processing of the first 10 passengers through customs. Use the following random numbers: For passport control: 93, 63, 26, 16, 21, 26, 70, 55, 72, 89 For baggage inspection: 13, 08, 60, 13, 68, 40, 40, 27, 23, 64 Example: Wayne International Airport

43 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Simulation Worksheet (partial) Passport Control Baggage Inspections Passport Control Baggage Inspections Pass. Time Rand. Service Time Time Rand. Service Time Num Begin Num. Time End Begin Num. Time End 1 0: :20 1:20 1: :00 1:20 1 0: :20 1:20 1: :00 1:20 2 1: :00 2:20 2: :00 2:20 2 1: :00 2:20 2: :00 2:20 3 2:20 26 :40 3:00 3: :00 4:00 3 2:20 26 :40 3:00 3: :00 4:00 4 3:00 16 :20 3:20 4: :00 4:00 4 3:00 16 :20 3:20 4: :00 4:00 5 3:20 21 :40 4:00 4: :00 5:00 5 3:20 21 :40 4:00 4: :00 5:00

44 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Simulation Worksheet (continued) Passport Control Baggage Inspections Passport Control Baggage Inspections Pass. Time Rand. Service Time Time Rand. Service Time Num Begin Num. Time End Begin Num. Time End 6 4:00 26 :40 4:40 5: :00 6:00 6 4:00 26 :40 4:40 5: :00 6:00 7 4: :00 5:40 6: :00 7:00 7 4: :00 5:40 6: :00 7:00 8 5:40 55 :40 6:20 7: :00 8:00 8 5:40 55 :40 6:20 7: :00 8:00 9 6: :00 7:20 8: :00 8:00 9 6: :00 7:20 8: :00 8: : :00 8:20 8: :00 9: : :00 8:20 8: :00 9:20

45 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Explanation For example, passenger 1 begins being served by the passport ontrol inspector immediately. His service time is 1:20 (80 seconds) at which time he goes immediately to the baggage inspector who waves him through without inspection. Passenger 2 begins service with passport inspector 1:20 minutes (80 seconds) after arriving there (as this is when passenger 1 is finished) and requires 1:00 minute (60 seconds) for passport inspection. He is waved through baggage inspection as well. This process continues in this manner.

46 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Question How long will it take for the first 10 passengers to clear customs? n Answer Passenger 10 clears customs after 9 minutes and 20 seconds.

47 Slide © 2008 Thomson South-Western. All Rights Reserved Example: Wayne International Airport n Question What is the average length of time a customer waits before having his bags inspected after he clears passport control? How is this estimate biased?

48 Slide © 2008 Thomson South-Western. All Rights Reserved n Answer For each passenger calculate his waiting time: (Baggage Inspection Begins) - (Passport Control Ends) (Baggage Inspection Begins) - (Passport Control Ends) = = 120 seconds. = = 120 seconds. 120/10 = 12 seconds per passenger 120/10 = 12 seconds per passenger This is a biased estimate because we assume that the simulation began with the system empty. Thus, the results tend to underestimate the average waiting time. Example: Wayne International Airport

49 Slide © 2008 Thomson South-Western. All Rights Reserved End of Chapter 12