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

What is wrong?

What is wrong?

I do not know if I am doing something wrong. I think that the following simple model should run with no  problem, but OpenModelica  is telling me that there are 4 variables(correct) and 6 equations(wrong). It seems that the equations that make the flow variables equal to 0 remain after the connection, instead of being replaced by the sum of flows equal to zero.
I attach the model. I am using OpenModelica 1.14.1 on Windows 10.

ModelicaTest8.mo


Carlos

Attachments:

Re: What is wrong?

It seems clear what I was doing wrong. Modelica specification (chapter 9.3) doesn't allow the connection of two outer connectors.

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