Nature-based Solutions (NbS) Regulatory Ecosystem Services are less tangible and more complex to quantify. Among these, research to quantify water regulation services provided by Blue-Green Infrastructure is especially relevant for a range of different applications. However, to reach this quantification, experimentalists usually need to measure the flow rate, which can be costly if using high-end industry standard sensors. The present article brings, thus, a low-cost experimental setup for real-time data capture and logging using the US-025 ultrasonic sensor. The proposed setup measures a weir tanks’ water level in order to indirectly estimate the flow rate. A successful pilot experiment is described, estimating the water quantity performance of a vegetated roof in comparison to a ceramic tiled roof. For a same event, flow rate measures taken by the proposed setup are compared to readings from a rain gauge and results show a close trend. The performance of the vegetated roof has shown substantial rainfall retention and detention when compared to the ceramic roof. It is concluded that the setup is a cost-effective tool that can be attached to inlets and outlets of different NbS for characterising a range of water flow rates capable of supporting laboratory and field data capture.

  • A low-cost flow meter was developed to combine an ultrasonic sensor and a weir.

  • The setup was successfully used for runoff monitoring on a pilot experiment.

  • Adherence was shown between the proposed setup results and a rain gauge.

  • The setup can measure flow rates on inlets and outlets of Nature-based Solutions.

  • The ultrasonic sensor speed of sound fluctuations was irrelevant within a rainfall event.

Graphical Abstract

Graphical Abstract
Graphical Abstract

Nature-based Solutions (NbS), as defined by the International Union for Conservation of Nature (IUCN), are ‘actions to protect, sustainably use, manage and restore natural or modified ecosystems, which address societal challenges, effectively and adaptively, providing human well-being and biodiversity benefits’ (Cohen-Shacham et al. 2016). Among the range of NbS, some of the most widely known are wetlands, bioretentions, stormwater planters, swales, vegetated roofs and vegetated walls (Eggermont et al. 2015).

A way to express and quantify the trade-offs between humans and its environment is via the Ecosystem Services (ES) provided by these NbS, which are defined as ‘the benefits people obtain from ecosystems' (MA 2005). But as Mengist et al. (2020) indicate, the necessary attention is not given to Regulatory Ecosystem Services (RES) as its benefits may not be as tangible. Methods for quantifying regulatory benefits are needed, thus, to generate scientific data in order to support decision-makers towards the large implementation of NbS.

Among the main regulatory services provided by NbS are its potential for regulating water dynamics in cities and its capacity for managing flood risk (Sahani et al. 2019). In order for experiments to quantify water-regulating services in NbS, measuring the water flow is eventually necessary. For that, real-time sensing and a low-cost experimental setup are a relevant toolbox to support researchers on quantifying the hydrological performance of these systems. Naveen et al. (2020) propose measuring the flow rate through the displacement of a cantilever LED strip in the investigated pipeline; Loizou & Koutroulis (2016) bring a state-of-the art review on water-level sensors and propose a novel capacitive water-level measurement system, which can be used for measuring water flow if associated with a tank. Dijkstra & Uittenbogaard (2010) correlate that the flow rate with flexible plastic strip positions subjects to water currents; Dinardo et al. (2013) investigate the vibrations in pipelines using accelerometers to improve flow rate measurements; Hill et al. (2015) and Stovin et al. (2012) use rain gauges and measure runoff from vegetated roofs via tipping buckets, meaning that for each bucket that tips after filled, it counts each tip, having the precision of about the bucket's volume.

On the other hand, previous works such as from El Hattab et al. (2019) and Piro et al. (2019) demonstrate the use of weirs for assessing water quantity in Green Infrastructure. El Hattab et al. (2019) show that most of previous studies used pressure transducers to find the water level, a variable to be further converted into the upstream head and then to the flow rate. These works have not used ultrasonic sensors to measure the water level. Other researchers, on the other hand, such as Carson et al. (2013) and Bliss et al. (2009), used ultrasonic sensors combined with a weir: the former using a Senix TSPC-30S1 and the latter a Greyline LIT25. Both are high-end industrial sensors, which can cost from 500 USD to 1,000 USD. Finding cost-effective ultrasonic sensors that can provide a similar accuracy with a lower price is a gap identified, and the present work hypothesises that open-sourced hardware and software platforms such as Arduino can provide interesting alternatives.

Real-time sensing can support the collection of a substantial amount of data. This becomes useful for urban planning applications as increasing the resolution of NbS performance in a city and retrieving data from real structures can be used for the application on not only public policies but also for validating and modelling BGS. Quantifying the water dynamics can also be relevant for understanding other regulatory services such as heat-related, as evapotranspiration removes heat from surface (Broadbent et al. 2019). Water quantity flow meters can be relevant for irrigation control, for the correct selection of plant species in landscaping (Farrell et al. 2013), among other applications in Blue-Green Infrastructure.

Measuring the flow rate can be expensive, and inaccurate and equipment may demand close supervision and regular maintenance. As indicated by Naveen et al. (2020), affordable sensors must be developed, aiming specially for inexpensive, reliable and easy to implement solutions. Pereira (2009) brings a comprehensive review on flow meter types and characteristics, recalling that now in the era of digital flow meters, a variety of methods are available. Baker (2005) also reviews available flow meters and categorises them into different methods of measurement, involving, for example, orifice plate flow meters, nozzles, momentum-sensing meters, turbine flow meters, etc.

As noticeable in the aforementioned flow rate-measuring methods, it is possible to transform the physical variable being measured: the flow rate can be measured directly or indirectly in a variety of different ways. Evapotranspiration in vegetated roofs, for example, can also be estimated indirectly by measuring the weight loss of a physical model through time (Walter et al. 2004), as a lysimeter does, or can be estimated using thermography (Krasowski et al. 2021). For the flow rate, a range of different experimental setups can be used to attain measurements as close as possible to the phenomenon behaviour.

In this sense, the present work brings an indirect method for measuring the flow rate using an ultrasonic sensor and a weir tank, converting a flow rate measurement into a water-level measurement. Previous works that attempted characterising the runoff from vegetated roofs can be divided into classes. Some managed to only read the final runoff volume after a rainfall event (Loiola et al. 2019; Liberalesso et al. 2021): these were able to only present results about retention, or the water stored in the roof. Others could read the flow rate, but only manually (Silva et al. 2019): these were able to characterise also detention, or peak runoff attenuation and delay, but only for simulated rainfall events. This happens because an experimentalist cannot be all the time available during every unexpected rainfall event. The present sensor setup can support a third class of experiments: those that use real-time sensing and can leave the sensors collecting flow rate data at all times, being a setup capable of measuring retention and detention in simulated and natural events. Though the combination of a weir tank and an ultrasonic sensor is a technique already known, the present work brings a specially designed version of this setup that can be applied to NbS. The method can be implemented not only in laboratory experiments, but also in real structures built in public places, being useful for both inlet and outlet flow depending on the structure analysed.

The scope of the present work involves evaluating the method in a vegetated roof prototype experiment built at the University of São Paulo, Brazil. Section 2 brings the working principles of the sensor, the experimental setup, its uncertainties involved, the setup costs, along with describing step by step the data collection and processing from this above-mentioned pilot experiment. Section 3 presents and discusses the pilot experiment results for not only the hydrological performance of the vegetated roof, but also for the outcomes found in the quality of the proposed sensor readings, bringing challenges that were successfully addressed and difficulties found. A demonstration of the method's feasibility for application in a bioretention experiment is also shown in this session. The paper presents conclusions, limitations and further work in section 4.

Low-cost sensors can be a good alternative for high-end industry standard sensors but demand special attention to detail. As indicated by Naveen et al. (2020), a flow meter ideally should have an adaptable design and avoid fatigue characteristics. Though the ultrasonic sensor selected is not waterproof, meaning that it can rust when operating under humid conditions, the module exposed to weathering can be replaced easily and inexpensively.

As a low-cost method for measuring the flow rate, an Arduino-based hardware was built and evolved from many years of testing and prototyping (Pereira et al. 2021). The ultrasonic sensor used here is the US-025 ultrasonic sensor operated by the ESP12e8266 control module for data logging and communication, with a user software interface that enables wireless data collection.

Sensor working principle

The US-025 ultrasonic sensor is a recently developed module, and there is still scarce information available regarding its working details. But its principles are the same as the HC-SR04 ultrasonic sensor, which is a widely used instrument for a variety of applications. Thus, the working principle of the US-025 is described based on the HC-SR04.

The aforementioned ultrasonic sensors infer the distance by measuring the time (t) between releasing a sound pulse (trigger) and its return (echo) as indicated by Panda et al. (2016). This process is described in Figure 1, which depicts the ESP12e8266 module interacting with the sensor. By using the propagation speed of sound in the air (c), it is possible to find the distance (d(t,c)) between the sensor and the water level, as indicated in Equation (1). Dimensions in the SI system are indicated between square brackets. The US-025 has a crystal oscillator which transforms the resonant frequency of a piezoelectric quartz into a highly precise constant frequency electric signal. This mechanism creates a highly precise clock for inputting time span (t) in the equation. The trigger signal generated by the sensor is an eight-pulse sound wave with a duration of t′.
formula
(1)
Figure 1

Working principle of the US-025 sensor. Source: the authors, based on Panda et al. (2016).

Figure 1

Working principle of the US-025 sensor. Source: the authors, based on Panda et al. (2016).

Close modal
Special attention must be given to the sound speed, highly dependent of the air temperature, air humidity and pressure, that makes the temperature control crucial when long monitoring periods are used. If the humidity and pressure effects can be neglected, the sound speed varies according to Equation (2), where indicates the dry air local temperature.
formula
(2)
From the readily available online datasheets for the HC-SR04 sensor, the sensor is indicated to work between an offset of 2– 400 cm and has an effectual angle α of 15° (see Figure 4). That means it is, respectively, the distance an object has to be in order to be recognised and the maximum angle the object can be placed measuring from the centre of the sensor. For the module that will be here described, the sensor could read a depth of 0–20 cm, but this varies with the weir tank design. It is capable of measuring up to millimetre precision, but this aspect will be further discussed in this article as well as sound speed variations.
Figure 4

