The aim of this paper is to demonstrate dissolved oxygen and nitrate control in a wastewater treatment-plant, and an integrated wastewater system, using model predictive control. This control is of importance in maintaining the conditions required for aquatic organisms and so, the entire dynamics must be considered: the urban sewer system, water treatment plant, and river itself. The integrated...