openmodelicainterest  

Modelica.Thermal.FluidHeatFlow library

Hervé Feral
Mon, 04 Jan 2010 09:15:31 -0800

Hello,

 

I try to use the Modelica.Thermal.FluidHeatFlow provided with the last
OpenMdelica version (1.5 RC1).

 

When I launch the simulation of SimpleCooling example provide in le library
with following shell lines:

loadModel(Modelica)

simulate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling, stopTime=10)

 

I obtain a simulation failed:

record SimulationResult

resultFile = "Simulation failed.

Error: Variable flowPort_a.p not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.p not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Sources.PrescribedVolumeFlow

Error: Variable flowPort_a.p not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.m_flow not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_a.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: Variable flowPort_b.h not found in scope
Modelica.Thermal.FluidHeatFlow.Components.HeatedPipe

Error: The language feature initial algorithm is not supported. Suggested
workaround: rewrite initial algorithms to initial equations

"

end SimulationResult;

 

I would like to know if it is possible to work with this library with little
modifications or the best solution is to write a new version of this
library.

 

Thanks for your help!

 

Hervé FERAL 

 

  • Modelica.Thermal.FluidHeatFlow library Hervé Feral