Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » coronev
  • » Profile

Posts

Posts

Sep-23-20 10:45:16
error codes generated for StaticPipe and DynamicPipe models

Unfortunately not. I eventually found Modellica too difficult to learn on my own and did not look any further.

Feb-19-20 14:35:20
error codes generated for StaticPipe and DynamicPipe models

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>.

  • Index
  • » Users
  • » coronev
  • » Profile
You are here: