The hydraulic retention time (HRT) is directly related to up-flow velocity (Vup) of influent in a UASB reactor. Hence, an adequate Vup and accordingly HRT provides sufficient contact between sludge and wastewater, reduces the formation of gas pockets, disengages the biomass from gas and resultantly enhances TSS removal efficiency of the system