Experimenting with Matryoshka Co-Simulation: Building Parallel and Hierarchical FMUs

Virginie Galtier
CentraleSupélec, France

Michel Ianotto
CentraleSupélec, France

Mathieu Caujolle
EDF R&D, France

Rémi Corniglion
EDF R&D, France

Jean-Philippe Tavella
EDF R&D, France

José Évora Gómez
SIANI, Spain

José Juan Hernández Cabrera
SIANI, Spain

Vincent Reinbold
University of Leuven, Belgium

Enrique Kremers
EIFER, Germany

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp17132663

Ingår i: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:73, s. 663-671

Visa mer +

Publicerad: 2017-07-04

ISBN: 978-91-7685-575-1

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


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.


Co-simulation tool, multi-threaded execution, master algorithm, FMU, FMI standard


R. Baetens and D. Saelens. Modelling uncertainty in district energy simulations by stochastic residential occupant behaviour. Journal of Building Performance Simulation, (September), 2015.

R. Baetens, R. De Coninck, F. Jorissen, D. Picard, L. Helsen, and D. Saelens. OPENIDEAS - An Open Framework for Integrated District Energy Simulations. In Proceedings of Building Simulation 2015, 2015.

S. Baggi, D. Rivola, V. Medici, G. Corbellini, D. Strepparava, and R. Rudel. Modeling and Simimulation of a residential Neighborhood with Photovoltaic System Coupled to Energy Storage Systems. In 29th European Photovoltaic Solar Energy Conference and Exhibition, 2014.

T. Blochwitz and M. Otter. The Functional Mockup Interface for Tool independent Exchange of Simulation Models. 8th International Modelica Conference, 2011.

B. Camus, V. Galtier, and M. Caujolle. Hybrid Co-simulation of FMUs using DEV and DESS in MECSYCO. In Symposium on Theory of Modeling and Simulation, 2016.

J. Evora, J. J. Hernandez, and O. Roncal. JavaFmi. URL https://bitbucket.org/siani/javafmi/.

V. Galtier, S. Vialle, C. Dad, J-P. Tavella, J-P. Lam-Yee-Mui, and G. Plessis. FMI-Based Distributed Multi-Simulation with DACCOSIM. In Symposium on Theory of Modeling and Simulation - TMS’15, 2015.

C. Protopapadaki, R. Baetens, and D. Saelens. Exploring the impact of heat pump-based dwelling design on the low-voltage distribution grid. In 14th Conference of International Building Performance Simulation Association, 2015.

J-Ph. Tavella, M. Caujolle, S. Vialle, C. Dad, C. Tan, G. Plessis, M. Schumann, A. Cuccuru, and S. Revol. Toward an Accurate and Fast Hybrid Multi-Simulation with the FMI-CS Standard. IEEE ETFA Track 9 - Information and Communication Technology in Energy Systems, 2016.

J. Vaubourg, Y. Presse, B. Camus, C. Bourjot, L. Ciarletta, V. Chevrier, J-P. Tavella, and H. Morais. Multi-agent Multi- Model Simulation of Smart Grids in the MS4SG Project. In PAAMS’15, 2015.

M. Wetter, M. Bonvini, and T. Nouidui. Equation-based languages - A new paradigm for building energy modeling, simulation and optimization. Energy and Buildings, 2015.

G. Zucker, F. Judex, M. Blöchle, M. Köstl, E. Widl, S. Hauer, A. Bres, and J. Zeilinger. A new method for optimizing operation of large neighborhoods of buildings using thermal simulation. Energy and Buildings, 2016.

Citeringar i Crossref