FMI-based distributed multi-simulation with DACCOSIM

Our research project aims at enabling multi-simulation based on the FMI 2.0 standard and the cooperation of multiple FMUs (FMI simulation units). In order to support large scale multi-simulations, our solution (DACCOSIM) runs on multi-core and distributed architectures. To support variable step size, the necessary error control and rollbacks are achieved through a hierarchical and distributed control architecture. At each step, simulation data communications also occur, but directly between FMU pairs in a fully decentralized fashion. Moreover, DACCOSIM implements an algorithm to perform the complex initialization of the various components of the multi-simulation. DACCOSIM comes as a graphical framework to easily design a multi-simulation and to automatically generate associated code, and as a multithreaded and distributed library to execute it. We evaluated DACCOSIM on an industrial use case provided by EDF (leading French utility company), run on multi-core PCs and PC clusters. Preliminary performance measurements on a 4-physical-core PC exhibit a speedup compared to monothreaded Dymola execution using the same FMUs. On multi-core PC clusters we face overhead communication times due to frequent small communications but this distribution allows to process large co-simulations.

[1]  Umut Durak,et al.  Adapting Functional Mockup Units for HLA-compliant Distributed Simulation , 2014 .

[2]  Gabor Karsai,et al.  Model-Based Integration Platform for FMI Co-Simulation and Heter- ogeneous Simulations of Cyber-Physical Systems , 2014 .

[3]  Peter Palensky,et al.  The high level architecture RTI as a master to the functional mock-up interface components , 2013, 2013 International Conference on Computing, Networking and Communications (ICNC).

[4]  Laurent Ciarletta,et al.  Agents and artefacts for multiple models co-evolution: building complex system simulation as a set of interacting models , 2010, AAMAS.

[5]  Antoine Viel Implementing stabilized co-simulation of strongly coupled systems using the Functional Mock-up Interface 2.0 , 2014 .

[6]  Laurent Duval,et al.  Context-based polynomial extrapolation and slackened synchronization for fast multi-core simulation using FMI , 2014 .

[7]  Robert E. Tarjan,et al.  Depth-First Search and Linear Graph Algorithms , 1972, SIAM J. Comput..

[8]  Edmund Widl,et al.  Distributed hybrid simulation using the HLA and the Functional Mock-up Interface , 2013, IECON 2013 - 39th Annual Conference of the IEEE Industrial Electronics Society.

[9]  Hilding Elmqvist,et al.  Interface Jacobian‐based Co‐Simulation , 2014 .

[10]  Edmund Widl,et al.  Using the HLA for Distributed Continuous Simulations , 2013, 2013 8th EUROSIM Congress on Modelling and Simulation.

[11]  David Broman,et al.  Determinate composition of FMUs for co-simulation , 2013, 2013 Proceedings of the International Conference on Embedded Software (EMSOFT).