- Index
- » Users
- » Falkyr
- » Profile
Posts
Posts
Thank you very much. I implemented it like you show and this works fine!
Now i got another problem: The compiler deletes some of my equations because he thinks they aren't valid. But if i connect the parts in a row by hand, everything works well. How can i trace back where this failure occurs?
Hi there,
i'm just new in programming with Modelica or better if i say i use SimulationX with the Modelica-part. After a few weeks i'm now at a point i can't get on, so i hope you'll help me
Here is my problem:
I want to connect some parts dynamically. So the user can handle, how much HeatedPipes (a part of the standard library) he want to connect in a row. I define it like
->HeatedPipe[n] , where n is the number of parts.
In addition i'd like to assign some parameters, which should be valid for all lonely parts. For example i add a temperature temp.
-> HeatedPipe[n](T0=temp)
That's the point where the problem is. The failure is that my programm thinks T0 is a n-vector whereat temp is a scalar.
So, i don't know how to handle this. May one of you give me a good hint?
Thank you!
- Index
- » Users
- » Falkyr
- » Profile