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
  • » blah
  • » Profile

Posts

Posts

Jun-11-14 12:53:03
Result of a variable as a start value in the next simulation.
Category: Programming

By writing your equation using the droplet temperature variable, the simulator will keep taking the most current value. You have to free your mind from the classic programming model. In Modelica, you write down the equations, provide initial values and let the compiler do the rest for you, free of charge :-)

Jun-11-14 12:48:06
Category: Programming

It appears that START has been evaluated to zero, causing your if else expression to evaluate to zero and cause the divide by zero.

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