COMP155 Computer Simulation September 10, 2008. Discrete Event Simulation  discrete event simulation: state variable change only at a discrete set of.

Slides:



Advertisements
Similar presentations
Introduction into Simulation Basic Simulation Modeling.
Advertisements

Chapter 3 Process Description and Control
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
 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.
MIS 463 Decision Support Systems for Business Simulation-Part 1 Aslı Sencer.
Classification of Simulation Models
Components and Organization of Discrete-event Simulation Model
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
CPSC 531: DES Overview1 CPSC 531:Discrete-Event Simulation Instructor: Anirban Mahanti Office: ICT Class Location:
SIMULATION TECHNIQUES. Introduction What is digital simulation? – Design a model for a real or proposed system – Execute the model on a computer – Analyze.
Fundamental Simulation Concepts
Lab 01 Fundamentals SE 405 Discrete Event Simulation
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:
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Simulation Concepts Dr. Jason Merrick. Simulation with Arena — A Quick Peek at Arena C3/2 The above was just one “replication” -- a sample of size one.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
 1  Outline  world view of simulation  overview of ARENA  simple ARENA model: Model  basic operations: Model
CHP-4 QUEUE.
1 Chapter 2 Fundamental Simulation Concepts. Simulation with Arena Fundamental Simulation Concepts C2/2 What We’ll Do... Underlying ideas, methods, and.
Chapter 10. Simulation An Integrated Approach to Improving Quality and Efficiency Daniel B. McLaughlin Julie M. Hays Healthcare Operations Management.
1 System Is a section of reality Composed of components that interact with one another Can be a subsystem Has hypothetical boundaries Can include or input.
1 Chapter 2 Fundamental Simulation Concepts Dr. Jason Merrick.
Simulation with ArenaChapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Fundamental Simulation Concepts Chapter 2.
ETM 607 – Discrete Event Simulation Fundamentals Define Discrete Event Simulation. Define concepts (entities, attributes, event list, etc…) Define “world-view”,
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.
Digital Systems Simulation 56:178 M. C. (Jothi) Jothishankar, Ph.D. Advanced Manufacturing Technology Rockwell Collins.
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Chapter 2 Fundamental Simulation Concepts.
Slide 1 of 46 Fundamental Simulation Concepts Last revision June 7, 2003.
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Fundamental Simulation Concepts.
Slide 1 of 46 Fundamental Simulation Concepts Chapter 2.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Simulation of a Generic Cellular Manufacturing System Using Rockwell Arena Simulation Software This document provides a generic simulation model of a cellular.
Simulation Examples and General Principles
Chapter 2 Processes and Threads Introduction 2.2 Processes A Process is the execution of a Program More specifically… – A process is a program.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
Arena Simulation Language. Simulation with ArenaChapter 3 – A Guided Tour Through ArenaSlide 2 of 58 The Create Flowchart Module “Birth” node for entities.
Discrete Event (time) Simulation. What is a simulation? “Simulation is the process of designing a model of a real system and conducting experiments with.
Chapter 2 Fundamental Simulation Concepts
Object Oriented Discrete-Event Simulation CS4730 Fall 2010 Jose M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Dr. Anis Koubâa CS433 Modeling 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.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
 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,
Introduction The objective of simulation – Analysis the system (Model) Analytically the model – a description of some system intended to predict the behavior.
Simulation Examples And General Principles Part 2
Modeling and Simulation
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
Advanced Operating Systems CS6025 Spring 2016 Processes and Threads (Chapter 2)
OPERATING SYSTEMS CS 3502 Fall 2017
Process Management Process Concept Why only the global variables?
Pieces of a Simulation Entities
Getting Started .Cont The Basic Process Panel
Modeling and Simulation (An Introduction)
OPERATING SYSTEMS CS3502 Fall 2017
SIMULATION EXAMPLES QUEUEING SYSTEMS.
ميرعماد سليمانيان محمدرضا صمدي ميلاد ظفرنژاد.
World-Views of Simulation
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
Fundamental Simulation Concepts
MECH 3550 : Simulation & Visualization
Model 4-2: The Enhanced Electronic Assembly and Test System
Model 4-2: The Enhanced Electronic Assembly and Test System
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

