Opened 6 years ago
Closed 6 years ago
#5325 closed defect (fixed)
Inheritance issue in Buildings with the NF?
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.
The following error is reported:
[Buildings latest/Fluid/MixingVolumes/Validation/BaseClasses/MixingVolumeReverseFlow.mo:66:3-68:17:writable] Error: The type of variables sou.ports[1] and volDyn.ports[1] are inconsistent in connect equations.
Both ports should have the redeclared Medium = Buildings.Media.Air
, maybe something went wrong with the medium package propagation?
Note:
See TracTickets
for help on using tickets.
Fixed in 0d73600. The issue was simply that the NF only applied modifiers from constraining classes when redeclaring a component, but the model in question contained replaceable components that were not redeclared. With this fix the model now simulates successfully.