-
Notifications
You must be signed in to change notification settings - Fork 5
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
Combined vertical fluxes on Basin #661
Comments
From a modeller's perspective I am not fond of this solution as it involves another connection to track that your timesries ends up in the correct basin. But if we can hide it from the modeller and julia or ribasim_python offers the methods to post/get these series using the basinId it probably is ok. |
Yes I think it should be straightforward to create tooling to follow the indirection. |
I guess the benefit additional nodes is that you can always store a "flow" variable for a given node, so all the information is encoded in the network and the types. I'm not too fond it for the same reason @gijsber mentions, but also conceptually: I've always considered the nodes to be somewhat physically distinct entities, which is reflected by the network topology. I would vote for what feels like the solution here: treat the edge flows separately in the output. I find it a bit clunky in how you need to select basin flows anyway. Why not store a separate table with a basin index and the various balance terms for that timestep? MODFLOW 6 also has different format for internodal flows (flow-ja-face) and flows to the node itself. In UGRID terms, similarly: the internodal flows would be stored on the edges. The node terms would be stored on the nodes. |
We won't go with separate nodes to split combined flows, instead we remove the combined flows and make sure we add separate fluxes to the node specific output files.
|
Depending on functionality that gets removed (like flow edges without an id that can be recovered from the network), introduce an utility that recover them in this issue. |
Fixes #661. --------- Co-authored-by: Martijn Visser <mgvisser@gmail.com>
One limitation of the way we save flows in #644 is that we cannot separate the 4 basin fluxes (precipitation, evaporation, drainage, infiltration). We could make separate accommodations for those. Or perhaps these should really be separate node types with 1 flux each;
This would also fix the timeseries duplication problem. Say you have 1000 Basins in a small area with a single precipitation timeseries. Now you have to copy this data 1000x, once per Basin. If you have a separate Precipitation node, you only have to define it once and connect it to all 1000 Basins, just like you can do already for e.g. a LevelBoundary. For visualization you'd probably want an easy way to hide these nodes and edges though.
Originally posted by @visr in #644 (comment)
The text was updated successfully, but these errors were encountered: