Chapter 14 Simulation, after completing this chapter, you should be able to: Explain what the term simulation means and how simulation differs from analytical techniques; explain the difference between discrete and continuous simulations, between fixed-interval and next-event simulations, and between discrete and probabilistic simulations; list and briefly describe the steps in simulation;...
Trang 1Stevenson and Ozgur
First Edition
Introduction to Management Science
Trang 2Companies. All rights reserved. McGrawHill/Irwin 14–2
Learning Objectives
1 Explain what the term simulation means and how
simulation differs from analytical techniques
2 Explain the difference between discrete and
continuous simulations, between fixed-interval and next-event simulations, and between discrete and probabilistic simulations
3 List and briefly describe the steps in simulation
4 Use the Monte Carlo method to generate random
Trang 3Companies. All rights reserved. McGrawHill/Irwin 14–3
Learning Objectives (cont’d)
6 Conduct simulation with Excel using various
distributions
7 Conduct simple waiting-line simulation using Excel
8 Conduct inventory management simulation using
Excel
9 List the advantages and limitations of simulations
After completing this chapter, you should be able to:
Trang 4–A descriptive tool for the study of the behavior of a
system under various conditions
–The goal in simulation is to create a model that will
reflect the behavior of some real-life system in order to
be able to observe how it may behave when certain inputs or parameters are changed
–Unlike analytical techniques, it is not an optimizing
technique
Trang 5–Experimental situations in which outcome variables
are discrete and are described by a count of the
number of occurrences.
• Continuous Simulations
–Experimental situations in which the variable of
interest is continuous in that it can assume both
integer and noninteger values over a range of values
that are measured rather than counted.
Trang 6Companies. All rights reserved. McGrawHill/Irwin 14–6
Types of Simulations (cont’d)
Types of Simulations (cont’d)
• Fixed-Interval Simulations
–Experiments simulating the value of a variable over a
given or fixed interval of time, distance or area.
–Interest is centered on the accumulated value of a
variable over a length of time or other interval
• Next-Event Simulations
–Experiments focused on when something happens, or
how much time is required to perform a task.
–Interest is centered on an occurrence of an event and,
perhaps, how much time or effort is required for the event
Trang 7Companies. All rights reserved. McGrawHill/Irwin 14–7
Types of Simulations (cont’d)
Types of Simulations (cont’d)
• Deterministic Simulations
–Cases in which a specific outcome is certain, given a
set of inputs
• Probabilistic Simulations
–Cases that involve random variables and, therefore,
the exact outcome cannot be predicted with certainty, given a set of inputs
–Cases that incorporate some mechanism for
mimicking random behavior in one or more variables
Trang 8Companies. All rights reserved. McGrawHill/Irwin 14–8
Define the problem Set objectives
Develop model
Gather data
Validate model
Design experiments
Run simulations
Analyze and interpret results
Trang 9Companies. All rights reserved. McGrawHill/Irwin 14–9
The Monte Carlo Method
The Monte Carlo Method
• Monte Carlo Simulation
–A commonly used approach for achieving randomness that derives its name from its similarity to games of
chance
• Characteristics of random numbers
–All numbers are equally likely
–No patterns appear in sequences of numbers.
Trang 10Companies. All rights reserved.
McGraw
Hill/Irwin 14–10
Trang 11Companies. All rights reserved.
McGraw
Hill/Irwin 14–11
Trang 12Companies. All rights reserved.
McGraw
Hill/Irwin 14–12
Example
Example
Trang 13Companies. All rights reserved.
McGraw
Hill/Irwin 14–13
Trang 14Companies. All rights reserved.
McGraw
Hill/Irwin 14–14
Trang 15Companies. All rights reserved.
McGraw
Hill/Irwin 14–15
Trang 16Companies. All rights reserved.
McGraw
Hill/Irwin 14–16
Trang 17Companies. All rights reserved.
McGraw
Hill/Irwin 14–17
Trang 18Companies. All rights reserved.
McGraw
Hill/Irwin 14–18
Trang 19Companies. All rights reserved.
McGraw
Hill/Irwin 14–19
Trang 20Companies. All rights reserved.
McGraw
Hill/Irwin 14–20
Trang 21Companies. All rights reserved.
McGraw
Hill/Irwin 14–21
20 and 100
20 and 100
Trang 22Companies. All rights reserved.
McGraw
Hill/Irwin 14–22
Trang 23Companies. All rights reserved.
McGraw
Hill/Irwin 14–23
Trang 24Companies. All rights reserved.
McGraw
Hill/Irwin 14–24
Andersen Quick Oil and Lube Example
Andersen Quick Oil and Lube Example
Trang 25Companies. All rights reserved.
McGraw
Hill/Irwin 14–25
Waiting-Line Problem
Waiting-Line Problem
Trang 26Companies. All rights reserved.
McGraw
Hill/Irwin 14–26
Company Inventory Problem Where Quantity =12, ROP =5
Company Inventory Problem Where Quantity =12, ROP =5
Trang 27Companies. All rights reserved.
McGraw
Hill/Irwin 14–27
Plumbing Company Inventory Problem Where Quantity = 10, ROP = 7
Plumbing Company Inventory Problem Where Quantity = 10, ROP = 7
Trang 28Companies. All rights reserved.
McGraw
Hill/Irwin 14–28
Problem 1 (Fire Station)
Problem 1 (Fire Station)
Trang 29Companies. All rights reserved.
McGraw
Hill/Irwin 14–29
Problem 2
Problem 2
Trang 30Companies. All rights reserved.
McGraw
Hill/Irwin 14–30
Problem 3 (Emergency Repairs)
Problem 3 (Emergency Repairs)
Trang 31Companies. All rights reserved.
McGraw
Hill/Irwin 14–31
Problem 3 (Emergency Repairs)
Problem 3 (Emergency Repairs)
Trang 32Companies. All rights reserved.
McGraw
Hill/Irwin 14–32
Advantages of Simulation
Advantages of Simulation
1 It is particularly well-suited for problems that are difficult
or impossible to solve mathematically
2 It allows an analyst or decision maker to experiment
with system behavior in a controlled environment
instead of in a real-life setting that has inherent risks
3 It enables a decision maker to compress time in order
to evaluate the long-term effects of various alternatives
4 It can serve as a mode for training decision makers by enabling them to observe the behavior of a system
under different conditions
Trang 33Companies. All rights reserved.
McGraw
Hill/Irwin 14–33
Limitations of Simulation
Limitations of Simulation
• Probabilistic simulation results are approximations,
rather than optimal solutions
• Good simulations can be costly and time-consuming to develop properly; they also can be time-consuming to run, especially in cases in which a large number of
trials are indicated
• A certain amount of expertise is required in order to
design a good simulation, and this may not be readily available
• Analytical techniques may be available that can provide better answers to problems