Discrete-Event System Simulation

Slides:



Advertisements
Similar presentations
Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Advertisements

Modeling and Simulation By Lecturer: Nada Ahmed. Introduction to simulation and Modeling.
Introduction into Simulation Basic Simulation Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition
INTRODUCTION TO MODELING
Dealing with Complexity Robert Love, Venkat Jayaraman July 24, 2008 SSTP Seminar – Lecture 10.
Modeling and Simulation
Modeling and simulation of systems Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Case Tools Trisha Cummings. Our Definition of CASE  CASE is the use of computer-based support in the software development process.  A CASE tool is a.
Discrete Event Simulation - Ch. 1 Instructor: Giampiero Pecelli Office Phone: Office: Olsen 225 Office Hours: Before.
Chapter 15 Application of Computer Simulation and Modeling.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Model Classification and Steps in a Simulation Study
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Simulation.
Lecture 7 Model Development and Model Verification.
Introduction1 What Is A Model ? A Representation of an object, a system, or an idea in some form other than that of the entity itself. (Shannon)
Creating Architectural Descriptions. Outline Standardizing architectural descriptions: The IEEE has published, “Recommended Practice for Architectural.
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
SIMULATION. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
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.
Feedback Control Systems (FCS)
Basic Simulation Modeling II
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
INTRODUCTION TO SIMULATION
Modeling and Simulation
Discrete Event Systems Simulation
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
Chapter 1 Introduction to Simulation
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Introduction to simulation. Overview What is simulation ? When simulation is appropriate tool When simulation is not appropriate Advantages of simulation.
Simulation, Animation, Virtual Reality and Virtual Manufacturing Simulation By Poorya Ghafoorpoor Yazdi.
"The technique of imitating the behavior of some situation or
Classroom Assessments Checklists, Rating Scales, and Rubrics
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
Modeling and simulation of systems Model building Slovak University of Technology Faculty of Material Science and Technology in Trnava.
SE: CHAPTER 7 Writing The Program
Structured Analysis.
1 Introduction to Software Engineering Lecture 1.
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.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Building Simulation Model In this lecture, we are interested in whether a simulation model is accurate representation of the real system. We are interested.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
Lecture 1 – Operations Research
Introduction to Simulation K.Sailaja Kumar 1 SYSTEM SIMULATION AND MODELLING Course Code: MCA 52 Faculty : Sailaja Kumar k.
Introduction to Operations Research. MATH Mathematical Modeling 2 Introduction to Operations Research Operations research/management science –Winston:
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.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
CS433 Modeling and Simulation Lecture 09 – Part 02 Discrete Events Simulation Dr. Anis Koubâa 27 Dec 2008 Al-Imam.
ENM 307 Simulation Department of Industrial Engineering Anadolu University SPRING 2016 Chapter 1 Basic Simulation Modeling Onur Kaya END 201, Ext: 6439.
 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,
Mohammed Mahdi Computer Engineering Department Philadelphia University Monzer Krishan Electrical Engineering Department Al-Balqa.
NETW 707: Modeling & Simulation Course Instructor: Tallal Elshabrawy Instructor Office: C3.321 Instructor Teaching.
Introduction To Modeling and Simulation 1. A simulation: A simulation is the imitation of the operation of real-world process or system over time. A Representation.
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Software Design Process. What is software? mid-1970s executable binary code ‘source code’ and the resulting binary code 1990s development of the Internet.
Texts: Gordon G N Deo J Banks et al.  Definition  Advantages and disadvantages  Suitability  Applications  Models  Components of system  Simple.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
OPERATING SYSTEMS CS 3502 Fall 2017
Modeling and Simulation (An Introduction)
Chapter 1.
Simulation Department of Industrial Engineering Anadolu University
Basic Simulation Modeling II
Onur Kaya END 201, Ext: 6439 ENM 307 Simulation Department of Industrial Engineering Anadolu University SPRING 2018 Chapter.
Discrete-Event System Simulation
MECH 3550 : Simulation & Visualization
SIMULATION IN THE FINANCE INDUSTRY BY HARESH JANI
Presentation transcript:

Discrete-Event System Simulation An Introduction to the Basic Principles of Simulation

Required Text “Discrete-Event System Simulation” 5th Edition Banks/Carson/Nelson/Nicol Other editions are probably adequate, but not exactly as the 5th.

Modeling Modeling involves observing a system, noting the various components, then developing a representation of the system that will allow for further study of or experimentation on the system Focus – computer model Data Structures & Implementation Interaction of the components

Simulation The process of running a (computer) model of a real system to study or conduct experiments For understanding the model or its behavior To evaluate strategies for operation of the system Involves generation of an artificial history, used to draw conclusions about the real system

Modeling & Simulation Often described as one process Should distinguish between the two

System A set of inputs which pass through certain processes to produce outputs A set of related components which work together toward a given goal A group of objects joined in regular interactions or interdependence for the accomplishment of some purpose Helpful if a system is observable, measurable, systematic

System Environment “World” in which the system exists System is affected by elements outside the system – the system environment Boundary – “line” between the system & its environment Decision on boundary is dependent upon simulation purpose

System Components Consists of objects called ENTITIES Entities have a set of properties called ATTRIBUTES that describe them There exist interactions called ACTIVITIES and or EVENTS that occur between the entities that cause them to change The STATE OF A SYSTEM is a snapshot of the system at a given time i.e. variables necessary to describe system The model starts in its INITIAL STATE

Activities & Events Cause changes in the attributes of the entities, and, therefore, the state of the system Event: instantaneous Activity: has a length of time

System Component Examples Bank Computer Network Hospital Emergency Room (Homework)

Simulation as the Appropriate Tool Enables study and experimentation Changes simulated & results observed Gain knowledge of system Determining importance of variables and how variables interact Experiment before implementation Verify analytic solutions

Simulation as the Appropriate Tool (cont’d.) Try different capabilities (of a machine) Training Animation (graphics) Complexity of modern systems almost require simulation

When Simulation is Not Appropriate If can be solved by Common sense or simple calculations Analytical methods Direct experiments If simulation costs exceed savings If resources & time are not available

When Simulation is Not Appropriate (cont’d.) If Data is not available If verification & validation are not practical due to limited resources If users have unreasonable expectations If system behavior is too complex

Advantages of Simulation 1. Control 2. Time compression 3. Sensitivity Analysis 4. Training tool 5. Doesn’t disturb real system

Advantages (Pegden, et al. 1995) New policies, operating procedures, decision rules, information flows, organizational procedures, etc. can be explored w/o disrupting ongoing operations New hardware designs, physical layouts, transportation systems, etc. can be tested w/o committing resources for their acquisition Hypotheses about how or why certain phenomena occur can be tested for feasibility

Advantages #2 Time can be compressed or expanded allowing for speedup or slowdown of the phenomena under consideration Insight about the interaction of variables or the importance of variables on performance of the system Bottleneck analysis can be performed indicating where processes are being delayed “What if?” questions can be answered – particularly for a new system

Disadvantages of Simulation 1. Expensive 2. Extensive time needed 3. Lack of experienced personnel

Disadvantages (Pegden et al. 1995) Model building requires special training and experience Results may be difficult to interpret Time consuming and expensive Use of simulation when analytical models are available and preferable, particularly for closed-form models

Offsetting Disadvantages Simulation Software Provides templates Analysis capabilities Faster simulations Most systems do not fit closed-form models

Why Simulate? To save money To do things you could not physically or morally do within the actual system

Why is simulation not used more? Cost Lack of familiarity People think their judgment or experience is good enough

Areas of Application Manufacturing, Semiconductor Mfg. Construction & Project Management Military Logistics, Supply Chain, Distribution Transportation & Traffic Business Processes Health Care

