module 8- simulation

Upload: chandnimurthy46404

Post on 03-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Module 8- Simulation

    1/21

    1

    The McGraw-Hill Companies, Inc., 2004

  • 7/28/2019 Module 8- Simulation

    2/21

    2

    The McGraw-Hill Companies, Inc., 2004

    Technical Note 16

    Simulation

  • 7/28/2019 Module 8- Simulation

    3/21

    3

    The McGraw-Hill Companies, Inc., 2004

    Definition of Simulation

    Simulation Methodology

    Proposing a New Experiment Considerations When Using Computer

    Models

    Types of Simulations

    Desirable Features of Simulation Software

    Advantages & Disadvantages of Simulation

    OBJECTIVES

  • 7/28/2019 Module 8- Simulation

    4/21

    4

    The McGraw-Hill Companies, Inc., 2004

    Simulation

    Defined

    A simulationis a computer-based model used

    to run experiments on a real system

    Typically done on a computer

    Determines reactions to different operating rules

    or change in structure

    Can be used in conjunction with traditionalstatistical and management science techniques

  • 7/28/2019 Module 8- Simulation

    5/21

    5

    The McGraw-Hill Companies, Inc., 2004

    Major Phases in a

    Simulation Study

    Start

    Define Problem

    Construct Simulation Model

    Specify values of variables and parameters

    Run the simulation

    Evaluate results

    Validation

    Propose new experiment

    Stop From Exhibit TN16.1

    Lets look at each

    of these steps in

    turn

  • 7/28/2019 Module 8- Simulation

    6/21

    6

    The McGraw-Hill Companies, Inc., 2004

    Simulation Methodology:Problem

    Definition

    Specifying the objectives

    Identifying the relevant controllable and

    uncontrollable variables of the system to

    be studied

  • 7/28/2019 Module 8- Simulation

    7/21

    7

    The McGraw-Hill Companies, Inc., 2004

    Constructing a Simulation Model

    Specification of Variables and Parameters

    Specification of Decision Rules

    Specification of Probability Distributions

    Specification of Time-Incrementing Procedure

  • 7/28/2019 Module 8- Simulation

    8/21

    8

    The McGraw-Hill Companies, Inc., 2004

    Data Collection & Random No. Interval

    Example Suppose you timed 20 athletes running the100-yard dash and tallied the information

    into the four time intervals below

    Seconds0-5.99

    6-6.99

    7-7.99

    8 or more

    Tallies Frequency4

    10

    4

    2

    You then count the tallies and make a frequency

    distribution

    %20

    50

    20

    10

    Then convert the frequencies into percentages

    Finally, use the percentages to develop the random number intervals

    RN Intervals00-19

    20-69

    70-89

    90-99

    Accum. %20

    70

    90

    100

    You then can add the frequencies into a cumulative distribution

  • 7/28/2019 Module 8- Simulation

    9/21

    9

    The McGraw-Hill Companies, Inc., 2004

    Specify Values of Variables and

    Parameters

    Determination of starting conditions

    Determination of run length

  • 7/28/2019 Module 8- Simulation

    10/21

    10

    The McGraw-Hill Companies, Inc., 2004

    Run the Simulation

    By computer

    Manually

  • 7/28/2019 Module 8- Simulation

    11/21

    11

    The McGraw-Hill Companies, Inc., 2004

    Evaluate Results

    Conclusions depend on

    the degree to which the model reflects the realsystem

    design of the simulation (in a statistical sense)

    The only true test of a simulation is how wellthe real system performs after the results ofthe study have been implemented

    12

  • 7/28/2019 Module 8- Simulation

    12/21

    12

    The McGraw-Hill Companies, Inc., 2004

    Validation

    Refers to testing the computer program to

    ensure that the simulation is correct

    To insure that the model results are

    representative of the real world systemthey seek to model

  • 7/28/2019 Module 8- Simulation

    13/21

    14

  • 7/28/2019 Module 8- Simulation

    14/21

    14

    The McGraw-Hill Companies, Inc., 2004

    Considerations When Using Computer

    Models Computer language selection

    Flowcharting

    Coding

    Data generation

    Output reports

    Validation

    15

  • 7/28/2019 Module 8- Simulation

    15/21

    15

    The McGraw-Hill Companies, Inc., 2004

    Types of Simulation Models

    Continuous Based on mathematical equations

    Used for simulating continuous values for all

    points in time Example: The amount of time a person spends in

    a queue

    Discrete Used for simulating specific values or specific

    points

    Example: Number of people in a queue

    16

  • 7/28/2019 Module 8- Simulation

    16/21

    16

    The McGraw-Hill Companies, Inc., 2004

    Desirable Features of Simulation Software

    Be capable of being used interactively as well as allowing

    complete runs

    Be user-friendly and easy to understand

    Allow modules to be built and then connected

    Allow users to write and incorporate their own routines

    Have building blocks that contain built-in commands

    Have macro capability, such as the ability to develop

    machining cells

    17

  • 7/28/2019 Module 8- Simulation

    17/21

    17

    The McGraw-Hill Companies, Inc., 2004

    Desirable Features of Simulation Software

    Have material-flow capability

    Output standard statistics such as cycle times,

    utilization, and wait times

    Allow a variety of data analysis alternatives for both

    input and output data

    Have animation capabilities to display graphicallythe product flow through the system

    Permit interactive debugging

    18

  • 7/28/2019 Module 8- Simulation

    18/21

    18

    The McGraw-Hill Companies, Inc., 2004

    Advantages of Simulation

    Often leads to a better understanding of the real

    system

    Years of experience in the real system can be

    compressed into seconds or minutes Simulation does not disrupt ongoing activities of the

    real system

    Simulation is far more general than mathematical

    models

    Simulation can be used as a game for training

    experience

    19

  • 7/28/2019 Module 8- Simulation

    19/21

    19

    The McGraw-Hill Companies, Inc., 2004

    Advantages of Simulation (Continued)

    Simulation provides a more realistic replication of a

    system than mathematical analysis

    Simulation can be used to analyze transient

    conditions, whereas mathematical techniques usually

    cannot

    Many standard packaged models, covering a wide

    range of topics, are available commercially

    Simulation answers what-if questions

    20

  • 7/28/2019 Module 8- Simulation

    20/21

    20

    The McGraw-Hill Companies, Inc., 2004

    Disadvantages of Simulation

    There is no guarantee that the model will, in fact,provide good answers

    There is no way to prove reliability

    Building a simulation model can take a great deal of

    time Simulation may be less accurate than mathematical

    analysis because it is randomly based

    A significant amount of computer time may be

    needed to run complex models The technique of simulation still lacks a standardized

    approach

    21

  • 7/28/2019 Module 8- Simulation

    21/21

    21

    End of Technical Note 16