Using Fuzzy Models and Time Series Analysis to Predict Water Quality

Full Text (PDF, 664KB), PP.1-10

Views: 0 Downloads: 0


Zhao Fu 1,* Mei Yang 1 Jacimaria R. Batista 2

1. Department of Electrical and Computer Engineering, University of Nevada, Las Vegas, US

2. Department of Civil and Environmental Engineering and Construction, University of Nevada, Las Vegas, US

* Corresponding author.


Received: 29 May 2019 / Revised: 2 Aug. 2019 / Accepted: 7 Sep. 2019 / Published: 8 Apr. 2020

Index Terms

Water quality prediction, Artificial neural networks, Adaptive neuro-fuzzy inference system, Fuzzy time series, Time series analysis


Water quality prediction is very important for both water resource scheduling and management. Simple linear regression analysis and artificial neural network models cannot accurately forecast water quality because of complicated linear and nonlinear relationships in the water quality dataset. An adaptive neuro-fuzzy inference system (ANFIS) that can integrate linear and nonlinear relationships has been proposed to address the problem. However, the ANFIS model can only work in scenarios where input and target parameters have strong correlations. In this paper, a fuzzy model integrated with a time series data analysis method is proposed to address the water quality prediction problem when the correlation between the input and target parameters is weak. The water quality datasets collected from the Las Vegas Wash between the years 2005 and 2010, and the Boulder Basin, Nevada-Arizona from the years 2011 to 2016 are used to test the proposed model. The prediction accuracy of the proposed model is measured by three different statistical indices: mean average percentage error, root mean square error, and coefficient of determination. The experimental results have proven that the ANFIS model combined with a time series analysis method achieves the best prediction accuracy for predicting electrical conductivity and total dissolved solids in the Las Vegas Wash, with the testing value of coefficient of determination reaching 0.999 and 0.997, respectively. The fuzzy time series analysis has the best performance for dissolved oxygen and electrical conductivity prediction in the Boulder Basin, and dissolved oxygen prediction in the Las Vegas Wash, with testing value of coefficients of determination equal to 0.990, 90975, and 0.960, respectively.

Cite This Paper

Zhao Fu, Mei Yang, Jacimaria R. Batista, "Using Fuzzy Models and Time Series Analysis to Predict Water Quality", International Journal of Intelligent Systems and Applications(IJISA), Vol.12, No.2, pp.1-10, 2020. DOI:10.5815/ijisa.2020.02.01


