Modeling and Simulation (An Introduction)

Slides:



Advertisements
Similar presentations
Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Advertisements

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.
Modeling and simulation of systems Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Lecture 3 Concepts of Discrete-Event Simulation. 2 Discrete Event Model  In the discrete approach to system simulation, state changes in the physical.
Classification of Simulation Models
1 Simulation Lecture 6 Simulation Chapter 18S. 2 Simulation Simulation Is …  Simulation – very broad term  methods and applications to imitate or mimic.
CPE 412 SIMULATION and MODELING n Instructor: Dr. Mahmoud Alrefaei n Various notes and transparencies can be found on web page.
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Simulation concepts and architectures. Simulation Basics System: a collecting of entities that act and interact together toward the accomplishment of.
Lecture 11 Queueing Models. 2 Queueing System  Queueing System:  A system in which items (or customers) arrive at a station, wait in a line (or queue),
Robert M. Saltzman © DS 851: 4 Main Components 1.Applications The more you see, the better 2.Probability & Statistics Computer does most of the work.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Basic Simulation Modeling II
CS 450 Modeling and Simulation
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
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.
Introduction to simulation. Overview What is simulation ? When simulation is appropriate tool When simulation is not appropriate Advantages of simulation.
Capacity analysis of complex materials handling systems.
Introduction to Queuing Theory
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
Introduction to Operations Research
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.
Discrete Event (time) Simulation. What is a simulation? “Simulation is the process of designing a model of a real system and conducting experiments with.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
CS433 Modeling and Simulation Lecture 01 Introduction 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 19.
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.
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.
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
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
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.
Waiting Line Theroy BY, PRAYASH NEUPANE, KARAN CHAND & SANTOSH SHERESTHA.
Simulation Examples And General Principles Part 2
Queuing Theory Simulation & Modeling.
Abu Bashar Queuing Theory. What is queuing ?? Queues or waiting lines arise when the demand for a service facility exceeds the capacity of that facility,
Modeling and Simulation
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
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.
Introduction To Modeling and Simulation Rabie A. Ramadan odeling / Lecture 1.
1 Decision Making ADMI 6510 Simulation Key Sources: Data Analysis and Decision Making (Albrigth, Winston and Zappe) An Introduction to Management Science:
Monte Carlo Simulation Random Number Generation
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Chapter 1 Introduction to Simulation Modeling
ADVANTAGES OF SIMULATION
Chapter 1.
Discrete Event Simulation
Simulation Department of Industrial Engineering Anadolu University
Basic Simulation Modeling II
Onur Kaya END 201, Ext: 6439 ENM 307 Simulation Department of Industrial Engineering Anadolu University SPRING 2018 Chapter.
Simulation Modeling.
Simulation and Modeling
Lecture 2 Part 3 CPU Scheduling
Queueing Theory 2008.
MECH 3550 : Simulation & Visualization
Performance evaluation of manufacturing systems
MECH 3550 : Simulation & Visualization
SIMULATION IN THE FINANCE INDUSTRY BY HARESH JANI
Presentation transcript:

Modeling and Simulation (An Introduction)

The Nature of Simulation Conceptions Application areas Impediments

Conceptions Simulation course is about techniques for using computers to imitate or simulate the operations of various kinds of real world facilities or processes. A simulation is the imitation of the operation of a real-world process or system over time. Steps include Generating an artificial history of a system Observing the behavior of that artificial history Drawing inferences concerning the operating characteristics of the real system

Conceptions Use the operation of a bank as an example: Counting how many people come to the bank; how many tellers, how long each customer is in service; etc. Establishing a model and its corresponding computer program. Executing the program, varying parameters (number of tellers, service time, arrival intervals) and observing the behavior of the system. Drawing conclusions: increasing number of tellers; reducing service time; changing queuing strategies; etc.

