where QU is wastewater treatment plant (WWTP) outflow, and QR is discharge of the river at the location of the WWTP effluent. QU was calculated as sum of wastewater from households and small industries (QH), storm water (QSW), and sewer infiltration water (QSIW):