Combinations of activated sludge treatment with precipitation, flocculation, coagulation and separation of phosphates