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

FMUs generated in OpenModelica

FMUs generated in OpenModelica

I am trying to simulate an FMU, using FMPy, from a given timestep. To resume simulation in FMPy, I need to use fmi2.{get/set}FMUstate. But I cannot use that because my FMU generated in openmodelica has the flag canGetAndSetFMUState set to "False". I tried hardcoding it to true, but that did not work. How can I create an FMU such that the flag will be set to true?

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