Portable runtime environments for Python-based FMUs: Adding Docker support to UniFMU

Thomas Schranz, Christian Møldrup Legaard, Daniella Tola, Gerald Schweiger

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Co-simulation is a means to combine and leverage the strengths of different modeling tools, environments and formalisms and has been applied successfully in various domains. The Functional Mock-Up Interface (FMI) is the most commonly used standard for co-simulation. In this paper we extend UniFMU, a tool that allows users to build Functional Mock-Up Units (FMUs) in virtually any programming language, to support execution within Docker. As a result the generated FMUs can be distributed in an environment containing all runtime dependencies. To describe the process of creating dockerized FMUs using UniFMU, we show how to model and co-simulate a robotic arm and a controller using two Python-based FMUs.
Original languageEnglish
Title of host publicationProceedings of 14th Modelica Conference 2021
EditorsMartin Sjölund, Lena Buffoni, Adrian Pop, Lennart Ochel
Place of PublicationLinköping
Pages419--424
Number of pages6
DOIs
Publication statusPublished - 27 Sept 2021
Event14th International Modelica Conference - Virtuell, Sweden
Duration: 20 Sept 202124 Dec 2021
https://2021.international.conference.modelica.org/

Conference

Conference14th International Modelica Conference
Country/TerritorySweden
CityVirtuell
Period20/09/2124/12/21
Internet address

Keywords

  • FMI
  • Co-Sim
  • Tool-Coupling
  • Docker

Cite this