Conceptions The behavior of a system as it evolves over time is studied by developing a simulation model. A model is a set of entities and the relationship among them. For the bank example: entities would include customers, tellers, and queues. Relations would include customers entering a queue; tellers serving the customer; customers leaving the bank. Once developed, a model has to be validated. There are many different ways to validate a model: observation (measurement); analytical model comparison (analysis).

Application areas Designing and analyzing manufacturing systems evaluating military weapons systems or their logistics requirements determining hardware requirements or protocols for communication networks Determining hardware and software requirements for a computer system Designing and operating transportation systems such as airports, freeways, ports and subways

Application areas Evaluating designs for service organizations such as call centers, fast- food restaurants, hospitals, and post offices. Reengineering of business processes Determining ordering polices for an inventory system Analyzing financial or economic systems.

Impediments Models used to study large-scale systems tend to be very complex, and writing computer programs to execute them can be an arduous task indeed. (excellent software products) Large amount of computer time is sometimes required. (cheaper and faster computer) An unfortunate impression that simulation is just an exercise in computer programming, albeit a complicated one. (attitude, simulation methodology)

Systems, Models & Simulation System is defined to be a collection of entities, e.g., people or machines, which act and interact together toward the accomplishment of some logical end. System depends on the objectives of a particular study. State of a system: collection of variables necessary to describe a system at a particular time, relative to the objectives of a study. (the number of busy tellers, the number of customers in the bank, the time of arrival of each customer in the bank) Types of systems: Discrete and continuous.

Continue... Many systems are partly discrete, partly continuous discrete system: the state variables change instantaneously at separated points in time. (a bank, e.g., the number of customers in the bank) continuous system: the state variables change continuously with respect to time. (an airplane moving through the air, e.g., position and velocity ) Many systems are partly discrete, partly continuous Study on a system: try to gain some insight into the relationships among various components, or to predict performance under some new conditions being considered. Ways to study a system:

Example One study on a bank to determine the number of tellers needed to provide adequate service for customers who want just to cash a check or make a savings deposite, the system can be defined to be that portion of the bank consisting of the tellers and the customers waiting in line or being served. If the loan officer and the safety deposite boxes are to be included, the definition of the system must be expanded in an obvious way.

Systems, Models & Simulation Classification of 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

Types of Simulation

Model Classifications deterministic (input and output variables are fixed); stochastic (at least one of the input or output variables is probabilistic); static (time is not taken into account); dynamic (time-varying interactions among variables are taken into account).

System Terminology: State: Event: A variable characterizing an attribute in the system such as level of stock in inventory or number of jobs waiting for processing Event: An occurrence at a point in time which may change the state of the system, such as arrival of a customer or start of work on a job.

System Terminology: Entity: Queue: An object that passes through the system, such as cars in an intersection or orders in a factory. Often an event (e.g., arrival) is associated with an entity (e.g., customer). Queue: A queue is not only a physical queue of people, it can also be a task list, a buffer of finished goods waiting for transportation or any place where entities are waiting for something to happen for any reason.

System Terminology: Creating: Scheduling: Creating is causing an arrival of a new entity to the system at some point in time. Scheduling: Scheduling is the act of assigning a new future event to an existing entity.

System Terminology: Random Variable: Random Variate: is a quantity that is uncertain, such as interarrival time between two incoming flights or number of defective parts in a shipment. Random Variate: is an artificially generated random variable.

System Terminology: Distribution: is the mathematical law which governs the probabilistic features of a random variable.

Example: Building a simulation gas station with a single pump served by a single service man assume that the arrival of cars as well as their service times are random

Solution (1): At first identify the: events entities queue states events entities queue random realizations distributions

Solution (1): after identification of the different system requirements, you will come up with the different values: states: Number of cars waiting for service, number of cars served at any moment events: Number of cars, start of service, end of service entities: cars

Solution (1): queue The queue of cars in front of the pump, waiting for services random realizations: inter-arrival times, service times distributions: assume exponential distribution for both inter-arrival time and service time

Solution (2): Arrival Routine

Solution (2): Departure Routine