SlideShare a Scribd company logo
INTRODUCTION TO SIMULATION
WHAT IS SIMULATION? The imitation of the operation of a real-world process or system  over time… Most widely used tool (along LP) for decision making  Usually on a computer with appropriate software An analysis (descriptive) tool – can answer what if questions A synthesis (prescriptive) tool – if complemented by other tools Applied to complex systems that are impossible to solve mathematically This course focuses on one form of simulation modelling – discrete-event simulation modelling.
APPLICATIONS Systems – facility or process, actual or planned Examples Manufacturing facility Bank operation Airport operations (passengers, security, planes, crews, baggage) Transportation/logistics/distribution operation Hospital facilities (emergency room, operating room, admissions) Computer network Freeway system Business process (insurance office) Criminal justice system Chemical plant Fast-food restaurant Supermarket Theme park Emergency-response system
SYSTEM A set of interacting components or entities operating together to achieve a common goal or objective. Examples: A manufacturing system with its machine centers, inventories, conveyor belts, production schedule, items produced. A telecommunication system with its messages, communication network servers. A theme park with rides, workers, … REAL WORLD SYSTEMS OF INTEREST ARE HIGHLY COMPLEX!!!
WHY & HOW TO STUDY A SYSTEM System Experiment with the actual system Experiment with a  mathematical model of the system Mathematical Analysis Simulation Measure/estimate performance Improve operation Prepare for failures IE 325 IE 202 IE 303 … IE 324 Experiment with  a  physical model of the system
MATHEMATICAL MODEL An  abstract  and  simplified  representation of a system Specifies Important components Assumptions/approximations about how the system works Not an exact re-creation of the original system! If model is simple enough, study it with Queueing Theory, Linear Programming, Differential Equations... If model is complex, Simulation is the only way!!!
GETTING ANSWERS FROM MODELS MODEL Operating Policies Single queue, parallel servers FIFO Input Parameters No of servers Inter-arrival Time Distribution Service Time Distributions Output Parameters Waiting Times System Size Utilizations (X) (Y) Y = f (X) ACTUAL SYSTEM
STOCHASTIC MODELS Randomness or uncertainty is inherent Example: Bank with customers and tellers ACTUAL SYSTEM    QUEUEING MODEL  IE325
CLASSIFICATION OF SIMULATION MODELS Static (Monte Carlo) Dynamic Systems Represents the system at a particular point in time IID observations Represents the system behaviour over time Continuous Simulation: (Stochastic) Differential Equations Discrete Event Simulation: System quantities (state variables) change with events Estimation of   Risk Analysis in Business Water Level in a Dam Queueing Systems Inventory Systems
HOW TO SIMULATE By hand Buffon Needle and Cross Experiments (see Kelton et al.) Spreadsheets Programming in General Purpose Languages Java Simulation Languages SIMAN Simulation Packages Arena Issue: Modeling Flexibility vs. Ease of Use
ADVANTAGES OF SIMULATION When mathematical analysis methods are not available, simulation may be the only investigation tool When mathematical analysis methods are available, but are so complex that simulation may provide a simpler solution Allows comparisons of alternative designs or alternative operating policies Allows time compression or expansion
DISADVANTAGES OF SIMULATION For a stochastic model, simulation  estimates  the output while an analytical solution, if available, produces the exact output Often expensive and time consuming to develop An invalid model may result with confidence in wrong results.
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
PROBLEM FORMULATION A statement of the problem the problem is clearly understood by the simulation analyst the formulation is clearly understood by the client
SETTING OF OBJECTIVES & PROJECT PLAN  Project Proposal Determine the questions that are to be answered Identify scenarios to be investigated Decision criteria Determine the end-user Determine data requirements Determine hardware, software, & personnel requirements  Prepare a time plan Cost plan and billing procedure
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
MODEL CONCEPTUALIZATION Assumed system Conceptual model Real World System Logical model
CONCEPTUAL MODEL Abstract essential features Events, activities, entities, attributes, resources, variables, and their relationships Performance measures  Data requirements Select correct level of details (assumptions)
LEVELS OF DETAIL Low levels of detail may result in lost of information and goals cannot be accomplished High levels of detail require: more time and effort longer simulation runs more likely to contain errors
Accuracy of the model Scope & level of details Scope & level of details Cost of model
COMPONENTS OF A SYSTEM Entity :  is an object of interest in the system   Dynamic objects  — get created, move around, change status, affect and are affected by other entities, leave (maybe) Usually have multiple  realizations  floating around Can have different types of entities concurrently Example: Health Center Patients Visitors
COMPONENTS OF A SYSTEM Attribute :  is a characteristic of all entities, but with a specific value “local” to the entity that can differ from one entity to another . Example: Patient Type of illness, Age, Sex,  Temperature, Blood Pressure
COMPONENTS OF A SYSTEM Resources :   what entities compete for Entity  seizes  a resource, uses it,  releases  it Think of a  resource being assigned to an entity , rather than an entity “belonging to” a resource “ A” resource can have several  units  of capacity which can be changed during the simulation Example: Health Center Doctors, Nurses X-Ray Equipment
COMPONENTS OF A SYSTEM Variable :  A piece of information that reflects some characteristic of the whole system, not of specific entities Entities can access, change some variables Example: Health Center Number of patients in the system, Number of idle doctors, Current time
State : A collection of variables that contains all the information necessary to describe the system at any time COMPONENTS OF A SYSTEM Example: Health Center {Number of patients in the system, Status of doctors (busy or idle), Number of idle doctors, Status of Lab equipment, etc}
Event :  An instantaneous occurrence that changes the state of the system COMPONENTS OF A SYSTEM Example: Health Centre Arrival of a new patient,  Completion of service (i.e., examination) Failure of medical equipment, etc.
COMPONENTS OF A SYSTEM Activity :  represents a time period of specified length. Example: Health Center Surgery, Checking temperature,  X-Ray.
LOGICAL (FLOWCHART) MODEL Shows the logical relationships among the elements of the model Q(t)> 0 ? 3 YES NO 2 Departure event Q(t)=Q(t)-1 B(t)=0 Generate service &  schedule new departure Collect & update statistics TB, TQ, TL, N L(t)=L(t)-1 L : # of entities in system Q : # of entities in queue B : # of entities in server
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
DATA COLLECTION & ANALYSIS Collect data for input analysis and validation Analysis of the data Determine the random variables Fit distribution functions
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
MODEL TRANSLATION Simulation model executes the logic contained in the flow-chart model Coding General Purpose Language Special Purpose Simulation Language/Software JAVA, C++, Visual BASIC Examples: SIMAN, ARENA, EXTEND Examples:
ARENA EXAMPLE
JAVA EXAMPLE public static void main( String  argv[]) { Initialization(); //Loop until first &quot;TotalCustomers&quot; have departed while (NumberofDepartures < TotalCustomers) { Event  evt = FutureEventList[0]; //get imminent event removefromFEL(); //be rid of it Clock = evt.get_time(); //advance in time if (evt.get_type() == arrival) ProcessArrival(); else ProcessDeparture(); } ReportGeneration(); }
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
VERIFICATION AND VALIDATION Verification : the process of determining if the operational logic is correct. Debugging the simulation software Validation :   the process of determining if the model accurately represents the system. Comparison of model results with collected data from the real system
VERIFICATION AND VALIDATION Conceptual model Logical model Simulation model Real World System VERIFICATION VALIDATION
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
EXPERIMENTAL DESIGN Alternative scenarios to be simulated Type of output data analysis (steady-state vs. terminating simulation analysis)  Number of simulation runs Length of each run The manner of initialization Variance reduction
ANALYSIS OF RESULTS Statistical tests for significance and ranking Point Estimation Confidence-Interval Estimation Interpretation of results More runs?
STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
DOCUMENTATION & REPORTING Program Documentation Allows future modifications Creates confidence Progress Reports Frequent reports (e.g. monthly) are suggested Alternative scenarios Performance measures or criteria used Results of experiments Recommendations
IMPLEMENTATION FAILURE SUCCESS ?

More Related Content

PPTX
Modelling and simulation
PPTX
Simulation & Modelling
PDF
Discrete mathematical structure complete notes of 3rd semester B.tech.
PPTX
System Modeling & Simulation Introduction
PPT
Simulation Techniques
PPTX
Lesson 1 In the Beginning (Big Bang Theory and the Formation of Light Elements)
PPTX
Learning strategies
PPT
Simulation
Modelling and simulation
Simulation & Modelling
Discrete mathematical structure complete notes of 3rd semester B.tech.
System Modeling & Simulation Introduction
Simulation Techniques
Lesson 1 In the Beginning (Big Bang Theory and the Formation of Light Elements)
Learning strategies
Simulation

What's hot (20)

PPTX
Introduction to simulation modeling
PPT
Simulation and Modeling
PPTX
SIMULATION
PPTX
Monte Carlo Simulation
PPTX
Simulation
PPT
Modelling simulation (1)
PPT
Simulation Powerpoint- Lecture Notes
PPTX
Simulation, Modeling, it’s application, advantage & disadvantage
PDF
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
PDF
System simulation & modeling notes[sjbit]
PPTX
Introduction to simulation and modeling
PPT
Discrete And Continuous Simulation
PPTX
Unit 1 introduction to simulation
PDF
SE_Lec 05_System Modelling and Context Model
PPTX
Desirable software features simulation & modeling
PPTX
Types of Mathematical Model.
PPT
Monte Carlo Simulations
PPTX
Interaction Modeling
PPTX
The monte carlo method
Introduction to simulation modeling
Simulation and Modeling
SIMULATION
Monte Carlo Simulation
Simulation
Modelling simulation (1)
Simulation Powerpoint- Lecture Notes
Simulation, Modeling, it’s application, advantage & disadvantage
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System simulation & modeling notes[sjbit]
Introduction to simulation and modeling
Discrete And Continuous Simulation
Unit 1 introduction to simulation
SE_Lec 05_System Modelling and Context Model
Desirable software features simulation & modeling
Types of Mathematical Model.
Monte Carlo Simulations
Interaction Modeling
The monte carlo method
Ad

Viewers also liked (15)

PPTX
PPT
Operational research
PDF
Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)
PPTX
Simulation PowerPoint
PPTX
compiler and their types
PPTX
Difference Between Emulation & Simulation
PPTX
Compilers
ODP
GCC, GNU compiler collection
PPTX
Emulation and simulation
PPT
Introduction to compiler
PPT
Assembler
PPT
PPTX
Assemblers
PPT
Assembler
PPTX
Two pass Assembler
Operational research
Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)
Simulation PowerPoint
compiler and their types
Difference Between Emulation & Simulation
Compilers
GCC, GNU compiler collection
Emulation and simulation
Introduction to compiler
Assembler
Assemblers
Assembler
Two pass Assembler
Ad

