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
  • » loris
  • » Profile

Posts

Posts

Nov-07-18 15:02:30
Topic: OMPython
saving an a .mo model in 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?

Oct-22-18 09:35:47
How can I use xlsx files in openmodelica?

Hi everyone,

Does anybody now how I can import and use a xlsx file, which contains a table with some values, in a modelica script? i would like to use the values for some simple equations.

kind regards

Loris

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