From 176fa556ffbc4bfe09f080fcf1c6b45544f63af8 Mon Sep 17 00:00:00 2001 From: Brantegger Georg Date: Wed, 27 Jul 2022 15:11:31 +0200 Subject: [PATCH] added dynamic pressure effect to the FODE function --- Ausgleichsbecken/Ausgleichsbecken_class_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ausgleichsbecken/Ausgleichsbecken_class_file.py b/Ausgleichsbecken/Ausgleichsbecken_class_file.py index 937e082..18350e9 100644 --- a/Ausgleichsbecken/Ausgleichsbecken_class_file.py +++ b/Ausgleichsbecken/Ausgleichsbecken_class_file.py @@ -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)+g-p/(rho*h) + f = x*abs(x)/h*(A_a/A-1.5)+g-p/(rho*h) return f