MODELING ANAEROBIC DEGRADATION OF COMPLEX WASTEWATER