Advanced

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

Andersson, Christian LU ; Åkesson, Johan LU and Führer, Claus LU (2016) In Technical Report in Mathematical Sciences 2016(2).
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... (More)
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. (Less)
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Book/Report
publication status
published
subject
keywords
Functional Mock-up Interface, FMI, Python, Simulation, Co-Simulation, Ordinary differential equations, Parameter Estimation
in
Technical Report in Mathematical Sciences
volume
2016
issue
2
pages
40 pages
publisher
Centre for Mathematical Sciences, Lund University
ISSN
1403-9338
language
English
LU publication?
yes
id
961a50eb-e4a8-43bc-80ac-d467eef26193
date added to LUP
2016-04-11 14:52:53
date last changed
2016-09-09 19:12:12
@misc{961a50eb-e4a8-43bc-80ac-d467eef26193,
  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.},
  author       = {Andersson, Christian and Åkesson, Johan and Führer, Claus},
  issn         = {1403-9338},
  keyword      = {Functional Mock-up Interface,FMI,Python,Simulation,Co-Simulation,Ordinary differential equations,Parameter Estimation},
  language     = {eng},
  number       = {2},
  pages        = {40},
  publisher    = {ARRAY(0xcdb2600)},
  series       = {Technical Report in Mathematical Sciences},
  title        = {PyFMI: A Python Package for Simulation of Coupled Dynamic Models with the Functional Mock-up Interface},
  volume       = {2016},
  year         = {2016},
}