- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » StaticPipe and DynamicPipe
StaticPipe and DynamicPipe
StaticPipe and DynamicPipe
Hi, I am new to Modelica and have been trying to use the StaticPipe and DynamicPipe models. I get error messages when I run the Check Model for the unaltered code for these two models. (See error message below) Could you kindly help me out? Thanks
[3] 15:31:10 Translation Error
[Modelica.Fluid.Pipes: 1043:13-1043:140]: Cannot resolve type of expression Modelica.Fluid.Pipes.StaticPipe.flowModel.Medium.pressure(BOX(flowModel.states[i + 1])) - Modelica.Fluid.Pipes.StaticPipe.flowModel.Medium.pressure(BOX(flowModel.states[i])). The operands have types #Real, #Real in component <NO_COMPONENT>.
Re: StaticPipe and DynamicPipe
I have this same issue. Did you manage to resolve it?
I have copied all the elements from an example that compiles just fine, but when I paste them in my own model it fails to compile, coming up with that error. Also, when I check the actual "StaticPipe" object the same error shows up.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » StaticPipe and DynamicPipe