Opened 17 years ago

Closed 12 years ago

#131 closed defect (fixed)

Replaceable model doesn't work

Reported by: Francesco Casella Owned by: Francesco Casella
Priority: critical Milestone:
Component: Backend Version:
Keywords: Cc: Francesco Casella, Adrian Pop

Description (last modified by Francesco Casella)

The test cases work correctly with OMC r14198

Attachments (1)

SimpleFluid.mo (13.2 KB ) - added by Francesco Casella 17 years ago.
Modelica package with test cases

Download all attachments as: .zip

Change History (3)

by Francesco Casella, 17 years ago

Attachment: SimpleFluid.mo added

Modelica package with test cases

comment:1 by Francesco Casella, 17 years ago

Created an attachment (id=20)
Modelica package with test cases

Please consider the model SimpleFluid.Examples.Test4 in the attached package. It uses a replaceable model for the medium model inside the volume. When you instantiate the model, the equations of the replaceable model do not show up.

Currently, we make do with a quick fix (which is commented out in SimpleFluid.Components.Volume if you look at the attachment), but in general it would be useful if replaceable models (and replaceable packages) worked, expecially if we want to use Modelica.Media in the future.

comment:2 by Francesco Casella, 12 years ago

Component: Backend
Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.