Sewer Overflow formula (Water Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
[[File:Sewer_overflow_model2.png|right|500px]]
[[File:Sewer_overflow_model2.png|right|500px]]
Overflow from the sewer is calculated for the entirety of the sewer, and the single attached sewer overflow.
Overflow from the sewer is calculated for the entirety of the sewer, and the single attached sewer overflow.
The sewer base height is located at the height indicated by the sewer overflow:
: ''B<sub>s</sub> = B<sub>so</sub>
The sewer overflow height is calculated as:
: ''H<sub>o</sub> = H<sub>s</sub> * T<sub>o</sub>
The water level at the sewer is then:
: ''w<sub>s</sub> = h<sub>s</sub> + B<sub>s</sub>
Water only flows out of the sewer iff:
: ''h<sub>s</sub> &gt H<sub>o</sub> and
: ''h<sub>s</sub> + B<sub>s</sub>  &gt w<sub>o</sub>


The amount that can overflow relies on both the sewer overflow itself as well as the sewer overflow threshold:
The amount that can overflow relies on both the sewer overflow itself as well as the sewer overflow threshold:
The flow is then calculated with the [[SEWER_OVERFLOW_SPEED_(Water Overlay)| SEWER_OVERFLOW_SPEED]] attribute of the sewer overflow.
:  Δh = min ( h<sub>s</sub> - H<sub>s</sub> , w<sub>s</sub> - w<sub>o</sub>)
:  Δw = min( max( 0 , h<sub>s</sub> ),  Δt * v<sub>o</sub>
: ''C<sub>threshold</sub> = max( 0 , h<sub>s</sub> - H<sub>s</sub> * T<sub>s</sub> )''
: ''C<sub>threshold</sub> = max( 0 , h<sub>s</sub> - H<sub>s</sub> * T<sub>s</sub> )''
: ''C<sub>height</sub> = max( 0, T<sub>sewer</sub> + H>sub>o</sub> + h<sub>sewer</sub> - T<sub>overflow</sub> )''
: ''C<sub>height</sub> = max( 0, T<sub>sewer</sub> + H>sub>o</sub> + h<sub>sewer</sub> - T<sub>overflow</sub> )''

Revision as of 12:24, 15 April 2019

Sewer overflow model.png
Sewer overflow model2.png

Overflow from the sewer is calculated for the entirety of the sewer, and the single attached sewer overflow.

The sewer base height is located at the height indicated by the sewer overflow:

Bs = Bso

The sewer overflow height is calculated as:

Ho = Hs * To

The water level at the sewer is then:

ws = hs + Bs

Water only flows out of the sewer iff:

hs &gt Ho and
hs + Bs &gt wo

The amount that can overflow relies on both the sewer overflow itself as well as the sewer overflow threshold:

The flow is then calculated with the SEWER_OVERFLOW_SPEED attribute of the sewer overflow.

Δh = min ( hs - Hs , ws - wo)
Δw = min( max( 0 , hs ), Δt * vo
Cthreshold = max( 0 , hs - Hs * Ts )
Cheight = max( 0, Tsewer + H>sub>o + hsewer - Toverflow )
C = min ( Cthreshold, Cheight )

Actual overflow is then calculated:

Δw = min( 0 , C * Σsewer , Δt * SOS )

where:

  • hs = The height of the water column in the sewer.
  • HS = The SEWER_STORAGE attribute of the sewer area, the maximum water height allowed in the sewer.
  • Δw = The amount of sewer overflow which takes place.
  • Δt = Computational timestep.
  • C = The amount of water that can overflow out of the sewer
  • Cthreshold = The amount of water that could overflow, based on the sewer overflow threshold.
  • Cheight = The amount of water that could overflow, based on the properties of the sewer overflow.
  • Σsewer = The surface area of the sewer.
  • Tsewer = The average height of the terrain where the sewer is present, relative to datum.
  • Toverflow = The height of the terrain at the centerpoint of the sewer overflow, relative to datum.

Notes

  • The sewer's height relative to datum is not defined in the Sewer itself. It is relative to the sewer overflow and determined by the SEWER_OVERFLOW attribute of the overflow.

See also

Template:WaterOverlay nav