A congruent procedure to design activated sludge systems