Opened 15 years ago

Last modified 14 years ago

#1150 closed defect (fixed)

Not possible to extend the components in FluidHeatFlow (from MathCore)

Reported by: Jan Brugård Owned by: Jan Brugård
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Jan Brugård,

Description

See the model

model PEXPipe
  extends Modelica.Thermal.FluidHeatFlow.Components.IsolatedPipe;
end PEXPipe;

It gives the error messages

Check of Toneco.PEXPipe failed.
Error
Class Toneco.PEXPipe has 20 equation(s) and 20 variable(s).
8 of these are trivial equation(s).<font color="red">Error: Variable medium.cp not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_b.h not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_a.h not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_a.m_flow not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_b.h not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_a.h not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_a.m_flow not found in scope Toneco.PEXPipe</font><br><font color="red">Error: Variable flowPort_a.p not found in scope Toneco.PEXPipe</font><br>

But since Modelica.Thermal.FluidHeatFlow.Components.IsolatedPipe is an ok model it should be ok to extend this model I think.

Change History (2)

comment:2 by Martin Sjölund, 14 years ago

Works in trunk.

Note: See TracTickets for help on using tickets.