The 14th International
Linköping, September 20-24, 2021
[Practical Information] [Tutorials and Vendor Sessions] [Proceedings] [Modelica Libraries] [FMI User Meeting] [Archives] [Journal Special Issue (open for submissions until 2022-07-31)]
Title: | Portable runtime environments for Python-based FMUs: Adding Docker support to UniFMU |
---|---|
Authors: | Thomas Schranz, Christian Møldrup Legaard, Daniella Tola and Gerald Schweiger |
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. |
Keywords: | FMI, Co-Sim, Python, Tool-Coupling, Docker |
Paper: | full paper |
Bibtex: | @InProceedings{modelica.org:Schranz:2021, title = "{Portable runtime environments for Python-based FMUs: Adding Docker support to UniFMU}", author = {Thomas Schranz and Christian M{\o}ldrup Legaard and Daniella Tola and Gerald Schweiger}, pages = {419--424}, doi = {10.3384/ecp21181419}, booktitle = {Proceedings of the 14th International Modelica Conference}, location = {Link\"oping, Sweden}, editor = {Martin Sj\"olund and Lena Buffoni and Adrian Pop and Lennart Ochel}, isbn = {978-91-7929-027-6}, issn = {1650-3740}, month = sep, series = {Link\"oping Electronic Conference Proceedings}, number = {181}, publisher = {Modelica Association and Link\"oping University Electronic Press}, year = {2021} } |