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

Integrating (open)modelica with simulink

Integrating (open)modelica with simulink

To my masters thesis I used Dymola/Simulink to simulate a certain model. I built the code in Dymola and used the Simulink integrators to solve the model.

Currently I no longer have a Dymola License but I still have Simulink available. The same code that previously worked on Simulink is now very problematic in OpenModelica. For some reason, I cannot solve the model for more than 1.2 seconds, even though all space-state variables are already stabilized after 0.5 seconds (in another words, the model has reached a steady state).

After much code debbuging, and since Simulink solvers never gave me trouble, I can only pinpoint the OpenModelica solvers (I have tried them all). Therefore, I was wondering if there is a possibility to compile the model in OpenModelica and run it in Simulink.

Thank you for your time!

Re: Integrating (open)modelica with simulink

look in
http://openmodelica.org/index.php/home/ … /4-speaker
there is an interface to matlab.

regards
Mohsen

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