The DySetpoint Toolbox

This toolbox contains the data and methods to dynamically adjusts the controller setpoint using metaheuristic algorithms. Genetic Algorithm, Particle Swarm Optimization, and Simulated Annealing are used:

  • Rodrigo Salles, Jérôme Mendes, Carlos Henggeler Antunes, Pedro Moura, and Joana Dias. Dynamic Setpoint Optimization Using Metaheuristic Algorithms for Wastewater Treatment Plants. In Proc. of The 48th Annual Conference of the IEEE Industrial Electronics Society (IECON 2022), pages 1–6, Brussels, Belgium, October 17-20 2022. IEEE. [doi]

Abstract: Wastewater Treatment Plants (WWTPs) are complex structures, with nonlinear characteristics, that have strict quality criteria, and carry out the treatment using various resources, with special emphasis on electricity. The optimization of WWTPs is a necessity to achieve sustainability. This work proposes the use of metaheuristic algorithms to optimize the functioning of a WWTP. Genetic Algorithm, Particle Swarm Optimization, and Simulated Annealing are used to minimize the aeration energy consumption prediction by an artificial neural network. The optimization framework aims dynamically adjusts the reference value for the proportional-integral (PI) controller. The proposed approach was able to dynamically adjust the oxygen pumping requirement and thus reduce the electricity consumption compared to the default PI controller adopted by the Benchmark Simulation Model no. 2 (BSM2).

Software source code: The DySetpoint Toolbox (XY)

How to Run


For use with Scilab:
  • MainFile_Controllers.sce – Just run the file.