Building Parallel FMUs (or Matryoshka Co-Simulations)
Virginie Galtier, Michel Ianotto, Mathieu Caujolle, Rémi Corniglion, Jean-Philippe Tavella, José Évora Gómez, José Juan Hernández Cabrera, Vincent Reinbold, Enrique Kremers · Linköping electronic conference proceedings · 2017
The development of complex multi-domain and multiphysic systems, such as Smart Electric Grids, have given rise to new challenges in the simulation domain.These challenges concern the capability to couple multiple domain-specific simulators, and the FMI standard is an answer to this.But they also concern the scalability and the accuracy of the simulation within an heterogenous system.We propose and implement here the concept of a Matryoshka FMU, i.e. a first of its kind FMU compliant with the version 2.0 of the FMI standard.It encapsulates DACCOSIM -our distributed and parallel master architecture -and the FMUs it controls.The Matryoshka automatically adapts its internal time steps to ensure the required accuracy while it is controlled by an external FMUcompliant simulator.We present the JavaFMI tools and the DACCOSIM middleware used in the automatic building process of such Matryoshka FMUs.This approach is then applied on a real-life Distributed Energy System scenario.Regarding the Modelica system simulated in Dymola, improvements up to 250% in terms of computational performance are achieved while preserving the simulation accuracy and enhancing its integration capability.