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 still valid the call to OMPython.get()?

Is still valid the call to OMPython.get()?

Hi,

I am facing the same problem as here: https://www.openmodelica.org/forum/defa … thon#p4966 when I want to get the result file after the simulation. I have this piece of code that with previous version of OMPython did work.

Code:


OMPython = OMCSession()
...
inMemoryResultFile= OMPython.get(result, 'SimulationResults.resultFile')

So, how can I load the result file into memory?

Greetings!

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