Current General Trends Risk Analysis Insurance, options pricing, portfolio analysis Call Center Analysis Large Scale Systems Internet backbones, wireless networks, supply chains Automated Materials Handling (AMHS) Control system sw - emulator

Activities & Events 2 types of Events or Activities Endogenous: variables affecting the system which are (can be) manipulated within the system Exogenous: variable which affect the system but cannot be manipulated by the system because they are outside the system.

Activities / Events Problem!!! How can we determine the boundary of a system? What variables will be necessary and important in the simulation?

Classifications of Systems 1. Static (Monte Carlo) vs. Dynamic 2. Deterministic vs. Stochastic 3. Continuous vs. Discrete D: state vars. change at discrete points in time C: state vars. change continuously over time Simulate Stochastic - Dynamic - Discrete or Continuous

Model The representation of an object in some form other than the form of the object itself, usually for the purpose of study or experimentation Why Model??? 1. training or instruction 2. to aid thought 3. to aid communication 4. prediction 5. experimentation 6. ** to aid decision making process

Classification of Models 1. Physical: an actual representation 2. Schematic: a pictorial representation 3. Descriptive: a verbal description 4. Mathematical: components are described mathematically, in the form of equations 5. Heuristics: descriptive model based on rules; algorithmic; - computer based

Characteristics of a Good Model Simple to understand Goal directed Robust Easy to control Complete on important issues Adaptive and easy to update Evolutionary

Steps in a Simulation Study (Figure 1.3) Problem Formulation Statement of the problem Set Objectives & Project Plan Questions to be answered Is simulation appropriate? Methods, alternatives Allocation of resources People, cost, time, etc.

Steps in a Simulation Study (cont’d.) Model Conceptualization Requires experience Begin simple and add complexity Capture essence of system Involve the user Data Collection Time consuming, begin early Determine what is to be collected

Steps in a Simulation Study (cont’d.) Model translation Computer form general purpose vs. special purpose lang. Verification Does the program represent model and run properly? Common sense Validated? Compare model to actual system Does model replicate system?

Steps in a Simulation Study (cont’d.) Experimental Design Determine alternatives to simulate Time, initializations, etc. Production & Analysis Actual runs + Analysis of results Determine performance measures More Runs?

Steps in a Simulation Study (cont’d.) Documentation & Reporting Program & Progress Documents Thoroughly document program – will likely be used over time Progress reports are important as project continues – history, chronology – changes, etc. Implementation

Ten Reasons for Failure (notes) 1.Failure to define an achievable goal 2.Incomplete mix of essential skills Project leadership Modeling Programming Knowledge of modeled system 3.Inadequate level of user participation 4. Inappropriate level of detail 5.Poor communication

Failure (cont.) 6. Using the wrong computer language 7. Obsolete or Nonexistent Documentation 8. Using an unverified model 9. Failure to use modern tools and techniques to manage the development of a large complex computer program 10. Using Mysterious Results

Stochastic Behavior Monte Carlo Pseudorandom Random, but not over time E.G. Darts on a dart board Pseudorandom Time dependent, Reproducible E.G. Customer arrivals

Problem: Simulate a major traffic intersection with objective of improving traffic flow. Provide 3 iterations of increasing detail 1. Problem Formulation 2. Set objectives & overall project plan

First Iteration 1. Traffic is congested 2. Reduce traffic congestion

Second Iteration 1. Traffic on westbound street A is backed up 2. Improve traffic flow, Westbound street A by modifying traffic light

Third Iteration 1. Westbound traffic on Street A, turning south onto street B cannot easily cross so traffic blocks up. 2. Improve traffic flow on Westbound Street A by making a turn only lane to the south with a protected turn traffic signal.

Homework Problem 1 on page 22 – (a, d, e) Sketch a diagram of your view of each system For each system: Name 5 entities, 3 attributes of each entity, 5 activities, the 10 events corresponding to the 5 activities, 5 state variables Type up and turn in on (TBA)

Do Examples from Ch. 2