What is a Simulation? Simulation & Modeling. Why Do Simulations? Emulators versus Simulators. Why Do Simulations? Why Do Simulations?

Similar documents
Distributed Virtual Environments!

Modeling and Simulation: Linking Entertainment & Defense

Datorstödd Elektronikkonstruktion

DAV Institute of Engineering & Technology Department of ECE. Course Outcomes

Introduction (concepts and definitions)

Introduction to co-simulation. What is HW-SW co-simulation?

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

ARMY RDT&E BUDGET ITEM JUSTIFICATION (R2 Exhibit)

Interconnection OTBSAF and NS-2

Processors Processing Processors. The meta-lecture

UNIT-III POWER ESTIMATION AND ANALYSIS

Computer Aided Design of Electronics

Engineered Resilient Systems DoD Science and Technology Priority

SIMULATION-BASED ACQUISITION: AN IMPETUS FOR CHANGE. Wayne J. Davis

Weather Disruption-Tolerant Self-Optimising Millimeter Mesh Networks: Architecture, Routing Protocols, Performance

Exploring Pedestrian Bluetooth and WiFi Detection at Public Transportation Terminals

On Intelligence Jeff Hawkins

VLSI System Testing. Outline

Industrial and Systems Engineering

Qosmotec. Software Solutions GmbH. Technical Overview. QPER C2X - Car-to-X Signal Strength Emulator and HiL Test Bench. Page 1

Internet of Things. (Ref: Slideshare)

Data Dissemination in Wireless Sensor Networks

ARCHIVED REPORT. Distributed Information Systems (DIS) - Archived 09/2003

Robotics Institute. University of Valencia

The LVCx Framework. The LVCx Framework An Advanced Framework for Live, Virtual and Constructive Experimentation

Circuit Simulators: a Revolutionary E-Learning Platform

WIRELESS COMMUNICATION STUDY NOTES

Communications Planner for Operational and Simulation Effects With Realism (COMPOSER)

Policy-Based RTL Design

CS594, Section 30682:

STE Standards and Architecture Framework TCM ITE

DragonWave, Horizon and Avenue are registered trademarks of DragonWave Inc DragonWave Inc. All rights reserved

Real-Time Systems Hermann Härtig Introduction

Mobile Broadband Multimedia Networks

Kosuke Imamura, Assistant Professor, Department of Computer Science, Eastern Washington University

Research Statement. Sorin Cotofana

BASIC CONCEPTS OF HSPA

Map of Human Computer Interaction. Overview: Map of Human Computer Interaction

Automated Testing of Autonomous Driving Assistance Systems

William Milam Ford Motor Co

Modernised GNSS Receiver and Design Methodology

Channel Emulation Solution

Interconnect-Power Dissipation in a Microprocessor

Course Outcome of M.Tech (VLSI Design)

Despite the euphonic name, the words in the program title actually do describe what we're trying to do:

Fundamentals of Industrial Control

Glossary of terms. Short explanation

Some results on optimal estimation and control for lossy NCS. Luca Schenato

Last Time: Acting Humanly: The Full Turing Test

REVOLUTIONIZING THE COMPUTING LANDSCAPE AND BEYOND.

Introduction. Reading: Chapter 1. Courtesy of Dr. Dansereau, Dr. Brown, Dr. Vranesic, Dr. Harris, and Dr. Choi.

Simulating Mobile Networks Tools and Models. Joachim Sachs

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

Hardware-Software Co-Design Cosynthesis and Partitioning

The Essential Eight technologies Augmented and virtual reality

Outline Simulators and such. What defines a simulator? What about emulation?

Adopting Standards For a Changing Health Environment

Imagine your future lab. Designed using Virtual Reality and Computer Simulation

Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation

Model Based Design Of Medical Devices

Chapter 6: DSP And Its Impact On Technology. Book: Processor Design Systems On Chip. By Jari Nurmi

Central T&E Investment Program. Net-centric Weapons Test and Evaluation Environment (NCWTEE)

RECOMMENDATION ITU-R M.1391 METHODOLOGY FOR THE CALCULATION OF IMT-2000 SATELLITE SPECTRUM REQUIREMENTS

Executive Summary. Chapter 1. Overview of Control

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter 2007

Comments of Shared Spectrum Company

MAKING IOT SENSOR SOLUTIONS FUTURE-PROOF AT SCALE

Mesh Networks. unprecedented coverage, throughput, flexibility and cost efficiency. Decentralized, self-forming, self-healing networks that achieve

Tiago Reimann Cliff Sze Ricardo Reis. Gate Sizing and Threshold Voltage Assignment for High Performance Microprocessor Designs

Comparison of Simulation-Based Dynamic Traffic Assignment Approaches for Planning and Operations Management

Jamming Wireless Networks: Attack and Defense Strategies

