Continuity and Change (Activity) Are Fundamentally Related In DEVS Simulation of Continuous Systems Bernard P. Zeigler Arizona Center for Integrative Modeling.

Slides:



Advertisements
Similar presentations
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 181 Lecture 18 DSP-Based Analog Circuit Testing  Definitions  Unit Test Period (UTP)  Correlation.
Advertisements

Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
CMP206 – Introduction to Data Communication & Networks Lecture 2 – Signals.
Design of Variable Input Delay Gates for Low Dynamic Power Circuits
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Chapter 2 Fundamentals of Data and Signals
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
DEVS and DEVS Model Dr. Feng Gu. Cellular automata with fitness.
MCE 561 Computational Methods in Solid Mechanics
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Measuring Cooperative Robotic Systems Using Simulation-Based Virtual Environment Xiaolin Hu Computer Science Department Georgia State University, Atlanta.
Pulse Modulation 1. Introduction In Continuous Modulation C.M. a parameter in the sinusoidal signal is proportional to m(t) In Pulse Modulation P.M. a.
Formatting and Baseband Modulation
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Review. A_DA_A Ball_A Ball_B player_A B_DB_A Ball_B Ball_A player_B Ball_A Ball_B A_A, B_DA_D, B_A Ball_A Ball_B CFSM Player_A  : X  S  S X A = {Ball_A}
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
ANALYSIS AND VISUALIZATION OF TIME-VARYING DATA USING ‘ACTIVITY MODELING’ By Salil R. Akerkar Advisor Dr Bernard P. Zeigler ACIMS LAB (University of Arizona)
DEVS Today: Recent Advances in Discrete Event - Based Information Technology Bernard P. Zeigler Professor, ECE Arizona Center for Integrative Modeling.
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
DEVS-Centered Modeling and Simulation: Core Concepts for Engineering Education Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation.
Dr. Asawer A. Alwasiti.  Chapter one: Introduction  Chapter two: Frequency Distribution  Chapter Three: Measures of Central Tendency  Chapter Four:
Simulating Human Agropastoral Activities Using Hybrid Agent- Landscape Modeling M. Barton School of Human Evolution and Social Change College of Liberal.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Formalized Model Development & Test Generation: Key Role of Abstraction Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation (ACIMS)
Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 313 Linear Systems and Signals Fall 2010.
Computer Vision – Compression(1) Hanyang University Jong-Il Park.
Precise and Approximate Representation of Numbers 1.The Cartesian-Lagrangian representation of numbers. 2.The homotopic representation of numbers 3.Loops.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Fuzzy Systems Michael J. Watts
Unifying Discrete and Continuous Simulation with Discrete Events: DEVS as the Next Modeling Standard Bernard P. Zeigler Arizona Center for Integrative.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Akram Bitar and Larry Manevitz Department of Computer Science
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Introduction to Digital Signals
DEVS and SES as a Framework for Modeling and Simulation Tool Development Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University.
Digital Image Processing
Transforming DEVS to Non-Modular Form For Faster Cellular Space Simulation Arizona Center for Integrative Modeling and Simulation Electrical and Computer.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
CHEE825 Fall 2005J. McLellan1 Nonlinear Empirical Models.
Approach and Techniques for Building Component-based Simulation Models Bernard P. Zeigler, Ph.D. Hessam S. Sarjoughian, Ph.D. Arizona Center for Integrative.
Review n System dynamics : A sequence of state transition n model : A set of rules for state transition System S X Y Discrete event system FSM (Automata)
Generalized Point Based Value Iteration for Interactive POMDPs Prashant Doshi Dept. of Computer Science and AI Institute University of Georgia
Introduction and Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M4L1 Dynamic Programming and Applications.
Neural networks (2) Reminder Avoiding overfitting Deep neural network Brief summary of supervised learning methods.
Microwave Engineering Chapter 5.7 ~ 5.9
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
Introduction to Discrete-Time Control Systems fall
OPERATING SYSTEMS CS 3502 Fall 2017
Fuzzy Systems Michael J. Watts
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Biomedical Signal processing Chapter 1 Introduction
SAMPLING & ALIASING.
CPSC 531: System Modeling and Simulation
Kocaeli University Introduction to Engineering Applications
Objective of This Course
Biomedical Signal processing Chapter 1 Introduction
Filtering and State Estimation: Basic Concepts
Approach and Techniques for Building Component-based Simulation Models
Chapter 14 Spatial Threshold Systems
Discrete Controller Synthesis
DEVS Background DEVS = Discrete Event System Specification
Biomedical Signal processing Chapter 1 Introduction
Lecture 1: Signals & Systems Concepts
Comparison of CFEM and DG methods
LECTURE 02: BASIC PROPERTIES OF SIGNALS
Akram Bitar and Larry Manevitz Department of Computer Science
Presentation transcript:

