Sewer Overflow formula (Water Overlay)
Revision as of 12:29, 15 April 2019 by Frank@tygron.nl (talk | contribs)
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 > Ho and
- hs + Bs > wo
The amount that can overflow relies on both the water level at the sewer overflow itself as well as the sewer overflow threshold and the stored sewer water:
- Δh = min ( hs - Hs , ws - wo)
The flow is then calculated with the SEWER_OVERFLOW_SPEED attribute of the sewer overflow.
- Δw = min( Δh, Δt * qo / As)
where:
- Bo = The height of the terrain at the centerpoint of the sewer overflow, relative to datum.
- Bs = The assumed surface height of the sewer, relative to datum.
- 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.
- As = The surface area of the sewer.
- Ho = The surface height of the sewer, determined by SEWER_OVERFLOW attribute of the sewer overflow.
- SOS = The SEWER_OVERFLOW_SPEED attribute of the sewer overflow.
- SOT = The SEWER_OVERFLOW_THRESHOLD.
Notes
- The sewers area is counted as the amount of sewered grid cells times the size of a grid cell.
- 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.