1 Introduction

As water resources become increasingly scarce, the concept of water reuse is gaining importance. Recently, attention has been paid to the use of rainwater as an alternative water resource. The most serious concern about collected rainwater is the presence of pathogenic microorganisms, in particular bacteria in the fecal droppings of animals. The collected rainwater can pose a risk to human health if consumed untreated. One solution is ultrafiltration and UV disinfection. Ultrafiltration can both support and improve the process of water disinfection due to the fact that the membrane is a barrier to viruses, bacteria, and protozoa (Bodzek et al., 2019). UV-C lamps are used as germicidal lamps; thus, they are one of the most effective methods of disinfection. The wavelength emitted by these lamps irreversibly inactivates bacteria, viruses, mold, fungi, and other microorganisms. They are used wherever it is important to thoroughly disinfect surfaces, air, or water (Li et al., 2019). Rainwater pretreated by a suitable method has many advantages: domestic animals prefer water without calcium and chlorine; reduced use of laundry detergent (water hardness increases the consumption of detergents); and reduces costs for drinking water, wastewater, and garden irrigation. The pretreated rainwater can be used for non-potable purposes such as flushing the toilet, garden irrigation, and pavement cleaning, as well as for direct contact activities such as bathing and washing clothes (Pavolová et al., 2019). According to the new Water Law of January 1, 2018, rainwater in Poland is no longer classified as wastewater; currently, it is defined as water resulting from precipitation (The Act of 18 July 2001 - “Water Law” (Acts. Laws of 2005No. 130,item. 1087) 2001).

The quality of rainwater collected from a roof is influenced by many factors. The composition of rainwater can be contaminated with suspended solids, heavy metals, hydrocarbons, pesticides, and many other substances. Tests of rainwater show high concentrations of physicochemical and bacteriological pollutants. Rainwater collected from a roof may contain contaminants from bird or animal feces, which may pose a risk to water users. Different roofing materials can affect the survival of these bacteria on the roof (Evans et al., 2006). Rainwater is contaminated even by contact with air itself. The results of studies by Evans et al. (Evans et al., 2006) indicated that airborne microorganisms had a significant share in the bacterial load of rainwater from the roof, that the total pollution load was influenced by wind speed, and that the concentration of pollutants changed with the direction of the wind. Other factors influencing the quality of rainwater include, among others, the intensity and duration of precipitation and the type and condition of the material from which the roof is made. The specific location of the roof is very important (Zhang et al., 2014). Zhang et al. (Zhang et al., 2014) found that the quality of the collected rainwater depends on both the type of roof and the environmental conditions. After comparing rainwater collected from four roofs, it was found that a ceramic tile roof is the most suitable for rainwater harvesting applications due to the lowest average concentration of measured water quality parameters. Mendez et al. (Mendez et al., 2011) believe that metal roofs are widely recommended for rainwater collection applications, and studies have shown that rainwater collected from metal roofs tends to have a lower concentration of indicator bacteria in the feces compared to other roofing materials. However, concrete roof tiles and cool roofs produced rainwater of a quality similar to that of metal roofs, indicating that these roofing materials are also suitable for rainwater collection applications.

As part of this study, laboratory-scale experiments were performed to evaluate the effectiveness and efficiency of the ultrafiltration process to purify rainwater. Generally, due to the risk of contamination by microorganisms and organic compounds, rainwater requires some kind of treatment prior to its use. The level of treatment employed depends mainly on the intended use (whether potable or not) and the quality of rainwater collected from roofs or other surfaces (Ahmed et al., 2019; Alim et al., 2020; 2021; Liu et al., 2021). As membrane processes can be easily scaled up, they have been recognized as an attractive alternative to rainwater treatment. However, as it is well known, these processes are accompanied by the inherent phenomena contributing to the reduction of the membrane performance due to the increase of filtration system resistance, especially in the case of porous polymer membranes, this is, microfiltration and ultrafiltration membranes. They include the fouling phenomenon. Therefore, it is also necessary to check the efficiency of the ultrafiltration process. Additionally, the occurring microbiological contamination of rainwater requires the association of membrane processes with another process, in this case UV radiation.

2 Materials and Methods

2.1 Rainwater

Rainwater was collected from various roofing materials in Poland in Silesia, including steel roof tiles (RW1), bituminous shingles (RW2), and tar paper (RW3). The metal roofing was made of sheets of galvanized steel. Rainwater from the tar roof came from a building located in the vicinity of car garages. Other rainwater came from settlements located near the city center. Bituminous shingle is a modern version of roofing felt. It usually consists of five layers with a glass fiber veil placed in the center. Sometimes these shingles also include mineral fillers and modifiers. Subsequently, asphalt (bitumen) is applied on both sides. For protection against the sun, the outer layer consists of a coarse sprinkle. Tar paper consists of many layers, i.e., anhydrous foil, asphalt, a matrix, e.g., of polyester non-woven fabric or glass fabric, and mineral sprinkle.