3D rendering of the ultrasonic sensor housing and triangular-notch thin-plate weir tank. Source: illustrated by Henrique Capanema, adapted by the authors.

Figure 4

3D rendering of the ultrasonic sensor housing and triangular-notch thin-plate weir tank. Source: illustrated by Henrique Capanema, adapted by the authors.

Close modal

Microcontroller-based data logging

The ESP12e8266 is a small wireless module, measuring 24 mm by 16 mm, and has a built-in WiFi antenna. It operates at 3.3 V, which is the main reason for using a US-025 instead of a HC-SR04 in the hardware setup, given that the HC-SR04 operates at 5 V. The necessary tension is reached by adding a 3.7 V 18650 battery and a rectifier diode, as indicated in Figure 2, which also gives the setup the ability to work in places without easy access to power sources. A push button is added for the user to interact with the microcontroller, and the USB Serial Converter FTDI FT232RL module is needed once for uploading the code into the module.
Figure 2

Pictorial diagram of the circuit used. Source: the authors.

Figure 2

Pictorial diagram of the circuit used. Source: the authors.

Close modal
A simplified flowchart of the code used is given in Figure 3. The proposed setup can work using cellular data networks or fully using the Internet of Things (IoT) if a permanent WiFi network is in reach. For the first option, a network can be created with a smartphone only for collecting data stored offline inside the ESP12e8266 internal memory, and for the second option, the sensor can store the captured data in a server and data are fully remotely collected. For field applications, the setup is also easily adapted to operate for telemetry data transfer.
Figure 3

Code flowchart. Source: the authors, made with Miro.

Figure 3

Code flowchart. Source: the authors, made with Miro.

Close modal

The proposed setup

The sensor hardware is housed within a protective plastic box, which is attached to the weir tank by self-locking nylon zip ties for easy removal. Ideally the plastic box should be hermetic to prevent water from getting in. The sensor should be facing the water and oriented parallel to the liquid surface. The sensor housing and the weir tank assembled can be seen in Figure 4. The figure also shows the position of both the triangular weir and a stone barrier which should separate the inflow and the outflow. The contribution of this barrier is to attenuate surface waves if water inflow generates turbulence as the sensor precision is high and small surface disturbances will be captured by the setup. The stone barrier height (H) should be higher than the maximum water level (L(h)) height, that is , where P is the height of the notch vertex (dashed arrow in Figure 4) with respect to the tank's floor and is the maximum height of water the weir is designed to accommodate.

The proposed ultrasonic sensor setup is adaptable to any flow rate range, given that the weir tank is designed accordingly. Shen (1981) brings detailed aspects for triangular-notch thin-plate weirs, an indicated weir design for small flow rate measurements (q < 30 l/s). Ideally, the plate should be made of a metallic material such as steel or aluminium or with acrylic, and the notch's crest surface should be fabricated with an angle of 45° (β) and an of around 1 mm (Figure 5).
Figure 5

Triangular-notch thin-plate weir flow rate and section detail. Source: adapted by the authors from Shen (1981) and El Hattab et al. (2019).

Figure 5

Triangular-notch thin-plate weir flow rate and section detail. Source: adapted by the authors from Shen (1981) and El Hattab et al. (2019).

