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

how to fix this error

how to fix this error

Hello

    I got this error when I run my model

   Component Vc of variability PARAM has binding 0.02777777777777778 * Va of higher variability VAR

   openmodelica indicate that the error comes from this line
  parameter Real Vc=Va/Ns;

  can you help me please

Re: how to fix this error

I think thet the problem is normally related to the fact of assigning to a parameter some value derived from a variable. The parameter is fixed along the simulation, so it can't depend on the value of a variable, that will change along the simulation. I would think that Va is a variable, and that you are making the parameter Vc to be calculated from it..

There are 0 guests and 0 other users also viewing this topic