This document describes how a control system reduces costs for electrical power, sludge removal, and chemical usage. By tightly controlling dissolved oxygen levels in the aeration tanks, costs for electricity and sludge removal can be reduced. Additionally, the control system provides a uniform and stable environment for the microorganisms involved in wastewater processing, resulting in reduced sludge production and chemical usage.