Simulation Techniques Overview Simulation environments emulation/ exec- driven event- driven sim trace- driven sim stochastic sim Workload parameters System.

Slides:



Advertisements
Similar presentations
Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
Advertisements

Introduction To Simulation. 2 Overview Simulation: Key Questions Common Mistakes in Simulation Other Causes of Simulation Analysis Failure Checklist for.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
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
Introduction to Simulation
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Simulation Methodology Plan: –Introduce basics of simulation modeling –Define terminology.
Software Engineering CSE470: Requirements Analysis 1 Requirements Analysis Defining the WHAT.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Introduction to Simulation Shiv Kalyanaraman Rensselaer Polytechnic Institute
1 Simulation Modeling and Analysis Verification and Validation.
1 Validation and Verification of Simulation Models.
1 Simulation Methodology H Plan: –Introduce basics of simulation modeling –Define terminology and methods used –Introduce simulation paradigms u Time-driven.
CS533 Modeling and Performance Evaluation of Network and Computer Systems Simulation (Chapters 24-25)
Descriptive Modelling: Simulation “Simulation is the process of designing a model of a real system and conducting experiments with this model for the purpose.
Discrete Event Simulation
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Modeling and Simulation
1 Introduction to Simulation Chapters 24. Overview Simulation: Key Questions Introduction to Simulation Common Mistakes in Simulation Other Causes of.
IE 594 : Research Methodology – Discrete Event Simulation David S. Kim Spring 2009.
Analysis of Simulation Results Andy Wang CIS Computer Systems Performance Analysis.
Simulation II IE 2030 Lecture 18. Outline: Simulation II Advanced simulation demo Review of concepts from Simulation I How to perform a simulation –concepts:
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
© 2003, Carla Ellis Experimentation in Computer Systems Research Why: “It doesn’t matter how beautiful your theory is, it doesn’t matter how smart you.
© 2003, Carla Ellis Simulation Techniques Overview Simulation environments emulation exec- driven sim trace- driven sim stochastic sim Workload parameters.
Analysis of Simulation Results Chapter 25. Overview  Analysis of Simulation Results  Model Verification Techniques  Model Validation Techniques  Transient.
MBA7025_01.ppt/Jan 13, 2015/Page 1 Georgia State University - Confidential MBA 7025 Statistical Business Analysis Introduction - Why Business Analysis.
MGS3100_01.ppt/Aug 25, 2015/Page 1 Georgia State University - Confidential MGS 3100 Business Analysis Introduction - Why Business Analysis Aug 25 and 26,
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Modeling and Simulation Discrete-Event Simulation
MBA7020_01.ppt/June 13, 2005/Page 1 Georgia State University - Confidential MBA 7020 Business Analysis Foundations Introduction - Why Business Analysis.
© 2003, Carla Ellis Self-Scaling Benchmarks Peter Chen and David Patterson, A New Approach to I/O Performance Evaluation – Self-Scaling I/O Benchmarks,
Chap. 5 Building Valid, Credible, and Appropriately Detailed Simulation Models.
MODES-650 Advanced System Simulation Presented by Olgun Karademirci VERIFICATION AND VALIDATION OF SIMULATION MODELS.
Chapter 10 Verification and Validation of Simulation Models
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
CPSC 441 Tutorial TA: Fang Wang. Simulation Methodology Plan: Introduce basics of simulation modeling Define terminology and methods used Introduce simulation.
Simulation & Confidence Intervals COMP5416 Advanced Network Technologies.
1 Simulation H.Malekinezhad11/28/ Introduction (1 of 3) System to be characterized may not be available –During design or procurement stage Still.
Introduction to Simulation Andy Wang CIS Computer Systems Performance Analysis.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Chapter 1 Software Engineering Principles. Problem analysis Requirements elicitation Software specification High- and low-level design Implementation.
Dr. Anis Koubâa CS433 Modeling and Simulation
Why use landscape models?  Models allow us to generate and test hypotheses on systems Collect data, construct model based on assumptions, observe behavior.
CS433 Modeling and Simulation Lecture 09 – Part 02 Discrete Events Simulation Dr. Anis Koubâa 27 Dec 2008 Al-Imam.
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
An Empirical Study of OS Errors Chou, Yang, Chelf, Hallem, and Engler SOSP 2001 Characterizing a workload w.r.t reliability.
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.
Building Valid, Credible & Appropriately Detailed Simulation Models
Dillon: CSE470: ANALYSIS1 Requirements l Specify functionality »model objects and resources »model behavior l Specify data interfaces »type, quantity,
© 2003, Carla Ellis Model Vague idea “groping around” experiences Hypothesis Initial observations Experiment Data, analysis, interpretation Results & final.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
1 Modeling and Performance Evaluation of Network and Computer Systems Simulation.
INF5071, Andreas Petlund, Carsten Griwodz & Pål Halvorsen University of Oslo The Art of Computer Performance Analysis Raj Jain 1992.
OPERATING SYSTEMS CS 3502 Fall 2017
CPSC 531: System Modeling and Simulation
Performance evaluation
Modeling and Simulation (An Introduction)
ADVANTAGES OF SIMULATION
Introduction to Simulation
Chapter 10 Verification and Validation of Simulation Models
Reference-Driven Performance Anomaly Identification
Discrete Event Simulation - 7
Discrete-Event System Simulation
Building Valid, Credible, and Appropriately Detailed Simulation Models
Presentation transcript:

