FMUiL: An open-source package for in-the-loop simulations with functional mock-up units




Klemets, K.; Bouzoulas, D.; Manngård, M.; Böling, J.M.

PublisherElsevier BV

2026

 SoftwareX

102560

34

2352-7110

DOIhttps://doi.org/10.1016/j.softx.2026.102560

https://doi.org/10.1016/j.softx.2026.102560

https://research.utu.fi/converis/portal/detail/Publication/515865926



Functional Mock-up Units in the Loop (FMUiL) is an open-source Python package designed to support virtual commissioning and design phases of projects. It combines the FMI and OPC UA standards to enable the cosimulation between simulation models, software, and hardware. Since the FMI standard does not specify how co-simulation between FMUs and external systems should be handled, FMUiL uses the OPC UA communication protocol, which is widely adopted in the process automation industry, to manage the data exchange between devices and systems. Simulation models are wrapped as OPC UA servers that can be connected to external servers. To simplify experiment setup and ensure reproducibility, FMUiL uses YAML configuration files to define simulation scenarios and experiments, which can then be executed through the provided command-line interface. This paper documents the architecture and functionality of the FMUiL package, describes how experiments are configured, and demonstrates its use through practical examples.


This research was funded by Business Finland under Grant 7316/31/2023 “Virtual Sea Trial”.


Last updated on 20/03/2026 02:40:06 PM