Why OTFMI ?#
About FMI, OpenTURNS and the FMI backends#
The functional mock-up interface (FMI) standard specifies a multipurpose interfaces to 0D/1D physical models. It is currently supported by many softwares, such as OpenModelica, Dymola, Amesim, Ansys, Simulink, etc.
OpenTURNS library proposes a large range of mathematical methods to quantify, propagate and handle uncertainties.
PyFMI and FMPy are packages for loading and interacting with FMUs in Python. otfmi uses PyFMI by default, and falls back to FMPy when PyFMI is not available.
The need for otfmi#
Using Python to easily perform computer experiments on 0D/1D models is seductive. Yet the tool chain, from the physical model to OpenTURNS, was incomplete. FMI backend objects, close to the FMU methods, had to be adapted for easier use with OpenTURNS methods.
otfmi is developed by Phimeca, at the request of EDF Prisme department, to meet this need of compatibility between FMI backend objects and OpenTURNS.