A study of the activated sludge process as a bacterial growth process