1. Introduction
The legal framework for sanitation aims at the universalization of sanitary sewage, and 90% of the Brazilian population should have sewage collection and treatment by 31 December 2033 [
1]. In 2022, about 56% of Brazilian households were connected to the sewage network, and only 52.2% of sewage was being treated, which represents a volume of 5.0 billion m³ of treated sewage. However, sewage collection and treatment levels in the Northeast region of Brazil are only 31.4% and 34.3%, respectively, below the national levels [
2].
In the Brazilian semi-arid regions, water scarcity and inadequate sanitation aggravate the problems of mortality and morbidity of human beings. Under these conditions, diseases such as diarrhea, dysentery, cholera, hepatitis A and typhoid fever are common [
3]. Health threats caused by polluted waters generate widespread concern in the population. Specifically, the high concentration of heavy metals, organic compounds, and pathogens contained in wastewater are threats to human health [
4].
Inadequate wastewater treatment is a dangerous situation, not only because of the physicochemical contamination of water sources but also because of the risk of microbiological contamination and the transfer of antibiotic-resistant bacteria into the environment. Urgent modernization or construction of new wastewater treatment plants is needed to mitigate the increasing microbiological contamination of water from springs [
5].
Regardless of the types of contaminants present in the water, the aim is to improve the technologies traditionally used in water treatment processes in order to ensure safe water supply to the population and quality effluent for agricultural reuse [
6]. The septic tank is a technology most commonly used for wastewater pretreatment, and its basic function is to remove 60% to 80% of the non-soluble material [
7].
An important complementary wastewater treatment process is solar radiation disinfection (SODIS), which is a simple, inexpensive, and sustainable domestic treatment suitable for low-income countries or emergency situations [
8]. For efficient solar disinfection, characteristics such as type of effluent, reactor material, temperature and reactor size affect the treatment process.
When it comes to solar disinfection, according to Ayoub and Malaeb [
9], among the contaminants investigated in their study,
Escherichia coli (
E. coli) showed the lowest resistance to ultraviolet A (UVA) radiation, with wavelengths between 320 and 400 nm, while total coliforms were the most resistant. Another interesting result obtained in the study is that the reactor waterproofed with aluminum foil showed more favorable conditions for the inactivation of pathogenic bacteria. Coating the reactor with aluminum foil can also increase the temperature and enhance solar disinfection.
The photoinactivation processes of solar disinfection can follow direct and indirect mechanisms and are strongly affected by the different spectral ranges of ultraviolet (UV) radiation and specific microbiological characteristics of pathogens; protozoa and viruses are mainly photoinactivated by direct endogenous mechanisms caused by the action of ultraviolet B (UVB) radiation, with wavelengths between 280 and 320 nm, while bacteria are damaged by direct and indirect endogenous processes through the action of UVA and UVB [
9].
Aimed at bringing a differentiated contribution, the singular spectrum analysis (SSA) technique has been a method of time series analysis in full development. This non-parametric technique is used in a variety of fields, such as signal processing, finance, economics, image processing, meteorology, engineering, medicine, biology, and genetics [
10].
Singular spectrum analysis has become a forecasting and preprocessing technique used in time series analysis, being exploited in several monitoring processes, given its greater application and superior performance compared to conventional multivariate methods, such as Principal Component Analysis (PCA) [
11].
The capacity to extract relevant information from large datasets is, therefore, of utmost importance. In this context, SSA is a powerful analysis tool that has been gaining momentum [
12].
In the treatment of sanitary wastewater involving solar radiation and temperature, the variability of the population levels of microorganisms is noticeable over time. Studying precisely the factors responsible for this variability allows for the generation of information that can improve the performance of sewage treatment plants and improve the quality of the treated effluent for disposal into the environment or for agricultural reuse. The use of SSA to analyze the microbiological attributes of sanitary wastewater allows the decomposition of a time series of data into components, thus allowing a selection of information to maintain the desirable components and remove the undesirable ones, enabling the prediction of scenarios, showing trends and suggesting periodicities.
In view of the above, the objective of the present study was to monitor the removal of microbiological attributes of sanitary wastewater in a treatment plant consisting of a septic tank and solar reactor and to obtain through singular spectrum analysis the behavior of this effluent through a prediction for a period of one year.
2. Materials and Methods
2.1. Experimental Area Location and Characterization
This study comprised the installation and monitoring of a system for the treatment and agricultural use of sanitary wastewater in an experimental area located near the Laboratory of Rural Constructions and Environment (LCRA) of the Federal Rural University of the Semi-Arid Region (UFERSA), located in the municipality of Mossoró, Rio Grande do Norte, Brazil, under the geographic coordinates 5°12′12.90″ South latitude, 37°19′26.97″ West longitude and 20 m altitude.
According to the classification proposed by Köppen-Geiger, the climate of the region is BSh, which is a dry, very hot climate with a rainy season in the summer extending to autumn, with very irregular rainfall, annual average rainfall of 794 mm, and average annual temperature of 26.50 °C [
13].
The experimental area was selected because it has sufficient physical space for installing the system for the treatment and agricultural use of sanitary wastewater (
Figure 1).
LCRA/UFERSA has a network that collects all wastewater generated in the building, as well as an equalization tank, with dimensions of 0.80 m long, 0.70 m wide and 0.25 m deep, for the homogenization of wastewater from the toilets and washbasins of the male and female bathrooms, as well as sinks of the Soil–Machine Interaction Dynamics Laboratory (LDISM), building’s classroom, and Materials Testing Laboratory (LEM), and a water distiller installed at LDISM. It is estimated that LCRA/UFERSA has, on average, 61 temporary occupants per day, including professors, students, employees, and outsourced workers of UFERSA.
2.2. Description of the Sanitary Wastewater Treatment System
The sanitary wastewater treatment and agricultural use system consists of a septic tank, a solar reactor, and an infiltration trench designed according to the technical recommendations of both NBR 7229 [
14] and NBR 13969 [
15].
The septic tank was designed to receive a flow rate of 3.05 m
3 d
−1, produced by 61 temporary occupants under school conditions as described in the technical recommendations of NBR 7229 [
14] and NBR 13969 [
15]. In contrast, the solar reactor was designed to treat a maximum of 0.41 m
3 d
−1 of sanitary wastewater following the recommendations of Cavalcante et al. [
16] and Silva et al. [
17].
Figure S1 (
Supplementary Materials) shows photographic records of the ecological system for the treatment of sanitary wastewater, highlighting the two-chamber septic tank (
Figure S1a), solar reactor (
Figure S1b), and infiltration trench (
Figure S1c). It should be noted that the equalization tank, septic tank, solar reactor, and infiltration trench were interconnected by PVC pipes with nominal diameters of 40 and 100 mm.
2.3. Septic Tank
The usable volume of the septic tank of 4.73 m
3 was estimated by the equation of NBR 7229 [
14]:
where Vu is the usable volume of the septic tank in m
3, N is the number of people occupying the facility, C is the wastewater contribution in L occupant
−1 d
−1, T is the hydraulic detention in d, K is the sludge accumulation rate in days, and Lf is the sludge contribution in L occupant
−1 d
−1.
In the calculation of Vu, the values of 61 occupants, 50 L occupant−1 d−1, 0.83 d, 97 d and 0.20 L occupant−1 d−1 were used for the parameters N, C, T, K and Lf, respectively.
The purpose of the septic tank is to collect and treat sludge and scum present in sanitary wastewater. This tank was built with two chambers in series, and the partition has three openings. Each opening is 0.10 m wide by 0.20 m high, positioned at 2/3 of the septic tank length. Each chamber has a circular opening with a 0.10 m nominal diameter on the surface of the tank for inspection, collection of effluent samples, and exhaustion of gases (
Figure 1).
With a Vu of 4.73 m
3 and considering an internal width (W) of 1.30 m (W ≥ 0.80 m), as recommended by NBR 7229 [
14], and a usable depth (h) of 1.40 m (1.20 m < h < 2.20 m) for a Vu of 4.73 m
3, also according to NBR 7229 [
14], the internal length of the septic tank (Lng) of 2.6 m was finally calculated using the following equation:
where Lng is the internal length of the septic tank in m, Vu is the usable volume of the septic tank in m
3, W is the internal width of the septic tank in m, and h is the usable depth of the septic tank in m.
Thus, the septic tank used in the present study was built with internal dimensions of 2.60 m long, 1.30 m wide and 1.40 m deep, using brick masonry, precast slab, and internal lining with waterproofing material.
2.4. Solar Reactor
The solar reactor was built in reinforced concrete in the shape of a pyramid trunk (
Figure 1), with longest radius of 1.00 m, shortest radius of 0.25 m, and depth of 0.30 m, following the recommendations of Cavalcante et al. [
16] and Silva et al. [
17].
The solar reactor floor was waterproofed and covered with an asphalt blanket, with an aluminized finish, containing asphalt, polymers, and synthetic structuring agents in its composition, thus avoiding the infiltration of sanitary wastewater and allowing the reflection of sunlight, thus increasing the exposure of pathogenic microorganisms to UVA (320 to 400 nm) and UVB (280 to 320 nm) ultraviolet radiation.
According to Ayoub and Malaeb [
9], when aluminum foil was applied to solar reactors, a higher quality of disinfection was obtained compared to solar reactors painted in black.
Figure S2 (Supplementary Materials) shows the application of an asphalt blanket with an aluminized finish in the solar reactor.
This system performs tertiary treatment on sanitary wastewater, reducing the population level of total coliforms and
E. coli due to the synergistic effect of temperature elevation and exposure to UVA and UVB ultraviolet radiation. The maximum height of the solar reactor of 0.30 m was not used in the present study, but a 0.10 m depth of sanitary wastewater for a period of 12 h, as proposed by Cavalcante et al. [
16], in order to enhance solar disinfection. The equation below was used to obtain a volume of 0.14 m
3 of sanitary wastewater treated in the solar reactor.
where V is the usable volume of the cone trunk-shaped solar reactor in m
3, R is the radius of the larger base of the cone trunk-shaped solar reactor in m, r is the radius of the smaller base of the cone trunk-shaped solar reactor in m, and h is the height of the cone trunk-shaped solar reactor in m.
2.5. Infiltration Trench
The infiltration trench is a system for disposing of the treated effluent in the solar reactor that guides its infiltration into the soil. It consists of an ordered set with perforated piping enveloped by a gravel support layer [
14]. Equation (4) was used in its sizing, and the surface area of the infiltration trench was 12 m
2, considering an infiltration coefficient of 130 L m
−2 d
−1 in the soil of the experimental area.
where As is the surface area of the infiltration trench in m
2, N is the number of contribution units in inhabitants, C is the contribution of discharges in L occupant
−1 d
−1, and Ci is the infiltration coefficient in L m
−2 d
−1.
This system was built with 8.0 m length (
Figure 1) by 1.5 m width and 0.5 m depth, with PVC pipe with a nominal diameter of 100 mm and 0.01 m-diameter perforations, as per
Figure S1c (Supplementary Materials). To minimize the obstruction of these perforations, the 100 mm-diameter pipe was enveloped with Gneiss gravel No. 1.
2.6. Monitoring of the Sanitary Wastewater Treatment and Agricultural Use System
2.6.1. Microbiological Attributes
In the monitoring of the performance of the ecological system for treatment and agricultural use of sanitary wastewater, 12 samplings of sanitary wastewater were carried out upstream of the septic tank (P1) and inside the solar reactor (P2), with monthly frequency between May 2018 and April 2019.
For the microbiological attributes, single samples were collected at P1 and P2 after 12 h exposure of the effluent to UVA and UVB ultraviolet radiation. During the period of sampling and transport to the laboratories, the single samples were preserved in an isothermal box at a temperature between 4 and 6 °C to minimize the alteration of biological attributes, following the recommendations of the Standard Methods for the Examination of Water and Wastewater [
18].
Microbiological analyses were performed using sterile flasks with a volume of 100 mL at the Environmental Sanitation Laboratory (LASAM) of UFERSA. The choice of these indicators to evaluate the removal of pollutants and the inactivation of microorganisms was based on the studies conducted by Cavalcante et al. [
16] and Silva et al. [
17].
Identification and quantification of the population levels of total coliform (TC) and Escherichia coli were performed using the Colilert system (Idexx Laboratories Inc., Westbrook, ME, USA), which is employed for simultaneous detections and specific and confirmatory identifications of total coliforms and E. coli. The samples were mixed with the culture medium (Colilert), and after homogenization, they were transferred to a pack (Quanti-Tray) and sealed in a specific sealer. Then, the packs were incubated at 35 °C for 24 h.
The results were quantified by the Quanti-Tray 2000 Most Probable Number (MPN) statistical table. In the Colilert Quanti-Tray 2000 system, the presence of total coliforms (TC) is indicated by a reaction that changes the color of the reagent to yellow. Yellow wells indicate the presence of total coliforms. If E. coli is present, it can be confirmed by exposing total coliform-positive samples to type C ultraviolet radiation (100–280 nm), which reacts and emits blue fluorescence (Idexx Laboratories Inc., Westbrook, ME, USA).
2.6.2. Climatic Variables
The climatic variables’ UV radiation and ambient temperature are factors that influence the population levels of pathogenic microorganisms in sewage exposed to atmospheric conditions. In addition, the effect of these two variables enhances the inactivation of these microorganisms; therefore, monitoring these variables is important in analyzing the performance of the treatment system.
In order to better characterize the climatic conditions of the municipality of Mossoró, RN, the records of the climatic variables were obtained using a UVM-30A ultraviolet ray sensor-type temperature sensor (Roxo/Gsens, China), which allows for the detection of the presence of UV radiation with wavelengths between 200 and 370 nm.
The temperature sensor was installed at the edge of the solar reactor, as can be seen in
Figure S3 (Supplementary Materials), identifying temperature variations that occurred during the exposure of the effluent to UVA and UVB ultraviolet radiation. Measurements were taken every minute during the 12 h of exposure.
In the experimental area, the first rays of sunlight usually arrived at the solar reactor at 7 a.m. and were monitored until before sunset, around 4 p.m., thus ending the exposure to radiation on the first day; on the second day, the sensor was turned on again at 7 a.m., and the effluent was monitored for more 3 h, thus completing the 12 h of sun exposure. Through monitoring, it was possible to obtain maximum (Max), minimum (Min), and mean (Mean) values of ambient temperature (TAmb) in °C, water temperature (TWater) in °C, relative humidity (RH) as a percentage, and ultraviolet radiation (UR) in W m
−2, as can be seen in
Tables S1 and S2 (Supplementary Materials). The mean and total ultraviolet radiation (
Table S2 in Supplementary Materials) were calculated for 12 h of effluent exposure to UVA and UVB radiation.
2.7. Statistical Analysis
The values of the microbiological attributes of the sanitary wastewater collected at P1 and P2 were subjected to descriptive analysis and singular spectrum analysis (SSA). SSA is a non-parametric technique, i.e., used in time series analysis, which does not require prior knowledge of the behavior of the series, so the technique is based exclusively on data [
19].
Thus, SSA is able to decompose a time series into principal components: trends, oscillations, and noise. A major advantage is the fact that the methodology is non-parametric, meaning that it can adapt to the underlying dataset, eliminating the need for pre-modeling. For this reason, it is also known as a model-less approach. The capacity to extract relevant information from large datasets is, therefore, of utmost importance. In this context, SSA is a powerful analysis tool that has been gaining momentum [
12].
The main advantages of the SSA method in the field of dynamic time series can be attributed to the resolution of the following issues: finding trends of different resolutions, extracting components with seasonality, smoothing, simultaneous extraction of trends and complex periodicities, extracting periodicities with variable amplitudes, suppressing noise contributions, and extracting information from the components [
20].
The basic SSA method for forecasting is composed of three complementary stages: decomposition, reconstruction, and prediction. Window length (L), which is used in the SSA embedding step, plays a key role in the SSA technique because the entire SSA procedure depends on this parameter. In the first stage, the series is decomposed into several components (trend, oscillations, and noise) [
10]. The first eigenvalue and its respective eigenvector represent the general trend of the series, while the other eigenvalues represent the main oscillations within the series [
21]. In the second stage, the noise-free series is reconstructed and thus used in the third and final stage for the prediction of new data points [
22].
Figure S4 (Supplementary Materials) provides an overview of the SSA methodology for prediction.
The computational environment considered for the analysis was Caterpillar through SSA predictions. Caterpillar was developed by a group of researchers from the Department of Mathematics at St. Petersburg University in Russia called the GistaT Group. Information on the development of the SSA technique and the corresponding software is available on the group’s official website. In the present study, a temporary license of version 3.4 was used, which is available for download on the homepage of GistaT Group [
23].
5. Conclusions
Solar disinfection of sanitary wastewater obtained bacterial inactivation levels of 99.94%, equivalent to 4 log units for the E. coli population, and 99.45%, equivalent to 3 log units for the total coliform population, promoted by the synergy between temperature and ultraviolet radiation.
The present study is a pioneer in the use of singular spectrum analysis to predict the behavior of treated sanitary effluent in the semi-arid region, bringing the possibility of optimizing the analysis and time management processes. For the inlet effluent, the behavior of the E. coli and total coliform population levels for one year predicts that this effluent will have an upward trend alternating with stable cycles.
The behavior of the E. coli and total coliform population levels for the outlet effluent showed a tendency to error and overestimation of the final data when predicting a volume of data for the period of one year, with stable and consistent data for the evaluation of a prediction period of up to six months. This study requires a longer time series so that the prediction of the outlet effluent can be performed for a period of one year. The recommendation is to conduct a study with a larger volume of samples.