[1]D. E. McNabb, Water Resource Management, Palgrave Macmillan, pp. 241-261, 2017.
[2]A. H. Zare, "Evaluation of multivariate linear regression and artificial neural networks in prediction of water quality parameters," Journal of Environmental Health Science & Engineering, vol. 12, no. 1, pp. 1-8, 2014.
[3]K. Kadam, V. M. Wagh, A. A. Muley, B. N. Umrikar, and R. N. Sankhua, "Prediction of water quality index using artificial neural network and multiple linear regression modelling approach in Shivganga River basin, India," Modeling Earth Systems and Environment, vol. 5, no. 3, pp. 951-96, 2019.
[4]P. Piotrowski, M. J. Napiorkowski, J. J. Napiorkowski, and M. Osuch, "Comparing various artificial neural network types for water temperature prediction in rivers," Journal of Hydrology, vol. 529, pp. 302-315, 2015.
[5]L. Zhang, G. X. Zhang, and R. R. Li, " Water quality analysis and prediction using hybrid time series and neural network models," 0 Journal of Agricultural Science and Technology, vol. 18, no. 4, pp. 975-983, 2016.
[6]Sharad Tiwari, Richa Babbar, and Gagandeep Kaur, "Performance evaluation of two ANFIS models for predicting water quality Index of River Satluj (India)," Advances in Civil Engineering, vol. 2018, pp. 1-10, 2018.
[7]A. Najah, A. El-Shafie, O. A. Karim, and A. H. El-Shafie, "Performance of ANFIS versus MLP-NN dissolved oxygen prediction models in water quality monitoring," Environmental Science and Pollution Research, vol. 21, no. 3, pp. 1658–1670, 2014.
[8]Azad, H. Karami, S. Farzin, A. Saeedian, H. Kashi, and F. Sayyahi, "Prediction of Water Quality Parameters Using ANFIS Optimized by Intelligence Algorithms (Case Study: Gorganrood River)," KSCE Journal of Civil Engineering, vol. 22, no. 7, pp. 2206-2213, 2018.
[9]J.-S. R. Jang, "Frequently Asked Questions - ANFIS in the Fuzzy Logic Toolbox," [Online]. Available:
[10]M. S. Abbas Khashei-Siukil, "Evaluation of ANFIS, ANN, and geostatisticalmodels to spatial distribution of groundwater quality," Arabian Journal of Geosciences, vol. 8, no. 2, pp. 903-912, 2015.
[11]W. Kenton, "Stratified Random Sampling," 18 2 2019. [Online]. Available:
[12]S. H. Cheng, S. M. Chen, and W. Jian, "Fuzzy time series forecasting based on fuzzy logical relationships and similarity measures," Information Sciences, vol. 327, pp. 272-287, 2016.
[13]W. Deng, G. Wang and X. Zhang, "A novel hybrid water quality time series prediction method based on cloud model and fuzzy forecasting," Chemometrics and Intelligent Laboratory Systems, vol. 149, pp. 39-49, 2015.
[14]Hongyue Guo, Witold Pedrycz, and Xiaodong Liu, "Fuzzy time series forecasting based on axiomatic fuzzy set theory," Neural Computing and Applications, vol. 31, no. 8, pp. 3921-3932, 2019.
[15]Pritpal Singh, "Rainfall and financial forecasting using fuzzy time series and neural networks based model," International Journal of Machine Learning and Cybernetics,vol. 9, no. 3, pp. 491-506, 2018.
[16]A. Sarkar and P. Pandey, "River Water Quality Modelling Using Artificial Neural Network Technique," Aquatic Procedia, vol. 4, pp. 1070-1077, 2015.
[17]M. J. Alizadeh and M. R. Kavianpour, "Development of wavelet-ANN models to predict water quality parameters in Hilo Bay, Pacific Ocean," Marine Pollution Bulletin, vol. 98, no. 1, pp. 171-178, 2015.
[18]A. A. M. Ahmed and S. M. A. Shah, "Application of adaptive neuro-fuzzy inference system (ANFIS) to estimate the biochemical oxygen demand (BOD) of Surma River," Journal of King Saud University - Engineering Sciences, vol. 29, no. 3, pp. 237-243, 2017.
[19]S. Areerachakul, "Comparison of ANFIS and ANN for Estimation of Biochemical Oxygen Demand Parameter in Surface Water," International Journal of Environmental and Ecological Engineering, vol. 6, no. 4, pp. 168-172, 2012.
[20]Q. Song and B. S. Chissom, "Fuzzy time series and its models," Fuzzy Sets and Systems, vol. 54, no. 3, pp. 269-277, 1993.
[21]S.-M. Chen, "Forecasting enrollments based on fuzzy time series," Fuzzy Sets and Systems, vol. 81, no. 3, pp. 311-319, 1996.
[22]Cheng, T. Chen and C. Chiang, "Trend-Weighted Fuzzy Time-Series Model for TAIEX Forecasting," International Conference on Neural Information Processing, vol. 3, pp. 469-477, 2006.
[23]W. Lee and J. Hong, "A hybrid dynamic and fuzzy time series model for mid-term power load forecasting," International Journal of Electrical Power & Energy Systems, vol. 64, pp. 1057-1062, 2015.
[24]"Secondary Drinking Water Standards: Guidance for Nuisance Chemicals," [Online]. Available:
[25]J.-S. R. Jang, "ANFIS: Adaptive-Network-Based Fuzzy Inference Systems," IEEE Transactions on Systems, Man, and Cybernetics, vol. 23, no. 3, pp. 665-685, 1993.