diff --git a/docs/src/changelog.md b/docs/src/changelog.md index 5b4ccfaeb..b6538ce03 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -15,7 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 (BasicModelInterface.jl), including function arguments, return types and the BMI specification that arrays are always flattened (this was not the case for variables stored as 2-dimensional arrays or as vector of SVectors). -- Bump compat for NCDatasets to 0.13. +- Bump compat for NCDatasets to 0.13, 0.14. +- The solution for lake outflow as part of the Modified Puls Approach. The inflow and + outflow variables are defined for period `Δt`, and not at `t1` and `t2` (instantaneous) as + in the original mass balance equation of the Modified Puls Approach. Because of this, the + terms of the quadratic equation (and solution) were fixed. ### Changed - For cyclic parameters different cyclic time inputs are supported (only one common cyclic diff --git a/docs/src/model_docs/lateral/waterbodies.md b/docs/src/model_docs/lateral/waterbodies.md index 87331d458..335ab2867 100644 --- a/docs/src/model_docs/lateral/waterbodies.md +++ b/docs/src/model_docs/lateral/waterbodies.md @@ -91,8 +91,8 @@ Inserting this equation in the mass balance gives: The solution for Q is then: ```math - Q = { \left( -LF + \sqrt{LF^{2} + 2 \left( SI - \dfrac{A*H_{0}}{\Delta t} \right) - } \right) }^{2} \text{for } SI > \dfrac{A H_{0}}{\Delta t} \text{ and where}\\ + Q = { \left( \dfrac{-LF + \sqrt{LF^{2} + 4 \left( SI - \dfrac{A*H_{0}}{\Delta t} \right)}} + {2} \right) }^{2} \text{for } SI > \dfrac{A H_{0}}{\Delta t} \text{ and where}\\ LF = \dfrac{A}{\Delta t \sqrt{\alpha}} \\~\\ Q = 0 \text{ for } SI \leq \dfrac{A*H_{0}}{\Delta t} ```