Rainwater was collected in April and May. The atmospheric dust concentration during this period was 30 µg/m3; total precipitation was 46 mm. The physicochemical analysis of rainwater is summarized in Table 1.

Table 1 The physicochemical analysis of rainwater

2.2 Quality Analysis and Microbiological Assessment

Treatment efficiency was evaluated by monitoring typical quality parameters (color, turbidity, COD, TOC, conductivity, pH). Color and turbidity measurements were performed with a UV–Vis Spectroquant® Pharo 300 (Merck, Kenilworth, NJ, USA). COD, nitrogen, phosphate, and ammonium concentrations were determined spectrophotometrically with Merck test kits. TOC was measured using a TOC-L series analyzer (Shimadzu, Kyoto, Kyoto Prefecture, Japan). pH and conductivity were monitored by a multifunctional analyzer CX-461 (Elmetron, Zabrze, Poland). Microbiological analysis including coliform bacteria, total number of microorganisms at 22 ± 2 °C after 72 h, Escherichia coli, and Enterococci was conducted by an external accredited lab according to ISO methods.

2.3 Apparatus

Ultrafiltration was carried out in a laboratory-scale cross-flow configuration equipped with a plate-and-frame membrane module SEPA CF-NP (GE Osmonics, Minnetonka, USA) as seen in Fig. 1. Before each experiment, the clean water flux was determined using ultrapure water. A commercial, flat ultrafiltration membrane with the PW symbol was used, made of polyethersulfone with a molar mass limit of 10 kDa. Membrane thickness was 0.12 mm and contact angle was 60°. The contact angle is a measure of hydrophilic/hydrophobic properties. It was measured with a goniometer. The process was operated at a constant pressure of 5 bar and a constant temperature of 22 ± 1 °C and constant velocity of 1 m/s. The volume of the tank is 20 L. In order to determine the efficiency of the ultrafiltration process, rainwater was collected 300 mL each and a physicochemical analysis was carried out. The process was carried out with a water recovery of 75%, due to the design of the reservoir (Kamińska & Marszałek, 2020).

Fig. 1
figure 1

Schematic diagram of cross-flow filtration set-up

2.4 Membrane Fouling Characterization

The ultrafiltration process was carried out for 5 h for each type of rainwater. Each filtration run consisted of five cycles including 60 min of filtration followed by forward flushing with ultrapure water for 60 s. The volume of permeate was monitored in order to determine the permeability from the following equation:

$$Lp = V/(\Delta p\cdot A\cdot t)$$
(1)

where \({L}_{p}\) is permeability (L·m−2·h−1·bar−1), \(V\) is permeate volume (L), \(A\) is membrane surface area (m2), \(t\) is permeate time collection (h), and \(\Delta p\) is transmembrane pressure (bar).

Ultrafiltration tests made it possible to calculate the degree of rainwater recovery:

$$S = Vp/Vn * 100\%$$
(2)

where Vp—volume of filtered rainwater/permeate and Vn—volume of rainwater supplied/feed.

In this study, hydraulic resistances were used to characterize the fouling behavior of ultrafiltration membranes when treating rainwater. Hydraulic resistances of membranes and the fouling layer were calculated using the resistance in series model and Darcy’s law using the correlations as shown below (Müller et al., 2019).

$$ktot = km + kf$$
(3)
$$kf = kirr + krev$$
(4)
$$J = \Delta p/(\mu \cdot k)$$
(5)

where k is hydraulic resistance, where subscripts m, f, irr, rev, and tot are related to membrane, fouling, hydraulically irreversible fouling, hydraulically reversible fouling, and total fouling (m−1), respectively; J is the flux (m3·m−2·s−1); ∆p is the transmembrane pressure (kg·s−2·m−1); and µ is the dynamic viscosity of water at given temperature (kg·m−1·s−1). Membrane resistance (km) was measured for the clean membrane with ultrapure water prior to feed water filtration. Hydraulically irreversible fouling was determined from the flux after forward flushing, while hydraulically reversible fouling was determined from the difference in fouling and irreversible resistances (Müller et al., 2019).

2.5 Photolytic Oxidation

The irradiation of the rainwater was performed in a Heraeus laboratory bath reactor (volume of 700 mL). The reactor was optionally equipped with an immersed medium-pressure UV lamp of power 150 W. In order to ensure a constant temperature of the reaction mixture of 20 ± 1 °C, the UV lamp was placed in a glass cooling jacket. The cooling agent was tap water. The reactor was placed on a magnetic stirrer, and samples for analyses were taken after 10, 30, and 60 min of constant UV irradiation. The radiation emitted by the lamp was in the wavelength range from 313 to 578. Table 2 shows the energy of light, which reached the water matrix. The energy of light was calculated based on the multiplication of the Planck’s constant with the frequency of light (Kudlek, 2020).

