Submitted:
31 January 2023
Posted:
01 February 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Background and State of the Art
3. Methodology and data sourcing
3.1. Waspmote Plug&Sense Smart Agriculture PRO
3.1.1. Weather station
3.1.2. Ultrasonic Sensor (MaxSonar®from MaxBotixTM)
3.1.3. 4G module
3.1.4. Battery and Solar Panel
3.2. River Depth measurement
3.2.1. Level measurement at both bridges
3.3. Programming of the sensor nodes
3.3.1. Smart Devices App
3.4. The cloud Bridge
- Configure cloud connectors
- Manage devices
- Configure gateways
3.4.1. Data Flow
- The sensor node must be registered in the Libelium Cloud (Services Cloud Manager) user account
- A valid authentication API Key must be associated with the sensor node
- Integrity of the Libelium Cloud Bridge service encryption layer is respected
3.5. Data Storage and Visualisation
4. Data characterization
4.1. River levels

4.2. Rainfall
4.3. Wind speed
4.4. Wind direction
5. Discussion
5.1. Experimental results and noise sources
5.2. Flood prediction context
5.3. Beyond flood prediction
6. Conclusion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| JDK | Java Development Kit |
| USB | Universal Serial Bus |
| CSV | Comma Separated Values |
| OEM | Original Equipment Manufacturer |
| AI | Artificial Intelligence |
| ML | Machine Learning |
| PWB | Pangani Water Board |
| HTTP | Hyper Text Transfer Protocol |
| TCP/IP | Transfer Control Protocol/Internet Protocol |
| FTP | File Transfer Protocol |
| API | Application Programming Interface |
| IDE | Integrated Development Environment |
References
- Chang, L.C.; Chang, F.J.; Yang, S.N.; Kao, I.F.; Ku, Y.Y.; Kuo, C.L.; Amin, I.M.Z.b.M. Building an intelligent hydroinformatics integration platform for regional flood inundation warning systems, 2018.
- Huntingford, C.; Jeffers, E.S.; Bonsall, M.B.; Christensen, H.M.; Lees, T.; Yang, H. Machine learning and artificial intelligence to aid climate change research and preparedness. Environmental Research Letters 2019, 14, 124007. [Google Scholar] [CrossRef]
- Muñoz, P.; Orellana-Alvear, J.; Bendix, J.; Feyen, J.; Célleri, R. Flood Early Warning Systems Using Machine Learning Techniques: The Case of the Tomebamba Catchment at the Southern Andes of Ecuador. Hydrology 2021, 8, 183. [Google Scholar] [CrossRef]
- Sydorenko, I. What is a Dataset in Machine Learning: Sources, Features, Analysis. https://labelyourdata.com/articles/what-is-dataset-in-machine-learning.
- Banai, F.; Sotoodeh, N. A review of the applications and challenges of wireless sensor networks for water resources management. Journal of Ambient Intelligence and Humanized Computing 2020, 11, 8857–8872. [Google Scholar]
- Pandeya, B.; Uprety, M.; Paul, J.; Sharma, R.; Dugar, S.; Buytaert, W. Mitigating flood risk using low-cost sensors and citizen science: A proof-of-concept study from western Nepal. J Flood Risk Management 2021, 14, e12675. [Google Scholar] [CrossRef]
- Sarpong Adu-Manu, K.; Katsriku, F.A.; Abdulai, J.D.; Engmann, F. Smart River Monitoring Using Wireless Sensor Networks. Wireless Communications and Mobile Computing 2020, 2020, 19. [Google Scholar] [CrossRef]
- Salazar Loor, J.; Fdez-Arroyabe, P. Aerial and Satellite Imagery and Big Data: Blending Old Technologies with New Trends. In Big Data for Remote Sensing: Visualization, Analysis and Interpretation; Dey, N., Bhatt, C., Ashour, A., Eds.; Springer: Cham, 2019. [Google Scholar] [CrossRef]
- Zhang, L.; Leach, M.; Chen, J.; Hu, Y. Sensor cost-effectiveness analysis for data-driven fault detection and diagnostics in commercial buildings. Energy 2023, 263, 125577. [Google Scholar] [CrossRef]
- Zulkifli, C.Z.; Garfan, S.; Talal, M.; Alamoodi, A.H.; Alamleh, A.; Ahmaro, I.Y.Y.; Sulaiman, S.; Ibrahim, A.B.; Zaidan, B.B.; Ismail, A.R.; et al. IoT-Based Water Monitoring Systems: A Systematic Review. Water 2022, 14. [Google Scholar] [CrossRef]
- Adu-Manu, K.S.; Katsriku, F.A.; Abdulai, J.D.; Engmann, F. Smart river monitoring using wireless sensor networks. Wireless Communications and Mobile Computing 2020, 2020. [Google Scholar] [CrossRef]
- Ahmedi, F.; Ahmedi, L. Dataset on water quality monitoring from a wireless sensor network in a river in Kosovo. Data in Brief 2022, 44, 108486. [Google Scholar] [CrossRef]
- Cheng, Z.; Lee, K.; Kim, D.; Muste, M.; Vidmar, P.; Hulme, J. Experimental evidence on the performance of rating curves for continuous discharge estimation in complex flow situations. Journal of Hydrology 2019, 568, 959–971. [Google Scholar] [CrossRef]
- Demetillo, A.T.; Japitana, M.V.; Taboada, E.B. A system for monitoring water quality in a large aquatic area using wireless sensor network technology. Sustainability and Environmental Research 2019, 29. [Google Scholar] [CrossRef]
- Chopade, S.; Gupta, H.P.; Mishra, R.; Oswal, A.; Kumari, P.; Dutta, T. A Sensors-Based River Water Quality Assessment System Using Deep Neural Network. IEEE Internet of Things Journal 2022, 9, 14375–14384. [Google Scholar] [CrossRef]
- Zhang, X.; Chen, L. A review of the applications and challenges of wireless sensor networks for water resources management. Journal of Ambient Intelligence and Humanized Computing 2020, 11, 8857–8872. [Google Scholar]
- Libelium. Early flood detection and warning system in Argentina developed with Libelium sensors technology. https://www.libelium.com/libeliumworld/success-stories/early-flood-detection-and-warning-system-in-argentina-developed-with-libelium-sensors-technology/.
- Costache, R.; Bao Pham, Q.; Corodescu-Roșca, E.; Cîmpianu, C.; Hong, H.; Thi Thuy Linh, N.; Ming Fai, C.; Najah Ahmed, A.; Vojtek, M.; Muhammed Pandhiani, S.; et al. Using GIS, Remote Sensing, and Machine Learning to Highlight the Correlation between the Land-Use/Land-Cover Changes and Flash-Flood Potential. Remote Sensing 2020, 12. [Google Scholar] [CrossRef]
- Alfieri, L.; Salamon, P.; Pappenberger, F.; Wetterhall, F.; Thielen, J. Operational early warning systems for water-related hazards in Europe. Environmental Science & Policy 2012, 21, 35–49. [Google Scholar]
- citizen news, T. Climate change has affected seasonal rains in Tanzania, says TMA. https://www.thecitizen.co.tz/tanzania/news/national/climate-change-has-affected-seasonal-rains-in-tanzania-says-tma-3783384.
- Pang, L.; Li, C.; Li, X.; Li, X.; Wang, Y. A review of flood early warning systems: Methods, applications, and challenges. Sensors 2020, 20, 3318. [Google Scholar]
- Zhang, Y.; Xiong, Y.; Liu, J.; Zhang, X. A comprehensive review of flood early warning systems. Water 2018, 10, 1186. [Google Scholar]
- Sun, Y.; Liu, Y.; Li, Y. Development of flood early warning system based on improved gray model and particle swarm optimization. Water 2020, 12, 1053. [Google Scholar]
- Wang, L.; Li, J.; He, Y. Climate change impacts on river basin water management and adaptation strategies: A review. Environmental Science and Pollution Research 2018, 25, 1815–1825. [Google Scholar]
- Li, J.; Wang, L.; He, Y. A review of water management in river basins under the impact of climate change. Environmental Science and Pollution Research 2019, 26, 20517–20530. [Google Scholar]
- Wang, Y.; Guo, Q.; Yin, Y.; Huang, L. A machine learning-based flood early warning system with remote sensing data. Journal of Hydrology 2019, 570, 191–201. [Google Scholar]
- Guo, Q.; Yin, Y.; Wang, Y.; Huang, L. An integrated flood early warning system based on remote sensing and machine learning. Sensors 2020, 20, 2562. [Google Scholar]
- Chen, Y.; Li, Y.; Li, X.; Zhang, Q. Big data analytics for flood monitoring and early warning system. Information Sciences 2019, 465, 1–12. [Google Scholar]
- Nations, U. Sustainable Development Goals, 2021.
- Yu, Y.; Si, X.; Hu, C.; Zhang, J. A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures. Neural Computation 2019, 31, 1235–1270. [Google Scholar] [CrossRef]
| 1 | |
| 2 | Burundi and Tanzania – Floods Leave Homes Destroyed, Hundreds Displaced. https://floodlist.com/africa/burundi-tanzania-floods-late-february-2021
|
| 3 | Tanzania – Severe Flooding in Mtwara Region After Torrential Rainfall. https://floodlist.com/africa/tanzania-flood-mtwara- january-2021. |
| 4 | Tanzania – 12 Killed in Dar Es Salaam Flash Floods. https://floodlist.com/africa/tanzania-daressalaam-floods-october-2020. |
| 5 | |
| 6 |















