Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Is there a way to simulate a FMU in a C++ environment?

Is there a way to simulate a FMU in a C++ environment?

FMU is widely used in a python environment thru FMI Library package pyFMI and compilation of modelica models can be done thru pyModelica.

I wonder if there is a way to compile a modelica model in FMU and simulate this FMU doing all this process (compilation -> simulation) in C++?

What would be the packages used for this purpose, if any ?

thanks in advance!

Re: Is there a way to simulate a FMU in a C++ environment?

OpenModelica can export FMUs as C or C++ (with C bindings, not C++). OMSimulator is written in C++ and can import and simulate FMUs.

There are 0 guests and 0 other users also viewing this topic
You are here: