Inlet formula (Water Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[inlet (Water Overlay)|Inlet]]s are hydraulic structures can pump water in and out of the project area and are connected with a water body outside the project area.__NOTOC__
[[inlet (Water Overlay)|Inlet]]s are hydraulic structures can pump water in and out of the project area and are connected with a water body outside the project area.__NOTOC__


The amount flowing in or out of inlets is calculated for the cell the inlet resides on.
The amount flowing in or out of {{Inlets}} is calculated for the cell the {{Inlet}} resides on.


''Case 1: '''Inlet''':''<br>
''Case 1: '''Inlet''':''<br>
When calculating inlets, first the capacities are calculated.
When calculating {{Inlets}}, first the capacities are calculated.


If a lower threshold <math>T_{l,t}</math> is defined:
If a lower threshold <math>T_{l,t}</math> is defined:
Line 10: Line 10:


If a positive inlet q Q<sub>t</sub> is defined:
If a positive inlet q Q<sub>t</sub> is defined:
: ''Q<sub>t</sub> = Δt * Q<sub>t</sub>''
: <math>Q_t = \Delta t \cdot Q_t</math>


If a capacity Q<sub>total</sub> is defined:
If a capacity Q<sub>total</sub> is defined:
: ''Q<sub>c</sub> = Q<sub>total</sub>''- ΣQ<sub>0..t-1</sub>
: <math>Q_c = Q_{total}- \sum_{0..t-1}Q_i</math>


After calculating the capacities, the actual water inflow is calculated. If any of the terms are undefined, they are not included.
After calculating the capacities, the actual water inflow is calculated. If any of the terms are undefined, they are not included.
: ''Δw = max( 0 , min( Q<sub>lth</sub> , Q<sub>t</sub> , Q<sub>c</sub> ) ) / A''
: <math>\Delta w = \frac { max( 0 , min( Q_{lth}, Q_t , Q_c ) )}{A}</math>


''Case 2 '''Outlets''':''<br>
''Case 2 '''Outlets''':''<br>
Line 22: Line 22:


If an upper threshold T<sub>u,t</sub> is defined:
If an upper threshold T<sub>u,t</sub> is defined:
: ''Q<sub>uth</sub> = min( 0 , T<sub>u,t</sub> - w<sub>t</sub> )''
: <math>Q_{uth} = min( 0 , T_{u,t} - w_t )</math>


If a negative inlet q Q<sub>t</sub> is defined:
If a negative inlet q Q<sub>t</sub> is defined:
: ''Q<sub>t</sub> = Δt * Q<sub>t</sub>''
: <math>Q_t = \Delta t \cdot Q_t</math>


If a capacity Q<sub>total</sub> is defined:
If a capacity Q<sub>total</sub> is defined:
: ''Q<sub>c</sub> = -Q<sub>total</sub> - ΣQ<sub>0..t-1</sub>''
: <math>Q_c = -Q_{total} - \sum_{0..t-1}Q_i</math>


After calculating the capacities, the actual water ouflow is calculated. If any of the terms are undefined, they are not included.
After calculating the capacities, the actual water ouflow is calculated. If any of the terms are undefined, they are not included.
: ''Δw = min( 0 , max( Q<sub>uth</sub> , Q<sub>t</sub> , Q<sub>c</sub>) ) / A''
: <math>\Delta w = \frac { min( 0 , max( Q_{uth} , Q_t, Q_c) ) } {A}</math>


Where:
Where:
* w<sub>t</sub> = The [[Surface water level formula (Water Overlay)|water level]] on the surface relative to {{datum}}, at time t.
* <math>w_t</math> = The [[Surface water level formula (Water Overlay)|water level]] on the surface relative to {{datum}}, at time t.
* T<sub>l,t</sub> = The [[Lower threshold (Water Overlay)|LOWER_THRESHOLD]] of the inlet at time t.
* <math>T_{l,t}</math> = The [[Inlet lower threshold (Water Overlay)|LOWER_THRESHOLD]] of the {{Inlet}} at time t.
* T<sub>u,t</sub> = The [[Upper threshold (Water Overlay)|UPPER_THRESHOLD]] of the inlet at time t.
* <math>T_{u,t}</math> = The [[Inlet upper threshold (Water Overlay)|UPPER_THRESHOLD]] of the {{Inlet}} at time t.
* q<sub>t</sub> = The [[Inlet q (Water Overlay)|INLET_Q]] of the inlet at time t.
* <math>q_t</math> = The [[Inlet q (Water Overlay)|INLET_Q]] of the {{Inlet}} at time t.
* Δt = Computational timestep.
* <math>\Delta t</math> = Computational [[Timestep formula (Water Overlay)|timestep]].
* Q<sub>total</sub> = The [[Inlet capacity (Water Overlay)|INLET_CAPACITY]] of the inlet.
* <math>Q_{total}</math> = The [[Inlet capacity (Water Overlay)|INLET_CAPACITY]] of the {{Inlet}}.


