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
  • Index
  • » Users
  • » Eden
  • » Profile

Posts

Posts

Title


Hello everyone.

I try to set CoSimulation canGetAndSetFMUstate="true" instead of false in my FMU but I don't know how to set other options than those available in the Visual Interface of OMEdit.

My aim is to export a FMU of my model to use it in Co Simulation.
To be able to modify the FMU state without using OpenModelica, I need this option to be set on true but I don't know how to change it.

I tried to make my FMU with OMShell instead of OMEdit, thinking I would be able to set more parameters, but the only ones I manage to change are the ones I can change with OMEdit (like "2.0" for version 2.0 or "cs" for co simulation).
Do you know the syntax to change the Co Simulation settings? I can't find it in the user guide or the internet.

Thank you in advance if you know how to do it.
It would be of a great help.

  • Index
  • » Users
  • » Eden
  • » Profile
You are here: