User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2020-07-07 09:57:48

Matthias
Advanced_User
Registered: 2014-12-16
Posts: 29

dynamic linked hqrelation

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

#2 2020-07-07 10:17:35

Lukas Vonwiller
Developer
Registered: 2014-09-04
Posts: 127

Re: dynamic linked hqrelation

hey Matthias

This is "type": "2way_hqrelation_linked", the rest should be the same!

Hope this helps!
Best, Lukas

Offline

#3 2020-07-08 07:11:35

Matthias
Advanced_User
Registered: 2014-12-16
Posts: 29

Re: dynamic linked hqrelation

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

Board footer

Powered by FluxBB