Chico wastewater treatment plant (WWTP) in California treats around 6 million gallons of water every day. More than 50% of the total plant energy bill is spent on aeration of the activated sludge system, which is typical for the industry.
One of the methods to improve the energy efficiency of the activated sludge system is to optimize and automatically control air compression and efficient flow distribution among air discharge pipes. Automatic control, however, has its challenges.
2. Proportional integral derivative (PID) control law is linear and cannot provide accurate control for nonlinear processes.
3. In addition to providing accurate flow control, the airflow control algorithms need to maintain the lowest pressure in the system to avoid wasting energy on overcoming the headloss generated by partially closed valves.
4. Headloss of completely opened valves is less than 0.1 psi, which is significantly smaller than the static pressure of the system. This phenomenon represents a substantial challenge to traditional control methods.
5. Traditionally, each control valve operates independently of others and of the blower. Independent operations of valves and blowers often lead to control system oscillation (valve and blower hunting).
The instrumentation challenge was addressed by installing recently developed thermo flow meters (Model 410 FTB) by Kurz Instruments based in Monterey, California. This model is fast — time constant of just 0.18 seconds — and measurements are characterized by very low noise (0.19%). To address a nonlinearity challenge, it was decided to replace PID control with a control that is based on the aeration system and blowers’ models. Initially, a formal differential equation-based mathematical model of the aeration system was developed using Matlab/Simscape package. Unfortunately, the accuracy of this model was inadequate; therefore, it could not be used for accurate control.
Instead of using formal modeling, an alternative modeling approach was developed using machine learning (ML) tools. This approach uses historical data to forecast the behavior of the aeration valves and blowers. A case-based reasoning method was used to determine an optimum vane position of the blower. This method finds a match in the past of the current air demand and selects the vane position that corresponds to the smallest energy consumption by the blower.
A random forest method was used to determine an opening for each of the butterfly valves. The random forest method is based on multiple combinations of if-then rules that are computer-generated based on historical data. These rules take into account information about airflows and positions for each of the valves in the system.
The aforementioned flow control algorithms, part of the DO/Nmaster developed by Ekster and Associates, are currently the only ML-based commercial system for airflow, dissolved oxygen and ammonia controls.
Another significant improvement was the stabilization of airflow (as shown in Figure 2), and valves and blowers stopped “hunting.” As a result, the wear and tear of valves and blowers were reduced.
Improvement of airflow control helped improve the precision of the dissolved oxygen and ammonia controls. According to the local electrical utility verification team, the use of electricity by the blowers at the Chico plant was reduced by more than 50% after the installation of DO/Nmaster in combination with 410 FTB flowmeters.
Alex Ekster, Ph.D.,P.E., is a technical director at Ekster and Associates Inc. based in Fremont, California.
Vasiliy Alchakov, Ph.D., is a software department manager at Ekster and Associates Inc. based in Fremont, California.
Alex Larionenko, M.S. is a machine learning control engineer at Ekster and Associates Inc. based in Fremont, California. The authors’ combined experience in wastewater treatment optimization and control exceeds 60 years.