Open jasper-hve opened 7 months ago
This is indeed a good suggestion, in general we'd like the capabilities of the transient elements to match the steady-state elements.
One of the things that makes this easier is that TTim now also has a method to give the discharge per segment: https://ttim.readthedocs.io/en/latest/05api/generated/generated/generated/ttim.linesink.HeadLineSinkString.discharge_list.html#ttim.linesink.HeadLineSinkString.discharge_list
They can then be added with a time column, and QGIS temporal controller takes care of it, like it does for the contours.
The main annoyance with implementing this is that I need information somewhere to determine at which time the discharge should be computed. For the head results, I use values set in the "TTim Domain" entries. However, it doesn't seem like a good idea to use these to show the discharges: computing heads is expensive, so if you want to get detailed discharge info, you would be waiting on something you didn't care for.
I haven't figured out yet what kind of table would be the most appropriate to set these times values in.
For steady state: a discharge is displayed per line segment of a headline sink. Very conventient. I can imagine that this is difficult for transient calculations. Perhaps the attribute table can display discharge with time step as column header. Then at least you have an output.
Perhaps also applicable to other elements of a model