PyFMI: A Python Package for Simulation of Coupled Dynamic Models with the Functional Mock-up Interface

Christian Andersson, Johan Åkesson, Claus Führer

Research output: Book/ReportReportResearch

13494 Downloads (Pure)

Abstract

With the advent of the Functional Mock-up Interface (FMI) standard, exchanging dynamic models between modeling and simulation tools has been greatly simplified. At the core of it, FMI is a standardized and unified model execution interface for dynamic models. FMI has gained widespread adoption among users and numerous commercial and open source tools implement support for the standard. In this article, the Python package PyFMI is introduced. PyFMI supports loading and execution of models compliant with the FMI standard, called Functional Mock-up Units (FMUs). It includes a master algorithm for simulation of coupled FMUs together with connections to both Assimulo, for simulation of single FMUs, and to SciPy, for performing parameter estimation. Accessing models compliant with FMI in Python, which is an open and accessible scripting language, is intended to further spread the standard and also promote and facilitate future development of the standard. This is due to Python being a convenient language for experimentation and prototyping of numerical algorithms. PyFMI is also demonstrated on a number of problems that highlights its viability for solving industrial grade simulation problems with FMUs.
Original languageEnglish
PublisherCentre for Mathematical Sciences, Lund University
Number of pages40
VolumeLUTFNA-5008-2016
Publication statusPublished - 2016

Publication series

NameTechnical Report in Mathematical Sciences
PublisherCentre for the Mathematical Sciences, Lund University
No.2
Volume2016
ISSN (Print)1403-9338

Subject classification (UKÄ)

  • Mathematical Sciences

Free keywords

  • Functional Mock-up Interface
  • FMI
  • Python
  • Simulation
  • Co-Simulation
  • Ordinary differential equations
  • Parameter Estimation

Fingerprint

Dive into the research topics of 'PyFMI: A Python Package for Simulation of Coupled Dynamic Models with the Functional Mock-up Interface'. Together they form a unique fingerprint.
  • LCCC

    Holmqvist, A. (Researcher), Andersson, N. (Researcher), Cervin, A. (Researcher), Mannesson, A. (Researcher), Gattami, A. (Researcher), Ghulchak, A. (Researcher), Papadopoulos, A. V. (Researcher), Rantzer, A. (Researcher), Robertsson, A. (Researcher), Sootla, A. (Researcher), THEORIN, A. (Researcher), Bernhardsson, B. (Researcher), Olofsson, B. (Researcher), Wittenmark, B. (Researcher), Grussler, C. (Researcher), Johnsson, C. (Researcher), MADJIDIAN, D. (Researcher), Johannesson, E. (Researcher), Magnusson, F. (Researcher), Ståhl, F. (Researcher), Como, G. (Researcher), Chasparis, G. (Researcher), Turesson, G. (Researcher), Dressler, I. (Researcher), Åkesson, J. (Researcher), Cho, J. H. (Researcher), Årzén, K.-E. (Researcher), Åström, K. J. (Researcher), Sou, K. C. (Researcher), Mårtensson, K. (Researcher), Berntorp, K. (Researcher), Soltesz, K. (Researcher), Lessard, L. (Researcher), Hast, M. (Researcher), Rönn, M. (Researcher), Ansbjerg Kjær, M. (Researcher), Maggio, M. (Researcher), Kristalny, M. (Researcher), Garpinger, O. (Researcher), From, P. J. (Researcher), Larsson, P.-O. (Researcher), Giselsson, P. (Researcher), Johansson, R. (Researcher), Hägglund, T. (Researcher), Vladimerou, V. (Researcher), Romero Segovia, V. (Researcher), Aurelius, A. (Researcher), Cedersjö, G. (Researcher), Bür, K. (Researcher), Dellkrantz, M. (Researcher), Du, M. (Researcher), Amani, P. (Researcher), Larsson, R. (Researcher), Tärneberg, W. (Research student), Li, Z. (Researcher), Yin, L. (Researcher), Tufvesson, F. (Researcher), Höst, S. (Researcher), Nilsson, B. (Researcher), Stenström, S. (Researcher), Andersson, J. A. (Researcher), Diehl, S. (Researcher), Dürango, J. (Researcher), Ghazaei Ardakani, M. (Researcher), Forsberg, P.-O. (Researcher), Bengtsson, F. (Researcher), Jörntell, H. (Researcher), Arévalo, C. (Researcher), Führer, C. (Researcher), Andersson, C. (Researcher), Mohammadi, F. (Researcher), Ödling, P. (Researcher), Andersson, M. (Researcher), Kihl, M. (Researcher) & Tunestål, P. (Researcher)

    2008/07/012018/06/30

    Project: Research

Cite this