Smoothing the Q(h)
relation
#1919
Labels
core
Issues related to the computational core in Julia
needs-refinement
Issues that are too large and need refinement
performance
Relates to runtime performance or convergence
In the grand scheme of boosting performance by making the whole RHS of the Ribasim ODE problem C1 smooth, doing this for$Q(h)$ relation is given by piecewise linear interpolation of the input data. To make this more smooth, we can use a cubic polynomial that rounds out the corners. As proposed by @Huite, this is easiest to understand by hydrologist by taking some fixed small interval centered around each data point where the linear interpolation is replaced by a polynomial (some care must be taken half this interval is bigger than the distance between points in the $x$ direction).
TabulatedRatingCurve
is one of the steps. Currently theFor the nicest integration this could be incorporated into
DataInterpolations.jl
. For some inspiration see here, which uses an interval around the data points whose size is relative to the distance between points instead of absolute as proposed here.The text was updated successfully, but these errors were encountered: