Explicit semantic adaptation of hybrid formalisms for FMI co-simulation

With the advent of Software-Intensive and Cyber-Physical Systems, hybrid formalisms can be used to intuitively model the interactions of different models in different formalisms. Hybrid formalisms combine discrete (time/event) model constructs with continuous-time model constructs. These hybrid formalisms usually require a dedicated simulator. In this work we explicitly model the interfaces involved in the semantic adaptation of different formalisms and implement the execution using the Functional Mock-up Interface standard for co-simulation. The interfaces and co-simulation units are automatically generated using transformations. On the one hand, this allows tool builders to reuse the existing simulation tools without the need to create a new simulation kernel for the hybrid formalism. On the other hand, our approach supports the generation of different bus architectures to address different constraints, such as the use of hardware in the loop, the API of the legacy simulator, bus or processor load performance, and real-time constraints. We apply our approach to the modelling and (co-)simulation of an automotive power window.

[1]  Ivar Jacobson,et al.  Unified Modeling Language Reference Manual, The (2nd Edition) , 2004 .

[2]  Hans Vangheluwe,et al.  Generation of functional mock-up units for co-simulation from simulink®, using explicit computational semantics: work in progress paper , 2014, SpringSim.

[3]  Lev Greenberg,et al.  Simulating Rhapsody SysML Blocks in Hybrid Models with FMI , 2014 .

[4]  Richard F. Paige,et al.  The Epsilon Generation Language , 2008, ECMDA-FA.

[5]  Pieter J. Mosterman,et al.  AdvancingModel-Based Design by Modeling Approximations of Computational Semantics , 2011, EOOLT.

[6]  Andreas Junghanns,et al.  Functional Mockup Interface 2.0: The Standard for Tool independent Exchange of Simulation Models , 2012 .

[7]  Juan de Lara,et al.  Deep Meta-modelling with MetaDepth , 2010, TOOLS.

[8]  Bart Meyers,et al.  A DSL for Explicit Semantic Adaptation , 2013, MPM@MoDELS.

[9]  Hans Vangheluwe,et al.  Generation of co-simulation compliant functional mock-up units from simulink, using explicit computational semantics , 2014 .

[10]  Edward A. Lee,et al.  Taming heterogeneity - the Ptolemy approach , 2003, Proc. IEEE.

[11]  Hans Vangheluwe,et al.  Generation of an optimised master algorithm for FMI co-simulation , 2015, SpringSim.

[12]  Pieter J. Mosterman,et al.  Model-Based Design of a Power Window System: Modeling, Simulation, and Validation , 2003 .

[13]  Stavros Tripakis,et al.  Bridging the semantic gap between heterogeneous modeling formalisms and FMI , 2015, 2015 International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation (SAMOS).

[14]  Frédéric Boulanger,et al.  Simulation of Multi-Formalism Models with ModHel'X , 2008, 2008 1st International Conference on Software Testing, Verification, and Validation.

[15]  Pieter J. Mosterman,et al.  Computer Automated Multi-Paradigm Modeling : An Introduction , 2000 .