Using VRML and Collaboration Tools to Enhance Feedback and Analysis of Distributed Interactive Simulation (DIS) Exercises

UNCLASSIFIED R-1 ITEM NOMENCLATURE FY 2013 OCO

Sensor Networks and the Future of Networked Computation

Figure 1.1: Quanser Driving Simulator

Challenges of in-circuit functional timing testing of System-on-a-Chip

COTSon: Infrastructure for system-level simulation

Networked Virtual Environments

Parallel Computing 2020: Preparing for the Post-Moore Era. Marc Snir

Digital Systems Design

LTE Essentials. Thursday, January 17, 2013 at 1:00 PM (ET)

Abstract of PhD Thesis

COMPUTER SCIENCE AND ENGINEERING

From Smart Machines to Smart Supply Chains: Some Missing Pieces

Evaluation of Connected Vehicle Technology for Concept Proposal Using V2X Testbed

SOFTWARE IMPLEMENTATION OF THE

Does anybody really know what 5G is? Does anybody really care?

Autonomous Self-deployment of Wireless Access Networks in an Airport Environment *

Spin-on and Spin-off Challenges of Commercial Technologies

Approximating Computation and Data for Energy Efficiency

Visualization of Vehicular Traffic in Augmented Reality for Improved Planning and Analysis of Road Construction Projects

A Divide-and-Conquer Approach to Evolvable Hardware

PROCESS-VOLTAGE-TEMPERATURE (PVT) VARIATIONS AND STATIC TIMING ANALYSIS

Robots in the Loop: Supporting an Incremental Simulation-based Design Process

Digital GPS Repeaters for Wireless Network Timing

MÄK Technologies, Inc. Visualization for Decision Superiority

High Performance Computing Systems and Scalable Networks for. Information Technology. Joint White Paper from the

CSTA K- 12 Computer Science Standards: Mapped to STEM, Common Core, and Partnership for the 21 st Century Standards

PE713 FPGA Based System Design

CPE/CSC 580: Intelligent Agents

Transcription:

What is a Simulation? Simulation & Modeling Introduction and Motivation A system that represents or emulates the behavior of another system over time; a computer simulation is one where the system doing the emulating is a computer program 2 Emulators versus Simulators *** Some differentiate between the two and the definitions may vary: Emulators - Special types of simulators.» Emulates a computer device or program. CAVEAT: Sometimes the definition is fuzzy when something changes from being a simulation and becomes an emulation. Duplicates functions on one system using a different system (some virtual machines do this), an x86 emulator emulates the full machine including the processor,.» Emulators are imitators» 100% identical behavior, more self-contained Simulator more abstract functions» A simulator is something whose behavior can be, in places, different (more abstract) for better or worse. Historically emulator meant hardware and simulator meant simulating via software Simulators Emulators 3 Analyze processes that have different time spans (days/years/eons) 4» Simulations are less costly, safer and more environmental friendly than real world experiments Nuclear weapons, automotive structural design collision testing, experimental surgical procedures» Use simulation(s) as a decision tool Weather forecasting simulations predicts storm patterns, airtraffic applications minimize delays 5 6

» Utilize Virtual Environments Commercial and military pilots utilize interactive simulations to enhance their flying skills. Networked Simulators to enable military pilots from different geographical regions to participate in one single exercise» Medicine University of Alberta doctors in training use simulated patients Analyze processes that have different time spans (days/years/eons)» Corrosion testing for automobiles, astronomers may analyze theories that might otherwise take millions of years to verify. 7 8 Classes of Simulation Applications Analyze processes that have different time spans (days/years/eons) System Analysis On-Line Simulations Virtual Environments 9 10 Applications: System Analysis Telecommunication networks Classical application of simulation; here, focus on discrete event simulation Telecommunication networks Transportation systems Electronic systems:» Computer systems & logic circuits Battlefield simulations (blue army vs. red army) Ecological systems Manufacturing systems Logistics Focus typically on planning & system design 11 Evaluate networking hardware, software, protocol and services New technologies for networking such as images, data, video in addition to voice forces designers to turn toward simulation tools to aid them. Parameters: fiber (more traffic), copper, switches Metrics: Cell losses Parallel Simulations 12

