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

Model shows divide by zero

Model shows divide by zero

I am trying to model the flow in pipe.  The conditions need to change once the pipe is full.  I have attempted to model this, but I keep getting a divide by zero once the pipe is full.
I am trying to understand why this is happening.  I have attached the simple model.  When I run TestTrap1 is works for a period of time, then gives divide by zero errors.  If anyone can make any suggestions for getting it to work, I would greatly appreciate it. 
Thanks.
FlowPackageTest.mo

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