MECH 3550 : Simulation & Visualization

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

Simulation - An Introduction Simulation:- The technique of imitating the behaviour of some situation or system (economic, military, mechanical, etc.) by.
Introduction into Simulation Basic Simulation Modeling.
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
Output analyses for single system
1 Statistical Inference H Plan: –Discuss statistical methods in simulations –Define concepts and terminology –Traditional approaches: u Hypothesis testing.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Output Data Analysis. How to analyze simulation data? simulation –computer based statistical sampling experiment –estimates are just particular realizations.
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Steps of a sound simulation study
Simulation.
Lecture 9 Output Analysis for a Single Model. 2  Output analysis is the examination of data generated by a simulation.  Its purpose is to predict the.
1 Validation and Verification of Simulation Models.
SIMULATION. Simulation Definition of Simulation Simulation Methodology Proposing a New Experiment Considerations When Using Computer Models Types of Simulations.
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.
Basic Simulation Modeling II
Chapter 12: Simulation and Modeling Invitation to Computer Science, Java Version, Third Edition.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Modeling and Simulation
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.
 1  Outline  stages and topics in simulation  generation of random variates.
Verification & Validation
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
1 OM2, Supplementary Ch. D Simulation ©2010 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible.
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Chap. 5 Building Valid, Credible, and Appropriately Detailed Simulation Models.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Chapter 10 Verification and Validation of Simulation Models
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Building Simulation Model In this lecture, we are interested in whether a simulation model is accurate representation of the real system. We are interested.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
1 OUTPUT ANALYSIS FOR SIMULATIONS. 2 Introduction Analysis of One System Terminating vs. Steady-State Simulations Analysis of Terminating Simulations.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
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,
Building Valid, Credible & Appropriately Detailed Simulation Models
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.
Variance reduction techniques Mat Simulation
CPSC 531: System Modeling and Simulation
Chapter 12: Simulation and Modeling
Computer Simulation Henry C. Co Technology and Operations Management,
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Network Performance and Quality of Service
Modeling and Simulation (An Introduction)
ADVANTAGES OF SIMULATION
Chapter 1.
Simulation Department of Industrial Engineering Anadolu University
Simulation - Introduction
Modeling and Simulation CS 313
CPSC 531: System Modeling and Simulation
Chapter 10 Verification and Validation of Simulation Models
Basic Simulation Modeling II
Prepared by Lee Revere and John Large
Onur Kaya END 201, Ext: 6439 ENM 307 Simulation Department of Industrial Engineering Anadolu University SPRING 2018 Chapter.
Statistical Methods Carey Williamson Department of Computer Science
Cost Estimation Chapter 5
Simulation and Modeling
Data and Computer Communications
Discrete-Event System Simulation
Carey Williamson Department of Computer Science University of Calgary
Computer Systems Performance Evaluation
MECH 3550 : Simulation & Visualization
Building Valid, Credible, and Appropriately Detailed Simulation Models
DESIGN OF EXPERIMENTS by R. C. Baker
Presentation transcript:

MECH 3550 : Simulation & Visualization Building Simple Simulation Models

Time Steps

C Programs M/M/1 Queue Simulation Alternates Single Product Inventory System https://www.programiz.com/c-programming/examples

Microsoft Excel Visual Basic Programs M/M/1 Queue Simulation Alternates Single Product Inventory System visualbasic.happycodings.com/forms/

Basic Simulation Modeling Advantages Most complex, real-world systems with stochastic elements cannot be accurately described with a mathematical model that can be evaluated analytically. Thus a simulation is often the only type of investigation possible. Simulation allows one to estimate the performance of an existing system under some projected set of operating conditions. Alternative proposed system designs (or alternative operating policies for a single system) can be compared via simulation to see which best meets a specified requirement. In a simulation we can maintain much better control over experimental conditions than would generally be possible when experimenting with the system itself. Simulation allows us to study a system with a long time frame-e.g. an economic system-in compressed time, or alternatively to study the detailed workings of a system in expanded time.

Basic Simulation Modeling Disadvantages Each run of a stochastic simulation model produces only estimates of a model’s true characteristics for a particular set of input parameters. Thus, several independent runs of the model will probably be required for each set of input parameters to be studied. For this reason, simulation models are generally not as good at optimization as they are at comparing a fixed number of specified alternative system designs. However, an appropriate analytic model can often easily produce the exact true characteristics of that model for a variety of sets of input parameters. Thus, if a “valid” analytic model is available or can easily be developed, it will generally be preferable to a simulation model. Simulation models are often expensive and time consuming to develop. The large volume of numbers produced by a simulation study or the persuasive impact of a realistic animation often creates a tendency to place greater confidence in a study’s results than is justified. If a Model is not a “Valid” representation of a system under study, the simulation results, no matter how impressive they appear, will provide little useful information about the actual system.

Pitfalls of a Successful Simulation Study Failure to have a well-defined set of objectives at the beginning of the simulation study. Failure to have the entire project team involved at the beginning of the study. Inappropriate level of model detail Failure to communicate with management throughout the course of the simulation study Misunderstanding of simulation by management. Treating a simulation study as if it were primarily an exercise in computer programming Failure to have people with a knowledge of simulation methodology and statistics on the modeling team Failure to collect good system data Inappropriate simulation software Obliviously using simulation-software products whose complex macro statements may not be well documented and may not implement the desired modeling.

Pitfalls of a Successful Simulation Study Cont. Belief that easy-to-use simulation packages, which require little or no programming, require a significantly lower level of technical understanding. Misuse of animation Failure to account correctly for sources of randomness in the actual system Using arbitrary distributions (e.g. normal, uniform, or triangular) as input to the simulation Analyzing the output data from one simulation run using formulas that assume independence Making a single replication of a particular system design and treating the output statistics as the “true answers” Failure to have a warmup period, if the steady-state behavior of a system is of interest Comparing alternative system designs on the basis of one replication for each design Using the wrong performance measures

Examples of Queueing Systems Servers Customers Bank Tellers Hospital Doctors, nurses, beds Patients Computer System Central processing unit, input/output devices Jobs Manufacuting system Machines, workers Parts Airport Runways, gates, security check-in stations Airplanes, travelers Communications network Nodes, links Messages, packets

Measures of Performance of Queuing Systems time t] http://slideplayer.com/slide/4822328/15

Measures of Performance of Queuing Systems Cont. 𝑄= lim 𝑇→∞ 0 𝑇 𝑄 𝑡 𝑑𝑡 𝑇 w.p.1 𝐿= lim 𝑇→∞ 0 𝑇 𝐿 𝑡 𝑑𝑡 𝑇 w.p.1 Q=λ𝑑 L=λw W=d+E(S) E(S) = unbiased estimator 𝜌=λ/(𝑠ω)

Plot of L for the M/M/1 queue https://ch.mathworks.com/help/simevents/gs/building-a-simple-discrete-event-model.html?s_tid=gn_loc_drop#a1076612269b1