Coupling Model Exchange FMUs for Aggregated Simulation by Open Source Tools

Pukashawar Pannu
Centre for Mathematical Sciences, Lund University, Sweden

Christian Andersson
Centre for Mathematical Sciences, Lund University, Sweden / Modelon AB, Sweden

Claus Führer
Centre for Mathematical Sciences, Lund University, Sweden

Johan Åkesson
Modelon AB, Sweden

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

Ingår i: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:98, s. 903-909

Visa mer +

Publicerad: 2015-09-18

ISBN: 978-91-7685-955-1

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


The Functional Mock-up Interface standard allows to generate stand-alone sub-systems which can be simulated and verified individually. In this paper we present a design of a model aggregation which allows to simulate several Functional Mock-up Units as a coupled model. The formulation is based on Assimulo as a numerical integration environment. Assimulo problem classes are extended to a class for aggregated problems which collects information provided by the Functional Mockup Units through the tool PyFMI together with Python based problem classes defined by Assimulo. This allows to set-up test environments of complex models composed of several sub-systems.


FMI; Jacobian; Algebraic loops; Events; Model Exchange 2.0; Assimulo


Christian Andersson. A Software Framework for Implementation and Evaluation of Co-Simulation Algorithms. Licentiate thesis, Centre for Mathematical Sciences, Lund University, Lund, Sweden, 2013.

Christian Andersson, Claus Führer, and Johan Åkesson. Assimulo: A unified framework for ode solvers. Math. Comput. Simulat., 2015. doi: 10.1016/j.matcom.2015.04.007. In press.

Torsten Blochwitz, Martin Otter, Johan Åkesson, Martin Arnold, Christoph Clauss, Hilding Elmqvist, Markus Friedrich, Andreas Junghanns, Jakob Mauss, Dietmar Neumerkel, Hans Olsson, and Antoine Viel. Functional mockup interface 2.0: The standard for tool independent exchange of simulation models. In In 9th International Modelica Conference 2012. Modelica Association, 2012.

Dassault Systèmes. Dymola - Multi-Engineering Modeling and Simulation - Version 2016. http://www.dymola.com/, 2016. Accessed: 2015-08-01.

Edda Eich-Soelner and Claus Führer. Numerical Methods in Multibody Dynamics. European Consortium for Mathematics in Industry (ECMI). Teubner, 1998. ISBN 3-519-02601-5.

Emil Fredriksson, Christian Andersson, and Johan Åkesson. Discontinuities handled with events in Assimulo. In Hubertus Tummescheit and Karl-Erik Årzén, editors, Proceedings of the 10th International Modelica Conference, number 96 in Linköping Electronic Conference Proceedings, pages 827–836. Linköping University Electronic Press, Linköpings universitet, 2014. URL http://dx.doi.org/10.3384/ECP14096827.

Alan C. Hindmarsh, Peter N. Brown, Keith E. Grant, Steven L. Lee, Radu Serban, Dan E. Shumaker, and Carol S. Woodward. Sundials: Suite of nonlinear and differential/ algebraic equation solvers. ACM Trans. Math. Softw., 31(3):363–396, September 2005. ISSN 0098-3500. doi: 10.1145/1089014.1089020.

Johan Åkesson, Karl-Erik Årzén, Magnus Gäfvert, Tove Bergdahl, and Hubertus Tummescheit. Modeling and optimization with Optimica and JModelica.org—languages and tools for solving large-scale dynamic optimization problem. Comput. Chem. Eng., 34(11):1737–1749, November 2010.
doi: http://dx.doi.org/10.1016/j.compchemeng.2009.11.011.

Citeringar i Crossref