Introduction to Simulation

Similar documents
Planning with External Events

Executive Guide to Simulation for Health

What is PDE? Research Report. Paul Nichols

An Introduction to Simio for Beginners

DRAFT VERSION 2, 02/24/12

Software Maintenance

Lecture 10: Reinforcement Learning

Purdue Data Summit Communication of Big Data Analytics. New SAT Predictive Validity Case Study

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Lecture 1: Machine Learning Basics

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

Title:A Flexible Simulation Platform to Quantify and Manage Emergency Department Crowding

What is Thinking (Cognition)?

ISFA2008U_120 A SCHEDULING REINFORCEMENT LEARNING ALGORITHM

THE DEPARTMENT OF DEFENSE HIGH LEVEL ARCHITECTURE. Richard M. Fujimoto

Rule-based Expert Systems

Major Milestones, Team Activities, and Individual Deliverables

Integrating simulation into the engineering curriculum: a case study

Learning Cases to Resolve Conflicts and Improve Group Behavior

GACE Computer Science Assessment Test at a Glance

Certified Six Sigma Professionals International Certification Courses in Six Sigma Green Belt

Reinforcement Learning by Comparing Immediate Reward

Probability estimates in a scenario tree

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

Cal s Dinner Card Deals

Level 6. Higher Education Funding Council for England (HEFCE) Fee for 2017/18 is 9,250*

Simio and Simulation:

Introduction to Modeling and Simulation. Conceptual Modeling. OSMAN BALCI Professor

How to Do Research. Jeff Chase Duke University

Designing a Rubric to Assess the Modelling Phase of Student Design Projects in Upper Year Engineering Courses

11 CONTINUING EDUCATION

STA 225: Introductory Statistics (CT)

Predicting Students Performance with SimStudent: Learning Cognitive Skills from Observation

Section 3.4. Logframe Module. This module will help you understand and use the logical framework in project design and proposal writing.

Ministry of Education, Republic of Palau Executive Summary

POLA: a student modeling framework for Probabilistic On-Line Assessment of problem solving performance

AMULTIAGENT system [1] can be defined as a group of

Status of the MP Profession in Europe

Introduction to Causal Inference. Problem Set 1. Required Problems

CS/SE 3341 Spring 2012

ReinForest: Multi-Domain Dialogue Management Using Hierarchical Policies and Knowledge Ontology

MYCIN. The MYCIN Task

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

Software Development: Programming Paradigms (SCQF level 8)

CHAPTER 4: REIMBURSEMENT STRATEGIES 24

PM tutor. Estimate Activity Durations Part 2. Presented by Dipo Tepede, PMP, SSBB, MBA. Empowering Excellence. Powered by POeT Solvers Limited

Chapter 2. Intelligent Agents. Outline. Agents and environments. Rationality. PEAS (Performance measure, Environment, Actuators, Sensors)

1. Professional learning communities Prelude. 4.2 Introduction

Hierarchical Linear Modeling with Maximum Likelihood, Restricted Maximum Likelihood, and Fully Bayesian Estimation

How do adults reason about their opponent? Typologies of players in a turn-taking game

Evolutive Neural Net Fuzzy Filtering: Basic Description

Module Title: Managing and Leading Change. Lesson 4 THE SIX SIGMA

A Pipelined Approach for Iterative Software Process Model

Georgetown University at TREC 2017 Dynamic Domain Track

RESEARCH UNITS, CENTRES AND INSTITUTES. Annual Report Template

Assessment. the international training and education center on hiv. Continued on page 4

MASTER S COURSES FASHION START-UP

Generative models and adversarial training

Improving Fairness in Memory Scheduling

Spring 2014 SYLLABUS Michigan State University STT 430: Probability and Statistics for Engineering

A GENERIC SPLIT PROCESS MODEL FOR ASSET MANAGEMENT DECISION-MAKING

University of Cincinnati College of Medicine. DECISION ANALYSIS AND COST-EFFECTIVENESS BE-7068C: Spring 2016

