BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich | ![]() |
You are not logged in.
Pages: 1
Dear BASEMENT-Team
I am trying to run a simulation where a breach is opened at a dam after a certain water level is reached. This feature was available in a pre-version of v3 that I was using. Back then, I had the following options:
wse-trigger 1: At this level, the hqrelation switches from hqrelation1 to hqrelation2
time_lag: optional time-lag; wse-trigger 1 needs to be reached during xxx seconds until it switches to hqrelation2
wse-trigger 2: After reaching this level, the hqrelation switches back from hqrelation2 to hqrelation1
The breach-area along the dam is cut out as a hole in the model and I have two Nodestrings (outflow and inflow NS) along the breach.
How do I set this up in the current v3.0.2 model.json file/is it possible?
{
"name": "dambreach",
"string_name": "upstreamnodestring",
"string_name_downstream": "downstreamnodestring",
"hqrelation_file": "hqrelation1.txt",
"hqrelation2_file": "hqrelation2.txt",
"type": "hqrelation_linked", --> which type?
"time_lag": 145.0,
"wse_up": 500, --> probably not the wse-trigger?
"wse_down": 300 --> arbitrary low number
},
hqrelation1 = dam overtopping without a brech
hqrelation2 = fully opened breach
Thanks a lot and best regards!
Matthias
Offline
hey Matthias
This is "type": "2way_hqrelation_linked", the rest should be the same!
Hope this helps!
Best, Lukas
Offline
Hi Lukas
Thanks for your reply, it seems to work!
If multiple elements are along the upstream nodestring: How does Basement v3.0.2 calculate the relevant level? Is it the edge-weighted average over all cells?
Some feedback for the developers:
- It would be nice to have an indication of the hqrelation-change in the logfile (eg: time xx boundary xx hqrelation1 -> hqrelation 2)
- In the GUI-description, the wse_up and wse_down should be described differently.
now: wse_down = Water surface elevation of the downstream boundary [m]
All the best!
Matthias
edit: typos..
Last edited by Matthias (2020-07-08 07:13:35)
Offline
Pages: 1