Continuity and Change (Activity) Are Fundamentally Related In DEVS Simulation of Continuous Systems Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation (ACIMS) University of Arizona Tucson, Arizona 85721, USA

Outline Review DEVS Framework for M&S Brief History of Activity Concept Development Summary of Recent Results Theory of Event Sets – Basis for Activity Theory Conclusions and Implications

Synopsis A continuous curve can be represented by a sequence of finite events sets whose points get closer together at just the right rate We can measure the amount of change in such a continuous curve – this is its activity The activity divided by the largest change in an event set gives the size of this set’s most economical representation DEVS quantization can achieve this optimal representation

DEVS = Discrete Event System Specification Based on formal M&S framework Derived from mathematical dynamical system theory Supports hierarchical, modular composition Object oriented implementation Supports discrete and continuous paradigms Exploits efficient parallel and distributed simulation techniques DEVS Background

DEVS Hierarchical Modular Composition Atomic: lowest level model, contains structural dynamics -- model level modularity + coupling Coupled: composed of one or more atomic and/or coupled models Hierarchical construction

DEVS Theoretical Properties Closure Under Coupling Universality for Discrete Event Systems Representation of Continuous Systems –quantization integrator approximation –pulse representation of wave equations Simulator Correctness, Efficiency

Atomic Models Ordinary Differential Equation Models Spiking Neuron Models Coupled Models Petri Net Models Cellular Automata n-Dim Cell Space Partial Differential Equations Self Organized Criticality Models Processing/ Queuing/ Coordinating Processing Networks Networks, Collaborations Physical Space DEVS Expressability can be components in a coupled model Multi Agent Systems Discrete Time/ StateChart Models Quantized Integrator Models Spiking Neuron Networks Stochasti c Models Reactive Agent Models Fuzzy Logic Models

Activity Theory unifies continuous and discrete paradigms Heterogeneous activity in time and space Quantization allows DEVS to naturally focus computing resources on high activity regions DEVS can represents all decision making and continuous dynamic elements DEVS concentrates its computational resources at the regions of high activity. While DEVS uses smaller time advance (similar to time step in DTSS) in regions of high activity. DTSS uses the same time step regardless of the activity.

Mapping Ordinary Differential Equation Systems into DEVS Quantized Integration DEVS instantaneous function DEVS Integrator  d s 1 /dt s 1 f 1 x  d s 2 /dt s 2 f 2  d s n /dt s n f n s x s x s x...  d s 1 /dt s 1 f 1 x  d s 2 /dt s 2 f 2  d s n /dt s n f n s x s x s x... DEVS S F F F Theory of Modeling and Simulation, 2nd Edition, Bernard P. Zeigler, Herbert Praehofer, Tag Gon Kim, Academic Press, 2000.

PDE Stability Requirements Courant Condition requires smaller time step for smaller grid spacing for partial differential equation solution This is a necessary stability condition for discrete time methods but not for quantized state methods Ernesto Kofman, Discrete Event Based Simulation and Control of Hybrid Systems, Ph.D. Dissertation: Faculty of Exact Sciences, National University of Rosario, Argentina

Activity – a characteristic of continuous functions Activity(0,T) = b a Activity = |b-a| #Threshold Crossings = Activity/quantum

