Hey!
So we have these equations that describe flow through and pressure in a pipe.
∂p/∂t = -β/A * ∂q/∂x
∂q/∂t = -A/ρ * ∂p/∂x - F/ρ + g*Acos(α(x))
where A = cross area, β = bulk constant for water, p = pressure, q = flow, ρ = density, g = gravity constant, F = forces due to friction, α =...