probably working combined code :D
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import numpy as np
|
||||
from Ausgleichsbecken_functions import FODE_function, get_h_halfstep, get_p_halfstep
|
||||
# from Ausgleichsbecken_functions import FODE_function, get_h_halfstep, get_p_halfstep
|
||||
|
||||
#importing pressure conversion function
|
||||
import sys
|
||||
@@ -9,6 +9,11 @@ parent = os.path.dirname(current)
|
||||
sys.path.append(parent)
|
||||
from functions.pressure_conversion import pressure_conversion
|
||||
|
||||
def FODE_function(x, h, alpha, p, rho=1000., g=9.81):
|
||||
f = x*abs(x)/h*alpha+g-p/(rho*h)
|
||||
return f
|
||||
|
||||
|
||||
class Ausgleichsbecken_class:
|
||||
# units
|
||||
# make sure that units and print units are the same
|
||||
|
||||
Reference in New Issue
Block a user