Table 2 Energy values of individual wavelengths emitted by the UV lamp (Kudlek, 2020)

Each experiment was performed in three times, and the mean value was computed to ensure quality assurance. The data obtained in this study are presented as means.

3 Results and Discussion

3.1 Rainwater Treatment by Ultrafiltration

The ultrafiltration process can reduce turbidity and bacteria to very low levels, but problems such as low removal of dissolved organic matter and low permeate flow can occur. The efficacy depends on the concentrations of various pollutants in rainwater. Rainwater collected from three different roof coverings located in different places was treated by ultrafiltration. Initial research on ultrafiltration of rainwater was presented in Ecesociety.com, proceedings-of-ecopole-peco, 2019. Based on the preliminary results obtained, an ultrafiltration membrane with appropriate efficiency was selected. Then, tests were conducted in the cross-flow system. Table 3 presents the values of physicochemical parameters before and after the ultrafiltration process.

Table 3 Physicochemical parameters of rainwater

As expected, significant reductions in individual parameters were recorded. The turbidity in the ultrafiltration process was completely removed. COD of rainwater decreased in RW1 by 59%, in RW2 by 69%, and in RW3 by 74% in the last cycle of the process. In the case of TOC, the ultrafiltration process showed only 18% removal. However, it should be noted that TOC in raw water was 5.29 mg/L, much less than the highest allowable content of total organic carbon in wastewater discharged into water or soil (30 mg/L) (Regulation of the Minister of the Environment of 18 November, 2014 on the conditions to be met when discharging sewage into water or soil, & on substances particularly harmful to the aquatic environment 2014). Unacceptable changes occur when the difference between the highest and the lowest value of TOC per year is greater than 40% of the minimum value (Regulation of the Minister of the Environment of 18 November, 2014 on the conditions to be met when discharging sewage into water or soil, & on substances particularly harmful to the aquatic environment 2014). A significant decrease in color was also observed. Water RW1 was characterized by a low concentration of color compared to water from shingle and tar paper. Rainwater from the tar paper was the most polluted, mainly due to the location of the roof. The degree of color loss in the ultrafiltration process in the case of RW3 water was 47%. The results show that the treatment system reduced all tested pollutants below the limits of the Polish guidelines for water that can be reused in accordance with Regulation (EU) 2020/741 of the European Parliament and of the Council of May 25, 2020 (Regulation (EU) 2020/741 of the European Parliament and of the Council of 25 May 2020 on minimum requirements for water reuse 2020). For example, Kudlek (Kudlek, 2020) also reports that in the rainwater microfiltration system, the coefficients of turbidity removal, COD, NH3-N, DOC, coliforms, and E. coli were 92.2%, 65.5%, 42.6%, 76.9%, 96.9%, and 95.5%, respectively. Rainwater filtration could be carried out for 60 days without backwashing, and the permeate flux stabilized at ~ 22–45 L/m2·h at a constant water pressure of 20 kPa (Shiguang et al., 2021). Teixeira and Ghisi (Teixeira & Ghisi, 2019) assessed the performance of granular and membrane filters. In both cases, they achieved high levels of pollution reduction. In the case of the sand filter, their removal efficiencies were 13% for turbidity, 34% for ammoniacal nitrogen, and 10% for nitrate. For the membrane filter, the respective values were 11.0%, 32.1%, and 13.6%. In turn, Naddeo et al. (Naddeo et al., 2013) proposed a treatment system combining the filtration process with the activated carbon adsorption stage and the UV disinfection stage in one compact device, in which they also obtained high purification efficiency.

3.2 Membrane Permeability and Fouling Behavior in Ultrafiltration

The membrane permeability for deionized water was 38.4 L/m2·h·bar. The difference between the water permeate streams from RW1 and RW3 was 16%. It was found that the permeate flux was maintained at a stable level. In the case of RW1 water, the membrane permeability decreased to 35 L/m2·h·bar, and in the case of RW2 water, 33.4 L/m2·h·bar (Fig. 2). The permeability for RW3 was 28.4 L/m2·h·bar. Because the concentration of organic pollutants expressed as COD for RW3 water was 80% higher than for RW1 water, the pollutant concentration in the influent had little effect on the permeate flux. We note that the ultrafiltration process should be run over a longer period of time to fully define the performance of the membrane. Robinson and Bérubé (Robinson & Bérubé, 2020) report that ultrafiltration membrane performance decreases after 5 years of operation with backwash and chemical cleaning. Membranes treated with a high dose of hypochlorite age the most intensively. Keucken et al. (Keucken et al., 2016) found no changes in the performance of the ultrafiltration polyethersulfone membrane (PES) for a period of 1 year during wastewater treatment. They also concluded that it was too short a period of time for a complete evaluation. He et al. (He et al., 2014) observed a decrease in the permeability of a PVDF membrane purifying drinking water within 3 years.

