-
Notifications
You must be signed in to change notification settings - Fork 23
Outflow of reservoir/lake #267
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
Comments
For the reservoirs and lakes we did take a very similar approach as in the wflow Python version.
This is possible, then we have to take the river flow from the upstream cell. The advantage is that this will indeed also fix the problem of modelling a reservoir/lake without a downstream node. For the case with reservoirs/lakes that are relatively small compared to the cell resolution I would say the current implementation is better. I am not so sure that overwriting volume from the reservoir/lake model is a good idea (mixing of information). I think just using the volume from the lake/reservoir is more explicit for a mass balance calculation (e.g. for local inertial flow @JoostBuitink: would be good to hear your opinion on this! |
Thanks for your quick reply @verseve ! I'm not sure it happens so often with the classic resolution of wflow that the lake/reservoir area has a much smaller resolution than the cell itself? I mean qlat and q from upstream would already be considered so the lake would have to be really small to get significant errors (1/3 of the cell or less?). The global lake model is anyhow only good for large lakes (>10km2) In a way you could also still run the kinematic wave first but then instead of adding the lake outflow to the dowsntream overwrite the q and q_av from the intermediate kinematic wave instead? |
Yes, I agree, for the
I am not sure if I understand this question completely. I think you propose to overwrite |
yes I think we can in general assume the flextopo resolution to be similar to the sbm resolution (and same for hbv I would say) |
Oh yes indeed, I forgot that part, so ignore what I said, then just indeed overwrite |
Maybe a little related to #90 but I have a question on how the reservoir/lake outflow are being given back to the wflow model.
What I see from the code is that the outflow is added into qin of the downstream cell rather than directly changing the q/q_av value of the cell itself (see few line below):
Wflow.jl/src/flow.jl
Lines 284 to 298 in e3de2bc
The thing is that then for the reservoir/lake outlet cell, if you save q_av you get a completely hypothetic value and the outflow of the lake is masked as an external inflow to the downstream cell instead. So if you would make a mass balance over the surface flow cells as a postprocess (eg coupling to Delwaq) then you have to manually overwrite the volume and q_av of the lake outlet to get the mass balances right. I think it would be easier and maybe more intuitive if for these cells both q/q_av/volume would be overwritten by the lake/reservoir data ?
This would also fix the problem of modelling a lake without a downstream node.
The text was updated successfully, but these errors were encountered: