Full text
Citation: Aliagas, C.; Pérez-Foguet, A.; Meseguer, R.; Millán, P.; Molina, C. A Low-Cost and Do-It-Yourself Device for Pumping Monitoring in Deep Aquifers. Electronics 2022,11, 3788. https://doi.org/10.3390/ electronics11223788 Academic Editors: Juan-Carlos Cano and Nurul I. Sarkar Received: 15 October 2022 Accepted: 16 November 2022 Published: 18 November 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 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/). electronics Article A Low-Cost and Do-It-Yourself Device for Pumping Monitoring in Deep Aquifers Carles Aliagas 1, Agustí Pérez-Foguet 2, Roc Meseguer 3,*,† , Pere Millán 1and Carlos Molina 1 1 Department of Computer Engineering and Mathematics, Universitat Rovira i Virgili, 43007 Tarragona, Spain 2Department of Civil and Environmental Engineering, Universitat Politècnica de Catalunya, 08034 Barcelona, Spain 3Department of Computer Architecture, Universitat Politècnica de Catalunya, 08034 Barcelona, Spain *Correspondence: [email protected]; Tel.: +34-93-4137102 † Current address: UPC—Arquitectura de Computadors, Edifici C4C, Despatx C4-005P. C. Esteve Terradas, 7, 08860 Castelldefels, Spain. Abstract: Water crises due to climate change, high population growth and increasing demands from industry and agriculture claim for increasing efficiency and universalizing water resources management strategies and techniques. Water monitoring helps providing necessary evidences for making sound decisions about managing water resources both now and in the future. In this work, a low cost and “do it yourself” communication device is proposed to record water production and energy consumption of electric pumpings from deep boreholes/wells, and to predict the impact of the ongoing and previous pumpings in the evolution of the water level in the aquifer. The proposal incorporates an edge-computing approach for the simulation of the aquifer response in real-time. Computation of results of interest is performed at the sensor, minimizing communication requirements and ensuring almost immediate results. An approximated solution to physically based modeling of aquifer response is computed thanks to the a priori expression of the water level time evolution in a reduced basis. The accuracy is enough to detect deviations from expected behaviour. The energy consumption of the device is very much reduced with respect to that of a full modelling, which can be computed off-line for calibrating reduced model parameters and perform detailed analyses. The device is tested in a real scenario, in a mountain subbasin of the Ebro river in Spain, obtaining a good trade-off between performance, price, and energy consumption. Keywords: groundwater monitoring; low-cost device; do-it-yourself device; LoRa communication; Raspberry Pi 1. Introduction The United Nations has proposed 17 actions known as Sustainable Development Goals (SDGs) for reducing poverty, protecting the planet and ensuring peace and prosperity for the entire world by 2030. Number six of these goals is “Ensure availability and sustainable management of water and sanitation for all”. Some of the actions for achieving this include improving water quality by reducing pollution, increasing water use efficiency and managing water resources. Therefore, better monitoring of water and sanitation interventions is essential for achieving this SDG in a more cost-effective and efficient way. The use of the Internet of Things (IoT) in the monitoring of water consumption and quality is a very active field of research [ 1 , 2 ]. However, a key issue for universalizing proposals, as SDGs fulfilment needs, is the relatively expensive cost of equipment, mainly intended for large water-management companies. The challenge is to achieve efficient water-monitoring systems at an affordable cost. For this reason, various initiatives are currently aimed at the design and commercialization of low-cost equipment for monitoring water consumption and quality, for instance, water-quality monitoring equipment for use Electronics 2022,11, 3788. https://doi.org/10.3390/electronics11223788 https://www.mdpi.com/journal/electronics
Electronics 2022,11, 3788 2 of 26 in the context of Citizen Science [ 3 ] or water-meter designs to be deployed in hand pumps of Africa [4,5]. In fact, water monitoring is not a single point problem as it typically requires several sensor nodes that can communicate amongst themselves. In this regard, several communication technologies have been analyzed to determine if they are suitable for application in these environments [ 6 ]. In the specific case of wells and water sources located outside urban and suburban areas, long-distance communication infrastructures are required, with SigFox and LoRa being fairly good options. The difference between them is mainly that LoRa is based on a Do-It-Yourself (DIY) approach that does not require the infrastructure provided by a telecommunications operator and therefore does not depend on its coverage. In addition to data communication, there is a complementary aspect related to data collection. In many cases, a large amount of information is collected for use in subsequent processing calculations, analysis and decision making [ 1 ]. The bandwidths available for the sensor node data can be too low to allow pass-through of all data, in both the LoRa and SigFox technologies [ 6 ]. To alleviate this problem, the amount of monitoring data to be transmitted is typically reduced in two ways: (1) by reducing the sample rate and (2) by preprocessing the information in the nodes. Reducing computational time, energy or resources because at a certain moment an “exact” prediction of a model is not necessary, is not a novel idea. In fact, it is an emerging computing paradigm known as approximate computing [ 7 ]. Examples of this are the use of floating point formats with less precision [ 8 ], which have been shown to be effective in achieving energy efficiency at the cost of obtaining a result that is accurate enough for the purpose of the calculation, but no more. Influence of arithmetic precision, data uncertainty and modelling uncertainty on prediction capabilities depend strongly on specific characteristics of the problem in hands. In this work, we propose a low-cost device with LoRa communication technology that monitors the water flow and electrical consumption during pumping from deep boreholes/wells, and that predicts the water level evolution using a simplified model of the aquifer. The proposal follows not only an approximate computing but an edge-computing approach. This later paradigm focuses on the preprocesses and computation of outputs of interest directly at the nodes, minimizing the needs of bandwidth and of time delay to inform of the predictions at the node. Recording data from water meters and energy sensors is straightforward, but real-time computation and estimation of water level evolution is not. Both, the approximate and edge computing perspectives are used in the proposal to minimize use of energy and communication resources. Estimating the water level of a water well is neither easy nor cheap. Normally these types of systems have a price that can be too high if a number of wells need to be monitored. The advantage of our approach is that it does not require an expensive infrastructure to collect these data since the necessary measurement equipment is affordable, automatable and would be present in the same device. The proposed system has been introduced, validated and analyzed in a deep well pumping for irrigation in the middle part of the Matarraña river basin, a tributary of the Ebro river, Spain. The area is characterized by a arid-mediaterranea climate, with annual precipitation about 600 mm. The big aquifer “Puertos de Beceite” (number ES091MSBT096 in the Ebro river basin characterization and planing [ 9 ]), is below the upper part of the basin. In the middle part, still in a mountain context, there are smaller aquifers in conglomerates and Oligocene sandstones, typically confined at high depth, and of relatively reduced productivity. The uncertainties associated to aquifer modelling are high, and the impact of pumping in the water table is sometimes significant, which makes it an illustrative example for the proposal. The main contributions of this work are the following: • a low-cost device with a “do-it-yourself” metering and communication approach for analysing water production and energy consumption of pumpings, specifically designed for deep boreholes/wells;
Electronics 2022,11, 3788 3 of 26 • the computation of an approximated model in the device for predicting water-level change due to pumping; • a complete description of all hardware and software aspects of the proposed device; • a comprehensive analysis of the feasibility of the proposed device in terms of temperature, power consumption and performance; • the practical application of the presented device in a real environment. The paper is organized as follows: Section 2presents the state of the art of water monitoring systems and their data acquisition, transmission and processing approaches. Section 3identifies the existing problems in the current measurement systems as well as the requirements of the proposed solution. Section 4presents an overview of our proposal. Section 5and Section 6provide the hardware and software details of the proposal, respectively. The validation of the device in terms of temperature, energy consumption and performance is shown in Section 7. Section 8describes the deployment of the proposed device in the real application. Finally, Section 9summarizes the main conclusions. 2. Related Work Water monitoring systems help to identify the state, changes and trends of water resources, infrastructures and services. Data acquisition, transmission and processing are three of the main stages that can be identified in these systems from a data-analysis perspective. 2.1. Data Acquisition Water monitoring systems usually acquire data with local devices located in the same place of action. These devices generally incorporate several specific sensors to analyze the chemical, physical or biological properties. For instance, they can measure the oxygen level to determine the health of the ecosystem, pH level to measure the acid or base quality of the water, electrical conductivity to assess the purity of the water, degree of salinity to estimate the concentration of dissolved salts in water, turbidity to analyze the relative clarity of a liquid, or temperature to detect thermal pollution, among other properties. Beyond the use of local sensors, remote sensors can also be used for data acquisition. In this way, Andres et al. [ 10 ] also provide a description of various techniques for monitoring water and sanitation by collecting data with satellites or even unmanned aerial vehicles. In general, images collected by cameras and other spectral instruments are used in a wide range of wavelengths. In our proposal, data acquisition is limited to electrical power consumption [ 11 – 14 ] by submerged pumping, and water flow [15–17] throughout a water-meter. 2.2. Data Transmission Data transmission can deal with several types of wireless (radio, satellite, cellular, WiFi, Bluetooth, etc) and wired (DSL, coaxial cable, fiber, etc) communication technologies. It is a key challenge in water monitoring systems, particularly in environments where there is no power outlet and the system’s operability depends on the battery life. Although nowadays batteries have a greater longevity, their charge is still limited to a certain amount. Wireless Sensor Networks (WSNs) are a reliable and efficient approach for achieving a scalable and secure network to deliver data by means of interconnected sensor nodes that monitor physical or environmental conditions of a given place of action. Therefore, they have been widely used in fields as diverse as environmental protection, intelligent transportation of goods, human health, disaster prevention, military intelligence, and many more. Water monitoring also uses this type of network. Zhang et al. [ 18 ] present a watermonitoring system based on wireless sensor networks to be used in breeding aquatic plant and animal species. The proposed wireless sensor network ensures that the monitored data are received in real time and are reliable, and also makes the sensor devices operate for a longer period of time. Adu-Mani et al. [ 19 ] provide an overview of several qualitymonitoring systems, mainly focusing on data transmission by means of wireless sensor
Electronics 2022,11, 3788 4 of 26 networks. They highlight the low level of security that this type of network incorporates and the difficulty in keeping them operational for long periods of time because there is no continuous power source. Finally, Calderwood et al. [ 20 ] developed an automatic network of low-cost, open-source wireless sensors for real-time monitoring of groundwater using acoustic sensors. This fully functional and operational proposal is compared to equivalent commercial systems that are several times less expensive in monetary terms, mainly due to the processing and visualization environment built with free software. In summary, WSNs are a group of sensor nodes connected without a cable to collect some data, but there is no direct connection to the internet. In contrast, any IoT system should always have present the internet and involves anything that can be connected to it. In this way, IoT has recently gained attention as a potential approach for water monitoring as it allows information to be exchanged among various devices and data collected in real time to be analyzed to take appropriate corrective measures. Geetha and Gouthami [ 21 ] provide state of the art techniques and tools used in existing intelligent water-quality control-systems and also introduces a simple and smart approach based on IoT technology. A real implementation of a groundwater level monitoring network was deployed in Nova Scotia, Canada [ 22 ]. In this case, low-cost Internet-of-Things devices transmit the data collected through custom made meters to visualize and compare the water levels in real time of several domestic wells of private users. In other areas of action, it should be noted that access to healthy and clean water is a key challenge in most communities around the world. Traditional water-dispenser systems usually break down within a few years and they are not often fixed since there is no maintenance revenue. eWaterPay [ 23 ] is a solution that uses mobile technology, IOT and Near-Field Communication (NFC) technology to solve this problem. Ingram and Menom [ 4 ] analyze the robustness of this system in terms of accuracy of the flow meter and flow rate. The Low Powered Wide Area Network (LPWAN) is a wireless system that enables long distance data transmission and devices to be connected with a low energy consumption approach. They appear as a valid transport protocol option for certain needs of the IoT. Examples of LPWAN technologies are LoRa, Sigfox and Weightless. In particular, the LoRaWAN [ 24 – 29 ] protocol has been widely proved to be an effective way of transmitting and receiving quick data with battery-operated devices in scenarios with low power requirements. For instance, Pietrosemoli et al. [ 30 ] outline the design of a simple and affordable device to obtain weather data from commercial weather stations with a limited wireless range and retransmit the data to cover long distances by means of the LoRaWAN protocol. Cano-Ortega and Sanchez-Sutil [ 31 ] use LoRaWAN to build a prototype that monitors induction motors of electrical machines. This proposal benefits from secure communications, low energy-consumption and a long signal-range both outdoors and indoors. On the other hand, Dayana et al. [ 32 ] integrate a LoRaWAN module into an electric meter to send details of the users’ electricity consumption. They achieve a wide range of information transmission, lower energy use and non-significant data loss. You et al. [ 33 ] propose applying the enhanced LoRaWAN security protocol in the context of efficient parking management in smart cities. They achieve a significant improvement and better performance in terms of network latencies compared to previously applied approaches. Finally, Nakamura et al. [ 34 ] propose a flexible architecture for situations with limited resources located in remote rural areas. The main idea of this proposal is that it adopts LoRa technology to allow long-range transmissions with low-power consumption from sensor nodes to a central node, that transfers the data to the server via the internet. Focusing on water monitoring, LoRaWAN is becoming a popular technology for data transmission due to its substantial advantages in terms of performance, energy consumption and cost. Ngom et al. [ 35 ] apply LoRa technology in a water-quality monitoring system of a pool in a botanical garden, in which data were previously collected by manual measurement. They show that this protocol together with a low-cost infrastructure for capturing and processing data in real time can achieve an efficient and reliable watermonitoring system. Miles et al. [ 36 ] carry out a LoRaWAN study to determine whether it is
Electronics 2022,11, 3788 5 of 26 the most suitable communication network to be applied in smart agriculture. The authors experimentally model an open farm concluding that LoRaWAN has a lot of potential for IoT applications. Apart from these more experimental and personalized proposals, there are already commercial water sensors and water-monitoring systems (for instance Telog-41 of TrimbleWater [ 37 ] and DO-IoT-Compact of Umweltleistungen [ 38 ]) on the market that use low-power LoRa technology so that the sensor batteries last for several years with fairly reasonable data transmission intervals. Finally, there is a very interesting project at La Marina de Valencia (Spain) proposed by Battulga et al. [ 39 ]. In their project they use a network of sensors deployed throughout the sea to measure parameters such as the weather and the movement of marine vehicles. This sensor network uses open-source software and LoRaWAN communication technology to transmit the collected data to a fog computing platform that processes the data in real time. This project is similar to the one proposed in this work, except that in our case the real-time data processing to make decisions is carried out in the sensor node and not only from real data but also from estimated data. 2.3. Data Processing Data processing for identifying the pumping influence in the aquifers has been widely researched in the past, directly linked to the development of physically based theories and mathematical models representing aquifer behaviour [ 40 – 44 ]. The first models dealt with confined aquifers, in simplified geometries, and typically in contexts of constant flow pumping and posterior recovery. At times they have been the only option for estimating aquifer hydraulic properties. Nowadays, it is a topic that still arouses interest due to the difficulty in estimating aquifer characteristics; and as a first step to solve the partial differential equations representing realistically 2D and 3D heterogeneous aquifers and systems of aquifers. Non-constant water flow can be modelled by superposition principle, provided that the math model is kept linear. Mishra et al. [ 45 ] introduce an analytical method for confined, unconfined, and leaky aquifers that focuses on numerically transforming discrete pumping rate data signals into the Laplace transform domain (as proposed by Roumboutsos and Stewart [ 43 ]) but avoids numerical instabilities by means of a discrete-time convolution integral. A special case of non-constant water-flow is found when the pumping is performed at constant-head pumping. Trabucchi et al. [ 46 ] extend Agarwal’s method [ 42 ], which is based on recovery tests combined with mathematical models for water-level estimation. Recall that historical data of instantaneous water-flow rate and instantaneous pumping electrical real power-consumption are needed in order to compute estimations for the water level using simplified analytical solutions and qualify the fulfilment of underlying hypothesis (constant flow rate, or constant head pressure). Thus, their availability is mandatory for the data processing of the water table evolution. 3. Problem Statement and Requirements The main aim of this work is to monitor the extraction of water from a well and to predict the evolution of the position of the water table within. Thus, not only to have an estimation of the instant position of the water table, but also to provide expected future evolution of it. In order to predict these values, a simplified modelling of the energy balance of the pumping scheme, plus an approximation to the water mass balance in the aquifer are used. Prediction depends on magnitudes characterizing the pumping periods and can be computed at the device. Water table evolution during non-pumping periods, referred usually as recovery, depends on previous pumping periods. It is not the goal of this approach to be used to monitor water level position without pumping, just measuring it. There are several ways to directly measure the water level, each with its advantages and disadvantages. It is possible to use tape measures, sonic sensors or piezometric sensors [ 47 ]. The tape measure is manual, while the sensors are automatic. It means a relatively cheap initial investment for tap measure, but its cost is high in the long term as well as inefficient, since it requires labor and travel to perform the measurements.
Electronics 2022,11, 3788 6 of 26 Instead, sensors are usually with devices which automatically computes and transmits the water level values but at non-reduced costs. For instance, prices of sonic probes or piezometric probes range between EUR 500 and EUR 1200 [ 48 ]. Piezometric probes require the installation of sensors within the borehole, in contact with water, and they are pre designed to work with certain ranges of pressures, which represents an additional limitation in boreholes with large withdraws. Sonic probes are non invasive and can be used to track deep water level locations, but the accuracy, even high (errors less than 1%), can represent a problem for water levels in tens (or even a hundred) of meters. For these two main reasons, costs and high-but-insufficient accuracy for real-time control of pumping, we propose an alternative approach based on the approximate and edge-computing paradigms. The proposal requires the measurement and recording of pumped water and electrical power consumption. The position of the water table is directly related to the water pressure within the aquifer, and this is influenced by the real power of the pump, energy losses in the water pipes, the pumping history, but also by the geometric and material characteristics of the aquifer and their water recharge mechanisms. Aquifer data are usually the most uncertain. However, main characteristics of time-dependent solutions can be checked in advance, and model parameters can be calibrated with punctual real-data of water table evolution during a pumping–recovery sequence. A water-meter with pulse emitter is the simplest way to approximate instantaneous water flow within a pipe. Water-meters are designed to produce a reduced water energy loss at nominal water flow rates; additionally, they are usually installed to have a minimum control of the pumping use (and typically they are required in legalized pumping schemes in most countries). Water meters with pulse emission type MJ-SDC can obtain the information digitally in order to transmit it later. There are devices that measure the amount of water that passes through them at a reasonable price unless the remote transmission of the information is also required. For instance, prices of Zenner, Woltman and AO-Electronics range between EUR 300 and EUR 1200 with remote transmission functionality, and between EUR 50 and EUR 300 without this remote transmission functionality AlphaOmega Electronics [ 49 ], NingBo Water Meters [ 50 ]. In addition, a clock will be necessary that, through a small electronic circuit (microcontroller/PLC), can calculate the water flow rate. Energy power consumption can be measured with voltmeters and ammeters. Similarly to the water-meters, their cost is quite reasonable unless the functionality of remotely transmitting the collected information is necessary. For instance, prices of voltmeters and ammeters range between EUR 60 and EUR 1200 with the remote transmission functionality, and between EUR 30 and EUR 60 without this remote transmission functionality [ 51 ]. For single-phase current measurements, a voltmeter and an ammeter are sufficient, however, for three-phase current measurements, three voltmeters and four ammeters are recommended to not depend on the hypothesis of balanced system functioning. Finally, to provide data communication between the extraction points and the centralized server system, we need solutions that do not depend on commercial cellular networks, since distribution companies would not build large communications installations because the territory is rural, remote and there is little possibility of recovering their investment. The most common and low-cost solutions such as Bluetooth and Wi-Fi, are not considered either because they have a very short communication range. Therefore, our solution must cover our communication needs, which are: (a) distances of several kilometers, (b) rural locations with little or no commercial communication infrastructures, and (c) little need for bandwidth (a few bytes per second). In summary, although there is a large number of commercial solutions, they tend to have a high cost in monetary terms. To the best of our knowledge, there is no device on the market that can measure or estimate the behavior of a well and that can be replicated at a reasonable cost. We proposed a device with a minimum cost of EUR 200 per unit (within EU in 2019) for three-phase pumping.
Electronics 2022,11, 3788 7 of 26 4. Proposal: Overview Figure 1shows the data flow scheme that we propose for our monitoring system in which four main stages can be distinguished: (1) Data Acquisition, (2) Model Calibration, (3) Data Processing and (4) Results Transmission. The Data Acquisition stage is responsible for obtaining data from the different sensors (energy consumption and flow meter). The Model Calibration stage includes the calibration of the model parameters, only once, combining data with the data from the acquisition stage with direct water table evolution measurement. The model can be calibrated as many times as necessary, but a priori only once would be sufficient for normal system operation. The Data Processing stage is responsible for estimating the water level and the behavior of the well based on the model calibrated and the new data obtained from the acquisition stage. Finally, the Results Transmission stage sends the data through an appropriate communication system to the server or end user. Notice that the model is calibrated once and the behavior of the well is calculated constantly and in real time. Figure 1. Data flow Monitoring System. Voltmeters and ammeters are used to measure power energy consumption. In a three-phase system, electricity intensity by phase and neutral, and the voltages between phase and neutral are of interest. Sensors are connected to a microcontroller that through an Analog-to-Digital converter can obtain instant values of all magnitudes, and compute the RMS value of intensities, voltages and real and apparent powers by line. This can be efficiently computed using a rapid FFT (Fast Fourier Transform) transform of signal data. Note that RMS magnitudes needs a minimum sampling time to be computed which depends on electricity frecuency. For measuring the water flow, the on–off signal of the pulse emitter is recorded. The instantaneous water flow rate can be approximated considering the constant water volume characteristic of each water-meter and the time increment between signals. The average water flow from pumping start depends on total time and total number of signals emitted. A water level meter (300 m) has been used for manually measuring the water level. Data collected is used for model calibration and validation off-line. Model parameters are updated in the device for the computations during Data Processing stage. The microcontroller receives the real-time data from the sensors, computes the estimated water level position, and makes the necessary transmissions through the installed communications system. There is a wide range of microcontrollers on the market, but in our case we rely on those that are widely recognized and accepted and that have a large range of usertested hardware and software extensions. In this sense, the de facto standard based on Arduino and Raspberry Pi are the most suitable. Nowadays there is a great interest in the use of Arduino and Raspberry Pi systems, either individually or combined, for low-cost monitoring environments. In this way, we can identify several examples that combine Arduino and Raspberry Pi, such as to control the temperature of a photovoltaic generator [ 52 ] or to manage the charging process of an electric vehicle [ 53 ], and examples that deal with Raspberry Pi individually, such as for photovoltaic water pumping systems [54] or for monitoring the energy performance of buildings [55].
Electronics 2022,11, 3788 8 of 26 Arduino is a Plug and Play microcontroller. As soon as it is plugged in, it starts executing the single program that has been loaded. This is programmed in C/C++ and is developed and compiled in the Arduino IDE environment from a PC, and then transferred to the microcontroller through a USB connection. As it is a single program, it must integrate all the functionalities that our application needs, and therefore it is not very flexible to modifications and extensions of functionalities. However, it is suitable for performing a single repetitive task efficiently and effectively, such as measuring RMS real power consumption. In this sense, any board that has AD converters and the possibility of communication via serial line would be sufficient. On the other hand, Raspberry Pi, being a whole computer, with a Linux operating system installed and access to all the development software and Linux libraries, offers great flexibility to be programmed in any need and can be easily modified and expanded. It has 40 well-known input/output pins, with a series of integrated adapters (USB, Ethernet, etc.) and a storage system based on MicroSD cards, where the operating system and the applications that we need are located. Among them, any compatible board would give equivalent results (Raspberry Pi, Asus Tinker, Lepotato, Rock64, Banana Pi, Orange Pi, Odroids, PocketBeagle) and within the Raspberry Pi family there are some alternatives available that have sufficient computing power, from the Pi Zero to the Pi4. As outlined above, we require a communication approach that can cover distances of several kilometers in an environment with little communication infrastructure and low bandwidth needs. These requirements made us consider than the LPWAN (Low Power Wide Area Network) style protocols are suitable. Of these technologies LoRa and LoRaWAN are considered the most appropriate, given that these communication protocols are in full expansion and fit perfectly into the characteristics of the needed communication. In fact, LoRa is a wide spectrum modulation technology with a high network range and low power consumption at the cost of low bandwidth compared to other wireless technologies. However, this is not a problem since our device only generates a small volume of data. In summary, we will use an Arduino micro controller for real power consumption, and a Raspberry Pi to record real power, water flow, interpolate both temporal series, compute water level and proceed to communicate at desired time-intervals. The included sensors are ammeters, voltmeters and a pulse of the water meter. Finally, the communications system used is the LoRa technology. 5. Proposal: Hardware Aspects This section describes the selected low-cost solution proposed in this work. It describes the different components necessary to take measurements, perform calculations and transmit the results for the correct modeling of the behavior of the water well. Figure 2shows the block diagram and the real image of the hardware prototype. Particularly, Figure 2a depicts the main components of the single-phase board prototype and the internal and external connections, and Figure 2b shows an image of the single-phase prototype with its main boards, sensors and interconnections.
Electronics 2022,11, 3788 9 of 26 Pulse in AC/AC adaptor & voltage sensor 77DE-06-09 Ammeters YHD-SCT013 Arduino RPIZ CT3V1 A AWater Pump Real time clock RTC PI v3 ac/ac GPIO17 AC Power Water Meter ct3 ct2 ct1 Leds Raspberry Pi Zero W UART V c c I2C USB Data & DC power 10 pins 40 GPIO pins 40 GPIO pins V c c V c c M USB (a) (b) Figure 2. Board and sensor assembly. (a) Hardware block diagram. (b) Sensors and Boards. 5.1. Selected Board: Arduino + Raspberry Pi For the acquisition of electricity data we chose an open source solution from the company LeChacal. This company offers various kits, which by means of an Arduino controller and a series of voltage and ampere sensors are capable of measuring the electricity consumption that passes through a cable. Specifically we chose the RPIZ_CT3V1 kit [ 56 ], which is the kit that can be integrated easily with a Raspberry Pi Zero [ 57 ], and the RPIZ_CT4V3 kit with Raspberry Pi 3A+ or 3B+ [ 58 ] for the three-phase current system. This already microprogrammed kits acquires the data from its sensors and performs the consumption calculation, giving values of RealPower in watts, Irms in milliamps and Vrms in volts. This information is sent through a serial line and can be collected through the serial port /dev/ttyAMA0 of a Raspberry Pi, as described in the company’s tutorial. This kit has installed, and uses, the YHDC-SCT013 current sensors [ 59 ] and a AC/AC adaptor-voltage sensor IdealPower 77DE-06-09 [60]. Raspberry Pi boards offer enough computing power for our needs, are priced very affordably, and integrate seamlessly with the Arduino microcontroller from LeChacal. These systems have been installed with the Raspbian Lite version based on Debian 10.0, which offers all the programs and services of an entire Linux system. We also have all the power of a Linux system to perform extra calculations and communications with the outside world. The pulse emitter of the water-meter has been connected to three GPIO of the raspberry Pi: one pin to ground, another pin to 3v3 voltage and the third to data on GPIO17. The internal Arduino pull-up resistor is used to protect the circuit and two LEDs with their resistors have been added to visualize the on–off signal of the water meter. Remarkably, some water–meters emit pulses of predefined length once a volume of water has been detected. Others, the most basic models, emit an on–off signal directly from the reed switch on the counting wheel. At constant water flow, time of pulse is less than 0.5 of time of a wheel round. Unequal pulses are better registered as on–off and off–on changes. The water volume per round depends on the meter and the counting wheel with the sensor installed. A separate battery clock was installed to provide accurate time at all times, corresponding to the RTC PI v3 kit from ABelectronicsUK [ 61 ]. This board makes it possible to keep the real time while the system is off and/or disconnected from a power outlet. Finally, tests were carried out with USB devices for the communications part, specifically, a Fast-Ethernet USB-RJ45 device and a LoRa LilyGO-TTGO-LORA32 device [62]. 5.2. I/O and Communication Following an ascending order, we discuss the different ways in which the system components communicate. On the one hand, the SCT-013 current sensors and the AC/AC
Electronics 2022,11, 3788 16 of 26 7.3. Performance In this section, we evaluate the cost in CPU consumption of different alternatives for model calibration and data processing codes. Reference and simplified models are calibrated with codes developed in the R language (R is a free software environment for statistical computing and graphics [ 66 ]). Libraries GA v 3.2.2 [ 67 , 68 ] and Pracma v. 2.3.8 [ 69 ] are used. Data acquisition and processing stages at the Raspberry Pi are performed in codes written in Fortran 90. Data acquisition stage at the Arduino is written in C. For comparative purposes, Cython and Python versions of the Fortran code for data processing has been developed. Cython [ 70 ] is an optimizing static compiler for Python, so we can obtain additional performance by executing compiled code instead of interpreted Python code. Table 2contains the execution time of the five codes considered: R-dp (for data process stage), R-cal-GA (for calibration stage), and F90-dp (in Fortran 90), Cython-dp and Pythondp corresponding data-process codes. These codes were executed in four systems with diverse computing powers: a Xeon+Quadro workstation (server), a Laptop computer with Celeron CPU, and two models of Raspberry PI (PI 4 and Pi Zero W). Only the Raspberry PIs are suitable for our purposes, but the more powerful laptop and server systems give us an estimation of the minimum execution times for these codes. Table 2. Real time [seconds], and %CPU execution time for a period of one hour, of the codes for the calibration stage (R-cal-GA) and the data acquisition and process stages (R-dp, F90-dp, Cython-dp and Python-dp) in four computing systems. Code R-dp R-cal-GA F90-dp Cython-dp Python-dp System Real %CPU Real %CPU Real %CPU Real %CPU Real %CPU Server 0.44 0.012 7.93 0.22 0.08 0.002 0.14 0.004 0.14 0.004 Laptop 1.09 0.030 14.23 0.39 0.16 0.005 0.33 0.009 0.34 0.009 RBPi4 1.59 0.044 29.38 0.82 0.23 0.006 0.40 0.011 0.45 0.012 RBPi0w 13.88 0.385 298.9 8.30 1.92 0.053 4.01 0.111 4.54 0.126 It can be observed in Table 2that the R-cal-GA is the code that takes the longest to execute, followed by the R-dp, and the Python, Cython and finally Fortran 90 versions. Cython is about 10% faster than Python, and Fortran twice faster than Cython. Regarding the four computing systems tested, the fastest is the server, followed by the laptop, then Raspberry Pi 4, and Raspberry Pi Zero W (the slowest one). Although it is the slowest system, the Raspberry Pi Zero W is fast enough for data acquisition and process stages. Raspberry Pi 4 is an option for R-calibration-GA code, but twice time slower than the laptop. Table 2also shows %CPU usage data for the five codes and four computing systems, as the average value for a period of 1 h of execution. As mentioned above, despite being the slowest system, Fortran and Cython codes executed in Raspberry Pi Zero W last between 2 and 4 s (in 1 h), that is, less than 0.1% of CPU usage. It is not necessary to have a more powerful system. Finally, in Figure 6, we analyzed the effect of the number of input data samples in the execution time of the five versions of the code in the four considered computing systems. Figure 6a–d correspond to the execution times (in seconds), while Figure 6e–h show the relative time of the Python code version ( Tpy ) compared to the other code versions ( Tot ) and computed as Tot/Tpy . In general, the execution time increases with the volume of data to process, except the R-cal-GA code, with an almost constant execution time (because the data processing represent a small percentage of the total execution time, compared with optimization computations). From the slowest code to the fastest one, we have R-cal-GA, R, Cython, Python and Fortran 90 “dp” versions, as seen in Table 2. Regarding the four computing systems, the server is one order of magnitude faster than the Laptop, the Laptop computer is slightly faster than Raspberry Pi 4, and our Raspberry Pi Zero W is about one order of magnitude slower than Raspberry Pi 4, but powerful enough to execute the data capture and process stages, with the lowest energy consumption.
Electronics 2022,11, 3788 17 of 26 0.001 0.01 0.1 1 10 0 500 100015002000250030003500 seconds samples f90 py cy R R_GA 0.01 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 seconds samples f90 py cy R R_GA (a) (b) 0.01 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 seconds samples f90 py cy R R_GA 0.1 1 10 100 1000 0 500 1000 1500 2000 2500 3000 3500 seconds samples f90 py cy R R_GA (c) (d) 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 relative time samples f90/py cy/py R/py R_GA/py 0.01 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 relative time samples f90/py cy/py R/py R_GA/py (e) (f) 0.01 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 relative time samples f90/py cy/py R/py R_GA/py 0.01 0.1 1 10 100 0 500 1000 1500 2000 2500 3000 3500 relative time samples f90/py cy/py R/py R_GA/py (g) (h) Figure 6. Execution and relative times of the five code version in the four computing systems. ( a ) Server execution time; ( b ) Laptop execution time; ( c ) Raspberry Pi 4 execution time; ( d ) Raspberry Pi Zero W execution time; ( e ) Server relative time; ( f ) Laptop relative time; ( g ) Raspberry Pi 4 relative time; (h) Raspberry Pi Zero W relative time. 8. Field Case Application To test and validate the proposal, a prototype was installed in an operational pumping for irrigation in the Matarraña valley. The tested prototype is for a three-phase current supply. The case study is characterized by a reference static water level Hs= 83.65 m and a radius of the perforation of rp= 0.11 m. The aquifer is confined and the pump is located at 130 m. Pump curve is given by Ce= 4.498 × 10 −2 m/w, Ceq2= 8.008 × 10 −3 m s 2 /(w dm 6) at nominal real power of en=4961 w. Two sets of data including manual measurement of water level evolution are available: First, 11 January 2019, and second, 11 April 2019. The first involves one pumping–recovery period and it was used to calibrate the model. The second set includes three consecutive pumping–recovery periods, although third is covered partially. Information from April is used to validate the model. They were not performed in same conditions, a situation that is detected by the error indicator during validation. In the following, main results for calibration and validation are commented. The first pumping period is used here for the recalibration of the model, and two strategies are compared: automatically, in the sensor, and off-line.
Electronics 2022,11, 3788 18 of 26 The water flow and real power consumption during calibration case are shown in Figure 7. The pumping duration was approximately 2 h and 15 min, and it was performed with almost constant head conditions. Note the delay in the starting time of water flow (at surface) with respect to real power starting curve, about 50 s. Water flow starts at 1.6 L per second and finishes at 1.4, a reduction of 15%. 0 50 100 150 200 0 1000 2000 3000 4000 5000 time [s] energy [w] 0.0 0.5 1.0 1.5 2.0 q [l/s] 8100 8150 8200 8250 8300 0 1000 2000 3000 4000 5000 time [s] energy [w] 0.0 0.5 1.0 1.5 2.0 q [l/s] Figure 7. Calibration. Time evolution of water flow and electric power, measured data. Pumping starting (left) and ending (right). Two sets of parameters provide good results with the full model: one for better adjusting the pumping and the other for recovery. Other pairs in between provide also acceptable results. Even the values are quite different. Differences are in the usual range and they are in agreement with T values reported in the area (from 0.28 to 158 m2/day [9] ). Values of parameters and corresponding constants are indicated in Table 3. Figure 8 summarizes main results of calibration for both sets of aquifer parameters. First, left to right, the water flow adjusted by an exponential function from experimental data is shown. Total water volume is represented with an error less than 0.05%. Second, the water level evolution simulated with the reference model and first set of parameters is depicted. Results are graphically in very good agreement. Third and fourth are the results with the second set of parameters, during just the pumping period or including recovery, with both reference and simplified models. The results of both models are almost indistinguishable. The error during the recovery of second set of parameters is slightly higher than first set, and it can be identified in Figure 8; but adjustment for pumping is slightly better. Table 3. Calibrated parameters, T and S , for the reference model; and constants for the simplified model, Cqa and Cqalt. The value CV qa corresponds to a recalibrated value during validation. T[m2/day]S[-] Cqalt [m] Cqa [ms/dm3] CV qa [ms/dm3] Set 1 3.60 1.1 ×10−34.3927 −0.5437 −0.6935 Set 2 2.75 7.0 ×10−35.7504 −5.5503 −5.5305
Electronics 2022,11, 3788 19 of 26 0 2000 4000 6000 8000 1.35 1.40 1.45 1.50 1.55 1.60 1.65 time [s] q [l/s] 0e+00 4e+04 8e+04 80 85 90 95 100 105 110 time [s] h [m] (a) 0 2000 4000 6000 8000 80 85 90 95 100 105 110 time [s] h [m] 0e+00 4e+04 8e+04 80 85 90 95 100 105 110 time [s] h [m] (b) Figure 8. Calibration. ( a ) Left: Water flow evolution, measured (black) and adjusted (blue). Right: Water level evolution, measured (black) and simulated with the reference model and the 1st set of parameters (blue). ( b ) Water level measured (black) and simulated with the reference model (blue) and the simplified one (red), with the 2nd set of parameters. Left: Pumping period. Right: Pumping and recovery. The parameter related to water energy losses due to pipe transport is calibrated using the real power data, obtaining Cq2=− 13.136 ms 2 /(dm 6 ). With all parameters adjusted, results of the simulations with both sets of parameters are presented in Figure 9. The estimated water levels Hest are indicated in red color, overimpressed to the orange curves corresponding to HPe . Measured data are plotted in black. Both results are in good agreement with data. The error diminishes with time, being less than 1% of H except during the first 10 to 15 min. Overestimation of first set of parameters is larger the second one during this starting time.
Electronics 2022,11, 3788 20 of 26 0 2000 4000 6000 8000 80 85 90 95 100 105 110 115 time [s] h [m] 0 2000 4000 6000 8000 −4 −2 0 2 4 time [s] error_est [m] (a) 0 2000 4000 6000 8000 80 85 90 95 100 105 110 115 time [s] h [m] 0 2000 4000 6000 8000 −4 −2 0 2 4 time [s] error_est [m] (b) Figure 9. Calibration. ( a ) Left: Water level evolution, measured (black) and simulated (orange and red) with the 1st set of parameters. Right, error estimation evolution. ( b ) Same results as ( a ) with the 2nd set of parameters. Figure 10 shows the results obtained when applying calibrated set of parameters to the data of first pumping of the validation case. Remarkably the results given by the aquifer model are in very good agreement with experimental data; but energy does not provide correct estimators (orange curve) and therefore model estimate (red curve) is incorrect. This fact is detected by the error indicator which does not converge to zero with time. This is in agreement with the documented change in water provision. Figure 10 shows the evolution of the error in terms of water flow rate. Most of the time the error is around 6.5 m. A simple estimate of the water energy losses parameter is given by the mean value of the error, discarding staring time. This gives CV,S1 q2=− 19.683 ms 2 /dm 6 for 1st set of parameters and CV,S2 q2=− 19.867 for the second. Note that these values can be updated during the data process stage with a simple computation (arithmetic mean). The value can be also updated with least squares considering the water level measured data, off-line, in the calibration stage. This later result is similar to previous ones CV q2=− 19.919 ms 2 /dm 6 , and common to both cases as it is computed directly from measured water level data.
Electronics 2022,11, 3788 21 of 26 0 1000 3000 5000 1.35 1.40 1.45 1.50 1.55 time [s] q [l/s] 0 1000 3000 5000 80 90 100 110 120 time [s] h [m] (a) 0 1000 3000 5000 4 5 6 7 8 9 time [s] error_est [m] 1.8 2.0 2.2 4 5 6 7 8 9 q^2 [l/s]^2 error_est [m] (b) Figure 10. Validation. 2nd set of parameters. ( a ) Left: Water flow evolution, measured (black) and adjusted (blue). Right: Water level evolution, measured (black) and simulated (blue, orange and red). (b) Error estimation evolution, left, and relationship with water flow square, right. The parameter Caq which characterizes simplified hydraulic modelling has been recalibrated with first pumping period of validation. Results are indicated as CV aq in Table 3. Variations with respect to calibration are low, specially considering the overall range of variation of this parameter. Results are indistinguishable with the second set of parameters. There is a slightly larger difference (not reproduced here) with the first one. Figure 11 shows the estimated results for the overall validation period. Errors during staring pumping and recovery are significant, punctually of 5% of H with the second set of parameters. However, most of the time are close to zero. The signal during the third pumping period was lost, thus the model predicts the recovery water table evolution from this time forward. Without real-time information of real power and water flow rate the model fails to predict water table evolution. Three details of the overall validation test are presented in Figure 12. The results are in very good agreement, except during transitions between recovery–pumping, for a short period of time.
Electronics 2022,11, 3788 22 of 26 0 80 85 90 95 100 105 110 time [s] h [m] 050,000 150,000 80 85 90 95 100 105 110 0 50,000 150,000 −4 −2 0 2 4 time [s] error [m] (a) 0 80 85 90 95 100 105 110 time [s] h [m] 050,000 150,000 80 85 90 95 100 105 110 050,000 150,000 −4 −2 0 2 4 time [s] error [m] (b) Figure 11. Validation. ( a ) Left, water level evolution, measured (black) and simulated (red) with the 1st set of parameters (updated). Right, error estimation evolution. ( b ) Same results as ( a ) with the 2nd set of parameters (updated). 0 1000 3000 5000 80 85 90 95 100 105 110 time [s] h [m] 0 1000 3000 5000 80 85 90 95 100 105 110 80 85 90 95 100 105 110 time [s] h [m] 60,000 70,000 80,000 80 85 90 95 100 105 110 80 85 90 95 100 105 110 time [s] h [m] 108,000 112,000 116,000 120,000 80 85 90 95 100 105 110 Figure 12. Validation. 2nd set of parameters. Water level evolution. Zoom. 9. Conclusions and Future Work Water is currently a scarce and precious good and, therefore, mechanisms for managing it that are affordable, particularly for those communities with limited resources, should be provided. In this work we introduce a low-cost water monitoring device a LoRa
Electronics 2022,11, 3788 23 of 26 communication approach. The device performs measures of real power consumption, instant and accumulated water flow, an estimates the present and future location of the water table in a fairly precise way. The proposal only needs off-line computation for calibration of system parameters in terms of measured water level evolution during a pumping–recovery cycle, which makes it possible to reduce communication costs. This device has been tested and evaluated in a laboratory environment in terms of energy consumption, temperature and performance. The energy consumption of the device is negligible compared to that of the monitored water pump. The device always operates in safe temperature ranges even in the worst conditions. The execution of data process stage with Fortran or even Python is fast enough in the cheapest hardware system (Raspberry Pi Zero W) with a CPU usage as low as 0.1%. Moreover, the proposed device was also tested in a real environment and its deployment shows that it is being very effective in evaluating the location of the water table. Our proposal introduces some limitations due to the different decisions that have been taken in its design. First, a number of simplifications of the well/aquifer behavior implicit in the Theis and Jacob model have been assumed and calibrated, but the actual well/aquifer behavior might differ slightly over time, thus some kind of periodic calibration processes would be necessary. Secondly, our device incorporates two microcontroller boards, but another approach could have been the use of a single microcontroller board providing a cheaper and more compact solution. On the other hand, the number of input/output ports dedicated to data sensors is determined by the current selection of Raspberry Pi and Arduino boards and, although it is suitable for our approach, it would not be very scalable assuming monitoring or control of complex irrigation systems. Finally, as our proposal is a do-it-yourself device, it can be difficult to use it in massive environments and also in technologically isolated areas, due to the need for end-user training for correct maintenance, or specialized technical services in the implementation areas. As future work, it is intended to efficiently deploy several prototypes of the device presented to build a distributed system along pumping systems sharing the same aquifer, so the different nodes can share the measurements and take into account crossing influences in the water level evolution of ecah one. Model extensions to deal with more complex aquifer modelling are expected to accurately reproduce other cases. Author Contributions: Conceptualization, R.M. and A.P.-F.; methodology, R.M. and A.P.-F.; software, C.A.; software (Fortran and R) A.P.-F.; validation, R.M. and A.P.-F.; investigation, C.A.; modelling, A.P.-F.; resources, C.A.; field data collection, A.P.-F.; data curation, C.A.; writing—original draft preparation, C.A.; writing—review and editing, P.M., R.M. and C.M.; supervision, R.M., P.M. and C.M.; project administration, P.M.; funding acquisition, P.M. All authors have read and agreed to the published version of the manuscript. Funding: This research has been partly supported by EU under grant agreement N. 825184 and funded by the Government of Spain under contracts PID2019-106774RB-C21, PID2019-106774RB-C22, and PID2020-113172RB-I00 and by the Government of Catalonia as Consolidated Research Groups 2017-SGR-688 and 2017-SGR-990, and Pre-consolidated Research Group 2017-SGR-1496. The APC was funded by the Open program from Universitat Rovira i Virgili. Acknowledgments: We thank to A. Folch of the Hydrogeology Research Group, Dept. Civil and Environmental Engineering (Universitat Politècnica de Catalunya, UPC), for assistance with water-level meter use; to D. Requejo of the Research Group in Engineering Sciences for Global Development of UPC for prototypes building and documentation; and to a local firm for access and use of infrastructure (under UPC contract 0900046147-2019). Conflicts of Interest: The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.
Electronics 2022,11, 3788 24 of 26 References 1. Olatinwo, S.O.; Joubert, T.H. Energy Efficient Solutions in Wireless Sensor Systems for Water Quality Monitoring: A Review. IEEE Sens. J. 2019,19, 1596–1625. [CrossRef] 2. Pule, M.; Yahya, A.; Chuma, J. Wireless sensor networks: A survey on monitoring water quality. J. Appl. Res. Technol. 2017 , 15, 562–570. [CrossRef] 3. Hacking Ecology. Available online: https://hackingecology.com/ (accessed on 11 November 2021). 4. Ingram, W.; Memon, F.A. Robustness of IoT-Connected e-Taps for Sustainable Service Delivery of Rural Water Supply. Water Supply 2020,20, 2251–2260. [CrossRef] 5. Ingram, W.; Memon, F.A. Internet of Things Innovation in Rural Water Supply in Sub-Saharan Africa: A Critical Assessment of Emerging ICT. Waterlines 2019,38, 71–93. [CrossRef] 6. Olatinwo, S.O.; Joubert, T.H. Enabling Communication Networks for Water Quality Monitoring Applications: A Survey. IEEE Access 2019,7, 100332–100362. [CrossRef] 7. Barua, H.B.; Mondal, K.C. Approximate Computing: A Survey of Recent Trends—Bringing Greenness to Computing and Communication. J. Inst. Eng. Ser. B 2019,100, 619–626. [CrossRef] 8. Agrawal, A.; Mueller, S.M.; Fleischer, B.M.; Sun, X.; Wang, N.; Choi, J.; Gopalakrishnan, K. DLFloat: A 16-b Floating Point Format Designed for Deep Learning Training and Inference. In Proceedings of the 26th Symposium on Computer Arithmetic, Kyoto, Japan, 10–12 June 2019. [CrossRef] 9. Confederación Hidrográfica del Ebro. Plan Hidrológico del Ebro. 2022. Available online: https://www.chebro.es/ (accessed on 1 September 2022). 10. Andres, L.; Boateng, K.; Borja-Vega, C.; Thomas, E. A Review of In-Situ and Remote Sensing Technologies to Monitor Water and Sanitation Interventions. Water 2018,10, 756. [CrossRef] 11. Ikramov, N.; Majidov, T.; Kan, E.; Mukhammadjonov, A. Monitoring system for electricity consumption at pumping stations. IOP Conf. Ser. Mater. Sci. Eng. 2020,883, 012101. [CrossRef] 12. Poompavai, T.; Kowsalya, M. Control and energy management strategies applied for solar photovoltaic and wind energy fed water pumping system: A review. Renew. Sustain. Energy Rev. 2019,107, 108–122. [CrossRef] 13. IEA. Water-Energy Nexus—World Energy Outlook Special Report. 2017. Available online: https://www.iea.org/reports/waterenergy-nexus (accessed on 17 September 2022). 14. Martin, D.L.; Dorn, T.W.; Melvin, S.R.; Corr, A.J.; Kranz, W.L. Evaluating energy use for pumping irrigation water. In Proceedings of the 2011 Central Plains Irrigation Conference, Burlington, CO, USA, 22–23 February 2011. Available online: https://www.ksre.k-state.edu/irrigate/oow/p11/Kranz11a.pdf (accessed on 17 September 2022). 15. Zekri, S. Controlling groundwater pumping online. J. Environ. Manag. 2009,90, 3581–3588. [CrossRef] 16. Varela-Ortega, C.; Blanco-Gutiérrez, I.; Swartz, C.H.; Downing, T.E. Balancing groundwater conservation and rural livelihoods under water and climate uncertainties: An integrated hydro-economic modeling framework. Glob. Environ. Chang. 2011 , 21, 604–619. [CrossRef] 17. Zekri, S.; Triki, C.; Al-Maktoumi, A.; Bazargan-Lari, M.R. An optimization-simulation approach for groundwater abstraction under recharge uncertainty. Water Resour. Manag. 2015,29, 3681–3695. [CrossRef] 18. Zhang, M.; Li, D.; Wang, L.; Ma, D.; Ding, Q. Design and Development of Water Quality Monitoring System Based on Wireless Sensor Network in Aquaculture. In Proceedings of the 4th Conference on Computer and Computing Technologies in Agriculture, Nanchang, China, 22–25 October 2010. [CrossRef] 19. Adu-Manu, K.; Tapparello, C.; Heinzelman, W.; Katsriku, F.; Abdulai, J. Water Quality Monitoring Using Wireless Sensor Networks: Current Trends and Future Research Directions. ACM Trans. Sens. Netw. 2017,13, 1–41. [CrossRef] 20. Calderwood, A.J.; Pauloo, R.A.; Yoder, A.M.; Fogg, G.E. Low-cost, Open Source Wireless Sensor Network for Real-Time, Scalable Groundwater Monitoring. Water 2020,12, 1066. [CrossRef] 21. Geetha, S.; Gouthami, S. Internet of Things Enabled Real Time Water Quality Monitoring System. Smart Water 2016 ,2. [CrossRef] 22. Drage, J.; Kennedy, G. Building a Low-Cost, Internet-of-Things, Real-Time Groundwater Level Monitoring Network. Groundw. Monit. Remediat. 2020,40, 67–73. [CrossRef] 23. eWATER Company. eWATER Services. Available online: https://ewaterpay.com (accessed on 2 January 2022). 24. Sundaram, J.P.S.; Du, W.; Zhao, Z. A Survey on LoRa Networking: Research Problems, Current Solutions, and Open Issues. IEEE Commun. Surv. Tutor. 2020,22, 371–388. [CrossRef] 25. Farhad, A.; Kim, D.H.; Kim, B.H.; Mohammed, A.F.Y.; Pyun, J.Y. Mobility-Aware Resource Assignment to IoT Applications in Long-Range Wide Area Networks. IEEE Access 2020,8, 186111–186124. [CrossRef] 26. Liando, J.; Gamage, A.; Tengourtius, A.W.; Li, M. Known and Unknown Facts of LoRa: Experiences from a Large-Scale Measurement Study. ACM Trans. Sens. Netw. 2019,15, 1–35. [CrossRef] 27. Heeger, D.; Garigan, M.; Tsiropoulou, E.E.; Plusquellic, J. Secure LoRa Firmware Update with Adaptive Data Rate Techniques. Sensors 2021,21, 2384. [CrossRef] 28. Paredes, M.; Bertoldo, S.; Carosso, L.; Lucianaz, C.; Marchetta, E.; Allegretti, M.; Savi, P. Propagation Measurements for a LoRa Network in an Urban Environment. J. Electromagn. Waves Appl. 2019,33, 2022–2036. [CrossRef]
Electronics 2022,11, 3788 25 of 26 29. Elselini, A.S.; Eleribi, H.R.; Sanaani, M.; Alwerfalli, A. A Performance Study of an IoT System Using LoRa Access Network Technology. In Proceedings of the 6th International Conference on Engineering and MIS, Almaty, Kazakhstan, 14–16 September 2020. [CrossRef] 30. Pietrosemoli, E.; Rainone, M.; Zennaro, M. On Extending the Wireless Communications Range of Weather Stations Using LoRaWAN. In Proceedings of the 5th EAI International Conference on Smart Objects and Technologies for Social Good, Valencia, Spain, 25–27 September 2019; Association for Computing Machinery: New York, NY, USA, 2019; pp. 78–83. [CrossRef] 31. Cano-Ortega, A.; Sánchez-Sutil, F. Monitoring of the Efficiency and Conditions of Induction Motor Operations by Smart Meter Prototype Based on a LoRa Wireless Network. Electronics 2019,8, 1040. [CrossRef] 32. Dayana, A.A.; Karthika, P.; Kavitha, R.; Priyanka, M.P.; Boomadevi, D.P. Smart Electric Meter using LoRA Protocols. Int. J. Eng. Res. Technol. 2019,7. [CrossRef] 33. You, I.; Kwon, S.; Choudhary, G.; Sharma, V.; Seo, J.T. An Enhanced LoRaWAN Security Protocol for Privacy Preservation in IoT with a Case Study on a Smart Factory-Enabled Parking System. Sensors 2018,18, 1888. [CrossRef] [PubMed] 34. Nakamura, K.; Manzoni, P.; Zennaro, M.; Cano, J.C.; Calafate, C.T.; Cecilia, J.M. FUDGE: A frugal edge node for advanced IoT solutions in contexts with limited resources. In Proceedings of the 1st Workshop on Experiences with the Design and Implementation of Frugal Smart Objects, London, UK, 21 September 2020; Association for Computing Machinery: New York, NY, USA, 2020; pp. 30–35. [CrossRef] 35. Ngom, B.; Diallo, M.; Gueye, B.; Marilleau, N. LoRa-based Measurement Station for Water Quality Monitoring: Case of Botanical Garden Pool. In Proceedings of the 2019 IEEE Sensors Applications Symposium (SAS), Sophia Antipolis, France, 11–13 March 2019; pp. 1–4. [CrossRef] 36. Miles, B.; Bourennane, E.B.; Boucherkha, S.; Chikhi, S. A Study of LoRaWAN Protocol Performance for IoT Applications in Smart Agriculture. Comput. Commun. 2020,164, 148–157. [CrossRef] 37. TrimbleWater. Telog WL-41. Available online: https://www.trimblewater.com (accessed on 2 January 2022). 38. Umweltleistungen. DO-IoT-Compact. Available online: https://www.uit-gmbh.de/ (accessed on 2 January 2022). 39. Battulga, D.; Farhadi, M.; Tamiru, M.; Wu, L.; Pierre, G. LivingFog: Leveraging Fog Computing and LoRaWAN Technologies for Smart Marina Management (Experience Paper). In Proceedings of the ICIN 2022—25th Conference on Innovation in Clouds, Internet and Networks, Paris, France, 7–10 March 2022; pp. 1–8. [CrossRef] 40. Theis, C.V. The Relation Between the Lowering of the Piezometric Surface and the Rate and Duration of Discharge of a Well Using Ground-Water Storage. Eos Trans. Am. Geophys. Union 1935,16, 519–524. [CrossRef] 41. Cooper, H.R.; Jacob, C.E. A Generalized Graphical Method for Evaluating Formation Constants and Summarizing Well-Field History. Eos Trans. AGU 1946,27, 526–534. [CrossRef] 42. Agarwal, R.G. A New Method to Account for Producing Time Effects When Drawdown Type Curves are Used to Analyze Pressure Buildup and Other Test Data. In Proceedings of the SPE Annual Technical Conference and Exhibition, Dallas, TX, USA, 21 September 1980. [CrossRef] 43. Roumboutsos, A.; Stewart, G. A Direct Deconvolution or Convolution Algorithm for Well Test Analysis. In Proceedings of the SPE Annual Technical Conference and Exhibition, Houston, TX, USA, 2 October 1988. [CrossRef] 44. Meier, P.M.; Carrera, J.; J, S.X.; Sánchez-Vila, X. An Evaluation of Jacob’s Method for the Interpretation of Pumping Tests in Heterogeneous Formations. Water Resour. Res. 1998,34, 1011–1025. [CrossRef] 45. Mishra, P.K.; Vessilinov, V.; Gupta, H. On Simulation and Analysis of Variable-Rate Pumping Tests. Groundwater 2013 ,51, 469–473. [CrossRef] 46. Trabucchi, M.; Carrera, J.; Fernàndez-Garcia, D. Generalizing Agarwal’s Method for the Interpretation of Recovery Tests Under Non-Ideal Conditions. Water Resour. Res. 2018,55, 6393–6407. [CrossRef] 47. Cunningham, W.L.; Schalk, C.W. Groundwater Technical Procedures of the U.S. Geological Survey: U.S. Geological Survey Techniques and Methods 1–A1; Technical Report; U.S. Geological Survey: Reston, VA, USA, 2011. [CrossRef] 48. Gisiberica. Piezometric Probes. Available online: http://www.gisiberica.com/sondas/sondas_piezometricas.htm (accessed on 2 January 2022). 49. AlphaOmega Electronics. Flow Meters. Available online: https://www.alphaomega-electronics.com/es/502-contadores-de-ca udal (accessed on 2 January 2022). 50. NingBo. Single Jet NingBo Water Meters. Available online: http://www.nwmwatermeters.com (accessed on 2 January 2022). 51. TME Electric Components. Energy Meters. Available online: https://www.tme.eu/es/katalog/medidores-de-energia_118092/ (accessed on 2 January 2022). 52. Portalo, J.M.; González, I.; Calderón, A.J. Monitoring System for Tracking a PV Generator in an Experimental Smart Microgrid: An Open-Source Solution. Sustainability 2021,13, 8182. [CrossRef] 53. Martins, J.; Ferreira, J.; Monteiro, V.; Afonso, J.; Afonso, J. IoT and Blockchain Paradigms for EV Charging System. Energies 2019 , 12, 2987. [CrossRef] 54. Gimeno-Sales, F.J.; Orts-Grau, S.; Escribá-Aparisi, A.; González-Altozano, P.; Balbastre-Peralta, I.; Martínez-Márquez, C.I.; Gasque, M.; Seguí-Chilet, S. PV Monitoring System for a Water Pumping Scheme with a Lithium-Ion Battery Using Free Open-Source Software and IoT Technologies. Sustainability 2020,12, 10651. [CrossRef] 55. Ali, A.S.; Coté, C.; Heidarinejad, M.; Stephens, B. Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control. Sensors 2019,19, 4017. [CrossRef] [PubMed]