COMP155 Computer Simulation September 10, 2008

Discrete Event Simulation  discrete event simulation: state variable change only at a discrete set of points in time  events: the set of points in time at which state changes occur

Steps in a Simulation Study from Discrete-Event Simulation 4 th ed. Banks et.al. Prentice Hall 2005

Example System  One type of entities: parts to be drilled multiple entities over time  One process: drilling a part  One resource: drill press required to complete drilling process one the drill press is in use for a part, it is not released until that part is finished  (this is the example system in chapters 2 and 3) Blank Part Arrives Finished Part Departs Drill Press Part in Service 4 Queue 567

Goals of Drill Press Study  What do we want to discover? How many parts can be processed in some time frame? What is average and maximum waiting time for parts in the queue? What is the maximum size of the queue? What are the average and maximum total time in system for parts? What is the utilization ratio of the drill press?

Components of a Simulation/Model  Entities  Attributes  Resources  Queues  Global Variables  Statistical Accumulators  Events  Simulation Clock

Entities  Things that move around, change status, and interact with other entities  Entities are dynamic objects: arrive, move around, leave  Usually represent “real” things DP system: entities are the parts May have “fake” entities for modeling “tricks” ○ Breakdown demon, break angel  May have multiple realizations (instances) in system concurrently  May have multiple types of entities concurrently

Attributes  Characteristic of all entities: describe, differentiate All entities of same type have same attribute “slots” but different values  Possible Attributes: ○ Time of arrival, due date, priority, color  Notion of an attribute is same as in other CS contexts (OO, UML, ER …)  Arena defines certain automatic attributes, developer adds application specific attributes

Resources  Resources are things that entities compete for ○ People, Equipment, Space  Entities seize a resource, use it, release it Better to think “resource is assigned to an entity”, rather than an “entity belonging to a resource”  Resources may have several units of capacity examples ○ seats at a table in a restaurant ○ identical ticketing agents at an airline counter Number of units of resource may change during a simulation run

Queues  A queue is a place for entities to wait when they can’t move forward example: need to seize an unavailable resource  Queues have names name often tied to a corresponding resource  Queues generally have finite capacity need to model what happens if an entity arrives at a full queue

Global Variables  Global Variables reflect characteristics of whole system, not of specific entities Examples: ○ Travel time between all station pairs ○ Number of parts in system ○ Simulation clock (built-in Arena variable)  Entities can access and change variables  Arena defines certain global variable, developer adds application GVs

Statistical Accumulators  Used to record information needed for output performance measures passive variables: used for recording, but not for processing in simulation  Arena automatically handles most statistical accumulators invisible to simulation logic

Variables vs. Accumulators  Global Variables: simulation clock number of parts in queue (now)  Statistical Accumulators: number of parts drilled (so far) total of queue waiting times (so far) max time in queue (so far) max time in system (so far)

Events  Something that happens at an instant of time  May change attributes, variables or statistical accumulators  System maintains an event calendar used to determine next interesting instance in time  Discrete-event simulation by definition, nothing in system changes between events

System Clock  Global variable maintained by Arena to track simulation time  Clock advances as events are processed

Experiment Design  A run or execution of a simulation gives information about one set of conditions with one set of random inputs  Multiple runs are needed to deal with: randomness configuration changes

Randomness in Simulation  A single simulation run is not sufficient for non-deterministic systems  Drill press simulation: five replications: Note substantial variability across replications

Comparing Alternatives  Goals may require comparison of different system configurations particularly when simulation is used for design what is the fastest, cheapest or “best” design  Drill press system: What would happen if the arrival rate were to double? Cut interarrival times in half Rerun the model for double-time arrivals Make five replications

Drill Press Simulation Results  Circles: original arrival times  Triangles: arrival rate doubled  solid: replication 1  hollow: replications 2-5

Assignment 3  Teams of 4  Develop a simulation study using Arena  Problems from IIE/RA annual contest IIE: Institute of Industrial Engineers RA: Rockwell Automation  Finished reports due September 29

Assignment 3: First Task  Goals of study informal list  Informal model of system block/flow diagram identify entities, resources, processes, queues