1 / 26

Arizona Center for Integrative Modeling and Simulation (ACIMS)

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 zeigler@ece.arizona.edu www.acims.arizona.edu. Outline.

nash
Download Presentation

Arizona Center for Integrative Modeling and Simulation (ACIMS)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Continuity and Change (Activity) Are Fundamentally Related In DEVS Simulation of Continuous SystemsBernard P. Zeigler Arizona Center for Integrative Modeling and Simulation(ACIMS) University of ArizonaTucson, Arizona 85721, USAzeigler@ece.arizona.eduwww.acims.arizona.edu

  2. 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

  3. 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

  4. DEVS Background • 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

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

  6. 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

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

  8. Activity Theory unifies continuous and discrete paradigms DEVS can represents all decision making and continuous dynamic elements Heterogeneous activity in time and space Quantization allows DEVS to naturally focus computing resources on high activity regions 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.

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

  10. 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

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

  12. #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

  13. H B H/2 A 0 N-1 (N-1)/2 L H A HW/L B 0 W L Activity Calculations for 1-D Diffusion This shows that the activity per cell in all the three cases goes to a constant as N (number of cells) tends to infinity.

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

  15. Ratio: DTSS/DEVS Transitions

  16. #DTSS/#DEVS Ratio for 1-D Diffusion *f is an increasing function of L Alexander Muzy’s scalability results

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

  18. 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

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

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

  21. Event Set Basics

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

  23. Convergence of the Sum ,Maximum variation, and form factor

  24. 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.

  25. Conclusions • Activity Theory 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

  26. 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.

More Related