Primary treatment for wastewater or drinking water includes settling in a sedimentation chamber to remove as much of the solid matter as possible before applying additional treatments. The amount removed is controlled by the hydraulic residence time (HRT). When water flows through a volume at a slower rate, less energy is available to keep solid particles entrained in the stream and there is more time for them to settle to the bottom. Typical HRTs for sedimentation basins are around two hours, although some groups recommend longer times to remove micropollutants such as pharmaceuticals and hormones.
Disinfection is the last step in the tertiary treatment of wastewater or drinking water. The types of pathogens that occur in untreated water include those that are easily killed like bacteria and viruses, and those that are more robust such as protozoa and cysts. The disinfection chamber must have a long enough HRT to kill or deactivate all of them.