Chapter 2 Fundamental Simulation Concepts

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

Based on Law & Kelton, Simulation Modeling & Analysis, McGraw-Hill
Introduction into Simulation Basic Simulation Modeling.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
 1  Outline  performance measures for a single-server station  discrete-event simulation  hand simulation  process-oriented simulation approach.
Lecture 3 Concepts of Discrete-Event Simulation. 2 Discrete Event Model  In the discrete approach to system simulation, state changes in the physical.
Based on Law & Kelton, Simulation Modeling & Analysis, McGraw-Hill
Output Data Analysis. How to analyze simulation data? simulation –computer based statistical sampling experiment –estimates are just particular realizations.
Classification of Simulation Models
DISCRETE-EVENT SIMULATION CONCEPTS and EVENT SCHEDULING ALGORITHM
Components and Organization of Discrete-event Simulation Model
Simulation.
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
Simulation concepts and architectures. Simulation Basics System: a collecting of entities that act and interact together toward the accomplishment of.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Simulation Methodology Plan: –Introduce basics of simulation modeling –Define terminology.
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
Queueing Models: Data Collection and Hand Simulation from Prof. Goldsman’s lecture notes.
CPSC 531: DES Overview1 CPSC 531:Discrete-Event Simulation Instructor: Anirban Mahanti Office: ICT Class Location:
Simulation Based on Law & Kelton, Simulation Modeling & Analysis, McGraw-Hill.
Lecture 4 Mathematical and Statistical Models in Simulation.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Basic Simulation Modeling II
Graduate Program in Engineering and Technology Management
Chapter 14 Simulation. 2 What Is Simulation?  Simulation: A model of a complex system and the experimental manipulation of the model to observe the results.
Slide - 1 Dr Terry Hinton 6/9/05UniS - Based on Slides by Micro Analysis & Design An example of a Simulation Simulation of a bank: Three tasks or processes:
Introduction to Computer Simulation
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Verification & Validation
ETM 607 – Discrete Event Simulation Fundamentals Define Discrete Event Simulation. Define concepts (entities, attributes, event list, etc…) Define “world-view”,
Chapter 3 System Performance and Models. 2 Systems and Models The concept of modeling in the study of the dynamic behavior of simple system is be able.
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
Computer Science 112 Fundamentals of Programming II Modeling and Simulation.
1 Ch. 1 Basic Simulation Modeling. 2 Notas
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Chapter 2 Fundamental Simulation Concepts.
Modeling and Simulation Discrete-Event Simulation
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
NETW 707 Modeling and Simulation Amr El Mougy Maggie Mashaly.
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Basic Simulation Modeling Qianlan Dong Simulation Modeling and Analysis – Chapter 1 – Basic Simulation ModelingSlide 1 of 51.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
Network Performance modelling and simulation
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
11.7 Continued Probability. Independent Events ► Two events are independent if the occurrence of one has no effect on the occurrence of the other ► Probability.
COMP155 Computer Simulation September 10, Discrete Event Simulation  discrete event simulation: state variable change only at a discrete set of.
Chapter 2 Basic Simulation Modeling
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,
Unit 4 Simulation software. Introduction Software used to develop simulation models can be divided into 3 categories: – General-purpose programming languages:
MODELING AND SIMULATION CS 313 Simulation Examples 1.
Simulation Examples And General Principles Part 2
Simulation. Types of simulation Discrete-event simulation – Used for modeling of a system as it evolves over time by a representation in which the state.
Discrete-Event System Simulation in Java. Discrete Event Systems New dynamic systems New dynamic systems Computer and communication networks Computer.
Modeling and Simulation
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
Prepared by Lloyd R. Jaisingh
Modeling and Simulation (An Introduction)
Psychology 202a Advanced Psychological Statistics
Discrete Event Simulation
Modeling and Simulation CS 313
Basic Simulation Modeling II
More Explanation of an example in chapter4
World-Views of Simulation
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
MECH 3550 : Simulation & Visualization
Chapter 4: Simulation Designs
Presentation transcript:

Chapter 2 Fundamental Simulation Concepts Discrete-event simulation model The simulation models we consider will be discrete, dynamic, and stochastic - discrete-event simulation model Discrete-event simulation concerns the modeling of a system as it evolves over time by a representation in which the state variables change instantaneously at separate points in time. Def: event - instantaneous occurrence which (may) change the state of system. end the simulation

Time-Advance Mechanisms Def: Simulation clock - The variable in a simulation model gives the current simulated time. The unit of time is never explicitly when a model is written in a general-purpose language. The time needed to run a simulation on the computer Simulated Time

Time-Advance Mechanisms Two principal approaches for advancing the simulation clock Next-Event Time Advance The simulation clock is initialized to zero and the times of future events are determined. The simulation clock is then advanced to the time of occurrence of the most imminent(first) of these future events. (Ex 1.2, Law ) Fixed-Increment Time Advance

Components and Organization of a Discrete-Event Simulation Model System State - The collection of state variables necessary to describe the system at a particular time. Simulation Clock - A variable given the current value of simulation time. Event List - A list containing the next time when each type of event will occur. Statistical Counter - Variables used to storing statistical information about system performance.

Components and Organization of a Discrete-Event Simulation Model Initialization Routine - A subprogram to initialize the simulation model at time zero. Timing Routine - A subprogram that determine the next event from the event list and then advances the simulation clock to the time when that event is to occur. Event Routine - A subprogram that updates the system state when a particular type of event occurs (there is one event routine for each event type) Library Routine - A set of subprograms used to generate random observations from probability distributions that were determined as part of the simulation model.

Components and Organization of a Discrete-Event Simulation Model Report Generator - A subprogram that computes estimates (from the statistical counters) of the desired measures of performance and produces a report when the simulation ends (p.20). Main Program - A subprogram that invokes the timing routine to determine the next event and then transfer control to the corresponding event routine to update the system state appropriately. The main program may also check for termination and invoke the report generator when the simulation is over.

Flow of control for the next-event time advance approach

What output performance measures you want to collect? The total production The average waiting time in queue (Tally) The maximum time waiting in queue Service level guarantees to customer The time-average number of parts waiting in the queue Allocating floor space The maximum number of parts that were waiting in the queue

What output performance measures you want to collect? The average and maximum flow time (cycle time) The utilization of the machine

Some notes about simulation 1. Not optimization procedure The result is “Your cost will be c if you take action x” not “Your cost is minimized if you take action x” 2. Simulation Model : simplified model