Conference article

Integration of Modelica models into an existing simulation software using FMI for Co-Simulation

Matthias Pazold
Fraunhofer Institute for Building Physics, Holzkirchen, Germany

Sebastian Burhenne
Fraunhofer Institute for Solar Energy Systems, Freiburg, Germany

Jan Radon
Agr. University of Cracow, Poland

Sebastian Herkel
Fraunhofer Institute for Solar Energy Systems, Freiburg, Germany

Florian Antretter
Fraunhofer Institute for Building Physics, Holzkirchen, Germany

Download articlehttp://dx.doi.org/10.3384/ecp12076949

Published in: Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany

Linköping Electronic Conference Proceedings 76:99, p. 949-954

Show more +

Published: 2012-11-19

ISBN: 978-91-7519-826-2

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

Abstract

The Functional Mock-Up Interface (FMI) opens new opportunities for the development and extension of existing non-Modelica simulation programs with Modelica models. For the developer this is a productive way to design and validate new complex simulation models with multi-domain modelling languages such as Modelica. With the standardised Functional Mock-Up Interface and the Functional Mock-Up Unit (FMU) export it is possible to execute these models within other software tools; including information exchange during the simulation. But there are some design requirements in Modelica; which have to be taken into account. Some practical hints and solutions for input and output processing; external initialisation and simulation are presented in this paper. For the implementation of similar more than one FMU (in our case building HVAC (Heating; Ventilation and Air Conditioning) equipment configurations) in existing software; an interface extension plug-in is developed to pick a specific FMU and execute it alongside the existing simulation algorithm. This may require some workarounds for FMI specified functionalities; which are not supported so far by the Modelica simulation environment from which the FMU for co-simulation is exported.

Keywords

Building Simulation; HVAC; FMI for Co-Simulation

References

[1] Elmqvist; Hilding 1997. “Modelica – A unified object- oriented language for physical systems modeling.” Simulation Practice and Theory 5; no. 6.; 1997.

[2] Künzel; H. M. 1994. Simultaneous Heat and Moisture Transport in Building Components. Dissertation. University of Stuttgart; Download: www.building-physics.com

[3] Lengsfeld; K.; Holm; A. 2007. Entwicklung und Validierung einer hygrothermischen Raumklima-Simulationssoftware WUFI®-Plus; Bauphysik 29 (2007); Heft 3; Ernst & Sohn Verlag für Architektur und technische Wissenschaften GmbH & Co. KG; Berlin.

[4] Dassault Sysèmes AB 2011. Dymola. Dynamic Modeling Laboratory. Dymola Release notes; Lund; Sweden.

[5] Burhenne; S.; Radon; J.; Pazold; M.; Herkel; S.; Antretter; F. 2011. Integration of HVAC Models into a Hygrothermal Whole Building Simulation Tool; Proceedings of Building Simulation 2011: 12th Conference of International Building Performance Simulation Association; Sydney; Australia.

[6] Hindmarsh A. C.; Brown P. N.; Grant K. E.; Lee S. L.; Serban R.; Shumaker D. E.; Woodward C. S. 2005. SUNDIALS: Suite of Nonlinear and Differential/Algebraic Equation Solvers; ACM Transactions on Mathematical Software; 31(3); pp. 363-396; 2005. Also available as LLNL technical report UCRL-JP-200037.

[7] Felgner; F.; Liu; L.; Frey G. June 2011. Vergleich numerischer Löser zur Simulation steifer und hybrider Systeme. Proceedings of the Kongress Automation 2011; VDIBerichte 2143; Baden-Baden; Germany; pp. 303-306 (extended 12-pages paper on CD); June 2011.

Citations in Crossref