Simulation Techniques Overview Simulation environments emulation/ exec- driven event- driven sim trace- driven sim stochastic sim Workload parameters System Config parameters Factor levels Result Data

© 2003, Carla Ellis Why Simulate System to be tested is not (yet) available Large design space to be explored Need more detail than analytical modeling Dynamic

© 2003, Carla Ellis Common Mistakes Inappropriate level of detail –Details have to be known and “right” –Start with less detail and get preliminary results – then refine Improper language/package –Bad software engineering practices Unverified – bugs –Mysterious results not explored Not validated against real system – incorrect assumptions

© 2003, Carla Ellis Common Mistakes Improperly handled initial conditions Too short simulations Poor random number generators Improper selection of seeds –Share on stream for multiple uses –Use the same seed for multiple streams (correlated behavior)

© 2003, Carla Ellis Terminology State variables – define the state of the system Event – change in system state Time models: –Continuous – system state always defined –Discreet – system state only at discreet instants in time State models: –Continuous – state variables take continuous values –Discreet – state variables discreet values

© 2003, Carla Ellis Terminology Time State ContinuousDiscreet Continuousy(t) = sin (wt) y(t+1) = y(t) +  Discreety(t) = t mod n y(t+1) = y(t) + i

© 2003, Carla Ellis Time State ContinuousDiscreet Continuousy(t) = sin (wt) y(t) = tide(t) y(t+1) = y(t) +  y(date) = max(tide(t)) Discreety(t) = t mod n y(t) = population y(t+1) = y(t) + I y(date) = max attendence of cps296.6(date) Terminology t=0 to 23:59

© 2003, Carla Ellis Terminology Deterministic vs. probablistic –Probabilistic gives different result on replications Static vs. dynamic –Dynamic – state changes with time Open vs. closed –Open – input comes in from outside –Closed – no external input, circulating in model Stable vs. unstable – does it ever settle into a steady state?

© 2003, Carla Ellis Types Emulation – directly execute on one system, mimicking another –Modelnet –Accounting issues may resemble simulation Monte Carlo simulation – static systems Trace-driven –As discussed in workload discussion, traces should be independent of system under study (no feedback effects) Discrete-event –Time-driven – time advances in unit steps –Event-driven – time jumps to next event time

© 2003, Carla Ellis Structure of Discrete Event Simulation eventQ scheduler Event handlers State var results

© 2003, Carla Ellis Structure of Discrete Event Simulation eventQ scheduler Event handlers State var results

Simulation Techniques Overview Simulation environments emulation exec- driven sim trace- driven sim stochastic sim Workload parameters System Config parameters Factor levels Result Data Discrete events

Simulation Techniques Overview Simulation environments emulation exec- driven sim trace- driven sim stochastic sim Workload parameters System Config parameters Factor levels Result Data Discrete events open open or closed Events – directly exec.

© 2003, Carla Ellis Validation Are the assumptions of the model reasonable and represent the real system – producing results that are meaningful to the real system. –Assumptions –Input parameters –Output values and conclusions Compare to another representation –Real system measurements –Theoretical results –Expert intuition

© 2003, Carla Ellis Verification Debugging for correct implementation of the model – general software debugging strategies. Testing techniques specific to simulation –Understanding the effect of input parameters allows continuity test small D in input should yield small D in results –Consistency – produces similar results for inputs that should have similar effects –Degeneracy tests – works at the extremes

© 2003, Carla Ellis Transient Removal Assuming steady-state performance Long runs Initialization at a approx. a steady state Truncation – ignoring the 1 st l observations based on range Initial data deletion – relative change in overall mean decreases after l Moving average of independent replications

© 2003, Carla Ellis Initial Data Deletion x l -x x l