Close modal
From Shen (1981), the flow rate function (q(h, θ) for triangular-notch thin-plate weir is given in Equation (3), where the integration process is here further derived (El Hattab et al. 2019). The variable h is the water level measured from the weir notch vertex and the weir notch angle. Following Figure 5, assuming a thin horizontal strip of elementar height dz and length x, considering it working as a small orifice, the elemental flow rate dq will be:
formula
(3)
where is the runoff coefficient usually approximated to a constant , as El Hattab et al. (2019) further discusses; is the theoretical velocity of the fluid which is trivially given by the Torricelli Equation as , with being the Earth's gravity acceleration; and da is the elemental area highlighted in blue in Figure 6, . Integrating for z from 0 to h:
formula
(4)
Figure 6

Vegetated roof building prototype and CT roof building prototype, highlighting the triangular-notch weir tank with the ultrasonic sensor and the Vantage Vue weather station. Source: the authors.

Figure 6

Vegetated roof building prototype and CT roof building prototype, highlighting the triangular-notch weir tank with the ultrasonic sensor and the Vantage Vue weather station. Source: the authors.

Close modal
Hence, using geometry and integrating for z:
formula
(5)

The constants A, B, P, H, and θ, illustrated in Figure 4, should be designed according to the maximum flow rate capacity of the setup, which should be estimated beforehand by the experimentalist. The notch angle θ can be found by forcing a maximum estimated design flow rate and a maximum chosen design weir height in Equation (5).

In practice, the ultrasonic sensor will read the distance d(h), which is not trivial to convert to water level (L(h)) if a full IoT system is not implemented: if the experimentalist needs to remove the sensor to read its data by interacting with the internal push button, the position of the sensor may slightly change every time it is removed. To address this problem, it is indicated plotting the water-level dynamics and graphically finding the weir notch vertex position (dashed arrow in Figure 4). For that, as indicated in Equations (6) and (7), the distance from the sensor to the vertex () can be found when inflow ends after the outflow alighted through the weir, and thus the water level stabilises at .
formula
(6)
formula
(7)
Hence, in order to finally find the full setup flow rate see Equation (8), where i is a timestep with T seconds:
formula
(8)

Measurement uncertainty

The flow rate measurement uncertainty of the proposed setup can be associated with the instruments, to environmental conditions, to the experimentalist and to the method. Regarding the instruments, errors are associated with the ultrasonic sensor, which has a nominal uncertainty of 3mm. However, as the sensor can measure distance multiple times within a timestep, the software created uses this artifice and collects dozens of measurements and average them in order to decrease the error to 0.2mm. To find the error of the flow rate (, given an error in the water level measured from the weir notch vertex (δQrunoff), see Equation (9), which is the result of partially deriving Equation (5) for h:
formula
(9)

Equation (9) demonstrates that the proportion between the flow rate error and the flow rate measurement will be always 2.5 times the proportion between the water-level error and the water-level measurement, for the zone in which water is running off the v-notch. For the lower zone (), uncertainty can be found by simple error propagation of sums and multiplications. For other uncertainties such as from the weir tank construction, it is indicated the use of a calibration constant, which can be found by inputting a series of known flow rates in the tank and measuring . The constant will be an integer which better approximates the measured flow rate to the known flow rate. Fluctuations in the flow rate can be caused by the accumulation of debris in the tank, which can partially block the v-notch. For higher flow rates, a slight volumetric expansion of the tank can be observed, and thus, a solid material is advised.

Regarding the environmental conditions, fluctuations in water-level measurements can happen due to rainfall falling directly into the tank due to changes in the temperature and changes in the atmospheric pressure. With respect to uncertainties associated with the experimentalist, errors can happen due to mispositioning the sensor in relation to the water level and an initial miscalibration of the sensor. Regarding the method as a whole, errors can also happen by chance. Besides environmental variable effects, there are also random interferences on the ultrasound signal that need to be treated during data acquisition. Considering that each sample is taken along 10 or 20 μs, the sampling process can be repeated a certain number of times until the result reaches a desired stability, for example, limited by a threshold of the standard deviation (SD). The reading routine can be adapted to perform the Welford algorithm for the running SD (Knuth 1998).

Sensor costs

The triangular-notch weir tank setup can vary a lot in terms of dimensioning, given the range of flow rates it is designed to measure. The proposed module was built using aluminium sheets, costing a total of USD 20.00. Regarding the sensor, it can remain the same for any given weir tank setup, even if using other geometries of weirs such as rectangular ones. The components currently cost roughly as follows: ultrasonic sensor US-025 costs about USD 0.93; the module ESP12e8266 costs about USD 1.10; the module USB/SERIAL converter FTDI FT232RL costs about USD 1.14; the 3.7 V 18650 battery costs about USD 5.00 and other general electronic components top up about USD 5.00 more. Therefore, the total sensor cost is about USD 13.17, not taking into account the sensor housing.

A high-end industry standard sensor can be much more expensive. Flow meters available in the market can offer the same precision cost from USD 190.00. Arduino-based flow meters such as the YF-S201 can also be cheap but will not give the same precision. The proposed setup is versatile and adaptable to different flow types and scales. The US-025 can perform well under the described experiment conditions and operates successfully for at least 6 months without replacement.

Pilot experiment

To assess the practicality of the proposed ultrasonic flow rate sensor setup, a pilot experiment was conducted. As seen in Figure 6, two masonry prototypes were built at the Civil Construction Engineering Department of the Polytechnic School of the University of São Paulo – Brazil. One is a ceramic tiled (CT) roofing system and the other is an extensive vegetated roof (VR). Along with the ultrasonic sensors and weir tanks, a weather station was installed on top of the CT roof in order to capture rainfall depth and duration. The setup collected data from natural rainfall events and four representative events of the summer season in Brazil were analysed, developed from December/2021 to February/2022. Two weather stations were used, both with a tipping bucket rain gauge: a Vantage Vue made by Davis Instruments and a locally produced rain gauge from the Hydraulic Engineering laboratory. The stations precision rate is 0.1mm, and their resolutions are 0.1 and 0.5mm, respectively. The Vantage Vue was positioned right on top of the CT prototype and the other rain gauge was 30m away from the experiment.

For a given characteristic natural rainfall event, the experiment used the triangular-notch weir tank to measure both prototypes’ runoff. It is an experiment that can characterise the performance of roofs towards rainwater management, which is associated with its retention and detention capacities. Retention stands for how much a vegetated roof can store from the input rainfall by saturating its substrate pores; detention illustrates how much it can delay and attenuate the peak runoff (Berndtsson 2010). These indicators can demonstrate the ability of NbS to work as Sustainable Drainage Systems.

To evaluate if the combined water-level ultrasonic sensor and weir tank can generate robust results, the CT roof results were used. As the CT roof will not retain almost any rainwater, the runoff from the CT prototype measured by the proposed setup should be similar to the rainfall intensity measured by the weather station.

Results of the comparison between the CT roof runoff and the weather station rain gauge readings are presented, as well as results regarding the hydrological performance of the vegetated roof. A discussion regarding the sensor reliability and its relevant limitations and the applications in other NbS for water quantity investigation is also brought in this session.

Vegetated roof hydrological performance

A rainfall-runoff series was captured during four short summer natural rainfall events. Table 1 brings a summary of the events analysed, which are organised in higher peak rainfalls (top) to lower peak rainfalls (bottom). Table 2 brings a summary of the retention and detention results found in the experiments.

Table 1

Summary of the events analysed

Rain gaugeSample sizePeak rainfallRainfall durationTotal rainfallRainfall intensity
(mm/min)(min)(mm)(mm/min)
Event 1 298 0.8 ± 0.1 90.5 ± 0.5 37.60 ± 0.84 0.418 ± 0.010 
Event 2 321 0.8 ± 0.1 120.0 ± 0.5 17.40 ± 0.71 0.145 ± 0.006 
Event 3 300 0.3 ± 0.1 80.5 ± 0.5 21.40 ± 0.39 0.268 ± 0.005 
Event 4 431 0.2 ± 0.1 200.5 ± 0.5 20.80 ± 0.55 0.104 ± 0.003 
Rain gaugeSample sizePeak rainfallRainfall durationTotal rainfallRainfall intensity
(mm/min)(min)(mm)(mm/min)
Event 1 298 0.8 ± 0.1 90.5 ± 0.5 37.60 ± 0.84 0.418 ± 0.010 
Event 2 321 0.8 ± 0.1 120.0 ± 0.5 17.40 ± 0.71 0.145 ± 0.006 
Event 3 300 0.3 ± 0.1 80.5 ± 0.5 21.40 ± 0.39 0.268 ± 0.005 
Event 4 431 0.2 ± 0.1 200.5 ± 0.5 20.80 ± 0.55 0.104 ± 0.003 

Rain gauge A is the Vantage Vue weather station (0m away) and rain gauge B the locally produced rain gauge (30 m away).

Table 2

Results found for retention and detention of the VR prototype in comparison to the CT roof prototype

Rainfall volumeRunoff volumeRetention
Peak attenuation
Peak delay
(L)(L)(L)(%)(L/s)(%)(min)
Event 1 440.01 ± 8.06 289.5352 ± 0.0060 150.47 ± 8.06 34.2 ± 1.9 0.0705 ± 0.0405 43.5 ± 0.3 30.5 ± 0.5 
Event 2 196.60 ± 6.60 147.6277 ± 0.0030 48.97 ± 6.60 24.9 ± 3.5 0.1554 ± 0.0531 66.6 ± 0.3 14.0 ± 0.5 
Event 3 130.22 ± 8.33 66.3227 ± 0.0015 63.90 ± 8.33 49.1 ± 7.1 0.0996 ± 0.0311 42.7 ± 0.2 15.0 ± 0.5 
Event 4 148.48 ± 11.78 91.6693 ± 0.0015 56.81 ± 11.78 38.3 ± 8.5 0.0460 ± 0.0177 57.0 ± 0.2 37.0 ± 0.5 
Rainfall volumeRunoff volumeRetention
Peak attenuation
Peak delay
(L)(L)(L)(%)(L/s)(%)(min)
Event 1 440.01 ± 8.06 289.5352 ± 0.0060 150.47 ± 8.06 34.2 ± 1.9 0.0705 ± 0.0405 43.5 ± 0.3 30.5 ± 0.5 
Event 2 196.60 ± 6.60 147.6277 ± 0.0030 48.97 ± 6.60 24.9 ± 3.5 0.1554 ± 0.0531 66.6 ± 0.3 14.0 ± 0.5 
Event 3 130.22 ± 8.33 66.3227 ± 0.0015 63.90 ± 8.33 49.1 ± 7.1 0.0996 ± 0.0311 42.7 ± 0.2 15.0 ± 0.5 
Event 4 148.48 ± 11.78 91.6693 ± 0.0015 56.81 ± 11.78 38.3 ± 8.5 0.0460 ± 0.0177 57.0 ± 0.2 37.0 ± 0.5 

Figure 7 illustrates using results from Event 1 how rainfall flow rate through time is directly reflected in the CT roof measured runoff. For the vegetated roof, another phenomenon happened: as a sponge, it retained water and also detained the flow rate by diminishing and delaying the peak runoff, which demonstrates its rainwater management ability.
Figure 7

Rainfall-runoff for the VR and CT roof during Event 1. Source: the authors.

Figure 7

Rainfall-runoff for the VR and CT roof during Event 1. Source: the authors.

Close modal

Retention rates of the VR were always higher than 20% in all events and peak runoff was substantially attenuated (by at least 40%) and delayed (by at least 14 min). These results represent an encouraging possibility for vegetated roofs to manage small return period events within the megalopolis of São Paulo, Brazil, which stills lack data regarding the hydrological performance of vegetated roofs.

Proposed setup performance

The runoff measured for the CT prototype was compared to the rainfall measured by the weather stations, and results are shown in Figure 8. Each event had a sample size as indicated in Table 1, which is the amount of valid compared pairs between known and observed flow rates. Student's t-test was made for each event to verify the hypothesis that there is no statistically significant difference between the rain gauge flow rates and the proposed setup flow rates. The total pairs compared are n =1,350, and the tests verified the hypothesis for all events.
Figure 8

Central tendency of the flow rate for each of the four events measured with the proposed setup compared with the same flow rate measured with a rain gauge under the pilot experiment conditions. The shaded area represents a 95% confidence interval. Source: the authors.

Figure 8

Central tendency of the flow rate for each of the four events measured with the proposed setup compared with the same flow rate measured with a rain gauge under the pilot experiment conditions. The shaded area represents a 95% confidence interval. Source: the authors.

Close modal

By comparing Table 1 and Figure 8, it is interesting to highlight that the events with a smaller peak rainfall had the worse trend when comparing both measurement systems and events with a higher peak rainfall had the best adherences. Events 3 and 4 were measured using a rain gauge with a lower resolution, which may affect the R2 values, but should not affect the regression line equation. This indicates that for lower runoff rates, the sensor may generate higher uncertainties, and for higher runoff rates, it should operate with an accuracy close to a rain gauge. This can be solved by reducing the angle of the v-notch and also changing the geometry of the tank. Reducing the angle θ will increase the tank precision for lower flow rates and reducing its B dimension will increase the resultant water level for an equal flow rate, making it easier to measure. Rapid changes in water level have not been observed as a problem, given that the sensor can read every 60ms.

Sound speed correction

As mentioned above, environmental conditions can affect the sensor performance. Panda et al. (2016) propose a simplified equation to consider air temperature () and relative humidity (), as shown in Equation (10), for a corrected speed of sound :
formula
(10)

The relevance of this investigation is exemplified by summer rainfall events. In the subtropical climate of Brazil, they are normally associated with frontal rainfall when temperature increases minutes before the beginning of the rainfall event and so does relative humidity. The authors compared both results of flow rate: with the speed of sound corrections and without. The differences between both were irrelevant. This happened mainly because the flow rate was measured in roughly uniform temperature and relative humidity in all four events. Whereas for experiments where temperature and relative humidity are not uniform, the correction for sound speed should be taken into account. In this sense, it is possible to conclude that temperature and humidity may not explain the fluctuations found in the sensor readings, which may be thus more closely related to instrument errors and chance.

Use for other NbS

Other experiments using the same setup can be performed if dimensioning is undertaken correctly. Figure 9 shows a variation of the proposed system being operated by the authors for water quantity investigation in a bioretention cell. This setup is retrieving data for years, which reinforces the durability of this setup in the field if housed within a robust protection and given that the ultrasonic sensor module is replaced periodically. Framing is made of reinforced concrete, which addresses the problem of volumetric expansion if the tanks are full, and the inlet weirs are rectangular, which is adequate for greater flow rates. Differently from the vegetated roofs in which their contribution area is the roof's footprint, bioretentions can collect the surface runoff from large contribution areas.
Figure 9

Bioretention using the same method for water quantity characterisation: the inlet with a rectangular-notch acrylic thin-plate weir surrounded by a concrete framing and the outlet with a triangular-notch steel thin-plate weir in a concrete tank. Source: the authors.

Figure 9

Bioretention using the same method for water quantity characterisation: the inlet with a rectangular-notch acrylic thin-plate weir surrounded by a concrete framing and the outlet with a triangular-notch steel thin-plate weir in a concrete tank. Source: the authors.

Close modal

In this work, a setup for measuring the water flow rate in NbS was presented along with the mathematical characterisation and the demonstration of software and hardware design. The results show the system as a cost-effective, reproducible and adaptable alternative to high-end industry standard flow meters. It is capable of measuring a range of flow rates and useful for both laboratory and field applications, for example, quantifying the water performance of public structures in situ. Statistical analysis demonstrated that it has a good precision when compared to a rain gauge and its operation can be supported by the IoT for remote data logging.

The setup using ultrasonic sensors can support practitioners and researchers for quantifying the real benefits of NbS in terms of not only water quantity, but also many related RES. In this sense, the present work describes a tool that can help better understand the effectiveness and benefits of Blue-Green Systems, helping its mainstreaming as public policies based on robust scientific research.

As further work, long-term performance analysis should be undertaken for the sensors and sensor housing, especially for operation under hostile weather conditions. To properly verify the sensor fluctuations and accuracy, a side-by-side test with a high-end pressure sensor or other flow rate sensor is mandatory, which will be the author's next steps. Furthermore, working towards a smaller hardware for the sensor and its housing can also bring benefits for making its installation easier and less evident, especially for use in public places.

The authors acknowledge the support provided by the Coordination of Superior Level Staff Improvement (CAPES) for the financial support of M. Pereira; the Foundation Hydraulics Technological Centre (FCTH) for the material support; the University of São Paulo and the Santander Bank via USP Municipalities Notice 01/2021 ‘Desafio USP: cidades sustentáveis’ for the financial support of the project and of L. Gobatti; and São Paulo State Research Support Foundation (FAPESP) for previous material support still used during this project. The authors thank the illustrator Henrique Capanema for rendering the images.

All relevant data are available from an online repository or repositories (https://data.mendeley.com/datasets/kdvw2vhxbf/3).

The authors declare there is no conflict.

Baker
R. C.
2005
Flow Measurement Handbook: Industrial Designs, Operating Principles, Performance, and Applications
.
Cambridge University Press
.
https://doi.org/10.1017/CBO9780511471100 (accessed 10 Feb 2022)
.
Berndtsson
J. C.
2010
Green roof performance towards management of runoff water quantity and quality: a review
.
Ecological Engineering
36
,
351
360
.
https://doi.org/10.1016/j.ecoleng.2009.12.014
.
Bliss
D. J.
,
Neufeld
R. D.
&
Ries
R. J.
2009
Storm water runoff mitigation using a green roof
.
Environmental Engineering Science
26
(
2
),
407
418
.
https://doi.org/10.1089/ees.2007.0186
.
Broadbent
A. M.
,
Coutts
A. M.
,
Nice
K. A.
,
Demuzere
M.
,
Krayenhoff
E. S.
,
Tapper
N. J.
&
Wouters
H.
2019
The air-temperature response to green/blue-infrastructure evaluation tool (TARGET v1.0): an efficient and user-friendly model of city cooling
.
Geoscientific Model Development
12
,
785
803
.
https://doi.org/10.5194/gmd-12-785-2019
.
Carson
T. B.
,
Marasco
D. E.
,
Culligan
P. J.
&
McGillis
W. R.
2013
Hydrological performance of extensive green roofs in New York City: observations and multi-year modeling of three full-scale systems
.
Environmental Research Letters
8
(
2
).
https://doi.org/10.1088/1748-9326/8/2/024036
.
Cohen-Shacham
E.
,
Janzen
C.
,
Maginnis
S.
&
Walters
G.
2016
Nature-based Solutions to Address Global Societal Challenges
.
IUCN
,
Gland
,
Switzerland
, p.
97
.
http://dx.doi.org/10.2305/IUCN.CH.2016.13.en
.
Dijkstra
J.
&
Uittenbogaard
R.
2010
Modeling the interaction between flow and highly flexible aquatic vegetation
.
Water Resources Research
46
(
12
),
12457
12471
.
https://doi.org/10.1016/j.ifacol.2020.06.019
.
Dinardo
G.
,
Fabbiano
L.
&
Vacca
G.
2013
Fluid flow rate estimation using acceleration sensors
. In
2013 Seventh International Conference on Sensing Technology (ICST)
.
IEEE
, pp.
221
225
.
Available from: https://doi.org/10.1109/ICSensT.2013.6727646 (accessed 10 Feb 2022)
.
Eggermont
H.
,
Balian
E.
,
Azevedo
J. M. N.
,
Beumer
V.
,
Brodin
T.
,
Claudet
J.
,
Fady
B.
,
Grube
M.
,
Keune
H.
,
Lamarque
P.
,
Reuter
K.
,
Smith
M.
,
Ham
C.
,
Weisser
W. W.
&
Roux
X. L.
2015
Nature-based Solutions: New Influence for Environmental Management and Research in Europe
.
El Hattab
M. H.
,
Mijic
A.
&
Vernon
D.
2019
Optimised triangular weir design for assessing the full-scale performance of green infrastructure
.
Water
11
(
4
),
773
.
https://doi.org/10.3390/w11040773
.
Farrell
C.
,
Szota
C.
,
Williams
N. S. G.
&
Arndt
S. K.
2013
High water users can be drought tolerant: using physiological traits for green roof plant selection
.
Plant Soil
372
,
177
193
.
https://doi.org/10.1007/s11104-013-1725-x
.
Hill
J.
,
Perotto
M.
&
Yoon
C.
2015
Quantifying the hydrological performance of extensive vegetative roofs
. In:
Proceedings of the 30th International Convention and Trade Show
, pp.
43
50
.
Available from: https://citeseerx.ist.psu.edu/viewdoc/download?doi = 10.1.1.724.7185&rep = rep1&type = pdf
.
Knuth
D. E.
1998
The Art of Computer Programming, Volume 2: Seminumerical Algorithms
, 3rd edn.
Addison-Wesley
,
Boston
, p.
232
.
Krasowski
D. T.
,
Wadzuk
B.
&
Jacko
B.
2021
Feasibility of using an energy balance to measure evapotranspiration in green stormwater infrastructure
.
PLoS ONE
16
(
2
),
e0246286
.
https://doi.org/10.1371/journal.pone.0246286
.
Liberalesso
T.
,
Tassi
R.
,
Ceconi
D. E.
,
Allasia
D. G.
&
Arboit
N. K. S.
2021
Effect of rice husk addition on the physicochemical and hydrological properties on green roof substrates under subtropical climate conditions
.
Journal of Cleaner Production
315
.
https://doi.org/10.1016/j.jclepro.2021.128133
.
Loiola
C.
,
Mary
W.
&
Silva
L. P.
2019
Hydrological performance of modular-tray green roof systems for increasing the resilience of mega-cities to climate change
.
Journal of Hydrology
573
,
1057
1066
.
https://doi.org/10.1016/j.jhydrol.2018.01.004
.
Loizou
K.
&
Koutroulis
E.
2016
Water level sensing: state of the art review and performance evaluation of a low-cost measurement system
.
Measurement
89
,
204
214
.
https://doi.org/10.1016/j.measurement.2016.04.019
.
Mengist
W.
,
Soromessa
T.
&
Feyisa
G. L.
2020
A global view of regulatory ecosystem services: existed knowledge, trends, and research gaps
.
Ecological Processes
9
(
40
).
https://doi.org/10.1186/s13717-020-00241-w
.
Millennium Ecosystem Assessment (MA)
2005
Ecosystems and Human Well-Being: Synthesis
.
Island Press
,
Washington, DC
. .
Naveen
H.
,
Narasimhan
S.
,
George
B.
&
Tangirala
A. K.
2020
Design and development of a low-cost cantilever-based flow sensor
.
IFAC-PapersOnLine
53
(
1
),
111
116
.
https://doi.org/10.1016/j.ifacol.2020.06.019
.
Panda
K. G.
,
Agrawal
D.
,
Nshimiyimana
A.
&
Hossain
A.
2016
Effects of environment on accuracy of ultrasonic sensor operates in millimetre range
.
Perspectives in Science
8
,
574
576
.
https://doi.org/10.1016/j.pisc.2016.06.024
.
Pereira
M.
2009
Flow meters: part 1
.
IEEE Instrumentation & Measurement Magazine
12
(
1
),
18
26
.
https://doi.org/10.1109/MIM.2009.4762948
.
Pereira
M. C. S.
,
Duarte
B. P. S.
,
Nogueira
F. F.
,
Silva
F. P.
,
Gobatti
L.
,
Leite
B. C. C.
&
Martins
J. R. S.
2021
Utilização de equipamentos de monitoramento de baixo custo para aplicação em corpos hídricos (Low-Cost Monitoring Equipment for Application in Water Bodies)
.
Anais do XXIV SBRH – Simpósio Brasileiro de Recursos Hídricos
,
Belo Horizonte, MG
.
ISSN 2318-0358. Available from: https://anais.abrhidro.org.br/job.php?Job=13686 (accessed 14 February 2022)
.
Piro
P.
,
Carbone
M.
,
Morimanno
F.
&
Palermo
S. A.
2019
Simple flowmeter device for LID systems: from laboratory procedure to full-scale implementation
.
Flow Measurement and Instrumentation
65
,
240
249
.
https://doi.org/10.1016/j.flowmeasinst.2019.01.008
.
Sahani
J.
,
Kumar
P.
,
Debele
S.
,
Spyrou
C.
,
Loupis
M.
,
Aragão
L.
,
Porcù
F.
,
Shah
M. A. R.
&
Di Sabatino
S.
2019
Hydro-meteorological risk assessment methods and management by nature-based solutions
.
Science of The Total Environment
696
,
133936
.
https://doi.org/10.1016/j.scitotenv.2019.133936
.
Shen
J.
1981
Discharge characteristics of triangular-notch thin-plate weirs: studies of flow of water over weirs and dams
. In:
Geological Survey Water-Supply Paper 1617-B
.
United States Government Printing Office
,
Washington
.
Available from: https://pubs.usgs.gov/wsp/1617b/report.pdf (accessed 15 February 2022)
.
Silva
M.
,
Najjar
M. K.
,
Hammad
A. W. A.
,
Haddad
A.
&
Vazquez
E.
2019
Assessing the retention capacity of an experimental green roof prototype
.
Water
12
(
1
),
90
.
https://doi.org/10.3390/w12010090
.
Stovin
V.
,
Vesuviano
G.
&
Kasmin
H.
2012
The hydrological performance of a green roof test bed under UK climatic conditions
.
Journal of Hydrology
414–415
,
148
161
.
https://doi.org/10.1016/j.jhydrol.2011.10.022
.
Walter
I. A.
,
Allen
R. G.
,
Elliott
R.
,
Jensen
M. E.
,
Itenfisu
D.
,
Mecham
B.
,
Howell
T. A.
,
Snyder
R.
,
Brown
P.
,
Echings
S.
,
Spofford
T.
,
Hattendorf
M.
,
Cuenca
R. H.
,
Wright
J. L.
&
Martin
D.
2004
ASCE's Standardized Reference Evapotranspiration Equation
.
Watershed Management and Operations Management 2000
.
https://doi.org/10.1061/40499(2000)126 (accessed 10 Feb 2022)
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).