Technical Papers
Sep 11, 2014

Optimal Control of Total Chlorine and Free Ammonia Levels in a Water Transmission Pipeline Using Artificial Neural Networks and Genetic Algorithms

Publication: Journal of Water Resources Planning and Management
Volume 141, Issue 7

Abstract

In this study, a model predictive control (MPC) system is developed for the goldfield and agricultural water system (GAWS) east of Perth in Western Australia. As part of the study, four months’ water quality and hydraulic data of the system were collected for the development of the MPC system. Two artificial neural network (ANN) models are developed to model the relationships between the control variable, the ammonia dosing rate at the source, and the controlled variables, the total chlorine and free ammonia levels at a designated location (Goomalling pump station) in the network five days later. A two-step process based on both mutual information (MI) and partial mutual information (PMI) is used to select appropriate inputs for the total chlorine and free ammonia models. The total chlorine and free ammonia ANN models perform well, with validation Nash-Sutcliffe efficiencies of 0.84 and 0.62, respectively, and validation root mean square errors (RMSE) of 0.1320 and 0.0106mg/L, respectively. A real-number coded genetic algorithm is then used to find the optimal ammonia dosing rate to achieve the target total chlorine and free ammonia levels at the modeled location. The results demonstrate that the developed MPC system can control the total chlorine and free ammonia levels at Goomalling pump station to be close to their target values by adjusting the ammonia dosing rates at Mundaring pump stations. The errors in the MPC system are mainly due to the relatively weak relationship between the control and controlled variables for this particular system.

Get full access to this article

View all available purchase options and get full access to this article.

Acknowledgments

The authors would ike to acknowledge Water Research Australia for its financial support for this project. The authors would also like to thank Associate Professor David Davey and Dr. Stanley McLeod from the University of South Australia for the development and maintenance of the free ammonia analyzer, Mr. Ralph Henderson, Mr. Brett Kerenyi, and Mr. Ross Taylor from Water Corporation for their assistance in data collection and maintenance of the analyzer on-site, and Dr. Chris Chow of SA Water for his helpful advice during the project.

References

