Simulation Carey Williamson Department of Computer Science

Slides:



Advertisements
Similar presentations
1 Overview of Simulation When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions set for analytic.
Advertisements

11 Simulation. 22 Overview of Simulation – When do we prefer to develop simulation model over an analytic model? When not all the underlying assumptions.
Lookahead. Outline Null message algorithm: The Time Creep Problem Lookahead –What is it and why is it important? –Writing simulations to maximize lookahead.
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.
Simulation Where real stuff starts. ToC 1.What, transience, stationarity 2.How, discrete event, recurrence 3.Accuracy of output 4.Monte Carlo 5.Random.
Classification of Simulation Models
Efficient Statistical Pruning for Maximum Likelihood Decoding Radhika Gowaikar Babak Hassibi California Institute of Technology July 3, 2003.
Components and Organization of Discrete-event Simulation Model
Copyright © 2005 Department of Computer Science CPSC 641 Winter Simulation Validation Plan: –Discuss verification and validation –Define concepts.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Simulation Methodology Plan: –Introduce basics of simulation modeling –Define terminology.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Queueing Models: Data Collection and Hand Simulation from Prof. Goldsman’s lecture notes.
1 Simulation Methodology H Plan: –Introduce basics of simulation modeling –Define terminology and methods used –Introduce simulation paradigms u Time-driven.
Descriptive Modelling: Simulation “Simulation is the process of designing a model of a real system and conducting experiments with this model for the purpose.
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
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 Monte Carlo Methods D.J.C. Mackay.
Chapter 4 – Modeling Basic Operations and Inputs  Structural modeling: what we’ve done so far ◦ Logical aspects – entities, resources, paths, etc. 
1 System Is a section of reality Composed of components that interact with one another Can be a subsystem Has hypothetical boundaries Can include or input.
SUPERCOMPUTING CHALLENGE KICKOFF 2015 A Model for Computational Science Investigations Oct 2015 © challenge.org Supercomputing Around.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
CPSC 441 Tutorial TA: Fang Wang. Simulation Methodology Plan: Introduce basics of simulation modeling Define terminology and methods used Introduce simulation.
Fall 2011 CSC 446/546 Part 1: Introduction to Simulation.
Validating a Random Number Generator Based on: A Test of Randomness Based on the Consecutive Distance Between Random Number Pairs By: Matthew J. Duggan,
Chapter 2 Fundamental Simulation Concepts
Callista Enterprise Test Driven ESB Development Sofia Jonsson
Markov Chain Monte Carlo for LDA C. Andrieu, N. D. Freitas, and A. Doucet, An Introduction to MCMC for Machine Learning, R. M. Neal, Probabilistic.
Expectation-Maximization (EM) Algorithm & Monte Carlo Sampling for Inference and Approximation.
 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,
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.
Discrete-Event System Simulation in Java. Discrete Event Systems New dynamic systems New dynamic systems Computer and communication networks Computer.
Chapter 9 Introduction to the t Statistic
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
CPSC 531: System Modeling and Simulation
OPERATING SYSTEMS CS 3502 Fall 2017
CPSC 531: System Modeling and Simulation
ADVANTAGES OF SIMULATION
2.7: Simulation.
Simulation Department of Industrial Engineering Anadolu University
Concepts used for Analysis and Design
DSS & Warehousing Systems
CPSC 531: System Modeling and Simulation
Introduction to Simulation
CPSC 531: System Modeling and Simulation
Professor S K Dubey,VSM Amity School of Business
Statistical Methods Carey Williamson Department of Computer Science
Towards Next Generation Panel at SAINT 2002
CPSC 531: System Modeling and Simulation
Model Validation Carey Williamson Department of Computer Science
Markov Chains Carey Williamson Department of Computer Science
TexPoint fonts used in EMF.
Lecture 2 – Monte Carlo method in finance
Computer Systems Performance Evaluation
Efficient Quantification of Uncertainties Associated with Reservoir Performance Simulations Dongxiao Zhang, The University of Oklahoma . The efficiency.
Computing and Statistical Data Analysis Stat 3: The Monte Carlo Method
COMP60621 Designing for Parallelism
On Statistical Model Checking of Stochastic Systems
Efficient Importance Sampling Techniques for the Photon Map
Homework #5 — Monte Carlo Simulation
Chapter 4, Regression Diagnostics Detection of Model Violation
Chapter 12 Power Analysis.
Validating a Random Number Generator
Carey Williamson Department of Computer Science University of Calgary
Carey Williamson Department of Computer Science University of Calgary
Carey Williamson Department of Computer Science University of Calgary
Carey Williamson Department of Computer Science University of Calgary
MECH 3550 : Simulation & Visualization
Chapter 4: Simulation Designs
Presentation transcript:

Simulation Carey Williamson Department of Computer Science University of Calgary Winter 2018

Plan: Outline Introduce basics of simulation modeling Define terminology and methods used Introduce simulation paradigms Monte Carlo simulation Time-driven simulation Event-driven simulation Technical issues for simulations Random number generation Statistical inference

Monte Carlo Simulation Estimating an answer to some difficult problem using numerical approximation, based on random numbers Examples: numerical integration, primality testing, WSN coverage, poker hands Suited to stochastic problems in which probabilistic answers are acceptable Might be one-sided answers (e.g., prime) Can bound probability to some epsilon There is (usually) no notion of time at all

Time-Driven Simulation Time advances in fixed size steps Time step = smallest unit in model Check each entity to see if state changes Well-suited to continuous systems e.g., river flow, factory floor automation Granularity issue: Too small: slow execution for model Too large: miss important state changes

Event-Driven Simulation (1 of 2) Discrete-event simulation (DES) System is modeled as a set of entities that affect each other via events (messages) Each entity can have a set of states Events happen at specific points in time (continuous or discrete), and trigger state changes in the system Very general technique, well-suited to modeling discrete systems (e.g, queues)

Event-Driven Simulation (2 of 2) Typical implementation involves an event list, ordered by time Process events in (non-decreasing) timestamp order, with seed event at t=0 Each event can trigger 0 or more events Zero: “dead end” event One: “sustaining” event More than one: “triggering” event Simulation ends when event list is null, or desired time duration has elapsed

We will look at some examples soon Summary Simulation methods offer a range of general-purpose approaches for performance eval Simulation modeler must determine the appropriate aspects of system to model “The hardest part about simulation is deciding what not to model.” - M. Lavigne Many technical issues: RNG, validation, statistical inference, efficiency We will look at some examples soon