1

I will get a compiled model (FMU Function mockup unit) from a third-party software company coded in Modelica (Dymola).

Is it possible to run / use this model within R environnement, i.e. import it, simulate it and get results from it ?

The interface is an FMI (functional Mockup Interface)

desertnaut
  • 57,590
  • 26
  • 140
  • 166
Stéphane V
  • 1,094
  • 2
  • 11
  • 25

1 Answers1

1

I have never heard of an FMI import implementation in R (and I am not familier at all with R ...) What I naively would try:

Use one of the existing implementations for FMI import in Python (https://github.com/CATIA-Systems/FMPy, https://github.com/modelon-community/PyFMI, ...) or C (https://github.com/modelon-community/fmi-library), and call these from R via some standard package (reticulate, .C, ...)