{"title":"A Machine Learning Approach for Anomaly Detection in Environmental IoT-Driven Wastewater Purification Systems","authors":"Giovanni Cicceri, Roberta Maisano, Nathalie Morey, Salvatore Distefano","volume":171,"journal":"International Journal of Environmental and Ecological Engineering","pagesStart":123,"pagesEnd":131,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10011922","abstract":"The main goal of this paper is to present a solution<br \/>\r\nfor a water purification system based on an Environmental Internet<br \/>\r\nof Things (EIoT) platform to monitor and control water quality<br \/>\r\nand machine learning (ML) models to support decision making<br \/>\r\nand speed up the processes of purification of water. A real case<br \/>\r\nstudy has been implemented by deploying an EIoT platform and a<br \/>\r\nnetwork of devices, called Gramb meters and belonging to the Gramb<br \/>\r\nproject, on wastewater purification systems located in Calabria,<br \/>\r\nsouth of Italy. The data thus collected are used to control the<br \/>\r\nwastewater quality, detect anomalies and predict the behaviour of<br \/>\r\nthe purification system. To this extent, three different statistical and<br \/>\r\nmachine learning models have been adopted and thus compared:<br \/>\r\nAutoregressive Integrated Moving Average (ARIMA), Long Short<br \/>\r\nTerm Memory (LSTM) autoencoder, and Facebook Prophet (FP).<br \/>\r\nThe results demonstrated that the ML solution (LSTM) out-perform<br \/>\r\nclassical statistical approaches (ARIMA, FP), in terms of both<br \/>\r\naccuracy, efficiency and effectiveness in monitoring and controlling<br \/>\r\nthe wastewater purification processes.","references":"[1] T. Zarra, V. Naddeo, V. Belgiorno, M. Reiser, and M. Kranert, \u201cOdour\r\nmonitoring of small wastewater treatment plant located in sensitive\r\nenvironment,\u201d Water Science and Technology, vol. 58, no. 1, pp. 89\u201394,\r\n2008.\r\n[2] G. Olsson, M. Nielsen, Z. Yuan, A. Lynggaard-Jensen, and J.-P. Steyer,\r\nInstrumentation, control and automation in wastewater systems. IWA\r\npublishing, 2005.\r\n[3] R. Mart\u00b4\u0131nez, N. Vela, A. e. Aatik, E. Murray, P. Roche, and J. M.\r\nNavarro, \u201cOn the use of an iot integrated system for water quality\r\nmonitoring and management in wastewater treatment plants,\u201d Water,\r\nvol. 12, no. 4, p. 1096, 2020.\r\n[4] V. Edmondson, M. Cerny, M. Lim, B. Gledson, S. Lockley, and\r\nJ. Woodward, \u201cA smart sewer asset information model to enable an\r\ninternet of things for operational wastewater management,\u201d Automation\r\nin Construction, vol. 91, pp. 193\u2013205, 2018.\r\n[5] C. Fu and M. Poch, \u201cSystem identification and real-time pattern\r\nrecognition by neural networks for an activated sludge process,\u201d\r\nEnvironment International, vol. 21, no. 1, pp. 57\u201369, 1995.\r\n[6] M. Ct, B. P. Grandjean, P. Lessard, and J. Thibault,\r\n\u201cDynamic modelling of the activated sludge process: Improving\r\nprediction using neural networks,\u201d Water Research, vol. 29,\r\nno. 4, pp. 995 \u2013 1004, 1995. [Online]. Available:\r\nhttp:\/\/www.sciencedirect.com\/science\/article\/pii\/004313549593250W\r\n[7] J. C. Spall and J. A. Cristion, \u201cA neural network controller for\r\nsystems with unmodeled dynamics with applications to wastewater\r\ntreatment,\u201d IEEE Transactions on Systems, Man, and Cybernetics, Part\r\nB (Cybernetics), vol. 27, no. 3, pp. 369\u2013375, 1997.\r\n[8] K. Oliveira-Esquerre, M. Mori, and R. Bruns, \u201cSimulation of an\r\nindustrial wastewater treatment plant using artificial neural networks\r\nand principal components analysis,\u201d Brazilian Journal of Chemical\r\nEngineering, vol. 19, pp. 365 \u2013 370, 12 2002.\r\n[9] J. Chen, N. Chang, and W. Shieh, \u201cAssessing wastewater reclamation\r\npotential by neural network model,\u201d Engineering Applications of\r\nArtificial Intelligence, vol. 16, no. 2, pp. 149 \u2013 157, 2003,\r\napplications of Artificial Intelligence for Management and Control of\r\nPollution Minimization and Mitigation Processes. [Online]. Available:\r\nhttp:\/\/www.sciencedirect.com\/science\/article\/pii\/S0952197603000563 [10] E. Karakoyun and A. Cibikdiken, \u201cComparison of arima time series\r\nmodel and lstm deep learning algorithm for bitcoin price forecasting,\u201d in\r\nThe 13th Multidisciplinary Academic Conference in Prague, vol. 2018,\r\n2018, pp. 171\u2013180.\r\n[11] N. Zhao, Y. Liu, J. K. Vanos, and G. Cao, \u201cDay-of-week and seasonal\r\npatterns of pm2. 5 concentrations over the united states: Time-series\r\nanalyses using the prophet procedure,\u201d Atmospheric environment, vol.\r\n192, pp. 116\u2013127, 2018.\r\n[12] V. Jadhav and V. Ligay, \u201cForecasting energy consumption using machine\r\nlearning,\u201d ResearchGate, 2016.\r\n[13] h. chioma, I. Howard, and E. Etuk, \u201cEvaluation of arima and artificial\r\nneural networks in prediction of effluent quality of waste water treatment\r\nsystem.\u201d 10 2020.\r\n[14] S. Hochreiter and J. Schmidhuber, \u201cLong short-term memory,\u201d Neural\r\ncomputation, vol. 9, no. 8, pp. 1735\u20131780, 1997.\r\n[15] B. Mamandipoor, M. Majd, S. Sheikhalishahi, C. Modena, and\r\nV. Osmani, \u201cMonitoring and detecting faults in wastewater treatment\r\nplants using deep learning,\u201d Environmental Monitoring and Assessment,\r\nvol. 192, no. 2, p. 148, 2020.\r\n[16] K. Thiyagarajan, N. Ulapane et al., \u201cA temporal forecasting driven\r\napproach using facebooks prophet method for anomaly detection in\r\nsewer air temperature sensor system,\u201d 2020.\r\n[17] B. Vishwas and A. Patel, Prophet, 08 2020, pp. 375\u2013394.\r\n[18] H. Haimi, M. Mulas, F. Corona, S. Marsili-Libelli, P. Lindell,\r\nM. Heinonen, and R. Vahala, \u201cAdaptive data-derived anomaly detection\r\nin the activated sludge process of a large-scale wastewater treatment\r\nplant,\u201d Engineering Applications of Artificial Intelligence, vol. 52, pp.\r\n65\u201380, 2016.\r\n[19] H. Weytjens, E. Lohmann, and M. Kleinsteuber, \u201cCash flow prediction:\r\nMlp and lstm compared to arima and prophet,\u201d Electronic Commerce\r\nResearch, pp. 1\u201321, 2019.\r\n[20] Y. Lai and D. A. Dzombak, \u201cUse of the autoregressive integrated moving\r\naverage (arima) model to forecast near-term regional temperature and\r\nprecipitation,\u201d Weather and Forecasting, vol. 35, no. 3, pp. 959\u2013976,\r\n2020.\r\n[21] K. Hollingsworth, K. Rouse, J. Cho, A. Harris, M. Sartipi, S. Sozer, and\r\nB. Enevoldson, \u201cEnergy anomaly detection with forecasting and deep\r\nlearning,\u201d in 2018 IEEE International Conference on Big Data (Big\r\nData). IEEE, 2018, pp. 4921\u20134925.\r\n[22] V. Panasa, R. V. Kumari, G. Ramakrishna, and S. Kaviraju, \u201cMaize price\r\nforecasting using auto regressive integrated moving average (arima)\r\nmodel,\u201d Int. J. Curr. Microbiol. App. Sci, vol. 6, no. 8, pp. 2887\u20132895,\r\n2017.\r\n[23] I. Yenidoan, A. ayir, O. Kozan, T. Da, and C. Arslan, \u201cBitcoin\r\nforecasting using arima and prophet,\u201d in 2018 3rd International\r\nConference on Computer Science and Engineering (UBMK), 2018, pp.\r\n621\u2013624.\r\n[24] K. K. R. Samal, K. S. Babu, S. K. Das, and A. Acharaya, \u201cTime\r\nseries based air pollution forecasting using sarima and prophet model,\u201d\r\nin Proceedings of the 2019 International Conference on Information\r\nTechnology and Computer Communications, 2019, pp. 80\u201385.\r\n[25] S. J. Taylor and B. Letham, \u201cForecasting at scale,\u201d The American\r\nStatistician, vol. 72, no. 1, pp. 37\u201345, 2018.\r\n[26] P. Malhotra, A. Ramakrishnan, G. Anand, L. Vig, P. Agarwal, and\r\nG. Shroff, \u201cLstm-based encoder-decoder for multi-sensor anomaly\r\ndetection,\u201d arXiv preprint arXiv:1607.00148, 2016.\r\n[27] H. Nguyen, K. P. Tran, S. Thomassey, and M. Hamad, \u201cForecasting\r\nand anomaly detection approaches using lstm and lstm autoencoder\r\ntechniques with the applications in supply chain management,\u201d\r\nInternational Journal of Information Management, p. 102282, 2020.\r\n[28] S. Saumya, J. P. Singh et al., \u201cSpam review detection using\r\nlstm autoencoder: an unsupervised approach,\u201d Electronic Commerce\r\nResearch, pp. 1\u201321, 2020.\r\n[29] J. Perktold, S. Seabold, J. Taylor et al., \u201cStatsmodels:\r\nStatistics in python,\u201d Internet: http:\/\/www. statsmodels.\r\norg\/devel\/generated\/statsmodels. tsa. stattools. adfuller. html (August\r\n12, 2019), 2017.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 171, 2021"}