Fig. 2
figure 2

Permeability loss as a function of time of UF for different rainwater

In order to investigate permeability further, the hydraulically reversible and hydraulically irreversible resistances were calculated. As seen in Fig. 3, total fouling (sum of reversible and irreversible resistances) was higher for RW3.

Fig. 3
figure 3

Irreversible and reversible fouling resistances of ultrafiltration. Each bar corresponds to filtration cycle 1–5 (kf irr and kf rev are irreversible and reversible resistances, respectively)

The advantage of irreversible fouling (65%) was observed in the case of rainwater RW3, which was characterized by the highest concentration of organic compounds. The PES membrane angle originally was 60°, whereas after the process it increased by 7°. This effect was probably caused by sorption of hydrophobic substances on the membrane surface, as explained in the research of Chu et al. (Chu et al., 2015) concerning the irreversible fouling of the membrane exceeding the critical irreversibility flux in the pilot water treatment.

The reversible fouling for RW1 and RW2 was slightly higher, 65% and 55%, respectively. Ding et al. (Ding et al., 2017) also showed a high share of reversible fouling (90%) and stable operation of the gravity driven membrane filtration system. Sandoval et al. (Sandoval et al., 2019) investigated ultrafiltration of rainwater from a parking lot. Despite the high degree of contamination of the rainwater, the permeate flux was kept at a stable level using the membrane backwash.

3.3 Microbiological Quality of Rainwater

After the rainwater ultrafiltration process, the water was disinfected with UV radiation for 30 min. This duration was the most effective in terms of reduction of the concentration of TOC, color, and turbidity. Rainwater RW1 was used for this process due to the high purification efficiency in the UF process and the higher volumetric flow of purified water and the smallest irreversible fouling. The disinfection efficiency of the pre-treated rainwater was assessed based on the microbiological analysis presented in Table 4.

Table 4 Microbiological analysis of rainwater before and after the UF and UV process

On the basis of the Regulation of the Minister of Health (Regulation of the Minister of the Environment of 18 November, 2014 on the conditions to be met when discharging sewage into water or soil, & on substances particularly harmful to the aquatic environment 2014), the quality of water for human consumption is regulated by E. coli and Enterococci; additional requirements include coliform bacteria and the total number of microorganisms. Based on the microbiological analyses performed, it was found that the UF membranes are capable of retaining bacteria and viruses. The ultrafiltration process ensured the complete retention of the coliform bacteria and E. coli. In contrast, it was observed that the number of microorganisms was not reduced. This may be due primarily to imperfections in the membranes and membrane modules and the secondary development of microorganisms in the drainage water from the membrane module. Commercial membranes have discontinuities in the epidermal layer through which microorganisms can penetrate, and the design of modules requiring the feed stream to be sealed from the permeate stream is not always appropriate. Moreover, the literature on the subject proves that the cells of microorganisms can penetrate the pores of the membrane with diameters much smaller than the dimensions of the cells themselves, thanks to pressure deformation with filtering out the intracellular fluid, while the tone of the cell membrane remains unchanged (Krzeminski et al., 2020). Photooxidation also did not result in total elimination of coliform bacteria. It was concluded that bacteria regrowth may take place under optimal environmental conditions (Rizzo, 2009). On the other hand, a complete reduction of microorganisms was demonstrated when the ultrafiltration process and UV radiation disinfection were combined.

4 Conclusions

  1. 1.

    It was found that the degree of contamination of the rainwater was dependent on the roof material.

  2. 2.

    As expected, a significant reduction in individual parameters was recorded. The turbidity in the ultrafiltration process was completely removed. COD of rainwater decreased in RW1 by 59%, in RW2 by 69%, and in RW3 by 74%. It was found that the concentration of pollutants in the inflow had little effect on the efficiency of the ultrafiltration process. The permeate flux was kept at a stable level using the membrane backwash.

  3. 3.

    The ultrafiltration process ensured the complete retention of the coliform bacteria and E. coli. Complete reduction of microorganisms was demonstrated when the ultrafiltration process and UV radiation disinfection were combined.

  4. 4.

    Rainwater collected from the roof and treated in the UF process is an excellent alternative for non-potable applications. These results show that for this purpose the rainwater can be treated in a single process with little maintenance.