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

How can I do co-simulation in OpenModelica?

How can I do co-simulation in OpenModelica?

Hi guys,

Can anyone tell me how I can do the co-simulation in OpenModelica? That means if I have created several models in openmodelica, how I can connect them together to do the co-simulation. Just like connect the components of modelica  standard library in the OMEdit.

Please forgive my stupid question, I am just a beginner.

Kind regards,

Rui

Re: How can I do co-simulation in OpenModelica?

Create a new model, drag your components onto the diagram, and connect them together. I am assuming you added connectors to your components already.

Re: How can I do co-simulation in OpenModelica?

Thank you, sjoelund.se!

To be honest, I did not realize I needed connectors until yesterday. Thanks a lot!

Re: How can I do co-simulation in OpenModelica?

Hi friends,

I have created a sub-model successfully by using the graphic tool provided by OMEdit. However another question arose in my mind. If I use modelica language to code a model, how can I add connectors for this model?  Actually, I tried several times, it didn't work as I thought.

Kind regards,

Rui

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