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 )
The test cases work correctly with OMC r14198
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | SimpleFluid.mo added |
---|
comment:1 by , 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 , 12 years ago
Component: | → Backend |
---|---|
Description: | modified (diff) |
Resolution: | → fixed |
Status: | new → closed |
Modelica package with test cases