Changeset 921
- Timestamp:
- 12/11/07 05:22:27 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Modelica/branches/maintenance/2.2.2/Modelica/StateGraph.mo
r630 r921 1549 1549 der(level) = (inflow1.Fi - outflow1.Fo)/(hmax*A); 1550 1550 if outflow1.open then 1551 outflow1.Fo = sqrt( 2*g*hmax*level)*a;1551 outflow1.Fo = sqrt(max(0,2*g*hmax*level))*a; 1552 1552 else 1553 1553 outflow1.Fo = 0;
