Opened 13 years ago
Closed 13 years ago
#1944 closed defect (fixed)
unbalanced models: empty array of unused connector yields equations
| Reported by: | Christian Schubert | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.9.0 |
| Component: | Frontend | Version: | trunk |
| Keywords: | flow connect unbalanced | Cc: | Martin Sjölund |
Description
I found another source for unbalanced fluid models.
We have an empty array of
Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_a topPorts[0]
nevertheless we get an equation
topPorts[0].m_flow = 0.0
which consequently gives an unbalanced model, since the empty array does not provide any variables.
Simple Testmodels are attached
Attachments (3)
Change History (5)
by , 13 years ago
by , 13 years ago
| Attachment: | TopModel.mo added |
|---|
by , 13 years ago
| Attachment: | SubModel.mo added |
|---|
comment:1 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in r13965.