Similar to Introduction to Simulation (20)

PPTX
Lecture 1 of system simulation and modulation.pptx
PDF
Introduction to Modeling and Simulation
PPT
An Overview of Performance Evaluation & Simulation
PPTX
Introduction to System, Simulation and Model
PPTX
Analyzing event data: Where Does All the Time Go?
PPT
Cs854 lecturenotes01
PDF
Observability foundations in dynamically evolving architectures
PPT
simulation modeling in DSS
PPT
Queuing theory for modelling and sumilation.ppt
PDF
Bank entities.pdf
PPTX
2. System Simulation modeling unit i
PDF
Introduction to simulation.pdf
PDF
SIMULATION.pdf
PDF
Discrete Event Simulation in Healthcare
PPT
INCOSE 20100121
PDF
Specifying quantities in software models
PPTX
Monitoring Distributed Systems
PPT
Carasik BPM ECM
PPTX
Acceptance Sampling Reliability Design of Experiments.pptx
PPT
201201 ureason introduction to use
Lecture 1 of system simulation and modulation.pptx
Introduction to Modeling and Simulation
An Overview of Performance Evaluation & Simulation
Introduction to System, Simulation and Model
Analyzing event data: Where Does All the Time Go?
Cs854 lecturenotes01
Observability foundations in dynamically evolving architectures
simulation modeling in DSS
Queuing theory for modelling and sumilation.ppt
Bank entities.pdf
2. System Simulation modeling unit i
Introduction to simulation.pdf
SIMULATION.pdf
Discrete Event Simulation in Healthcare
INCOSE 20100121
Specifying quantities in software models
Monitoring Distributed Systems
Carasik BPM ECM
Acceptance Sampling Reliability Design of Experiments.pptx
201201 ureason introduction to use