#DEVS Transitions = #Threshold Crossings R. Jammalamadaka,, Activity Characterization of Spatial Models: Application to the Discrete Event Solution of Partial Differential Equations, M.S. Thesis: Fall 2003, Electrical and Computer Engineering Dept., University of Arizona

Activity Calculations for 1-D Diffusion Initial state ActivityActivity/N as N  ∞ Rectangular pulse 2HN(W/L)(1 –W/L)2H(W/L) (1 –W/L) Triangular pulse (N-1)*H/4H/4 Gaussian pulse Constant/L This shows that the activity per cell in all the three cases goes to a constant as N (number of cells) tends to infinity.

DEVS Efficiency Advantage where Activity is Heterogeneous in Time and Space Time Period T time step size # time steps =T/ activity A quantum q # crossings =A/q Potential Speed Up = #time steps / # crossings X number of cells

Ratio: DTSS/DEVS Transitions

#DTSS/#DEVS Ratio for 1-D Diffusion initial stateDTSS/DEVS Rectangular Pulse where w is the width to the length ratio Triangular Pulse Gaussian Pulse *f is an increasing function of L Alexander Muzy’s scalability results

Muzy’s Fire Front model Instantaneous Activity Peak Bars Accumulated Activity Region Of Imminence S. R. Akerkar, Analysis and Visualization of Time-varying data using the concept of 'Activity Modeling', M.S. Thesis, University of Arizona,2004

DEVS vs DTSS in Parallel Distributed Simulation J. Nutaro, Parallel Discrete Event Simulation with Application to Continuous Systems, Ph. D. Dissertation Fall 2003,, Univerisity of Arizona

N-1 N QB QB QB N/2 Units N-1 N N 2 QB QB QB N/2 Units N-1 N 2 QB QB QB N/2 Units n = log 2 N Stages Q = QuantizerB = Butterfly N = 1024 (powers of 2) n = 10 (log 2 N) q = Quantum for respective stage QFFT Module q = q 0 /Nq = q 0 /(N-1)q = q 0 / Harsha Gopalakrishnan, DEVS Scalable Modeling of a High performance pipelined DIF FFT core with Quantization, MS Thesis U. Arizona. Quantization in Digital Processing Transmit to next stage only when quantum exceeded

Music 300 Hz Hz Voice 300 Hz Hz Reduction (at q 0 = 0.06) = 52% Input 300 – 3000 Hz QFFT Module (Forward Transform) Output QFFT Module (Backward Transform) Analog LPF 3000 Hz cut-off QFFT System Reduction (at q 0 = 0.02) = 30.8% At q =.02 At q =.06

Event Set Basics

Event set refinement sequence size = 5 size = 9 size = 17 size = 33

Convergence of the Sum, Maximum variation, and form factor

Domain and Range Based Event Sets domain-based event set with equally spaced domain points separated by step. denote a range-based event set with equally spaced range values, separated by a quantum For an n-th degree polynomial we have. So that potential gains of the order of are possible.

Conclusions Activity T heory confirms that where there is heterogeneity of activity in space and time, DEVS will have significant advantage over conventional numerical methods This lead us to try reformulating the math foundations of continuity in discrete event terms

Implications sensing– most sensors are currently driven at high sampling rates to obviate missing critical events. Quantization-based approaches require less energy and produce less irrelevant data. data compression – even though data might be produced by fixed interval sampling, it can be quantized and communicated with less bandwidth by employing domain-based to range-based mapping. reduced communication in multi-stage computations, e.g., in digital filters and fuzzy logic is possible using quantized inter-stage coupling. spatial continuity–quantization of state variables saves computation and our theory provides a test for the smallest quantum size needed in the time domain; a similar approach can be taken in space to determine the smallest cell size needed, namely, when further resolution does not materially affect the observed spatial form factor. coherence detection in organizations – formations of large numbers of entities such as robotic collectives, ants, etc. can be judged for coherence and maintenance of coherence over time using this paper’s variation measures. education -- revamp teach of the calculus to dispense with its mysterious foundations (limits, continuity) that are too difficult to convey to learners.