* Q<sub>0..n</sub> = The calculated previous amounts of flow.
* <math>Q_{0..n}</math> = The calculated previous amounts of flow.
* Q<sub>lth</sub> = The desired lower water level at the inlet's location, based on the [[Lower threshold (Water Overlay)|LOWER_THRESHOLD]] of the inlet.
* <math>Q_{lth}</math> = The desired lower water level at the {{Inlet}}'s location, based on the [[Inlet lower threshold (Water Overlay)|LOWER_THRESHOLD]] of the {{Inlet}}.
* Q<sub>uth</sub> = The desired upper water level at the outlet's location, based on the outlet's [[Upper threshold (Water Overlay)|UPPER_THRESHOLD]] of the inlet.
* <math>Q_{uth}</math> = The desired upper water level at the outlet's location, based on the outlet's [[Inlet upper threshold (Water Overlay)|UPPER_THRESHOLD]] of the {{Inlet}}.
* Q<sub>t</sub> = The amount of water inflow (or outflow when negative) possible based on the [[Inlet q (Water Overlay)|INLET_Q]] of the inlet and timestep Δt.
* <math>Q_t</math> = The amount of water inflow (or outflow when negative) possible based on the [[Inlet q (Water Overlay)|INLET_Q]] of the {{Inlet}} and timestep <math>\Delta t</math>.
* Q<sub>c</sub> = The total amount of water inflow (or outflow when negative) allowed based on the total capacity of the inlet.
* <math>Q_c</math> = The total amount of water inflow (or outflow when negative) allowed based on the total capacity of the {{Inlet}}.


* A = Size of the inlet/outlet area in m<sup>2</sup>, based on the amount of cells and cell size. Current implementation only has one cell.
* <math>A</math> = Size of the {{Inlet}}/outlet area in m<sup>2</sup>, based on the amount of cells and cell size. Current implementation only has one cell.
* Δw = The amount of water flow which takes place.
* <math>\Delta w</math> = The amount of water flow which takes place.


==Related==
==Related==
Line 57: Line 57:
: [[Surface model (Water Overlay)|Surface model]]
: [[Surface model (Water Overlay)|Surface model]]


{{Template:WaterOverlay_nav}}
{{WaterOverlay formula nav}}

Latest revision as of 13:09, 5 March 2024

Inlets are hydraulic structures can pump water in and out of the project area and are connected with a water body outside the project area.

The amount flowing in or out of Inlets is calculated for the cell the Inlet resides on.

Case 1: Inlet:
When calculating Inlets, first the capacities are calculated.

If a lower threshold is defined:

If a positive inlet q Qt is defined:

If a capacity Qtotal is defined:

After calculating the capacities, the actual water inflow is calculated. If any of the terms are undefined, they are not included.

Case 2 Outlets:
When calculating outlets, first the capacities are calculated.

If an upper threshold Tu,t is defined:

If a negative inlet q Qt is defined:

If a capacity Qtotal is defined:

After calculating the capacities, the actual water ouflow is calculated. If any of the terms are undefined, they are not included.

Where:

  • = The water level on the surface relative to datum, at time t.
  • = The LOWER_THRESHOLD of the Inlet at time t.
  • = The UPPER_THRESHOLD of the Inlet at time t.
  • = The INLET_Q of the Inlet at time t.
  • = Computational timestep.
  • = The INLET_CAPACITY of the Inlet.
  • = The calculated previous amounts of flow.
  • = The desired lower water level at the Inlet's location, based on the LOWER_THRESHOLD of the Inlet.
  • = The desired upper water level at the outlet's location, based on the outlet's UPPER_THRESHOLD of the Inlet.
  • = The amount of water inflow (or outflow when negative) possible based on the INLET_Q of the Inlet and timestep .
  • = The total amount of water inflow (or outflow when negative) allowed based on the total capacity of the Inlet.
  • = Size of the Inlet/outlet area in m2, based on the amount of cells and cell size. Current implementation only has one cell.
  • = The amount of water flow which takes place.

Related

The following topics are related to this formula.

Structures
Inlet
Models
Surface model