An optimal control problem applied to a wastewater treatment plant
<p style='text-indent:20px;'>This paper aims to present a mathematical model that describes the operation of an activated sludge system during one day. Such system is used in the majority of wastewater treatment plants and depends strongly on the dissolved oxygen, since it is a biological treatment. To guarantee the appropriate amount of dissolved oxygen, expensive aeration strategies are demanded, leading to high costs in terms of energy consumption. It was considered a typical domestic effluent as the wastewater to test the mathematical model and it was used the ASM1 to describe the activated sludge behaviour. An optimal control problem was formulated whose cost functional considers the trade-off between the minimization of the control variable herein considered (the dissolved oxygen) and the quality index that is the amount of pollution. The optimal control problem is treated as a nonlinear optimization problem after discretization by direct methods. The problem was then coded in the AMPL programming language in order to carry out numerical simulations using the NLP solver IPOPT from NEOS Server.</p>