Portable runtime environments for Python-based FMUs: Adding Docker support to UniFMU
DOI:
https://doi.org/10.3384/ecp21181419Keywords:
FMI, Co-Sim, Python, Tool-Coupling, DockerAbstract
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.Downloads
Published
2021-09-27
Issue
Section
Contents