-
Notifications
You must be signed in to change notification settings - Fork 51
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
make diffusive routing capable of running on refactored hydrofabric of Lower Colorado River, TX #561
make diffusive routing capable of running on refactored hydrofabric of Lower Colorado River, TX #561
Conversation
q :q cd .. q
param_df = param_df.set_index("key").sort_index() | ||
|
||
# get and apply domain mask | ||
if "mask_file_path" in diff_network_parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe I dropped this in my branch as it was causing issues when actually applied. Let's revisit after testing and we can use the code from my branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing complete for Lower Colorado diffusive domain. Still need to resolve issues with full coastal domain.
The computation time of the diffusive wave channel routing module of t-route mainly depends on the length of the shortest stream segment among all stream segments of a channel network. The current shortest length is as small as a few meters. The refactored hydrofabric we tested for this PR has about 500 meters as the shortest. This change significantly increased the computation speed. However, tentative results showed decrease in routing accuracy to some extent mainly because a finite-difference equation for solving the partial differential equations of the diffusive routing generally requires a small spatial interval of a space-time grid for achieving expected accuracy. Furthermore, the change tends to increase celerity (faster move of flooding waves) and decrease diffusivity because spatial interval in the denominator of celerity equation and diffusivity multiplied by the second order PDE w.r.t. distance, respectively. Further investigation is needed to reach a final conclusion.
Additions
Removals
Changes
Testing
1. One month simulation of hybrid routing (MC for entire network / Diffusive only on mainstem) for original vs. refactored hydrofabric
Water balance check between original and refactored hydrofabric focused on a dry period between about 6/10 and 6/20 where the two hydrographs (refac and no refac) are almost identical each other, partially confirming that the same total water volume entered the system existed almost the same rate. Regarding compute time for one month simulation for the Lower Colorado domain, MC only took 112 seconds with a parallel compute scheme while the hybrid took 242 seconds.
This hydrograph shows a tradeoff between compute speed and routing accuracy, resulting from increasing the length of shortest stream segment. The light green hydrograph from refactored hydrofabric shows more kinematic wave character (less wave attenuation) and earlier arrival of the wave (due to larger celerity) than the wave from original hydrofabric. Is it a sort of degradation of diffusive wave routing? We need further investigation with a different shortest stream segment length (for example, 250 meters instead of 500 meters) to get more sense of it.
Screenshots
Notes
Todos
Checklist
Testing checklist
Target Environment support
Accessibility
Other