START Conference Manager    

Transforming UML2.0 Class Diagrams and Statecharts to Atomic DEVS

Reehan Shaikh and Hans Vangheluwe

Symposium On Theory of Modeling and Simulation - DEVS Integrative M&S Symposium (TMS/DEVS 2011)
Boston, MA, USA, April 4-9, 2011


We propose a translation process by which a UML2.0 Class Diagram model, along with Statechart models used to describe the behaviour of each of the instances of the classes in the Class Diagram is transformed into a single, behaviourally equivalent Atomic DEVS model. Statecharts language features such as hierarchical and orthogonal states allow for intuitive modelling of reactive, timed behaviour. Variable structure and modularity are the prominent features of UML2.0 Class Diagrams.

DEVS is a highly modular, hierarchical formalism that can be used as a semantic domain for a variety of modelling languages such as discrete-event formalisms, timed model transformations, Ordinary Differential Equations,... This allows for true multi-formalism modelling and simulation as models in all these formalisms, including Class Diagrams + Statecharts, can be mapped onto DEVS and subsequently composed in the form of a Coupled DEVS model. Furthermore, our transformation brings the elegant Statechart notation as well as variable structure of Class Diagrams to Classical DEVS.

We validate our approach using a concrete example. We transform the UML2.0 Class Diagram + Statechart model of a digital watch to its Atomic DEVS equivalent and subsequently couple it with a model of a user (the “environment”) modelled as an Atomic DEVS.

START Conference Manager (V2.56.8 - Rev. 1568)