sewage treatment plant calculation