DEVS and SES as a Framework for Modeling and Simulation Tool Development Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University.

Slides:



Advertisements
Similar presentations
REST Introduction 吴海生 博克软件(杭州)有限公司.
Advertisements

BioDEVS: System-Oriented, Multi-Agent, Disttributed/Parallel Framework for Modeling and Simulation of Biomimetic In Silico Devices Sunwoo Park 1 and C.
Illustrating System Entity Structure For Building Simulation Bernard Zeigler RTSync Corp ACIMS C4I Center, GMU April 2011.
Eugene Syriani * † Hans Vangheluwe * ‡ Amr Al Mallah * † * ‡ Tuscaloosa, AL Montreal, Canada Antwerp, Belgium.
Extended DEVSML as a Model Transformation Intermediary to Make UML Diagrams Executable Jianpeng Hu Dept. of Computer Science and Engineering Shanghai Jiao.
Unified Modeling Language
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Object-Oriented Analysis and Design
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.
Understanding Metamodels. Outline Understanding metamodels Applying reference models Fundamental metamodel for describing software components Content.
Modeling State-Dependent Objects Using Colored Petri Nets
Ch 12 Distributed Systems Architectures
DEVS and DEVS Model Dr. Feng Gu. Cellular automata with fitness.
An Introduction to Rational Rose Real-Time
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
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}
Chapter 10 Architectural Design
Adapting Legacy Computational Software for XMSF 1 © 2003 White & Pullen, GMU03F-SIW-112 Adapting Legacy Computational Software for XMSF Elizabeth L. White.
DEVS Today: Recent Advances in Discrete Event - Based Information Technology Bernard P. Zeigler Professor, ECE Arizona Center for Integrative Modeling.
By Manuel C. Salas Advisor: Dr. Bernard P. Zeigler University of Arizona 2008.
DEVS Namespace for Interoperable DEVS/SOA
Architecting Web Services Unit – II – PART - III.
Introduction to Apache OODT Yang Li Mar 9, What is OODT Object Oriented Data Technology Science data management Archiving Systems that span scientific.
Develop DEVS Models Using DEVSJAVA Dr. Feng Gu. DEVS atomic model Elements of an atomic model input events output events state variables state transition.
DEVS-Centered Modeling and Simulation: Core Concepts for Engineering Education Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation.
DEVS Standard for Modeling and Simulation in Web- Centric Environments Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University.
M&S Ontology Framework for Complex System Development and Testing Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
By Ezequiel Glinsky Research Assistant, University of Buenos Aires, Argentina Supervisor: Prof. Gabriel A. Wainer SCE, Carleton University Thursday, November.
Modeling and Simulation Methodology: The Challenge of Complex Endeavors Bernard Zeigler Arizona Center for Integrative Modeling and Simulation, University.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Interoperability, Automation, Built-in Evolution: the DEVS Framework for Coping with Emerging Complexity Bernard P. Zeigler Arizona Center for Integrative.
ECE 449/549 Class Notes #1 Introduction to System Modeling Concepts and DEVS Sept
Group-oriented Modelling Tools with Heterogeneous Semantics Niels Pinkwart COLLIDE Research Group University of Duisburg, Germany.
Presented By Venkatavasishta Chemudupati
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Unifying Discrete and Continuous Simulation with Discrete Events: DEVS as the Next Modeling Standard Bernard P. Zeigler Arizona Center for Integrative.
DUNIP: DEVS Unified Process Integrated Development and Testing in Service Oriented Architecture Dissertation Defense Saurabh Mittal April 20, 2007 ECE.
Modeling with Parallel DEVS Serialization in DEVS models Select function Implicit serialization of parallel models E-DEVS: internal transition first,
MODEL-BASED SOFTWARE ARCHITECTURES.  Models of software are used in an increasing number of projects to handle the complexity of application domains.
1 Object Oriented Logic Programming as an Agent Building Infrastructure Oct 12, 2002 Copyright © 2002, Paul Tarau Paul Tarau University of North Texas.
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Transforming DEVS to Non-Modular Form For Faster Cellular Space Simulation Arizona Center for Integrative Modeling and Simulation Electrical and Computer.
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
Approach and Techniques for Building Component-based Simulation Models Bernard P. Zeigler, Ph.D. Hessam S. Sarjoughian, Ph.D. Arizona Center for Integrative.
The Abstract simulator Simulator/Simulation Concepts n Simulator: responsible for executing a model’s dynamics (resented as instructions) in a given.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
CS 5991 Presentation Ptolemy: A Framework For Simulating and Prototyping Heterogeneous Systems.
ECE 449/549 Class Notes #2 Introduction to Discrete-Event Systems Specification (DEVS) Sept
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.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
A service Oriented Architecture & Web Service Technology.
Continuity and Change (Activity) Are Fundamentally Related In DEVS Simulation of Continuous Systems Bernard P. Zeigler Arizona Center for Integrative Modeling.
Main issues: • What do we want to build • How do we write this down
WEB SERVICES.
Unit – 5 JAVA Web Services
J. Michael, M. Shing M. Miklaski, J. Babbitt Naval Postgraduate School
Web Ontology Language for Service (OWL-S)
Service-centric Software Engineering
DEVS Background DEVS = Discrete Event System Specification
Service-centric Software Engineering 1
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
Approach and Techniques for Building Component-based Simulation Models
DEVS Background DEVS = Discrete Event System Specification
Software Development Process Using UML Recap
Presentation transcript:

DEVS and SES as a Framework for Modeling and Simulation Tool Development Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University of Arizona Presented at SIMUTools 2008 March 3– Marseille, France

M&S Framework Source System Simulator Model Experimental Frame Simulation Relation Modeling Relation Based on mathematical formalism using system theoretic principles Separation of Model, Simulator and Experimental Frame Atomic and Coupled types Hierarchical construction

x 0 x 1 X S Y y0y0 e t0t0 t1t1 t2t2 Discrete Event Time Segments

M&S Framework formulated within UML classes construction mechanisms relationships constraints create classes to satisfy use cases M&S Framework classes interpretation as software code (e.g. Java) Use Cases UML models simulators Source systems Experimental & Pragmatic Frames ontologies collect data store model run model construc t model store data simulate model sensor retri eve data retrieve model validate model memory control- simulator predictive -simulator model evaluator model generator real world model generated goal- generator action planning motor objectives M&S apply pragmatic frame apply experimen tal frame

DEVS – Formal Specification of a System A discrete event system specification (DEVS) is a structure M= where X is the set of input values, S is a set of states, Y is the set of output values,  int :S->S is the internal transition function,  ext, :Q  X->S is the external transition function,  con, :Q  X->S is the confluent transition function, ta: S->R + 0,∞ Where Q={(s,e)|s  S, 0  e  ta(s) } is the total state set, e is the time elapsed since last transition, :S->Y is the output function and R + 0,∞ is the set of positive reals with 0 and 

DEVS Hierarchical Modular Models DEVS Model Output port Input port DEVS Model message coupling SES Hierarchical Composition, Coupling and Variants are Represented in System Entity Structure System Entity Structure

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 Some Types of Models Represented in DEVS can be components in a coupled model Multi Agent Systems Discrete Time/ StateChart Models Quantized Integrator Models Spiking Neuron Networks Stochastic Models Reactive Agent Models Fuzzy Logic Models

Concept of DEVS Standard DEVS Simulator Interface Single processor Distributed Simulator Real-Time Simulator C++ Non DEVS Model Interface Java Other Representation DEVS Simulation Protocol Virtual-Time Simulator DEVSML

DEVS Simulation Protocol Coordinator Atoimc1 Non-DEVS Simulator Atoimc2 simulators.tellAll("initialize“) simulators.AskAll(“nextTN”) simulators.tellAll("computeInputOutput“) simulators.tellAll("sendMessages") simulators.tellAll(" Coordinator DEVS Model 1 simulators.tellAll("initialize“) simulators.AskAll(“nextTN”) simulators.tellAll("computeInputOutput“) simulators.tellAll("sendMessages") simulators.tellAll(" ApplyDeltFunc”) putContentOnSimulator DEVS Simulator DEVS Model 2 ?

