how to compute sewage treatment plant