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

Connections under conditions

Connections under conditions

Hello,
I am currently developping a pretty complex model of a system. I would like to know if it is possible in Open Modelica to make connections between components (in my case mechanicals flanges of two components) only under certain conditions. Specifically, I want these two components to be connected only when a condition of displacement is applied and I want them to disconnect in thhe other case.
Apparently the compiler does not allow me  make loops with connect lines inside.
Any suggestions?
Best regards and thank you in advance! current/smile

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