Abbas, A. (2006). “Model predictive control of a reverse osmosis desalination unit.” Desalination, 194(1–3), 268–280.
Alexander, M. T., and Boccelli, D. L. (2010). “Field verification of an integrated hydraulic and multi-species water quality model.” Water Distribution System Analysis Symp., Tucson, AZ.
Bakker, M., Vreeburg, J. H. G., Palmen, L. J., Sperber, V., Bakker, G., and Rietveld, L. C. (2013). “Better water quality and higher energy efficiency by using model predictive flow control at water supply systems.” J. Water Supply Res. Technol. AQUA, 62(1), 1–13.
Bakošová, M., Oravec, J., and Matejičková, K. (2013). “Model predictive control-based robust stabilization of a chemical reactor.” Chem. Pap., 67(9), 1146–1156.
Behzadian, K., Alimohammadnejad, M., Ardeshir, A., Jalilsani, F., and Vasheghani, H. (2012). “A novel approach for water quality management in water distribution systems by multi-objective booster chlorination.” Int. J. Civ. Eng., 10(1), 51–60.
Boccelli, D., Tryby, M., Uber, J., Rossman, L., Zierolf, M., and Polycarpou, M. (1998). “Optimal scheduling of booster disinfection in water distribution systems.” J. Water Resour. Plann. Manage., 99–111.
Bowden, G. J., Maier, H. R., and Dandy, G. C. (2012). “Real-time deployment of artificial neural network forecasting models: Understanding the range of applicability.” Water Resour. Res., 48(10), W10549.
Bowden, G. J., Nixon, J. B., Dandy, G. C., Maier, H. R., and Holmes, M. (2006). “Forecasting chlorine residuals in a water distribution system using a general regression neural network.” Math. Comput. Modell., 44(5–6), 469–484.
Brdys, M. A., Chang, T., and Duzinkiewicz, K. (2001). “Intelligent model predictive control of chlorine residuals in water distribution systems.” Bridging the gap, D. Phelps and G. Shelke, eds., ASCE, Reston, VA, 1–11.
Dandy, G. C., Blaikie, M., Commane, C., Frankish, D., Osborne, D., and Thompson, M. (2004). “Towards optimal control of chlorine levels in water distribution systems.” AWA Regional Conf., Australian Water Association (AWA), Glenelg, SA, Australia.
Dandy, G. C., Simpson, A. R., and Murphy, L. J. (1996). “An improved genetic algorithm for pipe network optimization.” Water Resour. Res., 32(2), 449–458.
Davey, D., et al. (2011). “Development of an on-line nitrogen monitoring system using microdistillation flow analysis.” 7th Int. Conf. on Intelligent Sensors, Sensor Networks and Information Processing, ARC Research Network on ISSNIP, Hilton, Adelaide, SA, Australia.
Dawson, C. W., Abrahart, R. J., and See, L. M. (2007). “HydroTest: A web-based toolbox of evaluation metrics for the standardised assessment of hydrological forecasts.” Environ. Modell. Softw., 22(7), 1034–1052.
Deb, K., Agrawal, S., Pratap, A., and Meyarivan, T. (2000). “A fast elitist non-dominated sorting genetic algorithm for multi-objective optimization: NSGA-II.” Parallel problem solving from nature—PPSN VI, M. Schoenauer, K. Deb, G. Rudolph, X. Yao, E. Lutton, J. J. Merelo, and H.-P. Schwefel, eds., Springer, Berlin, 849–858.
Despagne, F., and Luc Massart, D. (1998). “Neural networks in multivariate calibration.” Analyst, 123(11), 157–178.
Duirk, S. E., Gombert, B., Croué, J.-P., and Valentine, R. L. (2005). “Modeling monochloramine loss in the presence of natural organic matter.” Water Res., 39(14), 3418–3431.
Gibbs, M. S., Morgan, N., Maier, H. R., Dandy, G. C., Nixon, J. B., and Holmes, M. (2006). “Investigation into the relationship between chlorine decay and water distribution parameters using data driven methods.” Math. Comput. Modell., 44(5–6), 485–498.
Grosso, J. M., Ocampo-Martínez, C., and Puig, V. (2013). “Learning-based tuning of supervisory model predictive control for drinking water networks.” Eng. Appl. Artif. Intell., 26(7), 1741–1750.
Han, H.-G., Qiao, J.-F., and Chen, Q.-L. (2012). “Model predictive control of dissolved oxygen concentration based on a self-organizing RBF neural network.” Control Eng. Pract., 20(4), 465–476.
Kingston, G. B., Maier, H. R., and Lambert, M. F. (2006a). “A probabilistic method for assisting knowledge extraction from artificial neural networks used for hydrological prediction.” Math. Comput. Modell., 44(5–6), 499–512.
Kingston, G. B., Maier, H. R., Lambert, M. F., and IEEE. (2006b). “Forecasting cyanobacteria with Bayesian and deterministic artificial neural networks.” 2006 IEEE Int. Joint Conf. on Neural Network Proc., Vol. 1–10, New York, 4870–4877.
Krause, P., Boyle, D. P., and Bäse, F. (2005). “Comparison of different efficiency criteria for hydrological model assessment.” Adv. Geosci., 5, 89–97.
Kurek, W., and Ostfeld, A. (2014). “Multiobjective water distribution systems control of pumping cost, water quality, and storage-reliability constraints.” J. Water Resour. Plann. Manage., 184–193.
LeBaron, B., and Weigend, A. S. (1998). “A bootstrap evaluation of the effect of data splitting on financial time series.” IEEE Trans. Neural Networks, 9(1), 213–220.
Lenntech Water Treatment, and Purification Holding B.V. (2009). “Disinfectants chloramines.” 〈http://www.lenntech.com/processes/disinfection/chemical/disinfectants-chloramines.htm〉 (Nov. 11, 2010).
Maier, H. R., and Dandy, G. C. (1999). “Empirical comparison of various methods for training feed-forward neural networks for salinity forecasting.” Water Resour. Res., 35(8), 2591–2596.
Maier, H. R., Jain, A., Dandy, G. C., and Sudheer, K. P. (2010). “Methods used for the development of neural networks for the prediction of water resource variables in river systems: Current status and future directions.” Environ. Modell. Softw., 25(8), 891–909.
May, R. J., Dandy, G. C., Maier, H. R., and Nixon, J. B. (2008). “Application of partial mutual information variable selection to ANN forecasting of water quality in water distribution systems.” Environ. Modell. Softw., 23(10–11), 1289–1299.
May, R. J., Maier, H. R., and Dandy, G. C. (2010). “Data splitting for artificial neural networks using SOM-based stratified sampling.” Neural Networks, 23(2), 283–294.
McLeod, S., et al. (2012). “Emerging monitoring techniques for ammonia in chloraminated water supplies.” OzWater12, AWA, Sydney, Australia.
Muslim, A., Li, Q., and Tadé, M. O. (2008). “Simultaneous model of chlorine dosing and decay in drinking water distribution system and model predictive control application.” Asia-Pac. J. Chem. Eng., 3(6), 613–621.
Olden, J. D., and Jackson, D. A. (2002). “Illuminating the ‘black box’: A randomization approach for understanding variable contributions in artificial neural networks.” Ecol. Modell., 154(1–2), 135–150.
Ostfeld, A., Tubaltzev, A., Rom, M., Kronaveter, L., Zohary, T., and Gal, G. (2014). “Coupled data-driven evolutionary algorithm for toxic cyanobacteria (blue-green algae) forecasting in lake Kinneret.” J. Water Resour. Plann. Manage., 04014069.
Polycarpou, M. M., Uber, J. G., Wang, Z., Shang, F., and Brdys, M. A. (2002). “Feedback control of water quality.” IEEE Control Syst. Mag., 22(3), 68–87.
Qin, S. J., and Badgwell, T. A. (2003). “A survey of industrial model predictive control technology.” Control Eng. Pract., 11(7), 733–764.
Simpson, A. R., Dandy, G. C., and Murphy, L. J. (1994). “Genetic algorithms compared to other techniques for pipe optimization.” J. Water Resour. Plann. Manage., 423–443.
U.S. Environmental Protection Agency. (2011). “Chloramines in drinking water.” 〈http://water.epa.gov/lawsregs/rulesregs/sdwa/mdbp/chloramines_index.cfm〉 (Feb. 8, 2011).
Wu, W., Dandy, G. C., and Maier, H. R. (2011). “Optimum control of chloramine in water distribution systems Milestone 3 report.” Water Quality Research Australia, Adelaide, SA, Australia.
Wu, W., Dandy, G. C., and Maier, H. R. (2014). “Protocol for developing ANN models and its application to the assessment of the quality of the ANN model development process in drinking water quality modelling.” Environ. Modell. Softw., 54, 108–127.
Wu, W., Maier, H. R., Dandy, G. C., and May, R. (2012a). “Exploring the impact of data splitting methods on artificial neural network models.” 10th Int. Conf. on Hydroinformatics, International Association for Hydro-Environment Engineering and Research (IAHR), Hamburg, Germany.
Wu, W., May, R., Dandy, G. C., and Maier, H. R. (2012b). “A method for comparing data splitting approaches for developing hydrological ANN models.” 6th Int. Congress on Environmental Modelling and Software (iEMSs), International Environmental Modelling and Software Society (iEMSs), Leipzig, Germany.
Wu, W., May, R. J., Maier, H. R., and Dandy, G. C. (2013). “A benchmarking approach for comparing data splitting methods for modeling water resources parameters using artificial neural networks.” Water Resour. Res., 49(11), 7598–7614.
Xinan, Z., Vilathgamuwa, D. M., King-Jet, T., Bhangu, B. S., and Gajanayake, C. J. (2013). “Power buffer with model predictive control for stability of vehicular power systems with constant power loads.” IEEE Trans. Power Electron., 28(12), 5804–5812.
Xu, M., van Overloop, P. J., and van de Giesen, N. C. (2013). “Model reduction in model predictive control of combined water quantity and quality in open channels.” Environ. Modell. Softw., 42, 72–87.

Information & Authors

Information

Published In

Go to Journal of Water Resources Planning and Management
Journal of Water Resources Planning and Management
Volume 141Issue 7July 2015

History

Received: Nov 8, 2013
Accepted: Aug 14, 2014
Published online: Sep 11, 2014
Discussion open until: Feb 11, 2015
Published in print: Jul 1, 2015

Permissions

Request permissions for this article.

Authors

Affiliations

Univ. of Adelaide, Adelaide, SA 5005, Australia (corresponding author). E-mail: [email protected]; [email protected]
G. C. Dandy, M.ASCE [email protected]
Professor, Univ. of Adelaide, Adelaide, SA 5005, Australia. E-mail: [email protected]
H. R. Maier [email protected]
Professor, Univ.of Adelaide, Adelaide, SA 5005, Australia. E-mail: [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Cited by

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share