Internet_of_Things_IoT-Based_Wastewater_Management
Internet_of_Things_IoT-Based_Wastewater_Management
Article
Internet of Things (IoT)-Based Wastewater Management in
Smart Cities
Abdullah I. A. Alzahrani 1 , Sajjad Hussain Chauhdary 2, * and Abdulrahman A. Alshdadi 3
1 Department of Computer Science, Collage of Science and Humanities in Al Quwaiiyah, Shaqra University,
Shaqra 11961, Saudi Arabia; [email protected]
2 Department of Computer Science & Artificial Intelligence, College of Computer Science and Engineering,
University of Jeddah, Jeddah 23890, Saudi Arabia
3 Department of Information and System Technology, College of Computer Science and Engineering,
University of Jeddah, Jeddah 23890, Saudi Arabia; [email protected]
* Correspondence: [email protected]
Abstract: Wastewater management is a mechanism that is used to extract and refine pollutants
from wastewater or drainage that can be recycled to the water supply with minimal environmental
effects. New methods and techniques are required to ensure safe and smart wastewater management
systems in smart cities because of the present deteriorating environmental state. Wireless sensor
networks and the Internet of Things (IoT) represent promising wastewater treatment technologies.
The elaborated literature survey formulates a conceptual framework with an Internet of Things
(IoT)-based wastewater management system in smart cities (IoT-WMS) using blockchain technology.
Blockchain technology is now being used to store information to develop an incentive model for
encouraging the reuse of wastewater. Concerning the quality and quantity of recycled wastewater,
tokens are issued to households/industries in smart cities. Nevertheless, this often encourages
tampering with the information from which these tokens are awarded to include certain rewards.
Anomaly detector algorithms are used to identify the possible IoT sensor data which has been
tampered with by intruders. The model employs IoT sensors together with quality metrics to measure
the amount of wastewater produced and reused. The simulation analysis shows that the proposed
method achieves a high wastewater recycling rate of 96.3%, an efficiency ratio of 88.7%, a low moisture
content ratio of 32.4%, an increased wastewater reuse of 90.8%, and a prediction ratio of 92.5%.
Citation: Alzahrani, A.I.A.;
Chauhdary, S.H.; Alshdadi, A.A.
Keywords: Internet of Things; wireless sensor networks; smart city; wastewater management
Internet of Things (IoT)-Based
Wastewater Management in Smart
Cities. Electronics 2023, 12, 2590.
https://doi.org/10.3390/
electronics12122590 1. Introduction
applications of water [8]. Treated and recycled wastewater offers an inexpensive supply
that eliminates the demand and burden on freshwater supplies such as groundwater, rivers,
and reservoirs [9]. In the areas impacted by water shortages and drought, this is especially
relevant. Wastewater that is not extracted and recycled is often discharged into the wide
water bodies [10]. The recycling of wastewater is the best way to prevent potential water
depletion and minimize contamination that harms the ecosystem. Untreated wastewater
does not automatically decompose [11].
Wastewater treatment is used to extract pollutants from waste or sewage and transform
them into wastewater that can be reused for other uses (called water recovery) or added to
the water supply with an associated environmental impact [12]. In a basic central device
setup, a wireless sensor network is required, with the base terminal operating as the central
hub [13]. The data are obtained, preserved, and analyzed afterwards. The hardware
comprises a pump, a fluidic chamber, and various sensor nodes for tracking the fluid’s
color changes [14]. The change of color is tracked independently in the channel cabinet and
the bulk solution. To track atmospheric conditions such as light levels and temperature,
sensor nodes are often used [15]. An experiment showed the usefulness of wireless sensing
in controlling water purification treatments.
Through detecting and avoiding mixed sewage and chemical overflows in wastewater
using IoT sensors, intelligent wastewater systems can satisfy the demand for freshwater
within the smart community of the IoT. Freshwater is one of the most valuable natural
commodities that is not available every day. The IoT uses the concept of sensing devices
installed at different points in the water environment for aquatic care [16]. These sensors
capture and transmit data to surveillance systems. These data may include the water
quality, temperature changes, pressure changes, water leakage detection, and chemical
leakage detection. These sensors capture and transmit data to surveillance systems. A smart
water sensor powered by the IoT can monitor the water quality, pressure, and temperature.
In reality, a sensor solution can control the fluid flow throughout the treatment plant and
can be used by a water utility provider. Using blockchain technologies to monitor these
connections can efficiently analyze quantity communications, identify breaches in water
mass balance management, and improve leak detection. If registered data can be changed
retroactively in any particular block without modifying all additional blocks that need to
be agreed by most networks, transaction process transparency and reliable and effective
data management can be instantly enabled. Without the use of blockchain, the system will
require a centralized repository and will be vulnerable to security threats. Moreover, it is
difficult to incentivize the recycling and reuse of wastewater in industries and households
without the concept of tokens/credits in the form of a cryptocurrency. The wastewater
treatment anomaly detection algorithm is used to diagnose irregular actions (anomalies)
and water activities not seen regularly. These can result from attacks on control components,
a network, or the physical surroundings; failures; misconfigurations; or even standard bugs
in the IoT sensors. Therefore, the ability to detect anomalies acts as a protective tool and
helps to build and sustain.
The significant contributions of this paper include:
1. Designing an IoT-WMS for wastewater re-treatment and management to fulfil the
water needs in a smart city.
2. Suggesting a blockchain technology for the reuse of wastewater in smart cities.
3. The anticipated cost-effectiveness and reliability of outputs compared to the current
model undoubtedly eliminates conventional worldwide wastewater management.
The rest of the paper is structured as follows: Section 1 introduces the concept of
wastewater management in a smart city. Section 2 presents a discussion on related work.
Section 3 explores the IoT-WMS framework to improve wastewater management and
encourage recycling wastewater in smart cities. Section 4 elaborates on the results and
discussion based on an analysis in Section 3. Section 5 concludes the research with some
future perspectives.
Electronics 2023, 12, 2590 3 of 14
2. Related Work
In this section, we present some recent related works and establish their relevance to
our proposed approach. A summary of related work is also presented in Table 1.
Vibhas Sukhwani et al. [17] discussed the development of smart urban–rural linkages
in a metropolitan area using a water–energy–food nexus-based conceptual approach. To an-
swer this necessity, they presented a conceptual knowledge framework (KCF) that provides
an overview of the water supply flow within the NMA between urban and rural areas.
The study shows feasible guidance for intelligently linking future developments in smart
cities with the adjacent Rurban Cluster based on the developed framework. The study also
visualized the water, energy, and food linkages between the urban and rural divide.
H. K. Pandey et al. [18] suggested the GIS and water quality index for groundwater
quality assessments of a smart city. A water quality index and geographic information
system was used to determine groundwater samples’ physico-chemical parameters for
drinking purposes. The contamination level in the area was exacerbated by groundwater
exploitation, urban planning, and anthropogenic practices.
B. Essex et al. [19] introduced the national blueprint framework (NBA) for the Sustain-
able Development Goals to monitor progress on water-related goals in Europe. The 17 Sus-
tainable Development Goals (SDGs), endorsed by 169 countries, face significant obsta-
cles in adoption by national governments. A national blueprint framework (NBF) with
24 water-related indicators based on SDG Six, each with a specific goal, was created.
María C et al. [20] inferred wastewater management using paradigm shifts and current
challenges. Wastewater is a major environmental and public health concern, and since
ancient times, its management has been a relentless task. In recent decades, drainage
analysis has grown exponentially. This paper offered a global review of growing wastewater
science to recognize existing problems and paradigm shifts. Wastewater studies can answer
global issues, such as the public approval of water conservation or access for almost
one-third of the world’s population to basic sanitation.
The authors of [21] developed decentralized wastewater based on a management
policy gap analysis. On-site wastewater treatment (OWTS) schemes have been planned
for the decentralization of wastewater on site. The study indicates a lack of coordination
Electronics 2023, 12, 2590 4 of 14
between land use and water baseline preparation, efficiency priorities, system inventories,
public outreach, homeowner education, routine inspections, and maintenance processes.
In [22], the author suggests a cyber-physical systems management framework (CPSMF)
for real-time control of the urban underwater cycle. Vital infrastructure, or urban life
functioning, needs to be installed in the urban water cycle (UWC), including the water
supply systems and the urban drainage system (UDS). This paper suggests a CPS-based
management framework that allows control, interoperability, and automated optimization
of the UWC to maximize the benefits from CPSs.
The author of [5] introduces Big Data analytics and the IoT into operation safety
management underwater. An intelligent society such as a smart city is defined by a place
where people live well, plan their lives long term, ensure sustainability, and do the least
harm to the physical environment by ICTs. This paper analyses the Supervisory Controller
and Data Acquirement (SCADA) approach to sustainable smart city water treatment based
on the Internet of Things and Big Data Analytics. Big data analysis is a new technological
term implying the processing of vast volumes of relevant data from installed IoT sensors to
monitor the device’s physical status, utilization, and efficiency.
Seongpil Jeong et al. [23] used a Water Metabolism Framework (WMF) to evaluate ur-
ban water management in a comparative analysis of three regions. In Korea and elsewhere,
sustainable water conservation focuses on water conservation and reuse, as the climate
and environmental transitions raise the importance of water insecurity. In Ulsan, water
is being abstracted. The river’s water supply is less sustainable and more vulnerable to
weather threats than Seoul, thus making Ulsan’s water infrastructure less sustainable and
more vulnerable.
Oriana Landa-Cansigno et al. [24] discussed the integrated framework of the urban
water metabolism (UWM) and the water–energy–pollution nexus (WEPN) for an efficiency
evaluation of water recycling techniques. This paper analyses metabolic efficiency and its
effect on a variety of centralized and decentralized water reuse policies and the WEPN on
integral UWSs. The findings suggest a metabolism measurement of the output in a complex
system such as an UWS will illustrate the degree of the interactions among the nexus (e.g.,
water, energy, and pollution) components.
IoT-based systems employed in applications similar to wastewater management sys-
tems, e.g., air quality monitoring systems, exhibit a loss in accuracy compared to the
traditional measurement systems due to missing values and noisy data. The authors of [25]
improved the prediction accuracy of a real-world IoT-based air quality monitoring system
using a hybrid edge–cloud preprocessing framework.
and unsupervised learning algorithms are used to detect the manipulation of information
on wastewater recycling in IoT meters by individuals to ensure the robustness of this
model. Effective home automation allows the best usage of water and thereby increases
the performance of the water delivery system and its services. For anomaly identification,
this study utilizes a polynomial regression analysis algorithm. This anomaly monitoring
model has been implemented to detect theft in energy consumption power meters. The
time-series data are the meter readings, so a sequential learning model has been considered
in this work. The IoT helps gain access to knowledge and makes significant decisions by
obtaining various sensor values such as soil moisture, water levels, etc.
Phase 4:
Each node responsible for validating data units earns a reward for every block to be
authenticated and mined. These rewards (virtual tokens) are traded for different bene-
fits such as obtaining concessions on energy bills, tariffs, taxes, etc. Incentives are then
incorporated into the scheme to encourage clients to support the wastewater management
program in the smart city and invest in it.
Phase 5:
Using smart contracts, the validated data blocks can be submitted to cloud servers
and logged to the blockchain. The cloud infrastructure can provide big data analysis and
analytics capabilities on the collected data for future monitoring and decision making.
Phase 6:
Ultimately, to evaluate water consumption, the volume of toxic chemical liquids
generated, treated, and disposed of by each household/industry in smart cities, various
monitoring and management applications need to be created. In this phase, tokens, re-
ferred to in the Hyperledger Composer as tradable cryptocurrencies, are distributed to
households/industries in the smart city on the basis of their wastewater reuse output. The
Electronics 2023, 12, 2590 8 of 14
most productive participant is considered a zero liquid spill strategy and a hundred percent
wastewater is reused in its unit.
Vr
Qf = , for every member unit in smart city (1)
Vp
0
Q f = q(h, s, o, p), (2)
0
T = a1 ∗ Q f + a2 ∗ Q f , (3)
0
where Q f and Q f denote the quantity and quality factors, respectively. T represents the
number of tokens to be issued, while a1 and a2 are constant values above the threshold
values. Tokens are given in compliance with Equations (1)–(3), on the basis of the quality
and quantity of wastewater recycling. For each participant, the threshold criterion for
wastewater recycling differs due to the complexities in treating the various forms of toxins.
When the participant surpasses the threshold, it can trade tokens to other participants who
have not reached the ceiling. Similarly, tokens are often issued to promote greater purity of
filtered water based on efficiency.
where τ is the threshold reading value, µi denotes the regression factor for i ∈ {1, 2, 3, . . . , x },
and em represents the error rate with m ∈ {1, 2, 3, . . . , n} for n samples. If the squared
difference between the real value and the expected value approaches the threshold set
based on training results, the analysis model predicts the abnormality. The proposed IoT-
WMS improves the quality of recycled water distributed in smart cities and achieves a high
wastewater recycling rate and efficiency ratio, a lower moisture content ratio, improved
wastewater reuse, and a higher prediction ratio.
ratio is also compared with several state-of-the-art systems and it has been shown that
the performance of the proposed IoT-WMS system is superior to the existing approaches.
Moreover, the efficiency ratio improves as the number of deployed devices increases.
In other words, the availability of more measurements and quality feedback helps improve
the efficiency of the wastewater management system.
of the number of devices. The wastewater reuse ratio is the best for our proposed system
relative to other recent approaches. The performance of UWM-WEPN is better than the
rest of the approaches, while CPSMF shows a poor relative performance.
5. Conclusions
A detailed literature survey helped us to establish a smart wastewater collection
system for smart cities, namely the IoT-WMS system concentrated on cloud protection and
Electronics 2023, 12, 2590 13 of 14
leveraging blockchain technologies. This IoT-WMS uses a trading scheme focused on the
recovery of wastewater using blockchain incentives. Sensors and actuators make the IoT-
based wastewater management strategy available for all households/industries in the smart
city. Compared to existing models, the proposed IoT-WMS for wastewater treatment and
recycling water quality in smart cities achieved a high wastewater recycling rate of 96.3%,
an efficiency ratio of 88.7%, a low moisture content ratio of 32.4%, an increased wastewater
reuse of 90.8%, and a prediction ratio of 92.5%. The proposed approach has limitations
when it comes to the interworking of such systems deployed by several metropolitan
and/or rural areas. A framework to incentivize wastewater quality improvement is more
useful if it allows for reward tokens to be redeemable across various industrial sectors and
facilities. A future extension of this study is to expand the system with in-depth learning
assistance for wastewater management in smart cities using deep learning technology.
Author Contributions: All authors substantially contributed towards the methodology, validation,
formal analysis, and preparation of the original draft. All authors have read and agreed to the
published version of the manuscript.
Funding: The authors extend their appreciation to the deanship of scientific research at Shaqra
University for funding this research work through the project number (SU-ANN-202205).
Data Availability Statement: Not applicable.
Conflicts of Interest: The authors declare no conflicts of interest.
References
1. Srivastava, A.; Grotjahn, R.; Ullrich, P.A.; Risser, M. A unified approach to evaluating precipitation frequency estimates with
uncertainty quantification: Application to Florida and California watersheds. J. Hydrol. 2019, 578, 124095. [CrossRef]
2. Khan, M.T.R.; Jembre, Y.Z.; Ahmed, S.H.; Seo, J.; Kim, D. Data freshness based AUV path planning for UWSN in the internet of
underwater things. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA,
9–13 December 2019; pp. 1–6.
3. Yaqub, M.A.; Ahmed, S.H.; Bouk, S.H.; Kim, D. Towards energy efficient duty cycling in underwater wireless sensor networks.
Multimed. Tools Appl. 2019, 78, 30057–30079. [CrossRef]
4. Moon, E.; Khan, M.T.R.; Park, H.; Ahmed, S.H.; Lee, S.; Kim, D. OMRI–MAC: Optimized multi-transmission receiver-initiated
MAC in underwater wireless sensor networks. Wirel. Pers. Commun. 2019, 107, 1491–1505. [CrossRef]
5. Nie, X.; Fan, T.; Wang, B.; Li, Z.; Shankar, A.; Manickam, A. Big data analytics and IoT in operation safety management in under
water management. Comput. Commun. 2020, 154, 188–196. [CrossRef]
6. Sathishkumar, V.; Venkatesan, S.; Park, J.; Shin, C.; Kim, Y.; Cho, Y. Nutrient water supply prediction for fruit production in
greenhouse environment using artificial neural networks. In Basic & Clinical Pharmacology & Toxicology; Wiley: Hoboken, NJ,
USA, 2020; Volume 126, pp. 257–258.
7. Venkatesan, S.; Sathishkumar, V.; Park, J.; Shin, C.; Cho, Y. A Prediction of nutrition water for strawberry production using linear
regression. Int. J. Adv. Smart Converg. 2020, 9, 132–140.
8. Sundarasekar, R.; Shakeel, P.M.; Baskar, S.; Kadry, S.; Mastorakis, G.; Mavromoustakis, C.X.; Samuel, R.D.J.; Gn, V. Adaptive
energy aware quality of service for reliable data transfer in under water acoustic sensor networks. IEEE Access 2019, 7, 80093–80103.
[CrossRef]
9. Gupta, O.; Goyal, N.; Anand, D.; Kadry, S.; Nam, Y.; Singh, A. Underwater networked wireless sensor data collection for
computational intelligence techniques: Issues, challenges, and approaches. IEEE Access 2020, 8, 122959–122974. [CrossRef]
10. Khan, W.A.; Khan, M.I.; Kadry, S.; Farooq, S.; Khan, M.I.; Abbas, S.Z. Transportation of water-based trapped bolus of SWCNTs
and MWCNTs with entropy optimization in a non-uniform channel. Neural Comput. Appl. 2020, 32, 13565–13576. [CrossRef]
11. Salami, A.F.; Adedokun, E.A.; Al-Turjman, F.; Bello-Salau, H.; Sadiq, B.O.; Dogo, E.M. Explorative analysis of AUV-aided
cluster-based routing protocols for Internet of intelligent underwater sensors. In Drones in Smart-Cities; Elsevier: Amsterdam,
The Netherlands, 2020; pp. 143–187.
12. Deebak, B.D.; Al-Turjman, F. Aerial and underwater drone communication: Potentials and vulnerabilities. In Drones in Smart-Cities;
Elsevier: Amsterdam, The Netherlands, 2020; pp. 1–26.
13. Krishnaraj, N.; Elhoseny, M.; Thenmozhi, M.; Selim, M.M.; Shankar, K. Deep learning model for real-time image compression in
Internet of Underwater Things (IoUT). J. Real-Time Image Process. 2020, 17, 2097–2111. [CrossRef]
14. Shankar, K.; Elhoseny, M.; Shankar, K.; Elhoseny, M. An optimal singular value decomposition with LWC-rectangle block cipher
based digital image watermarking in wireless sensor networks. In Secure Image Transmission in Wireless Sensor Network (WSN)
Applications; Springer: Cham, Switerland, 2019; pp. 83–98.
Electronics 2023, 12, 2590 14 of 14
15. Saračević, M.; Adamović, S.; Maček, N.; Elhoseny, M.; Sarhan, S. Cryptographic keys exchange model for smart city applications.
IET Intell. Transp. Syst. 2020, 14, 1456–1464. [CrossRef]
16. Amin, F.; Abbasi, R.; Mateen, A.; Ali Abid, M.; Khan, S. A Step toward Next-Generation Advancements in the Internet of Things
Technologies. Sensors 2022, 22, 8072. [CrossRef] [PubMed]
17. Sukhwani, V.; Shaw, R. A Water-Energy-Food Nexus based Conceptual Approach for Developing Smart Urban-Rural Linkages in
Nagpur Metropolitan Area, India. IDRiM J. 2020, 10, 1–22. [CrossRef]
18. Pandey, H.; Tiwari, V.; Kumar, S.; Yadav, A.; Srivastava, S. Groundwater quality assessment of Allahabad smart city using GIS
and water quality index. Sustain. Water Resour. Manag. 2020, 6, 28. [CrossRef]
19. Essex, B.; Koop, S.; Van Leeuwen, C. Proposal for a national blueprint framework to monitor progress on water-related sustainable
development goals in Europe. Environ. Manag. 2020, 65, 1–18. [CrossRef] [PubMed]
20. Villarín, M.C.; Merel, S. Paradigm shifts and current challenges in wastewater management. J. Hazard. Mater. 2020, 390, 122139.
[CrossRef] [PubMed]
21. Spirandelli, D.; Dean, T.; Babcock, R., Jr.; Braich, E. Policy gap analysis of decentralized wastewater management on a developed
pacific island. J. Environ. Plan. Manag. 2019, 62, 2506–2528. [CrossRef]
22. Sun, C.; Puig, V.; Cembrano, G. Real-time control of urban water cycle under cyber-physical systems framework. Water 2020,
12, 406. [CrossRef]
23. Jeong, S.; Park, J. Evaluating urban water management using a water metabolism framework: A comparative analysis of three
regions in Korea. Resour. Conserv. Recycl. 2020, 155, 104597. [CrossRef]
24. Landa-Cansigno, O.; Behzadian, K.; Davila-Cano, D.I.; Campos, L.C. Performance assessment of water reuse strategies using
integrated framework of urban water metabolism and water-energy-pollution nexus. Environ. Sci. Pollut. Res. 2020, 27, 4582–4597.
[CrossRef]
25. Ojagh, S.; Cauteruccio, F.; Terracina, G.; Liang, S.H. Enhanced air quality prediction by edge-based spatiotemporal data
preprocessing. Comput. Electr. Eng. 2021, 96, 107572. . [CrossRef]
26. Attia, O.; Khoufi, I.; Laouiti, A.; Adjih, C. An IoT-blockchain architecture based on hyperledger framework for health care
monitoring application. In Proceedings of the NTMS 2019-10th IFIP International Conference on New Technologies, Mobility and
Security, Canary Islands, Spain, 24–26 June 2019; pp. 1–5. [CrossRef]
27. Corradini, E.; Nicolazzo, S.; Nocera, A.; Ursino, D.; Virgili, L. A two-tier Blockchain framework to increase protection and
autonomy of smart objects in the IoT. Comput. Commun. 2022, 181, 338–356. [CrossRef]
28. Capocasale, V.; Gotta, D.; Musso, S.; Perboli, G. A Blockchain, 5G and IoT-based transaction management system for Smart
Logistics: An Hyperledger framework. In Proceedings of the 2021 IEEE 45th Annual Computers, Software, and Applications
Conference (COMPSAC), Madrid, Spain, 12–16 July 2021; pp. 1285–1290. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual
author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to
people or property resulting from any ideas, methods, instructions or products referred to in the content.