Hello everyone,
I am fairly new to modelica as I am working in a student course with it.
So I know the mechanisms in theory but I lack the experience on how
to deal with connectors between models.
As an example, I am implementing a model of a gravity heater consisting
of a couple of pipes, each of them connected with the next one,
altogether they
are making up a ring (in the vertical direction).
(Picture in http://de.wikipedia.org/wiki/Schwerkraftheizung, sorry, only
german).
This leads to the point that each pipe component has some internal variables
that depend on the connectors. And also the connector variables have to be
set in some way to reflect the internal state of the pipe component.
What I am doing now is to evaluate the connector variables at one side of a
pipe element, calculate the internal pipe state, and set the other connector
depending on the internal pipe state. The equations are complete but
unfortunately I get "simulation failed" when I start to simulate two
connected
pipe elements.
So what I wanted to know is, what strategies are there to deal with
connectors?
Evaluate one side and set the other... or evaluate both and set both (if
this is
possible, I am not sure about that). Perhaps someone can enlighten me...
Thanks for your help and greetings,
Rutton.