-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bucket model, AET values confusing when S=0 #188
Comments
Thanks for reporting the issue and apologies about the delay. I've amended the code based on your suggested fix and everything looks good. > res
PPT PET U S ET
1 65 14 51.000000 47.0000 14.0000
2 59 22 37.000000 47.0000 22.0000
3 57 38 19.000000 47.0000 38.0000
4 28 54 0.000000 28.0000 47.0000
5 13 92 0.000000 0.0000 41.0000
6 3 125 0.000000 0.0000 3.0000
7 0 154 0.000000 0.0000 0.0000
8 1 140 0.000000 0.0000 1.0000
9 4 106 0.000000 0.0000 4.0000
10 20 66 0.000000 0.0000 20.0000
11 33 29 0.000000 12.6383 20.3617
12 53 14 4.638298 47.0000 14.0000 I'll open a PR which will hopefully be merged soon |
This is great, thank you! I've been using hydromad for a long time and really appreciate the package. The speed of the C implementation is a nice bonus. |
Thanks for reporting the issue, and for such a perfect reproducible example! |
No worries and thank you both for working on this. I'd really like to build more of our (USDA/NRCS) workflows on current / planned functionality in hydromad. Maybe we can schedule some time to talk about the more complex models described in the main references. |
@dylanbeaudette - very happy to talk about this. Feel free to email me at joseph.guillaume@anu.edu.au |
Will do, thanks again. I went back to a project from 2019 that used |
Issue summary:
ET (actual ET) values are larger than P[t] when S[t] = 0.
Expected Behavior
When S_prev = 0 AND P[t] << E[t], ET[t] should be limited to S[t].
Current Behavior
ET[t] is larger that P[t] when S_prev = 0, this doesn't make sense. See below.
Possible Solution
Constraints:
(Etrans + Ebare)
cannot be >S[t]
.Steps to Reproduce (for bugs)
Context
Monthly water balance.
Your Environment
The text was updated successfully, but these errors were encountered: