Weir height test case (Water Module): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page contains information how to inspect [[Weir (Water Overlay)|weir]] [[Object flow output (Water Overlay)|flow]] for [[Water Overlays]]. It also sets up a test case, which is described first.
This page contains information on what ways a [[Weir height (Water Overlay)|weir's height]] can be configured using a test case. It also shows what direct output you can inspect from a  [[Weir (Water Overlay)|weir]]. Finally, several variants are also explored.


==Description==
==Description==
Line 6: Line 6:


==Boundary and initial conditions==
==Boundary and initial conditions==
*''Waterways with weirs in the middle, separating two water areas.''
*Waterways with weirs in the middle, separating two water areas.  
*''One inlet per waterway providing an influx of water, situated in the water area on the left.''
*One inlet per waterway providing an influx of water, situated in the water area on the left.
*''One outlet per waterway providing an outflux of water, situated in the water area on the right.''
*One outlet per waterway providing an outflux of water, situated in the water area on the right.


==Parameter values==
==Parameter values==
Line 32: Line 32:


====Inlets====
====Inlets====
* Inlet (Constant):
* [[Inlet (Water Overlay)|Inlet]] (Constant):
** Rectangle shape: [189.82, -254.350], [202.08, -251.510]
** Rectangle shape: [189.82, -254.350], [202.08, -251.510]
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
Line 40: Line 40:




* Inlet (Manual)
* [[Inlet (Water Overlay)|Inlet]] (Manual)
** Rectangle shape:  [192.116, -331.225], [199.453, -328.390]
** Rectangle shape:  [192.116, -331.225], [199.453, -328.390]
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
Line 47: Line 47:
** [[Inlet upper threshold (Water Overlay)|UPPER_THRESHOLD]] = -10 000 (inactive);
** [[Inlet upper threshold (Water Overlay)|UPPER_THRESHOLD]] = -10 000 (inactive);


* Inlet (Adjusting)
* [[Inlet (Water Overlay)|Inlet]] (Adjusting)
[[File:Weir_flow_test_case_adjusting_inlet_q.png|thumb|200px|right|Inlet Q that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.]]
[[File:Weir_flow_test_case_adjusting_inlet_q.png|thumb|200px|right|Inlet Q that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.]]
** Rectangle shape:  [197.019, -444.276], [204.623, -441.738]
** Rectangle shape:  [197.019, -444.276], [204.623, -441.738]
Line 56: Line 56:


====Outlets====
====Outlets====
Each outlet is set up with the following attributes to remove the water that passed through the weir:
Each [[Inlet (Water Overlay)|outlet]]  is set up with the following attributes to remove the water that passed through the weir:
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
** [[Inlet area (Water Overlay)|INLET_AREA]] = 1.0;  
** [[Inlet q (Water Overlay)|INLET_Q]] = 0;  
** [[Inlet q (Water Overlay)|INLET_Q]] = 0;  
Line 70: Line 70:


====Weirs====
====Weirs====
Each weir is setup using a rectangular shape, and direction angle and a weir height and width:
Each [[Weir (Water Overlay)|weir]] is setup using a rectangular shape, and direction angle and a weir height and width:
* [[Weir angle (Water Overlay)|WEIR_ANGLE]] = 270 degrees;
* [[Weir angle (Water Overlay)|WEIR_ANGLE]] = 270 degrees;
* [[Weir height (Water Overlay)|WEIR_HEIGHT]] = 0 m;
* [[Weir height (Water Overlay)|WEIR_HEIGHT]] = 0 m;
Line 81: Line 81:
[[File:Weir_flow_test_case_manuel_weir_height.png|thumb|200px|right|Weir height that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.]]
[[File:Weir_flow_test_case_manuel_weir_height.png|thumb|200px|right|Weir height that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.]]
** Rectangular shape: [ 298.675, -324.174 ] , [ 301.613, -335.662 ]
** Rectangular shape: [ 298.675, -324.174 ] , [ 301.613, -335.662 ]
* [[Weir height (Water Overlay)|WEIR_HEIGHT]] = [ 0 0 600 0.2 1200 0.2 1500 0.2 1800 -0.5 2400 -0.5 2700 0 ];
** [[Weir height (Water Overlay)|WEIR_HEIGHT]] = [ 0 0 600 0.2 1200 0.2 1500 0.2 1800 -0.5 2400 -0.5 2700 0 ];
* Weir (Adjusting)
* Weir (Adjusting)
** Rectangular shape: [ 298.406, -437.681 ] , [ 301.142, -449.731 ]
** Rectangular shape: [ 298.406, -437.681 ] , [ 301.142, -449.731 ]
** [[Weir target level (Water Overlay)|WEIR_TARGET_LEVEL]] = 0;


====Overlay settings====
====Overlay settings====
Line 94: Line 95:
* Groundwater: 0 (off)
* Groundwater: 0 (off)
* Calculation mode: Accuracy
* Calculation mode: Accuracy
* [[Timeframes (Water Overlay)|Timeframes]]: 30
* Output results: [[Surface last value result type (Water Overlay)|Surface last value]], [[Surface last datum result type (Water Overlay)|Surface last datum]] and [[Surface last datum result type (Water Overlay)|Surface elevation]]
* Output results: [[Surface last value result type (Water Overlay)|Surface last value]], [[Surface last datum result type (Water Overlay)|Surface last datum]] and [[Surface last datum result type (Water Overlay)|Surface elevation]]
* [[Weir dam multiplier (Water Overlay)|WEIR_DAM_MULTIPLIER]] is set to 3;
* [[Weir move range m (Water Overlay)| WEIR_MOVE_RANGE_M]] is set to 1 meter;
* [[Weir move interval s (Water Overlay)| WEIR_MOVE_INTERVAL_S]] is set to 10 seconds;
* [[Weir move step m (Water Overlay)| WEIR_MOVE_STEP_M]] is set to 0,01 meter.


==Output==
==Output==
Measured object graphs are displayed below.
Measured object graphs are displayed below. The following water overlay output attributes are inspected:
* [[Object height output (Water Overlay)|Object height]], which is in meters relative to the {{datum}}
* [[Object flow output (Water Overlay)|Object flow]], which is in m3/s
* [[Object datum output a (Water Overlay)|Object datum a]] which is in meters relative to the {{datum}}
* [[Object datum output b (Water Overlay)|Object datum b]] which is in meters relative to the {{datum}}


====Weir with constant height====
====Weir with constant height====
Line 149: Line 159:
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_b.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_b.png|x300px|border]]</li>
</ul>
</ul>
==Variations==
====Weir adjustment interval====
Changing the [[Weir move interval s (Water Overlay)|WEIR_MOVE_INTERVAL_S]] from 10 seconds to 1 second. This leads to more adjustments. It becomes more apparent with more timeframes (300 in stead of 30).
<ul>
: Weir with an adjusting height:
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_height_1s.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_flow_1s.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_datum_a_1s.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_datum_b_1s.png|x300px|border]]</li>
: Weir adjusting height with 300 frames:
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_height_1s_0_01m_300f.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_flow_1s_0_01m_300f.png|x300px|border]]</li>
: Inlet: No changes.
: Outlet:
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_flow_1s.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_a.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_b.png|x300px|border]]</li>
</ul>
====Weir move step====
Changing the [[Weir move interval s (Water Overlay)|WEIR_MOVE_INTERVAL_S]] from 0.01 meter to 0.05 meter. As you can see, this makes the adjustments more erratic.
<ul>
: Weir with an adjusting height:
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_height_0_05m.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_flow_0_05m.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_datum_a_0_05m.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_weir_adjusting_datum_b_0_05m.png|x300px|border]]</li>
: Inlet: No changes.
: Outlet:
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_flow_0_05m.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_a.png|x300px|border]]</li>
<li style = "display:inline-block">[[File:weir_test_case_outlet_adjusting_datum_b.png|x300px|border]]</li>
</ul>
==Conclusions==
* Weirs can be made to adjust automatically based on changing water levels.
* Be careful when changing the default values of the weir move attributes of the overlay. Do not set the adjustment time too low or the step too high.


{{article end
{{article end
|howtos=  
|howtos=  
* [[How to inspect object output attributes of an overlay using the measurement tool.]]
* [[How to inspect object output attributes of an overlay using the measurement tool]]
* [[How to import a time sequence with a CSV]]
}}
}}
[[Category:Benchmarks]]
[[Category:Benchmarks]]
{{Water Module buttons}}
{{Water Module buttons}}

Latest revision as of 12:53, 3 February 2023

This page contains information on what ways a weir's height can be configured using a test case. It also shows what direct output you can inspect from a weir. Finally, several variants are also explored.

Description

This test case consists of several weirs situated in a waterway, with each weir having different properties. All weirs are part of the same Water Overlay's simulation. There is no rainfall in this test case. Instead water flow is provided by inlets and outlets, which can be set up either variable or constant.

Weir test case top down.

Boundary and initial conditions

  • Waterways with weirs in the middle, separating two water areas.
  • One inlet per waterway providing an influx of water, situated in the water area on the left.
  • One outlet per waterway providing an outflux of water, situated in the water area on the right.

Parameter values

  • Manning’s n: 0.03 (uniform)
  • Model grid resolution: 1m

Technical setup

Waterways

Four waterways with a water depth of 2m and an angle of repose of 35 degrees, drawn with the following polygons:

  1. [187.0, -249.288], [418.0, -256.288]
  2. [413.0, -333.288], [189.0, -326.288]
  3. [194.0, -375.287], [411.0, -382.287]
  4. [404.0, -447.430], [194.0, -440.430]

Water Areas

Two areas divide the water ways into two sections:

  • Water area (left)
    • Rectangle shape: [301.0, -226.466], [158.884, -464.466]
    • WATER_LEVEL = 0.0;
  • Water area (right)
    • Rectangle shape: [424.884, -226.466], [301.0, -464.466]
    • WATER_LEVEL = 0.0;

Inlets


Inlet Q that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.

Outlets

Each outlet is set up with the following attributes to remove the water that passed through the weir:

The outlets are situated at:

  • Outlet (Constant):
    • Rectangle shape: [414.554, -250.689] , [396.786, -253.873]
  • Outlet (Manual):
    • Rectangle shape: [410.115, -327.753] , [ 393.13, -330.9620 ]
  • Outlet (Adjusting):
    • Rectangle shape: [ 401.072, -442.541 ], [ 383.968, -445.520 ]

Weirs

Each weir is setup using a rectangular shape, and direction angle and a weir height and width:

Weir specific:

  • Weir (Constant)
    • Rectangular shape: [ 299.593, -248.328 ] , [ 302.229, -257.983 ]
  • Weir (Manual)
Weir height that is adjusting over time, visualized using the Measurement Tool's object attribute inspection.
    • Rectangular shape: [ 298.675, -324.174 ] , [ 301.613, -335.662 ]
    • WEIR_HEIGHT = [ 0 0 600 0.2 1200 0.2 1500 0.2 1800 -0.5 2400 -0.5 2700 0 ];
  • Weir (Adjusting)
    • Rectangular shape: [ 298.406, -437.681 ] , [ 301.142, -449.731 ]
    • WEIR_TARGET_LEVEL = 0;

Overlay settings

General parameters that have been used:

Output

Measured object graphs are displayed below. The following water overlay output attributes are inspected:

Weir with constant height

    Weir with a constant height:
  • Weir test case weir constant height.png
  • Weir test case weir constant flow.png
  • Weir test case weir constant datum a.png
  • Weir test case weir constant datum b.png
  • Inlet:
  • Weir test case inlet constant flow.png
  • Weir test case inlet constant datum a.png
  • Weir test case inlet constant datum b.png
  • Outlet:
  • Weir test case outlet constant flow.png
  • Weir test case outlet constant datum a.png
  • Weir test case outlet constant datum b.png

Weir with manual configured changing height

    Weir with a manual configured changing height:
  • Weir test case weir manual height.png
  • Weir test case weir manual flow.png
  • Weir test case weir manual datum a.png
  • Weir test case weir manual datum b.png
  • Inlet:
  • Weir test case inlet manual flow.png
  • Weir test case inlet manual datum a.png
  • Weir test case inlet manual datum b.png
  • Outlet:
  • Weir test case outlet manual flow.png
  • Weir test case outlet manual datum a.png
  • Weir test case outlet manual datum b.png

Weir with adjusting height

    Weir with an adjusting height:
  • Weir test case weir adjusting height.png
  • Weir test case weir adjusting flow.png
  • Weir test case weir adjusting datum a.png
  • Weir test case weir adjusting datum b.png
  • Inlet:
  • Weir test case inlet adjusting flow.png
  • Weir test case inlet adjusting datum a.png
  • Weir test case inlet adjusting datum b.png
  • Outlet:
  • Weir test case outlet adjusting flow.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Variations

Weir adjustment interval

Changing the WEIR_MOVE_INTERVAL_S from 10 seconds to 1 second. This leads to more adjustments. It becomes more apparent with more timeframes (300 in stead of 30).

    Weir with an adjusting height:
  • Weir test case weir adjusting height 1s.png
  • Weir test case weir adjusting flow 1s.png
  • Weir test case weir adjusting datum a 1s.png
  • Weir test case weir adjusting datum b 1s.png
  • Weir adjusting height with 300 frames:
  • Weir test case weir adjusting height 1s 0 01m 300f.png
  • Weir test case weir adjusting flow 1s 0 01m 300f.png
  • Inlet: No changes.
    Outlet:
  • Weir test case outlet adjusting flow 1s.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Weir move step

Changing the WEIR_MOVE_INTERVAL_S from 0.01 meter to 0.05 meter. As you can see, this makes the adjustments more erratic.

    Weir with an adjusting height:
  • Weir test case weir adjusting height 0 05m.png
  • Weir test case weir adjusting flow 0 05m.png
  • Weir test case weir adjusting datum a 0 05m.png
  • Weir test case weir adjusting datum b 0 05m.png
  • Inlet: No changes.
    Outlet:
  • Weir test case outlet adjusting flow 0 05m.png
  • Weir test case outlet adjusting datum a.png
  • Weir test case outlet adjusting datum b.png

Conclusions

  • Weirs can be made to adjust automatically based on changing water levels.
  • Be careful when changing the default values of the weir move attributes of the overlay. Do not set the adjustment time too low or the step too high.