Pump formula (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "The flow created by a pump is calculated based on the lowest end point of the pump. : ''Δw = min( WH<sub>lower</sub> , Δt * PS )'' Where: * Δw = The amount water water pu...")
 
No edit summary
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The flow created by a pump is calculated based on the lowest end point of the pump.
[[pump (Water Overlay)|Pump]]s are hydraulic structures can pump water from one location to another.


: ''Δw = min( WH<sub>lower</sub> , Δt * PS )''
The direction the pump pumps in is based on the water level at either end of the pump. A pump pumps water from the area with a lower [[water level (Water Overlay)|water level]] to the area with a higher [[water level (Water Overlay)|water level]]. If no (differing) water levels are defined, the [[terrain height (Water Overlay)|surface height]] is used instead. The direction is determined during the initialization phase of the hydrological model, and does not change during the calculation even when water levels change.
 
A negative pump speed is also allowed. This will cause the pump to be "draining", rather than "pumping". This will cause water to be moved in the opposite direction.
 
The amount being pumped or drained is dependent on the water levels on both sides of the pump.
 
''Case 1: '''Pumping''':''
 
First the flow capacities are calculated.
 
If a positive Pump q is defined:
: <math>Q_{p,t} = \Delta t \cdot q_t </math>
 
If a lower threshold T<sub>l,t</sub> is defined as well:
: <math>Q_{l,t} = min ( 0, w_{l,t} - T_{l,t} )</math>
 
If an upper threshold T_{u,t} is defined as well:
: <math>Q_{u,t} =  max ( 0, T_{u,t} - w_{t,u}  )</math>
 
If a capacity Q<sub>total</sub> is defined:
: <math>Q_c = Q_{total} -\sum_{0..t-1}Q_i</math>
 
After calculating the capacities, the actual water pumped upwards is calculated. If any of the terms are undefined, they are not included.
: <math>\Delta w = \frac {max( 0 , min( Q_{l,t} , Q_{u,t} , Q_{t} , Q_{c} ) ) }{A}</math>
 
''Case 2: '''Draining''':''<br>
First the flow capacities are calculated.
 
If a negative Pump q is defined:
: <math>Q_{p,t} = \Delta t \cdot q_t </math>
 
If a lower threshold T<sub>l,t</sub> is defined as well:
: <math>Q_{l,t} =  max ( 0, w_{l,t} - T_{l,t} )</math>
 
If an upper threshold T<sub>u,t</sub> is defined as well:
: <math>Q_{u,t} =  min ( 0, T_{u,t} - w_{t,u} )</math>
 
If a capacity Q<sub>total</sub> is defined:
: <math>Q_c = Q_{total} - abs ( \sum_{0..t-1}Q_i )</math>
 
After calculating the capacities, the actual water pumped upwards is calculated. If any of the terms are undefined, they are not included.
: <math>\Delta w = \frac { max( 0 , max( Q_{l,t} , Q_{u,t} , Q_t , -Q_c ) ) }{ A} </math>


Where:
Where:
* Δw = The amount water water pumped from the lower to the higher endpoint.
* <math>w_{t,l}</math> = The [[Surface water level formula (Water Overlay)|water level]] at the lower water level entry at time t, relative to {{datum}}.
* Δt = Computational timestep.
* <math>w_{t,u}</math> = The [[Surface water level formula (Water Overlay)|water level]] at the upper water level entry at time t, relative to {{datum}}.
* <math>T_{l,t}</math> = The [[Pump lower threshold (Water Overlay)|LOWER_THRESHOLD]] of the pump at time t.
* <math>T_{u,t}</math> = The [[Pump upper threshold (Water Overlay)|UPPER_THRESHOLD]] of the pump at time t.
* <math>q_t</math> = The [[Pump q (Water Overlay)|PUMP_Q]] of the pump at time t.
* <math>\Delta t</math> = Computational [[Timestep formula (Water Overlay)|timestep]].
* <math>Q_{total}</math> = The pump capacity, defined in [[Inlet capacity (Water Overlay)|INLET_CAPACITY]] of the pump.
* <math>Q_{0..n}</math> = The calculated previous amounts of flow.
* <math>Q_{l,t}</math> = The desired amount of water at the entry based on the pump's [[Pump lower threshold (Water Overlay)|LOWER_THRESHOLD]] attribute.
* <math>Q_{u,t}</math> = The desired amount of water at the exit based on the pump's [[Pump upper threshold (Water Overlay)|UPPER_THRESHOLD]] attribute.
* <math>Q_t</math> = The [[Pump q (Water Overlay)|PUMP_Q]] at time <math>t</math> for timestep <math>\Delta t</math>, which is the amount of water the pump can possibly pump (or drain, when negative).
* <math>Q_c</math> = The maximum amount of water flow based on the total capacity of the pump.
* <math>A</math> = Size of the entry/exit area in <math>m^2</math>, based on the amount of cells and cell size. Current implementation only has one cell.
* <math>\Delta w</math> = The amount of water flow which takes place.


* WH<sub>lower</sub> = The height of the water column at the lower end of the pump, relative to the terrain.
==Related==
* PS = The {{inlink|PUMP_SPEED}} of the pump.
The following topics are related to this formula.
<!--* H<sub>lower</sub> = The terrain height at the lower end point, relative to {{datum}}.-->
; Structures
: [[Pump (Water Overlay)|Pump]]
; Models
: [[Surface model (Water Overlay)|Surface model]]


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

Latest revision as of 13:13, 5 March 2024

Pumps are hydraulic structures can pump water from one location to another.

The direction the pump pumps in is based on the water level at either end of the pump. A pump pumps water from the area with a lower water level to the area with a higher water level. If no (differing) water levels are defined, the surface height is used instead. The direction is determined during the initialization phase of the hydrological model, and does not change during the calculation even when water levels change.

A negative pump speed is also allowed. This will cause the pump to be "draining", rather than "pumping". This will cause water to be moved in the opposite direction.

The amount being pumped or drained is dependent on the water levels on both sides of the pump.

Case 1: Pumping:

First the flow capacities are calculated.

If a positive Pump q is defined:

If a lower threshold Tl,t is defined as well:

If an upper threshold T_{u,t} is defined as well:

If a capacity Qtotal is defined:

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

Case 2: Draining:
First the flow capacities are calculated.

If a negative Pump q is defined:

If a lower threshold Tl,t is defined as well:

If an upper threshold Tu,t is defined as well:

If a capacity Qtotal is defined:

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

Where:

  • = The water level at the lower water level entry at time t, relative to datum.
  • = The water level at the upper water level entry at time t, relative to datum.
  • = The LOWER_THRESHOLD of the pump at time t.
  • = The UPPER_THRESHOLD of the pump at time t.
  • = The PUMP_Q of the pump at time t.
  • = Computational timestep.
  • = The pump capacity, defined in INLET_CAPACITY of the pump.
  • = The calculated previous amounts of flow.
  • = The desired amount of water at the entry based on the pump's LOWER_THRESHOLD attribute.
  • = The desired amount of water at the exit based on the pump's UPPER_THRESHOLD attribute.
  • = The PUMP_Q at time for timestep , which is the amount of water the pump can possibly pump (or drain, when negative).
  • = The maximum amount of water flow based on the total capacity of the pump.
  • = Size of the entry/exit area in , 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
Pump
Models
Surface model