The Future of Consortia among Indian Libraries - FORSA Consortium as Forerunner?

Virtual Teams: The Design of Architecture and Coordination for Realistic Performance and Shared Awareness

BENCHMARK TREND COMPARISON REPORT:

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

THE QUEEN S SCHOOL Whole School Pay Policy

Intro to Systematic Reviews. Characteristics Role in research & EBP Overview of steps Standards

ALER Association of Literacy Educators and Researchers Charlotte, North Carolina November 5-8, 2009

DESIGNPRINCIPLES RUBRIC 3.0

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

Corrective Feedback and Persistent Learning for Information Extraction

Probability and Statistics Curriculum Pacing Guide

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

Spring 2015 IET4451 Systems Simulation Course Syllabus for Traditional, Hybrid, and Online Classes

Understanding and Interpreting the NRC s Data-Based Assessment of Research-Doctorate Programs in the United States (2010)

SARDNET: A Self-Organizing Feature Map for Sequences

ECE-492 SENIOR ADVANCED DESIGN PROJECT

Conceptual modelling for simulation part I: definition and requirements

Is operations research really research?

Action Models and their Induction

Exploration. CS : Deep Reinforcement Learning Sergey Levine

CS Machine Learning

Circuit Simulators: A Revolutionary E-Learning Platform

Artificial Neural Networks written examination

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

ENME 605 Advanced Control Systems, Fall 2015 Department of Mechanical Engineering

Algebra 1, Quarter 3, Unit 3.1. Line of Best Fit. Overview

Group A Lecture 1. Future suite of learning resources. How will these be created?

COMPUTER-ASSISTED INDEPENDENT STUDY IN MULTIVARIATE CALCULUS

School of Innovative Technologies and Engineering

Guru: A Computer Tutor that Models Expert Human Tutors

Online Master of Business Administration (MBA)

A Stochastic Model for the Vocabulary Explosion

ADULT VOCATIONAL TRAINING (AVT) APPLICATION

Using the Attribute Hierarchy Method to Make Diagnostic Inferences about Examinees Cognitive Skills in Algebra on the SAT

1. Answer the questions below on the Lesson Planning Response Document.

ASSESSMENT OF STUDENT LEARNING OUTCOMES WITHIN ACADEMIC PROGRAMS AT WEST CHESTER UNIVERSITY

Transcription:

Introduction to Simulation Spring 2010 Dr. Louis Luangkesorn University of Pittsburgh January 19, 2010 Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 1 / 24 Outline 1 Goals 2 Introduction to Simulation What is simulation Advantages Disadvantages Analysis 3 Modeling process 4 Discrete event Software 5 Next steps Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 2 / 24

Goals Introduction to Simulation Tutorials Goal: Overview of the major areas of research in simulation A broad overview of one topic a week First weeks are an overview of the topic and the basics of simulation NOT: How to build a simulation NOT: How to model Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 3 / 24 Major topics Goals Introduction to simulation and modeling Simulation library and random variates generation Input probability distributions Output Analysis Verification and validation Design of experiments Comparing alternative systems Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 4 / 24

Introduction to Simulation Introduction to simulation What is simulation? What are advantages of simulation? What are disadvantages of simulation? What drives simulation design and analysis? Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 5 / 24 Introduction to Simulation What is simulation What is simulation Numerical evaluation of a system under study. A system is a collection of entities that act and interact together toward the accomplishment of some logical end. Discrete systems are where the state variables change instantaneously as separated points in time. Continuous system are where the state variables change continuously with respect to time, even if we model this through time steps. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 7 / 24

Introduction to Simulation What is simulation Alternatives to simulation Analytic models : if tractable Experiments with real system : expensive Physical models : expensive Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 8 / 24 Introduction to Simulation What is simulation Types of simulation Discrete systems are where the state variables change instantaneously as separated points in time. Continuous system are where the state variables change continuously with respect to time, even if we model this through time steps. A static model is a representation at a particular point in time, or when time plays no role. Monte Carlo models A dynamic model represents systems that evolve over time. Determiniistic model does not contain any probabilistic components. But it may be intractible so you may use iterative methods similar to simulation to solve it. Stochastic models have some random input components. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 9 / 24

