working on a fix for steady state Ausgleichsbecken

This commit is contained in:
Brantegger Georg
2022-07-27 16:02:39 +02:00
parent 176fa556ff
commit 03ff67e0ad
4 changed files with 121 additions and 46 deletions

View File

@@ -21,7 +21,7 @@ def FODE_function(x,h,A,A_a,p,rho,g):
# A ... Reservoir_Area
# g ... gravitational acceleration
# rho ... density of the liquid in the reservoir
f = x*abs(x)/h*(A_a/A-1.5)+g-p/(rho*h)
f = x*abs(x)/h*(A_a/A-1.)+g-p/(rho*h)
return f