Discrete Event Simulation

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

Discrete Event (time) Simulation Kenneth.
Introduction into Simulation Basic Simulation Modeling.
Parallel and Distributed Simulation
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Classification of Simulation Models
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
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. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
1 Simulation Modeling and Analysis Output Analysis.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Today’s Lecture Process model –initial & always statements Assignments –Continuous & procedural assignments Timing Control System tasks.
Unit 3b Industrial Control Systems
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
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.
Chapter 1 Introduction to Simulation
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
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
Network Simulation Motivation: r learn fundamentals of evaluating network performance via simulation Overview: r fundamentals of discrete event simulation.
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
90-723: Data Structures and Algorithms for Information Processing Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 1: Introduction Data.
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.
(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.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
CDA6530: Performance Models of Computers and Networks Chapter 8: Statistical Simulation ---- Discrete Event Simulation (DES) TexPoint fonts used in EMF.
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 11 Continuous Markov Chains Dr. Anis Koubâa 01 May 2009 Al-Imam Mohammad Ibn Saud University.
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
 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,
THE EYESWEB PLATFORM - GDE The EyesWeb XMI multimodal platform GDE 5 March 2015.
Introduction The objective of simulation – Analysis the system (Model) Analytically the model – a description of some system intended to predict the behavior.
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Simulation Examples And General Principles Part 2
CDA6530: Performance Models of Computers and Networks Chapter 8: Statistical Simulation ---- Discrete Event Simulation (DES) TexPoint fonts used in EMF.
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.
Introduction to Simulation What is a simulation? A system that represents or emulates the behavior of another system over time; a computer simulation is.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
PDES Introduction The Time Warp Mechanism
Monte Carlo Simulation Random Number Generation
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Parallel and Distributed Simulation
Modeling and Simulation (An Introduction)
Dynamic Graph Partitioning Algorithm
ADVANTAGES OF SIMULATION
Discrete Event Simulation
DSS & Warehousing Systems
TexPoint fonts used in EMF.
Parallel and Distributed Simulation
Introduction to Systems Analysis and Design
More Explanation of an example in chapter4
Simulation An Application of Queue ADT
Variability 8/24/04 Paul A. Jensen
Concepts In Discrete-Event Simulation
Introduction to Data Structure
Queueing Theory 2008.
MECH 3550 : Simulation & Visualization
MECH 3550 : Simulation & Visualization
Presentation transcript:

Discrete Event Simulation Copyright, 1996 © Dale Carnegie & Associates, Inc.

Introduction Discrete event simulation is a type of simulation characterized by probabilistic methods and transaction processing. Examples: Job Shop Scheduling Telecommunications Networks Airport Traffic Prediction Interested in this course on operating systems.

What is the problem? I want to use the computer to simulate the interaction of objects and their operation. These objects interact in a parallel fashion. I need to simulate these interactions on a sequential computer.

Modeling Issue I The behavior of the objects is modeled by noting where interactions take place and what resources are needed to allow the interaction. For example, no consideration is normally given for such things a data structures (except as they impinge on resources).

What You Need to Know Physical system and its objects. The interconnections between objects. The input transactions with distributions. The outputs. The probabilistic distributions of load (arrival) and effort (computation).

Does all this sound familiar? If you’re a C++ or other object oriented fan, it should. OOPS comes from Simula67, a discrete event system developed in 1960’s.

DES Philosophy I The objects and their relationships represent a static picture of how transactions flow. Transactions carry information about work to be done. Transactions initiate activities have a beginning event and an ending event .

Activities Activities have a starting event and and ending event. Activities are those actions that use time. Events are those activities that change state of the system. Activities cannot change system state.

The DES Philosophy II An event occurs instantaneously in time and is represented by a predicate. No change of state is possible between events. Objects take time to process their inputs Therefore, object processing has two phases.

States A state of the system at any time t is the value of all variables at time t. This can be thought of as a vector Sys.

The Golden Rule Where Sys is the state vector and Sys is the change.

State of the Simulation At any point in time, the state of the simulation Sys is the collection of Activities in progress Activities that have been delayed Activities that will happen in the future.

Designing the Simulation Design deterministic system. Specify procedures to compute the changes by the objects. Control the “time loop” by events.

Designing Objects Time Manipulation: Schedule events that are dependent on this object’s processing. Simulation of objects effect on the state of the simulation.

Time out for a simple example

Office Example Deal with morning mail Time to deal with this: mean with sd. Generate stop event Objective: sort mail for the five bosses Generate new input to boss objects. Put them somewhere where boss objects can get them. Return to controller.

Developing Probability Functions 1 P(En) P(EI) E1 En

The Object MailClerk Object Mailclerk { method acceptmailevent(SizeMail) method stopmaileventl() }

Events If time is the system clock Then the time at which this particular event should happen would be Time+random(mean,sd) Schedule(Event, Time, Parameters)

Schedule Loop Do Check FUTURE-EVENTS-QUEUE. If empty, terminate. If not, move CLOCK to time of first event. Empty queue of all events for this time. Call the action routine specified by event. Start at top