Transportation Systems Computer Systems & Logic Circuits Macro simulations» top-down approach, focusing on the observable behavior of a system.» regenerate the observable behavior in terms of aggregate» Course grain, shorter run-time Micro simulations» Bottom-up approach with detailed, rich behaviors for individual entities (e.g., cars, car following behavior).» Fine grained Automotive Air Traffic Control: Evaluate adding new runways to alleviate congestion 13 Uses VHDL hardware description language Gate level logic simulations focus on modeling individual circuits for implementing boolean functions and storage elements Higher level models for switches, processors, memories and so on! these usually uses benchmark programs on the modeled machine. 14 Battlefield Simulations Ecological Systems Virtual Environments Immersive: In-the-loop» Hardware-in-the-loop: evaluate effectiveness of new devices» Software-in-the-loop» Human-in-the-loop Geographically distributed training environments Micro/Macro simulations Insects: Ants & Bees & Locusts: Need scalable simulators Evolutionary: Lyme disease 15 16 Manufacturing Systems Applications: On-Line Decision Aids Simulations can aid in design and analysis aid for» factory layouts, equipment decisions, operating policies;» Scheduling tool for production processes;» a part of a real-time, on-line control system Many commercial simulation tools 17 live data feeds situation database forecasting tool (fast simulation) Simulation tool is used for fast analysis of alternate courses of action in time critical situations» Initialize simulation from situation database interactive simulation environment» Faster-than-real`-time execution to evaluate effect of decisions Applications: air traffic control, battle management Simulation results may be needed in only seconds analysts and decision makers 18

Applications: Virtual Environments Virtual Environments vs. Analysis Uses: training (e.g., military, medicine, emergency planning), entertainment, social interaction? Simulations are often used in virtual environments to create dynamic computer generated entities Adversaries and helpers in video games Defense: Computer generated forces (CGF)» Automated forces» Semi-automated forces Physical phenomena» Trajectory of projectiles» Buildings blowing up» Environmental effects on environment (e.g., rain washing out terrain) Typical Characteristics Typical Objective Execution Pacing Human Interaction Accuracy Analysis Quantitative Analysis of complex systems If included, often external observer Statistically correct results Virtual Environments Create realistic or entertaining representation Real-time Integral to controlling entities Human perception plays a large role 19 20 Simulation Fundamentals A computer simulation is a computer program that models the behavior of a physical system over time. Program variables (state variables) represent the current state of the physical system Simulation program modifies state variables to model the evolution of the physical system over time. 21 Simulation Taxonomy event driven discrete models As-fast-aspossible timestepped computer simulation continuous models Continuous time simulation» State changes occur continuously across time» Typically, behavior described by differential equations Discrete time simulation» State changes only occur at discrete time instants» Time stepped: time advances by fixed time increments» Event stepped: time advances occur with irregular increments 22 Time Stepped vs. Event Stepped Time Stepped Execution (Paced) Goal: compute state of system over simulation time state variables simulation time time stepped execution state variables simulation time event driven execution while( simulation not completed ) { Wait Until( W2S( wallclock time ) current simulation time ) Compute state of simulation at end of this time step Advance simulation time to next time step } 23 24

Event Stepped Execution (DES) Parallel / Distributed Simulation Parallel (distributed) simulation refers to the technology concerned with executing computer simulations over computing systems containing multiple processors while( simulation not completed ) { Remove smallest time stamped event from event list Set simulation time clock to time stamp of event Execute event handler in application to process event } Tightly coupled multiprocessor systems Workstations interconnected via a network (e.g., the Internet) Handheld computers with wireless links 25 26 Why Execute Over Multiple CPUs? Enable Simulation of Big Models Reduced model execution time» Up to N-fold reduction using N CPUs May not have enough memory on a single machine Scalable performance» Maintaining the same execution speed for bigger models/ virtual environments by using more CPUs» Particularly important in virtual environments Geographically distributed users and/or resources (e.g., databases, specialized equipment)» Co-location is expensive! May be impractical Integrate simulations running on different platforms» Network rather than port Fault tolerance» Not as easy as it might seem! 27 Cell level simulation of an ATM (packet) network Simulate one hour of network operation Network with 1000 links 155 Mbits/second links @ 20% utilization 53 byte packets (cells) One simulator event per cell transmission (link) 500 K events / second simulator speed 150 hours for a single simulation run! Larger, more complex networks?» Next Generation Internet: Million nodes Higher link bandwidths 28 Historical Perspective High Performance Computing Community Chandy/Misra/Bryant algorithm 1975 1980 1985 1990 1995 2000 Defense Community Adventure (Xerox PARC) Time Warp algorithm Dungeons and Dragons Board Games Internet & Gaming Community Conservative synchronization SIMulator NETworking (SIMNET) (1983-1990) Multi-User Dungeon (MUD) Games Optimistic synchronization High Level Architecture (1996 - today) Distributed Interactive Simulation (DIS) Aggregate Level Simulation Protocol (ALSP) (1990-1997ish) Multi-User Video Games Summary: DES Simulation is seeing widespread use in system design and management, as decision aids, and in creating virtual worlds for training or entertainment Fundamental concepts: State, changing state across simulation time» Continuous vs. discrete time simulations» Here, focus on discrete event simulation 30

Summary: PDES Reasons for distributing the execution of simulations over multiple computers include» Performance» Geographical distribution» Easier integration of systems (interoperability), reuse Parallel/Distributed simulation technologies developed largely independently in different R&D communities» High performance computing» Defense» Internet and gaming 31