Title: FMI Go! A simulation runtime environment with a client server architecture over multiple protocols
Authors: Claude Lacoursière and Tomas Härdin
Abstract:We present a software infrastructure to perform distributed simulations with Functional Mockup Interface (FMI) compatible components. Distribution is achieved done by mapping the FMI API to a communication protocol with current support for both TCP/IP and MPI. This is a client-server architecture where the client is the global simulation stepper and the servers are the simulation modules. The client contains several time stepping algorithms, root finding for cases involving loops, and support for asynchronous data exchange with ``monitors'' and ``observers'' which only consume data. The servers provide support for numerical directional derivatives, filtering, and interpolation. Extensive support is provided for the System Specification and Parameterization (SSP), an emerging standard aimed at supporting the FMI. The software is open source with a permissive license and designed to be used inside simulation environments and platforms with user interfaces. The focus being strictly on the mathematical and runtime aspect of FMI based simulations.
Links: Full paper
Title: Building Parallel FMUs (or Matryoshka Co-Simulations)
Authors: Virginie Galtier, Michel Ianotto, Mathieu Caujolle, Rémi Corniglion, Jean-Philippe Tavella, José Évora Gómez, José Juan Hernández Cabrera, Vincent Reinbold and Enrique Kremers
Abstract:The development of complex multi-domain and multi-physic 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 that encapsulates DACCOSIM -- our distributed and parallel master architecture -- and several FMUs it controls. The Matryoshka automatically adapts its internal time steps to ensure the required accuracy while it is controlled by an external FMU-compliant 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. In regards of 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.
Links: Full paper
Title: Scaling FMI-CS Based Multi-Simulation Beyond Thousand FMUs on Infiniband Cluster
Authors: Stephane Vialle, Jean-Philippe Tavella, Cherifa Dad, Remi Corniglion, Mathieu Caujolle and Vincent Reinbold
Abstract:In recent years, co-simulation has become an increasingly industrial tool to simulate Cyber Physical Systems including multi-physics and control, like smart electric grids, since it allows to involve different modeling tools within the same temporal simulation. The challenge now is to integrate in a single calculation scheme very numerous and intensely inter-connected models, and to do it without any loss in model accuracy. This will avoid neglecting fine phenomena or moving away from the basic principle of equation-based modeling. Offering both a large number of computing cores and a large amount of distributed memory, multi-core PC clusters can address this key issue in order to achieve huge multi-simulations in acceptable time. This paper introduces all our efforts to parallelize and distribute our co-simulation environment based on the FMI for Co-Simulation standard (FMI-CS). At the end of 2016 we succeeded to scale beyond 1000 FMUs and 1000 computing cores on different PC-clusters, including the most recent HPC Infiniband-cluster available at EDF.
Links: Full paper
Title: Development of an open source multi-platform software tool for parameter estimation studies in FMI models
Authors: Javier Bonilla, Jose Antonio Carballo, Lidia Roca and Manuel Berenguel
Abstract:This paper presents the current development of an open source multi-platform software tool intended for estimating or optimizing parameters of FMI compliant models. Parameter estimation and optimization is a powerful tool in many engineering and science fields. Nevertheless, the effort and time that must be devoted to coupling and integrating complex modeling languages and tools together with analysis and optimization methods and algorithms sometimes is high. As a consequence of that, commonly the most convenient and easy-to-use optimization mechanisms are applied. Therefore, the focus on the development of this tool is in facilitating such coupling while being customizable. The main toolkit and libraries used in the development of the tool are presented, all of them are open source. Two application examples are also presented, one of them is a parameter optimization study considering a steady state model, while the other is a parameter estimation study of a dynamic model against experimental data. Finally, current tool limitations are presented, ongoing work and ideas for future features are also commented.
Links: Full paper