Extension du formalisme SES pour l’intégration de la hiérarchie d’abstraction et la granularité temporelle au sein de la modélisation et la simulation.

Slides:



Advertisements
Similar presentations
Andrea Maurino Web Service Design Methodology Batini, De Paoli, Maurino, Grega, Comerio WP2-WP3 Roma 24/11/2005.
Advertisements

Ch:8 Design Concepts S.W Design should have following quality attribute: Functionality Usability Reliability Performance Supportability (extensibility,
© Gerald Kotonya and Ian Sommerville Viewpoint-Oriented Requirements Methods.
Illustrating System Entity Structure For Building Simulation Bernard Zeigler RTSync Corp ACIMS C4I Center, GMU April 2011.
Formal Modelling of Reactive Agents as an aggregation of Simple Behaviours P.Kefalas Dept. of Computer Science 13 Tsimiski Str Thessaloniki Greece.
MODELLING OF MOBILE AGENT SYSTEMS USING dynPLA APPROACH Agnė Paulauskaitė-Tarasevičienė Henrikas Pranevičius 1.
Extended DEVSML as a Model Transformation Intermediary to Make UML Diagrams Executable Jianpeng Hu Dept. of Computer Science and Engineering Shanghai Jiao.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
An Aspect-Oriented Approach For Web Application Access Control Presented by: Mohamed Hassan Carleton University Carleton University
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
WebRatio BPM: a Tool for Design and Deployment of Business Processes on the Web Stefano Butti, Marco Brambilla, Piero Fraternali Web Models Srl, Italy.
DEVS-Based Simulation Web Services for Net-Centric T&E Saurabh Mittal, Ph.D. Jose L. Risco-Martin*, Ph.D. Bernard P. Zeigler, Ph.D. Arizona Center for.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
7M701 1 Software Engineering Object-oriented Design Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 12 )
WebRatio BPM: a Tool for Design and Deployment of Business Processes on the Web Stefano Butti, Marco Brambilla, Piero Fraternali Web Models Srl, Italy.
DEVS and DEVS Model Dr. Feng Gu. Cellular automata with fitness.
Enabling Flexible Integration of Business and Technology Using Service-based Processes Jelena Zdravkovic, University of Gävle/Royal Institute of Technology.
Multiple Data Structuring I. N. Skopin Possibilities of working with data possessing several structures are discussed. Such work is shown to require development.
C++ fundamentals.
Traditional Approach to Requirements Data Flow Diagram (DFD)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
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}
DEVSView: A DEVS Visualization Tool Wilson Venhola.
An Introduction to Software Architecture
AToM 3 : A Tool for Multi- Formalism and Meta-Modelling Juan de Lara (1,2) Hans Vangheluwe (2) (1) ETS Informática Universidad Autónoma de Madrid Madrid,
DEVS Namespace for Interoperable DEVS/SOA
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Discrete Event Modeling and Simulation of Distributed Architectures using the DSSV Methodology E. de Gentili, F. Bernardi, J.F. Santucci University Pascal.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
SOFTWARE DESIGN.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
1 Introduction to Software Engineering Lecture 1.
1 A Model-Driven Approach For Information System Migration Raymonde Le Delliou 1, Nicolas Ploquin 2, Mariano Belaunde 3, Reda Bendraou 4, Louis Féraud.
By Ezequiel Glinsky Research Assistant, University of Buenos Aires, Argentina Supervisor: Prof. Gabriel A. Wainer SCE, Carleton University Thursday, November.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
SWT - Diagrammatics Lecture 4/4 - Diagramming in OO Software Development - partB 4-May-2000.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
DEVS Based Modeling and Simulation of the CORBA POA F. Bernardi, E. de Gentili, Pr. J.F. Santucci {bernardi, gentili, University.
Chapter 5: Distributed objects and remote invocation Introduction Remote procedure call Events and notifications.
(1) Basic Language Concepts © Sudhakar Yalamanchili, Georgia Institute of Technology, 2006.
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
Modeling the ODP Computational Viewpoint with UML 2.0: The Templeman Library Example José Raúl Romero, Antonio Vallecillo Universidad de Málaga, Spain.
A Mediated Approach towards Web Service Choreography Michael Stollberg, Dumitru Roman, Juan Miguel Gomez DERI – Digital Enterprise Research Institute
Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, University of Corsica SPE Laboratory.
STCM: A spatio-temporal Component Model Hinde Lilia Bouziane Christian Perez PARIS Project-Team INRIA Rennes/IRISA Toulouse, France, December 7 th 2007.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Transforming DEVS to Non-Modular Form For Faster Cellular Space Simulation Arizona Center for Integrative Modeling and Simulation Electrical and Computer.
Digital Design Using VHDL and PLDs ECOM 4311 Digital System Design Chapter 1.
1 Domain Management in a Hierarchical Generic Models Library University Pascal Paoli of Corsica SPE Laboratory Fabrice BERNARDI, Jean-François SANTUCCI.
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
CS223: Software Engineering
1 CEN 4020 Software Engineering PPT4: Requirement analysis.
ECE 449/549 Class Notes #2 Introduction to Discrete-Event Systems Specification (DEVS) Sept
Slide 1 Chapter 8 Architectural Design. Slide 2 Topics covered l System structuring l Control models l Modular decomposition l Domain-specific architectures.
PDEVS Protocol Performance Prediction using Activity Patterns with Finite Probabilistic DEVS DEMO L. Capocchi, J.F. Santucci, B.P. Zeigler University of.
Www. senseglobal.com 1 MS4 Modeling Environment (MS4 Me) System Entity Structure based DEVS Modeling and Simulation environment July, 2015 MS4 Systems,
DEVS modeling of Traffic in AToM3 Presented by Ximeng Sun April 11, 2005.
SOFTWARE DESIGN & SOFTWARE ENGINEERING Software design is a process in which data, program structure, interface and their details are represented by well.
Basic Language Concepts
Neuro-DEVS An hybrid methodology to describe complex systems
Web Ontology Language for Service (OWL-S)
SyDEVS Introduction Theory – Paradigm – Implementation
Unified Modeling Language
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
An Introduction to Software Architecture
DEVS Background DEVS = Discrete Event System Specification
Function-oriented Design
Presentation transcript:

Extension du formalisme SES pour l’intégration de la hiérarchie d’abstraction et la granularité temporelle au sein de la modélisation et la simulation DEVS L. Capocchi, J.F. Santucci, B.P. Zeigler University of Corsica France RTSync Corp. USA

INTRODUCTION  Context of the work:  Modeling and Simulation (M&S) of Systems described according to several levels of abstraction using the DEVS formalism  Representation of DEVS hierarchical structures : System Entity Structure (SES)

INTRODUCTION  Proposed Approach :  What is the abstraction and time hierarchy;  Add abstraction and time hierarchy concept to the SES;  Provide operations to implement abstraction and time hierarchy into DEVS M&S.  Validation

Outline 1.Abstraction and time hierarchies, SES & DEVS 2.Abstraction and time hierarcies into SES & DEVS:. Modeling aspects. Simulation aspects 3.Implementation 4.Case Study 5.Conclusion

Outline 1.Abstraction and time hierarchies, SES & DEVS 2.Abstraction and time hierarcies into SES & DEVS:. Modeling aspects. Simulation aspects 3.Implementation 4.Case Study 5.Conclusion

Background: Abstraction Hierarchy vs Description Hierarchy

Background: Time hierarchy  Time hierarchy

Background: SES

Background: SES Example  A SES involves a set of DEVS models which can be obtained by a pruning process  Pruning is an operation to cut off unnecessary structure in a SES based on the specification of a pragmatic frame  A pruned SES is transformed into a DEVS model

Background: DEVS and Abstraction  Two kinds of model : Atomic Models : definition of basic behavioral description. Coupled models : definition of the structural description of the model  Hierarchical and modular modeling  Explicit separation between the modeling and simulation parts

Background: DEVS DEVS  SES to DEVS models transformation

Outline  Background: Abstraction hierarchy, SES & DEVS  Abstraction hierarchy into SES and DEVS :  modeling aspects  Simulation aspects  Implementation  Case Study  Conclusion

Abstraction and Time hierarchy into SES and DEVS : Modeling Aspects  Integration of abstraction and Time Hierarchies into SES

Implementation: Case Study: A Watershed behavior

Abstraction hierarchy into SES and DEVS : Modeling Aspects  Transfer functions between levels have to be defined: (i)downward functions which allow us to describe how the data are transferred from level N to level N+1 (disaggregation); (ii) upward functions which allow to describe how the data are transferred from level N+1 to level N (aggregation).

Time hierarchy into SES and DEVS : Modeling Aspects  Modeling according several levels of time granularity enabled by:  adding into a given coupled model (described according to a given timebase) an atomic model whose behavior requires to be executed at a finer or coarser timebase.  Conversion functions (convert the current timebase into a finer (resp. coarser) one when going downward -from a level of granularity N to a level N+1 - (resp. upward - from a level of granularity N+1 to a level N).

Abstraction and Time hierarchies into SES and DEVS : Simulation Aspects  Dynamically addition of two atomic models into coupled models to implement the transfer of information between levels of abstraction : the DAM (Downward Atomic Model) and the UAM (Upward Atomic Model

Abstraction and time hierarchies into SES and DEVS : Simulation Aspects  The transfer functions are associated with the UAM and DAM atomic models.  Concerning DAM: the transfer function is executed each time an input event is received on the input of the DMA using an external transition and output events on each one of the output ports of the DAM are generated according to the transfer function immediately (time advance = 0).  Concerning UAM: the transfer function is executed each time each input of the UAM model has received an event. As soon as this set of input events has been received, an output event is generated on the output port of the UAM model.

Abstraction and time hierarchies into SES and DEVS : Simulation Aspects  The timebase conversion function allowing to go from a give time granularity level to a finer one is associated with the DAM atomic model.  The timebase conversion function allowing to go from a given time granularity level to a coarser one is associated with the UAM atomic model.  A time granularity finer conversion function expresses how an event message received at time t at the granularity level N is expanded into several event messages at level N+1  A time granularity coarser conversion function expresses how a set of events collected on at level N+1 are aggregated into an event at level N.

Abstraction and time hierarchies into SES and DEVS : Simulation Aspects Example  For the DAM : as soon as an event is arriving as input of the model at level N let say at time t on the timebase Day, the time granularity finer conversion function associated with the DAM model is activated and allows to generated 24 events planned at time t , t , …, t + 1 on the timebase Hour  For the UAM : as soon as 24 events collected at the inputs of the UAM model on the timebase Hour, the time granularity coarser conversion function is activated and allows to aggregate the 24 events into one event at time t on the timebase Day at level N.

Abstraction hierarchy into SES and DEVS : Simulation Aspects  The introduction of the two kinds of atomic model DAM and UAM allows to use the classical abstract simulator concepts when performing simulation of models through several levels of abstraction or granularity

Outline 1.Abstraction and time hierarchies, SES & DEVS 2.Abstraction and time hierarcies into SES & DEVS:. Modeling aspects. Simulation aspects 3.Implementation 4.Case Study 5.Conclusion

Implementation : DEVSimPy Object oriented framework Environment provides a user-friendy interface for creating DEVS models The simulation is performed by running the PyDEVS simulator DEVSimPy It is based on a strong notion of genericity of use Dedicated to DEVS M&S Developed at University of Corsica Using Python Language and the WyPython User Interface library Open source project

Implementation : DEVSimPy

Implementation: DEVSimPy and Abstraction When the user wants to implement an abstraction or time level in a coupled model with DEVSimPy: (i)it defines the level of abstraction oe time using the spin control (ii)it specifies a behavior of two atomic models in charge of the downward/upward abstraction/conversion rules for a coupled model. The code of these two atomic models can be edited by clicking in the down (resp. up) arrow button for the DAM (resp. UAM) model.

Outline 1.Abstraction and time hierarchies, SES & DEVS 2.Abstraction and time hierarcies into SES & DEVS:. Modeling aspects. Simulation aspects 3.Implementation 4.Case Study 5.Conclusion

Implementation: Case Study: A Watershed behavior

Implementation: DEVSimPy Modeling

Implementation: DEVsimPY Modeling

Implementation: Case Study T1: allows the downward transfer between the input port rain at level 0 of abstraction of WS and the input ports in_f low 1, in_f low 2 and in_f low 3 at level of abstraction 1 of WS. Function is defined as follows: in_f low 1 (resp. in_f low 2 and in_f low 3 ) = 60% (resp. 30% and 10%) of rain T2: allows the upward transfer between the output ports out_f low 1, out_f low 2 and out_f low 3 at the level of abstraction 1 of WS and the output port f low at level of abstraction 0 of WS. This function is defined as follows f low = out_f low 1 + out_f low 2 + out_f low 3 T3: allows the upward transfer between the output ports out_f low 1 and out_f low 2 at level of 1 of Montain and the output port f low at level of 0 of Montain. This function is defined as follows: f low = out_f low 1 + out_f low 2

Implementation: Case Study C1: allows the downward transfer of information between the input ports temp and f low at level of temporality 0 of Basin and the input ports in0 and in1 at level of temporality 1 of Basin. This function is defined as follows: an event at time t (daily basis) is expanded into 24 events at time t, t , t , t , …, t + 1 (hourly basis) C2: allows the upward transfer of information between the output port out0 at level of temporality 1 of Basin and the output port out_f low at level of temporality 0 ofBasin. This function is defined as follows: it performs the sum of the values of each event arriving on port "out0" between time t and time t+1 (hourly basis) in order to define an event at time t+1 (daily basis) whose value is the previously computed sum

Implementation: Results  Simulation results obtained after the pruning of the SES of This pruning results in four different configurations:  W S 0 : corresponds to the level of abstraction 0 of the WS component involving the atomic model SimpleLayer  W S 1 with Montain 0 :corresponds to the level of abstraction 1 of component WS - component Montain is described at level of abstraction 0  W S 1 with ontain 1 and Basin 0 corresponds to the level of abstraction 1 of component WS -Montain is described at level of abstraction 1 and Basin described at level of temporality 0  W S 1 with Montain 1 and Basin 1 corresponds to the level of abstraction 1 of component WS -Montain is described at level of abstraction 1 and Basin described at level of temporality 1

Implementation: Context of the experiment  Two generator atomic models (Rain and T emp) allow to sent the among of rain and temperature of each day of a year concerning the watershed under study (situated in the French Alpes).  The W S coupled model corresponds to the models described  The DEVS simulations of the W S model have been performed for the four previously DEVS models.  The results of the simulation are expressed on the following slide thanks to the T o_Disk atomic model.  Each of these figures presents a time series comparing simulated and observed daily flows for the one-year period (365 days for the year 2009) when using each of the four previously mentioned DEVS models.

Implementation: Results

Outline  Background: Abstraction hierarchy, SES & DEVS  Abstraction hierarchy into SES and DEVS :  modeling aspects  Simulation aspects  Implementation  Case Study  Conclusion and Perspectives

Conclusion  An extension of SES has been proposed in order to integrate abstraction hierarchy in M&S.  The presented approach allows the simulation of models involving several levels of abstraction or granularity through the association of downward and upward functions to two new atomic models: DAM and UAM.  The partial implementation performed using the DEVSimPy framework has been validated on a pedagog- ical example of catchment basin behavior described using the extension of SES.

Conclusion: Future work  define and implement the capabilities entailed by the abstraction hierarchy theory including support for pruning the extended SES and transforming pruned entity structures into DEVS models;  SES extension in MS4Me to generate DEVS models from the proposed extended SES in the MS4Me software;  combine Activity-Based M&S concepts and Abstraction/Time hierarchies to speed up DEVS simulations.  Work on probalitistic hierarchy based on Markov lumpability