Modeling of wastewater discharge into natural water bodies