More from chimco.net (9)

PPT
Một số lỗi thường gặp khi bạn bắt đầu viết Paper
PPT
Experiences exchange - A paper publication
PPT
My way to publish
PPT
Dịch Anh-Việt
PPT
유한요소법(FEM)을 이용한 구조해석
PPT
P/M: Basics
PPT
Solid state sintering
PPT
ABAQUS Lecture Part II
PPT
ABAQUS Lecture Part I
Một số lỗi thường gặp khi bạn bắt đầu viết Paper
Experiences exchange - A paper publication
My way to publish
Dịch Anh-Việt
유한요소법(FEM)을 이용한 구조해석
P/M: Basics
Solid state sintering
ABAQUS Lecture Part II
ABAQUS Lecture Part I

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Classroom Observation Tools for Teachers
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Business Ethics Teaching Materials for college
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Basic Mud Logging Guide for educational purpose
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Pre independence Education in Inndia.pdf
Final Presentation General Medicine 03-08-2024.pptx
Classroom Observation Tools for Teachers
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Business Ethics Teaching Materials for college
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Complications of Minimal Access Surgery at WLH
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Module 4: Burden of Disease Tutorial Slides S2 2025
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Renaissance Architecture: A Journey from Faith to Humanism
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
O5-L3 Freight Transport Ops (International) V1.pdf
RMMM.pdf make it easy to upload and study
Basic Mud Logging Guide for educational purpose
STATICS OF THE RIGID BODIES Hibbelers.pdf
Pre independence Education in Inndia.pdf

