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

OMPython

OMPython

hi all,

I'm trying to give certain parameters in my .mo model a value using OMPython. Now i open the .mo model and I also open a JSON file which contains the values. Inside OMPython I can set the parameters and if ask for them (getparameters()) then they are given. Now when I save the model and open it again inside OpenModelica nothing has changed. Does anyone now how to save the parameters to the .mo file?

There are 0 guests and 0 other users also viewing this topic