REAL-TIME CONTROL OF WASTE-WATER TREATMENT OPERATIONS