Conference article

Generic FMI-compliant Simulation Tool Coupling

Edmund Widl
Center for Energy, AIT Austrian Institute of Technology, Austria

Wolfgang Müller
Institute of Analysis and Scientific Computing, TU Wien, Austria

Download article

Published in: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:35, p. 321-327

Show more +

Published: 2017-07-04

ISBN: 978-91-7685-575-1

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


The Functional Mock-up Interface (FMI) specification provides a simple yet effective definition for co-simulation APIs. Even though the number of simulation tools supporting the export of Functional Mock-up Units (FMU) is growing steadily, there is a considerable number of well-established tools that do not. This paper addresses this issue by introducing a generic and adaptable way of coupling established simulation tools in an FMI-compliant manner. The proposed concept has been implemented as part of the FMI++ library, which is used as basis for FMI-compliant wrappers for the TRNSYS simulation tool and the MATLAB environment. These examples demonstrate the potential of the proposed approach to include well-established simulation tools with minimal effort. This not only enables researchers and engineers to include a diverse range of tools more easily into their work flow, but is also an incentive for tool developers to provide FMI-compliant wrappers.


FMI for Co-Simulation, tool coupling, frontend/ back-end concept, TRNSYS, MATLAB


D.M. Beazley. Automated scientific software scripting with SWIG. Future Generation Computer Systems, 19(5):599–609, 2003.

T. Blochwitz, M. Otter, M. Arnold, C. Bausch, C. Clauß, H. Elmqvist, A. Junghanns, J. Mauss, M. Monteiro, T. Neidhold, D. Neumerkel, H. Olsson, J.-V. Peetz, and S. Wolf. The Functional Mockup Interface for Tool independent Exchange of Simulation Models. In Proceedings of the 8th International Modelica Conference, 2011.

S. A. Klein, J. A. Duffie, and W. A. Beckman. TRNSYS: A transient simulation program. ASHRAE Transactions, 82:623–633, 1976.

The MPI Forum. MPI: A Message-Passing Interface Standard. Technical Report Version 2.2, Sept. 2009. URL

Citations in Crossref