Finite Deterministic DEVS : FD-DEVS FDDEVS = where incomingMessageSet, outgoingMessageSet, StateSet are finite sets TimeAdvanceTable: StateSet → R 0, ∞ + (the positive reals with zero and infinity) InternalTransitionTable: StateSet → StateSet ExternalTransitionTable: StateSet × incomingMessageSet → StateSet, OutputTable: StateSet → the set of subsets of outgoingMsgSet Natural Language For FDDEVS to start hold in PHASE for time SIGMA when in PHASE and receive MSG go to PHASE’ hold in PHASE for time SIGMA after PHASE then output MSG from PHASE go to PHASE’ Semantics defined by mapping into DEVS

FD-DEVS Example of Natural Language Spec: 1.to start passivate in waitForStart 2.when in waitForStart and receive StartAck go to sendFirst 3.hold in sendFirst for time 0.5 then output ReqForAck and go to sendSecond 4.hold in ackReceived for time Infinity 5.… waitFor Start send First send Second send Third Ack Received StartAck Ack ∞ ∞ last Chance ReqForAck Ack The “right” abstraction of DEVS – retains important timing properties Amenable to analysis Supports automation Maps to DEVSJAVA Supplies a skelton that can be extended to full DEVS Simple XML expression

Automated Analysis: Based on State Input Pairs Enables Automated Test Model Generation listen Awaiting Adv OrderOfferProdFeasibilityFalse ProdFeasibilityTrue waitFor Confirm Confirm Dominant State-Input pair: listen,orderOffer Dominant State-Input pair: listen,orderOffer State-Input pair paths: 1= listen,OrderOffer 2 = listen, OrderOffer, awaitingAdv,ProdFeasibilityFalse 3= listen,OrderOffer awaitingAdv,ProdFeasibilityTrue 4= listen,OrderOffer awaitingAdv,ProdFeasibilityTrue waitForConfrm,Confirm Dominant State- Input pair paths: 2 4 Defined State-Input pairs: listen,orderOffer awaitingAdv,ProdFeasibilityFalse awaitingAdv, ProdFeasibilityTrue waitForConfrm,Confirm Defined State-Input pairs: listen,orderOffer awaitingAdv,ProdFeasibilityFalse awaitingAdv, ProdFeasibilityTrue waitForConfrm,Confirm Terminal State-Input Pairs: awaitingAdv, ProdFeasibilityFalse waitForConfrm, Confirm Terminal State-Input Pairs: awaitingAdv, ProdFeasibilityFalse waitForConfrm, Confirm State-Input Pairs mapped To Terminal State-Input pairs: listen,orderOffer -> awaitingAdv, ProdFeasibilityFalse awaitingAdv, ProdFeasibilityTrue -> waitForConfrm, Confirm

Generated Test Models in DEVSJAVA SimView AckCheck Send inputs Observe Outputs Trigger next in Sequence upon pass Observe Pass/Fail

System Entity Structure (SES) : SESBuilder

System Entity Structure/Model Base Repository: Support Automated DEVS Generation and Reuse Model construction SES Model Repository Experimental Frame prune and transform

Automated Generation of Test Models SES/XML Of DSR texts SES Pruned ES FDDEVS atomic model FDDEVS test models Augmented Test Models Automatedmanual

DEVS/SOA Infrastructure: Supports Deployment and Execution of DEVS Models on the Web WEB SERVICE CLIENT Middleware (SOAP, RMI etc) Net-centric infrastructure DEVS Simulator Services DEVS Modeling Language (DEVML) DEVSJAVA DEVS Agent ( Virtual User) DEVS Agent (Observer) WEB SERVICE CLIENT Run ExampleExample Service Oriented Architecture (SOA) consists of various W3C standards Machine-to-machine interoperable interaction over the network based on WSDL interface descriptions Client server framework Message encapsulated in SOAP wrapper which is in XML

Deploying Models: DEVSML and DEVS/SOA

Applications Natural language capture of high level information technology systems requirements Automated generation of FDDEVS kernel DEVSJAVA/C++ models for distributed real-time net- centric IT systems testing Development of web service workflows using DEVS/SOA Network Traffic data capture, focused extraction, and model generation for exercising IT systems e.g., intrusion detection

Conclusions DEVS and SES provide a framework based on Systems Theory for M&S tool development DEVS standard supports sharable models and repository reuse The framework provides an ontology in which tools can be organized and interoperate – missing slots can be identified; overlapping tools can be compared The framework supports development of generic tools which in turn support a wide array of domain specific specializations and applications

devsworld.org acims.arizona.eduRtsync.com Books and Web Links