Introduction to Simulation Advantages What are advantages to simulation Few barriers to tractibility - but feasibility is a factor. Assumptions are explicit - no restrictions based on model. Easy to explain - relationships in model apparent to non-specialists First choice - simulation is consistantly among the most used subject areas within operations research (usually only behind statistical analysis) Tool of last resort Even though simulation allows for arbitrary complexity, we still have to consider the art of modeling. George Box: All models are wrong, some models are useful. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 11 / 24 Introduction to Simulation Advantages Advantages to simulation - methodology Dynamic systems - models display system result changes over time Individual sample paths - models show effects on individual entities Statistical results - models show variation on effects across population SIR simulation Number of occurances (of 1000) 0 50 100 150 200 0 20 40 60 80 100 Number infected (of 100) Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 12 / 24

Introduction to Simulation Disadvantages What are disadvantages to simulation Scale - Requires explicit tracking of entities and interactions. Complex - Modeling systems with many different types of entities and interactions is complex and arduous. Methodology - There is a tendency to regard simulation building as a programming exercise instead of an analytical one. Stochastic output - Output of simulation models is itself a random variable, not an answer. Requires statistical analysis. Insight - Simulation models tend to focus on the detail, so the model itself does not give insight into the system. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 14 / 24 Introduction to Simulation Analysis What drives analysis Simulation budget - The time and resources available to run a simulation study. Data collection - Time to collect and interpret data. Input modeling - Time to generate stochastic inputs. Model runs - Time to run the model. Measures of variation - Need to run multiple replications at multiple treatments. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 16 / 24

Modeling process The wrong way Simulation is flexible - design detailed model which mirrors every aspect of the real world system. Program model. Run model using arbitrary input parameters. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 17 / 24 Another way Modeling process Identify the system of interest - What is under study and why. This yields a descriptive model. Describe the behaviors and interactions of entities in the model. This is the formal model. Build the model. Analytic if possible. Describe behaviors with algorithms otherwise. Ask if the computer program does what it is intended to do. This is verification and validation. Build a statistical model of the stochastic output. Design of experiments. Develop insights and inferences about the actual system. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 18 / 24

Modeling process Modeling process Figure: Simulation chain of inference Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 19 / 24 Another way Modeling process Start small - Build the simplest model which captures the essense of the system under study. Improve incrementally - Add features to improve the representatino of reality. Test frequently - Does the addition add to the models ability to represent reality for purpose of the objective of the model. Backtrack and simplify. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 20 / 24

Discrete event simulation Discrete event System state changes occur at discrete points in time. events Process view describes for each entity Resource requirements Activities Delays Decisions Event view advances time directly from one event to the next. Most commercial simulation software attempts to present the Process view. Most programming libraries implement Event view. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 21 / 24 Discrete event Software Simulation software A simulation should have the following components: System state: The collection of state variables which describe the system. Simulation clock: A variable giving the current value of simulated time. Event list: A list containing the next time when each type of event will occur. Statistical counters: Variables used for storing statistical information about system performance. Initialization routine: Initialize the simulation model at time zero. Timing routine: Determines the next event from the event list and then advances the simulation clock to that event. Event routine: Updates the system state when a particular event occurs. Library routines: Generate random observations from probability distributions. Report generator: Computes estimates of the desired measures of performance and produces a report when the simulation ends. Main program: Invokes the timing routine to determine the next event then transfers control to the corresponding event routine to update the system state. Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 23 / 24

Next steps Next steps Introduction to simulation and modeling Simulation library and random variates generation Input probability distributions Output Analysis Verification and validation Design of experiments Comparing alternative systems Dr. Louis Luangkesorn ( University of Pittsburgh ) Introduction to Simulation January 19, 2010 24 / 24