| Sensor socket | Parameter | Reference |
|---|---|---|
| A | Weather station WS-3000 (anemometer+wind vane+pluviometer) | 9256-P |
| F | Ultrasound(distance measurement) | 9246-P |
| Sensor | Specifications |
|---|---|
| Anemometer | Sensitivity: 2.4km/h/turn, Wind Speed Range: 0 ∼ 240km/h, Height: 7.1cm, |
| Arm length: 8.9cm, Connector: RJ11 | |
| Wind vane | Height: 8.9cm, Length: 17.8cm, Maximum accuracy: , Resistance range: 688 120 |
| Pluviometer | Height: 9.05cm, Length: 23cm, Bucket capacity: 0.28 mm of rain |
| Sensor | Specifications |
|---|---|
| Ultrasonic | Operation frequency: 42 kHz, Maximum detection distance: 765cm, |
| Interface: Digital Bus, Power supply: 3.3 ∼ 5V, Consumption: 2.1mA | |
| (powered at 3.3V) to 3.2mA (powered at 5V), Consumption(peak): | |
| 50mA (powered at 3.3V) to 100mA (powered at 5V), Usage: Indoors and outdoors (IP67) |
| Characteristic | Ultrasound distance |
|---|---|
| Count | 654 |
| Mean | 444.12 |
| Standard Deviation | 45.62 |
| Minimum | 345 |
| 25% | 435.25 |
| 50% | 442 |
| 75% | 445 |
| Max | 765 |
| Characteristic | Daily rainfall |
|---|---|
| Count | 4871 |
| Mean | 0.022 |
| Standard Deviation | 0.537 |
| Minimum | 0.00 |
| 25% | 0.00 |
| 50% | 0.00 |
| 75% | 0.00 |
| Max | 17.323 |
| Characteristic | Hourly wind speed (km/h) for November, 2022 |
|---|---|
| Count | 304 |
| Mean | 2.06 |
| Standard Deviation | 1.32 |
| Minimum | 0.80 |
| 25% | 0.80 |
| 50% | 1.60 |
| 75% | 2.40 |
| Max | 8.00 |
| Direction(Degrees) | Resistance(k) | Voltage (V) | Identifier |
|---|---|---|---|
| 0 | 33 | 2.53 | SENS_AGR_VANE_N |
| 22.5 | 6.57 | 1.31 | SENS_AGR_VANE_NNE |
| 45 | 8.2 | 1.49 | SENS_AGR_VANE_NE |
| 67.5 | 0.891 | 0.27 | SENS_AGR_VANE_ENE |
| 90 | 1 | 0.3 | SENS_AGR_VANE_E |
| 112.5 | 0.688 | 0.21 | SENS_AGR_VANE_ESE |
| 135 | 2.2 | 0.59 | SENS_AGR_VANE_SE |
| 157.5 | 1.41 | 0.41 | SENS_AGR_VANE_SSE |
| 180 | 3.9 | 0.92 | SENS_AGR_VANE_S |
| 202.5 | 3.14 | 0.79 | SENS_AGR_VANE_SSW |
| 225 | 16 | 2.03 | SENS_AGR_VANE_SW |
| 247.5 | 14.12 | 1.93 | SENS_AGR_VANE_WSW |
| 270 | 120 | 3.05 | SENS_AGR_VANE_W |
| 292.5 | 42.12 | 2.67 | SENS_AGR_VANE_WNW |
| 315 | 64.9 | 2.86 | SENS_AGR_VANE_NW |
| 337.5 | 21.88 | 2.26 | SENS_AGR_VANE_NNW |
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. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).