Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.

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

Modeling and Simulation By Lecturer: Nada Ahmed. Introduction to simulation and Modeling.
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.
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.
Lecture 3 Concepts of Discrete-Event Simulation. 2 Discrete Event Model  In the discrete approach to system simulation, state changes in the physical.
CS Data Structures I Chapter 7 Queues II. 2 Topics Queue Application Simulation Comparison of List, Stack and Queue.
COSC2006 Chapter 8 Queues III
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
INTRODUCTION COMPUTATIONAL MODELS. 2 What is Computer Science Sciences deal with building and studying models of real world objects /systems. What is.
Classification of Simulation Models
Chapter 14 Simulation and Other Applications Chapter Goals Define simulation Give examples of complex systems Distinguish between continuous and.
Simulation.
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
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.
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
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.
Capacity analysis of complex materials handling systems.
General Simulation Principles
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
Computer Science 101 Modeling and Simulation. Scientific Method Observe behavior of a system and formulate an hypothesis to explain it Design and carry.
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.
Chapter 2 – Fundamental Simulation ConceptsSlide 1 of 46 Chapter 2 Fundamental Simulation Concepts.
DEVS Based Modeling and Simulation of the CORBA POA F. Bernardi, E. de Gentili, Pr. J.F. Santucci {bernardi, gentili, University.
Discrete Event (time) Simulation. What is a simulation? “Simulation is the process of designing a model of a real system and conducting experiments with.
NETW 707 Modeling and Simulation Amr El Mougy Maggie Mashaly.
Chapter 2 Fundamental Simulation Concepts
Reid & Sanders, Operations Management © Wiley 2002 Simulation Analysis D SUPPLEMENT.
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,
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
Discrete Event Simulation
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.
SIMULATION EXAMPLES. Monte-Carlo (Static) Simulation Estimating profit on a sale promotion Estimating profit on a sale promotion Estimating profit on.
COMP155 Computer Simulation September 10, Discrete Event Simulation  discrete event simulation: state variable change only at a discrete set of.
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
Review n System dynamics : A sequence of state transition n model : A set of rules for state transition System S X Y Discrete event system FSM (Automata)
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,
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
Simulation modelling real processes to make predictions.
Building Valid, Credible & Appropriately Detailed Simulation Models
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.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
Computer Simulation Henry C. Co Technology and Operations Management,
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Modeling and Simulation (An Introduction)
Chapter 1.
Discrete Event Simulation
Chapter 10 Verification and Validation of Simulation Models
Basic Simulation Modeling II
Simulation An Application of Queue ADT
Concepts In Discrete-Event Simulation
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
MAT 4830 Mathematical Modeling
MECH 3550 : Simulation & Visualization
Presentation transcript:

Simulation Waiting Line

2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that it preserves some defining components of the entity the relations between these components that are of current interest.

3 Introduction Definition (more formal) A model is a construct invented as an aid to understand the system under study. A model is a formal statement of: assumptions conceptualizations experimental design

4 The purpose of a model to help understand, describe, or predict how things work in the real world by exploring a simplified representation of a particular entity or phenomenon.

5 Examples of models a city map, a house floor plan, a photo of a house, an equation, a square, etc.

6 Types of models Static - a snapshot of the object/system at a particular time Dynamic - model of changes in the object/system Continuous Discrete - changes occur at some time intervals

7 Computational models Simulate a set of processes observed in the natural world in order to gain an understanding of these processes and to predict the outcome of natural processes given a specific set of input parameters. Conceptual and theoretical modeling constructs are expressed as sets of algorithms and implemented as software packages.

8 Simulation An experiment performed on a model Experiment: observing and studying the behavior of a system Reasons for using simulation as a problem- solving tool. The physical system is not available. The experiment may be dangerous. The cost of experimentation is too high.

9 Discrete simulation Components Entities: objects that interact Attributes: properties of entities Activities: processes that change the system Events: occurrence of activities Statistics: measures of the performance of the system

10 Approaches Time driven Event driven

11 Time driven discrete simulation Initialize time  initialTime While time < stopTime Execute all events to be done at this time Increment time Output measures

12 Event driven discrete simulation Initialize time  initialTime While more events to be done Advance time to the time of the earliest event Execute the earliest event Output measures

13 Waiting line simulation Objects Waiting Line Waiting Line Service providers (Cashiers) Service providers (Cashiers) Clock Clock

14 Waiting Line Attributes: Input probability of arrival line capacity processing time Output average waiting time number of transactions maximum length of the waiting line unprocessed requests due to exceeding the line capacity

15 Waiting Line Events: Arrival: record time in queue increment line length Exit line: record waiting time: now – arrival increment transactions decrement line length

16 Cashiers (service providers) Attributes: Input Number of cashiers Output Status of each cashier Idle Busy, remaining processing time Total idle time per cashier

17 Cashiers (service providers) Events: Get a customer to be served Assign an available cashier to a customer Update cashier status If idle, increment idle time If busy, decrement processing time

18 Clock Records the time in increments of 1 Returns time

19 Simulator Initialize Simulation time S Processing time PT Probability of arrival P Line capacityL Number of cashiersC Attributes: Current time elapsed, init 0 CT Available cashier

20 Algorithm While CT (current time elapsed) is less than S (simulation time) Record arrival with probability P If available cashier and line not empty exit line assign cashier to do the service Update cashiers’ status Increment CT Prepare report

21 Reports average waiting time number of transactions maximum length of line average idle time maximum idle time