An integrated model predictive control (MPC) strategy to control the power consumption and the effluent quality of a water resource recovery facility (WRRF) by utilizing the storage capacity from the sewer system was implemented and put into operation for a 7-day trial period. This price-based MPC reacted to electricity prices and forecasted pollutant loads 24 hours ahead. The large storage capacity available in the sewer system directly upstream from the plant was used to control the incoming loads and, indirectly, the power consumption of the WRRF during dry weather operations. The MPC balances electricity costs and treatment quality based on linear dynamical models and predictions of storage capacity and effluent concentrations. This article first shows the modelling results involved in the design of this MPC. Secondly, results from full-scale MPC operation of the WRRF are shown. The monetary savings of the MPC strategy for the specific plant were quantified around approximately 200 DKK per day when fully exploiting the allowed storage capacity. The developed MPC strategy provides a new option for linking WRRFs to smart grid electricity systems.