Modeling and 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

Waiting Line Management
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.
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Lecture 3 Concepts of Discrete-Event Simulation. 2 Discrete Event Model  In the discrete approach to system simulation, state changes in the physical.
Simulation. Example: A Bank Simulator We are given: –The number of tellers –The arrival time of each customer –The amount of time each customer requires.
Simulation of multiple server queuing systems
Classification of Simulation Models
Components and Organization of Discrete-event Simulation Model
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
SIMULATION EXAMPLES. SELECTED SIMULATION EXAMPLES 4 Queuing systems (Dynamic System) 4 Inventory systems (Dynamic and Static) 4 Monte-Carlo simulation.
Agenda General guideline of simulations Discrete event simulation
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
Lecture 4 Mathematical and Statistical Models in Simulation.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

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:
Modeling and Simulation
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Simulation Examples ~ By Hand ~ Using Excel
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
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.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Queuing Modeling and Analysis.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Modeling and Analysis of Computer Networks
Probability Distributions. We need to develop probabilities of all possible distributions instead of just a particular/individual outcome Many probability.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Simulation Examples and General Principles
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 25 Simulation.
Chapter 2 Fundamental Simulation Concepts
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
Chapter 2 Simulation Examples
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
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.
SIMULATION EXAMPLES. Monte-Carlo (Static) Simulation Estimating profit on a sale promotion Estimating profit on a sale promotion Estimating profit on.
Advantages of simulation 1. New policies, operating procedures, information flows and son on can be explored without disrupting ongoing operation of the.
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,
Introduction The objective of simulation – Analysis the system (Model) Analytically the model – a description of some system intended to predict the behavior.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
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.
Simulation of single server queuing systems
Chapter 2 Simulation Examples. Simulation steps using Simulation Table 1.Determine the characteristics of each of the inputs to the simulation (probability.
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)
Simulation Statistics
Simulation Examples STOCHASTIC PROCESSES.
Discrete Event Simulation
Modeling and Simulation CS 313
Demo on Queuing Concepts
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Queuing Systems Don Sutton.
More Explanation of an example in chapter4
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Concepts In Discrete-Event Simulation
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
MECH 3550 : Simulation & Visualization
Lecture 11 – Stochastic Processes
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

Modeling and Simulation Simulation of queuing systems

Types of systems Discrete Continuous State variables change instantaneously at separated points in time Bank model: State changes occur only when a customer arrives or departs Continuous State variables change continuously as a function of time Head of water behind the dam : State variables Head amount change continuously Many systems are partly discrete, partly continuous

Types of simulation models Physical simulation models Mathematical simulation models Static vs. dynamic Deterministic vs. stochastic Continuous vs. discrete (Most operational models are dynamic, stochastic, and discrete – will be called discrete-event simulation models) Simulation models Physical Simulation models Mathematical Simulation models Discrete-event Simulation models Continuous Simulation models Static or dynamic Simulation models Deterministic and stochastic Simulation models

Single server queuing system simulation Discrete-event simulation models Single server queuing system simulation What are the event of this system? What are the system status ?

Single server queuing system simulation In the single-channel queue, the calling population is infinite. Arrivals and services are defined by the distribution of the time between arrivals and the distribution of service times, respectively. For any simple single-or multi-channel queue, the overall effective arrival rate must be less than the total service rate, or the waiting line will grow without bound. When queues grow without bound, they are termed (explosive) or unstable. Prior to introducing several simulations of queuing systems, it is necessary to understand the concepts of system state, events, and simulation clock. The state of the system is the number of units in the system and the status of the server, busy or idle. An event is a set of circumstances that cause an instantaneous change in the state of the system. In a single-channel queuing system there are only two possible events that can affect the state of the system. They are the entry of a unit into the system (the arrival event) or the completion of service on a unit (the departure event). The queuing system includes the server, the unit being serviced (if one is being serviced), and units in the queue (if any are waiting). The simulation clock is used to track simulated time.

Simulation &Modeling

Simulation &Modeling

Simulation &Modeling

Simulation &Modeling

Examples Simulation &Modeling

Simulate Bank system: with 6 expected customers In a single-channel queuing system interarrival times and service times are generated from the distributions of these random variables. For simplicity, assume that the times between arrivals were generated by rolling a die five times and recording the up face. These five interarrival times are used to compute the arrival times of six customers at the queuing system.

Simulation table : Bank teller example customer Inter arrival arrival Time Ser. Begins Service time Duration Time ser. ends Time in queue Time cust. Spends in sys. Idle time service 1 2 3 4 6 9 7 11 5 12 15 19 Total 39 43 13 56 17 Average 6.5 2.1 0.67 2.8 The average time between arrival = (sum time between arrival) /total number of arrivals (customers)-1 Compare between the expected and calculated average time between arrival E(A)= the mean of the discrete uniform distribution for rolling a die whose endpoints are a = 1 and b = 6. is equal 3.5 !!! ( (1+6)/2 =3.5 ) The average time Customer spends on the system , will be compare with the total of: Average service time+ time in queue