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

Optimization with OpenModelica - Import the model in CasADi

Optimization with OpenModelica - Import the model in CasADi

Hi all,

I am quite new to openModelica so I hope my question is not too trivial.

I was trying to follow section 11.5.3 of the user guide in order to import with the CasADi API for python an XML model that I previously exported from OMedit.

Unfortunately, I cannot find the SymbolicOCP class in the CasADi namespace and I do not find the python script mentioned at point 3.  ..\share\casadi\scripts defaultStart.py

I have installed openModelica both on ubuntu 18.04 and on Windows 10 but the share\casadi folder does not exist in both cases. I have also tried to follow the CasADi import process for JModelica FMUs but without any success.

Could someone help me? current/smile

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