Introduction to Simulation

  • 2. WHAT IS SIMULATION? The imitation of the operation of a real-world process or system over time… Most widely used tool (along LP) for decision making Usually on a computer with appropriate software An analysis (descriptive) tool – can answer what if questions A synthesis (prescriptive) tool – if complemented by other tools Applied to complex systems that are impossible to solve mathematically This course focuses on one form of simulation modelling – discrete-event simulation modelling.
  • 3. APPLICATIONS Systems – facility or process, actual or planned Examples Manufacturing facility Bank operation Airport operations (passengers, security, planes, crews, baggage) Transportation/logistics/distribution operation Hospital facilities (emergency room, operating room, admissions) Computer network Freeway system Business process (insurance office) Criminal justice system Chemical plant Fast-food restaurant Supermarket Theme park Emergency-response system
  • 4. SYSTEM A set of interacting components or entities operating together to achieve a common goal or objective. Examples: A manufacturing system with its machine centers, inventories, conveyor belts, production schedule, items produced. A telecommunication system with its messages, communication network servers. A theme park with rides, workers, … REAL WORLD SYSTEMS OF INTEREST ARE HIGHLY COMPLEX!!!
  • 5. WHY & HOW TO STUDY A SYSTEM System Experiment with the actual system Experiment with a mathematical model of the system Mathematical Analysis Simulation Measure/estimate performance Improve operation Prepare for failures IE 325 IE 202 IE 303 … IE 324 Experiment with a physical model of the system
  • 6. MATHEMATICAL MODEL An abstract and simplified representation of a system Specifies Important components Assumptions/approximations about how the system works Not an exact re-creation of the original system! If model is simple enough, study it with Queueing Theory, Linear Programming, Differential Equations... If model is complex, Simulation is the only way!!!
  • 7. GETTING ANSWERS FROM MODELS MODEL Operating Policies Single queue, parallel servers FIFO Input Parameters No of servers Inter-arrival Time Distribution Service Time Distributions Output Parameters Waiting Times System Size Utilizations (X) (Y) Y = f (X) ACTUAL SYSTEM
  • 8. STOCHASTIC MODELS Randomness or uncertainty is inherent Example: Bank with customers and tellers ACTUAL SYSTEM    QUEUEING MODEL  IE325
  • 9. CLASSIFICATION OF SIMULATION MODELS Static (Monte Carlo) Dynamic Systems Represents the system at a particular point in time IID observations Represents the system behaviour over time Continuous Simulation: (Stochastic) Differential Equations Discrete Event Simulation: System quantities (state variables) change with events Estimation of  Risk Analysis in Business Water Level in a Dam Queueing Systems Inventory Systems
  • 10. HOW TO SIMULATE By hand Buffon Needle and Cross Experiments (see Kelton et al.) Spreadsheets Programming in General Purpose Languages Java Simulation Languages SIMAN Simulation Packages Arena Issue: Modeling Flexibility vs. Ease of Use
  • 11. ADVANTAGES OF SIMULATION When mathematical analysis methods are not available, simulation may be the only investigation tool When mathematical analysis methods are available, but are so complex that simulation may provide a simpler solution Allows comparisons of alternative designs or alternative operating policies Allows time compression or expansion
  • 12. DISADVANTAGES OF SIMULATION For a stochastic model, simulation estimates the output while an analytical solution, if available, produces the exact output Often expensive and time consuming to develop An invalid model may result with confidence in wrong results.
  • 13. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 14. PROBLEM FORMULATION A statement of the problem the problem is clearly understood by the simulation analyst the formulation is clearly understood by the client
  • 15. SETTING OF OBJECTIVES & PROJECT PLAN Project Proposal Determine the questions that are to be answered Identify scenarios to be investigated Decision criteria Determine the end-user Determine data requirements Determine hardware, software, & personnel requirements Prepare a time plan Cost plan and billing procedure
  • 16. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 17. MODEL CONCEPTUALIZATION Assumed system Conceptual model Real World System Logical model
  • 18. CONCEPTUAL MODEL Abstract essential features Events, activities, entities, attributes, resources, variables, and their relationships Performance measures Data requirements Select correct level of details (assumptions)
  • 19. LEVELS OF DETAIL Low levels of detail may result in lost of information and goals cannot be accomplished High levels of detail require: more time and effort longer simulation runs more likely to contain errors
  • 20. Accuracy of the model Scope & level of details Scope & level of details Cost of model
  • 21. COMPONENTS OF A SYSTEM Entity : is an object of interest in the system Dynamic objects — get created, move around, change status, affect and are affected by other entities, leave (maybe) Usually have multiple realizations floating around Can have different types of entities concurrently Example: Health Center Patients Visitors
  • 22. COMPONENTS OF A SYSTEM Attribute : is a characteristic of all entities, but with a specific value “local” to the entity that can differ from one entity to another . Example: Patient Type of illness, Age, Sex, Temperature, Blood Pressure
  • 23. COMPONENTS OF A SYSTEM Resources : what entities compete for Entity seizes a resource, uses it, releases it Think of a resource being assigned to an entity , rather than an entity “belonging to” a resource “ A” resource can have several units of capacity which can be changed during the simulation Example: Health Center Doctors, Nurses X-Ray Equipment
  • 24. COMPONENTS OF A SYSTEM Variable : A piece of information that reflects some characteristic of the whole system, not of specific entities Entities can access, change some variables Example: Health Center Number of patients in the system, Number of idle doctors, Current time
  • 25. State : A collection of variables that contains all the information necessary to describe the system at any time COMPONENTS OF A SYSTEM Example: Health Center {Number of patients in the system, Status of doctors (busy or idle), Number of idle doctors, Status of Lab equipment, etc}
  • 26. Event : An instantaneous occurrence that changes the state of the system COMPONENTS OF A SYSTEM Example: Health Centre Arrival of a new patient, Completion of service (i.e., examination) Failure of medical equipment, etc.
  • 27. COMPONENTS OF A SYSTEM Activity : represents a time period of specified length. Example: Health Center Surgery, Checking temperature, X-Ray.
  • 28. LOGICAL (FLOWCHART) MODEL Shows the logical relationships among the elements of the model Q(t)> 0 ? 3 YES NO 2 Departure event Q(t)=Q(t)-1 B(t)=0 Generate service & schedule new departure Collect & update statistics TB, TQ, TL, N L(t)=L(t)-1 L : # of entities in system Q : # of entities in queue B : # of entities in server
  • 29. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 30. DATA COLLECTION & ANALYSIS Collect data for input analysis and validation Analysis of the data Determine the random variables Fit distribution functions
  • 31. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 32. MODEL TRANSLATION Simulation model executes the logic contained in the flow-chart model Coding General Purpose Language Special Purpose Simulation Language/Software JAVA, C++, Visual BASIC Examples: SIMAN, ARENA, EXTEND Examples:
  • 34. JAVA EXAMPLE public static void main( String argv[]) { Initialization(); //Loop until first &quot;TotalCustomers&quot; have departed while (NumberofDepartures < TotalCustomers) { Event evt = FutureEventList[0]; //get imminent event removefromFEL(); //be rid of it Clock = evt.get_time(); //advance in time if (evt.get_type() == arrival) ProcessArrival(); else ProcessDeparture(); } ReportGeneration(); }
  • 35. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 36. VERIFICATION AND VALIDATION Verification : the process of determining if the operational logic is correct. Debugging the simulation software Validation : the process of determining if the model accurately represents the system. Comparison of model results with collected data from the real system
  • 37. VERIFICATION AND VALIDATION Conceptual model Logical model Simulation model Real World System VERIFICATION VALIDATION
  • 38. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 39. EXPERIMENTAL DESIGN Alternative scenarios to be simulated Type of output data analysis (steady-state vs. terminating simulation analysis) Number of simulation runs Length of each run The manner of initialization Variance reduction
  • 40. ANALYSIS OF RESULTS Statistical tests for significance and ranking Point Estimation Confidence-Interval Estimation Interpretation of results More runs?
  • 41. STEPS IN A SIMULATION STUDY Problem formulation Setting of objectives and overall project plan Model conceptualization Data collection Model translation Verified? No Validated? No No Experimental Design Production runs and analysis More runs? Documentation and reporting No Implementation Yes Yes Yes Yes
  • 42. DOCUMENTATION & REPORTING Program Documentation Allows future modifications Creates confidence Progress Reports Frequent reports (e.g. monthly) are suggested Alternative scenarios Performance measures or criteria used Results of experiments Recommendations