Next Article in Journal
Groundwater Quality Assessment of a Multi-Layered Aquifer in a Desert Environment: A Case Study in Wadi ad-Dawasir, Saudi Arabia
Previous Article in Journal
A Century of Riverbank Protection and River Training in Bangladesh
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Mathematical Modeling of a Domestic Wastewater Treatment System Combining a Septic Tank, an Up Flow Anaerobic Filter, and a Constructed Wetland

by
Alberto Fernández del Castillo
1,
Marycarmen Verduzco Garibay
1,
Carolina Senés-Guerrero
1,
Carlos Yebra-Montes
2,
José de Anda
3,* and
Misael Sebastián Gradilla-Hernández
1,*
1
Tecnologico de Monterrey, Escuela de Ingenieria y Ciencias, Av. General Ramon Corona 2514, Nuevo México, Zapopan 45138, Mexico
2
ENES- León, Universidad Nacional Autónoma de México, Blvd. UNAM 2011, Predio el Saucillo y El Potrero León, Guanajuato 37684, Mexico
3
Unidad de Tecnología Ambiental, Centro de Investigación y Asistencia en Tecnología y Diseño del Estado de Jalisco, A. C. Av. Normalistas 800, Colinas de la Normal, Guadalajara 44270, Mexico
*
Authors to whom correspondence should be addressed.
Submission received: 7 October 2020 / Revised: 19 October 2020 / Accepted: 20 October 2020 / Published: 27 October 2020
(This article belongs to the Section Wastewater Treatment and Reuse)

Abstract

:
Systems combining anaerobic bioreactors with constructed wetlands (CW) have proven to be adequate and efficient for wastewater treatment. Detailed knowledge of removal dynamics of contaminants can ensure positive results for engineering and design. Mathematical modeling is a useful approach to studying the dynamics of contaminant removal in wastewater. In this study, water quality monitoring was performed in a system composed of a septic tank (ST), an up flow anaerobic filter (UAF), and a horizontal flow constructed wetland (HFCW). Biological oxygen demand (BOD5), chemical oxygen demand (COD), total Kjeldahl nitrogen (TKN), NH3, organic nitrogen (ON), total suspended solids (TSS), NO2, and NO3 were measured biweekly during a 3-month period. First-order kinetics, multiple linear regression, and mass balance models were applied for data adjustment. First-order models were useful to predict the outlet concentration of pollutants (R2 > 0.87). Relevant multiple linear regression models were found, which could be applied to facilitate the system’s monitoring and provide valuable information to control and improve biological and physical processes necessary for wastewater treatment. Finally, the values of important parameters ( μ m a x ,   K s ,   and Y x / s ) in mass-balance models were determined with the aid of a differential neural network (DNN) and an optimization algorithm. The estimated parameters indicated the high robustness of the treatment system since performance stability was found despite variations in wastewater composition.

1. Introduction

The development of adequate technologies for wastewater treatment in developing countries is urgent to minimize environmental degradation and satisfy water supply necessities [1]. The Sustainable Development Goal number six of the United Nations is dedicated to clean water and sanitation. It seeks to substantially improve water quality by increasing the safe reuse and recycling of water systems and lowering the release of pollutants and toxins into wastewater by the year 2030 [2]. Wastewater treatment facilities may be part of centralized or decentralized clustered systems. The management of centralized systems is usually the responsibility of public agencies, as they treat vast amounts of wastewater generated by large communities and cities. These systems often collect/treat/reuse/dispose of wastewater far from the generation point; consequently, they require large pipes, major excavations, and manholes for access [3]. Additionally, these systems normally require high amounts of energy due to the complex operation of mechanical, chemical, and biological processes used to remove contaminants in the sewage. The transportation and treatment of sludge generated by biological processes represents additional energy consumption and costs [4,5]. In decentralized systems, on the other hand, the collection, treatment, and reuse/disposal of wastewater is fulfilled on site or near the generation point [3].
Decentralized wastewater treatment technologies based on anaerobic processes and constructed wetlands (CW) are attracting interest as potential low-cost solutions [6,7,8], particularly in developing countries where wastewater treatment has become an important issue because of the high construction, operation, and maintenance costs involved in conventional centralized systems [9,10]. However, when used as the only treatment technology, CWs might not be able to meet water quality guidelines; therefore, they have been used in combination with other existent or emerging technologies to maximize their individual performance in terms of wastewater treatment [11]. Primary and secondary treatment processes, using aerobic and/or anaerobic reactors, are often used as a pretreatment stage for CWs [12]. However, the costs of construction, installation, and operation of anaerobic systems are lower vs. their aerobic counterparts because anaerobic systems generally do not require expensive equipment for process operation, maintenance, and control [13]. Additional advantages of anaerobic reactors are minimal sludge production and the possibility of energy production through biogas combustion, which makes the energy balance quite favorable, especially in tropical areas where environmental conditions favor methanogenic bacterial growth [14,15].
Similarly to CWs, when anaerobic reactors are used as a standalone technology, the effluent often does not meet the discharge standards; thus, post-treatment technology is often required to reduce contaminant loads [11,16,17]. To obtain sufficient treatment efficiency, CWs are commonly used as sequential technology for anaerobic reactors [18]. Anaerobic reactors and CWs can be used as complementary systems with low energy input, reduced operational costs, and slight surplus sludge generation, as well as lower technological requirements, making them suitable for decentralized wastewater treatment [17]. The treatment system consisting of a septic tank (ST), up flow anaerobic filter (UAF), and horizontal flow constructed wetland (HFCW) has proven to be adequate and efficient for the treatment of domestic wastewater and has the advantage of being relatively simple in design, implementation, and operation, in addition to generating low energy and maintenance costs [16].
Wastewater treatment performance is evaluated on the basis of removal efficiency (percent mass removal) and pollutant mass reduction [19]. However, these calculations do not provide additional information on the removal dynamics of pollutants [20]. Detailed knowledge of removal dynamics of organic matter, solids, and nutrients in this system can ensure the positive results in control engineering and design that are necessary to make this technology scalable and replicable. To study the dynamics of pollutant removal in wastewater, mathematical models have been applied, including first-order models [21,22], linear regression models [23,24], and mass balance models [21,25]. Multivariate regression and first-order kinetics models use ‘‘black box’’ approaches to understand the overall performance focusing on input/output data rather than on internal process data to predict pollutant removal in the system [21]. A more detailed and complex approach to modeling pollutant removal in wastewater treatment systems is to used mass balance equations, which consider intrinsic features of the process and account for material entering and leaving the system [26]. Models based on mass balance include not only inlet and outlet conditions to design a model but also major removal mechanisms (physical, chemical, and biological) occurring in wetlands and anaerobic reactors, offering a more complex and precise means to characterize overall pollutant removal [20]. These specific processes are incorporated into a differential equation model as accumulation and transformation terms occurring inside the system [21].
The objective of this work was to characterize the pollutant removal processes occurring in a system consisting of an ST, a UAF, and an HFCW with the aid of mathematical models—first-order kinetics, multiple linear regression, and mass balance models. Furthermore, the use of a DNN and an optimization algorithm were proposed to determine the parameters of the Monod´s kinetic model. These models were developed for a system that has proven its effectiveness treating wastewater with a high organic and nutrient load, requires a smaller surface area per inhabitant, and produces effluents in compliance with environmental regulations [3]. To the best of our knowledge, there are few detailed studies regarding passive treatment systems in tropical or subtropical countries where climatic conditions, especially temperature, enhance the performance and stability of both anaerobic units and wetlands. In addition, several modeling studies have focused on a sole treatment unit. In this study, the complete system combining an ST, a UAF, and an HFCW was assessed with the aid of the mathematical models demonstrating the contribution of each unit to global performance. These models provided a description of the dynamics of pollutants removal within the treatment system.

2. Materials and Methods

2.1. Site Description

The study site was an on-site pilot wastewater treatment plant consisting of an ST, a UAF, and an HFCW planted with Agapanthus africanus (Figure 1). The system was designed to treat heavily polluted domestic wastewater produced in a research and development (R&D) center, looking to reach zero energy consumption and to eliminate the use of chemical additives. For 5 years, this plant has received the wastewater generated by approximately 150 people with a daily water consumption estimated at 50 L/person/day [16].
Wastewater is received in the pump sump (PS) at a rate of approximately 7.5 m3/day and is then pumped to the ST (Figure 2). This stage requires intermittent energy, which is supplied by solar panels, to pump the wastewater to the treatment system. Energy is also required periodically for sludge removal from the anaerobic stages (ST and UAF) every six to twelve months [16,27]. This procedure regularly requires the use of external suction systems to remove the excess sludge from the ST chambers and from the bottom of the UAF. Additional energy may be required if motor devices are used to keep the HFCW clean and to control the growth of plants.
The ST is divided into two communicating chambers with respective volumes of 11.3 m3 and 7.1 m3. Inside the septic tank, the water flow is slow enough to allow the sedimentation of solid particles; in addition, fats are retained in scum formed on the surface of water inside the tank. The outflow of the ST is received in the UAF. The UAF has a volume of 69.5 m3, and it is filled with porous volcanic rock (tezontle), which serves as an efficient support for the growth of methanogenic bacteria, creating a fixed-bed biofilm system [28,29].
The UAF is composed of two chambers. In the first one, the water flow is received and directed toward the bottom of the second chamber, in which the water flows upward. Direct contact with bacteria attached to tezontle allows for the degradation of organic matter present in wastewater through anaerobic biochemical reactions. The final stage of an HFCW is a pond with 336 m2 of surface and a depth of 0.7 m filled with porous rock (tezontle), which serves as a support for the roots of macrophyte plants (Agapanthus africanus) planted with a density of about three plants per square meter. The water flows below the surface at a 0.6 m hydraulic depth; this system promotes the removal of organic matter and nutrients (nitrogen and phosphorus) by the interaction between the growth media tezontle, plant roots, and microorganisms [16].
The mean hydraulic retention times (HRT) for this system were previously reported as 2.45, 6.4, and 11.75 days for the ST, the UAF, and the HFCW, respectively, adding up to 20.6 days for the total mean HRT of a sample [16].

2.2. Water Quality Sampling

Water quality monitoring and sampling was carried out fortnightly for 3 months (January 16th and 31st, February 12th and 26th, March 11th and 25th, 2020) at four sampling points within the treatment system: the sump pump (SP1), the UAF inlet (SP2), the UAF outlet (SP3), and the HFCW outlet (SP4).
Grab sampling was used because steady-state conditions were reported previously for the removal of pollutants within the wastewater treatment plant [16]. Most activities at the R&D center happen between 9:00 a.m. to 5:00 p.m. on Monday through Friday; consequently, the highest flow is received during these hours, and it is highly reduced during the weekends and holidays. This is the reason why the samples were collected during normal working hours.
Temperature, pH, conductivity (CT), and dissolved oxygen (DO) were measured in situ using a multi-parameter probe (HANNA, HI 9828). In addition, water samples were analyzed by the Analytical and Metrologic Services Unit (USAM) of the Centro de Investigación y Asistencia Tecnológica del Estado de Jalisco (CIATEJ) according to Federation, W. E., & American Public Health Association [30] to determine biological oxygen demand (BOD5), chemical oxygen demand (COD), total Kjeldahl nitrogen (TKN), ammoniacal nitrogen (NH3), organic nitrogen (ON), and total suspended solids (TSS). Water samples were received by the laboratory within the first four hours after sampling. Nitrates (NO3) and nitrites (NO2) were measured within the first 3 h after sampling using multiparametric kits (HACH, TNT 835 and TNT 839) by spectrophotometry (HACH, DR 5000) following the manufacturer’s protocol. All concentrations were measured in triplicate and means, and standard deviations are presented. To compare the effect of different operational conditions on the performance of the wetland, the removal efficiency and mass removal rate were calculated. Removal efficiencies were calculated considering the concentration data of each pollutant at the inlet and outlet of each treatment stage as follows: ST (SP1-SP2), UAF (SP2-SP3), HFCW (SP3-SP4), and for the overall system (SP1-SP4).

2.3. Mathematical Modeling

2.3.1. First-Order Kinetic Model

The first-order kinetic model is a nonlinear relationship that has been used to predict pollutant removal in wastewater treatment systems [31]. The first-order kinetics for the removal of contaminants is described as:
d C d t = k C .
The monitoring data were adjusted to generate equations of the following form:
C o u t = C i n e k ( H R T )
where C o u t is the concentration of the pollutant at the system outlet in mg/L, C i n is the concentration of the pollutant at the system inlet in mg/L,   k is the removal constant in days−1, and HRT is the duration of hydraulic retention of the system expressed in days, which were previously reported for this treatment system by [16]. Data adjustment was made for the entire treatment system (black box approach) and for each step (ST, UAF, and HFCW) by nonlinear least squares. The statistical significance of each parameter modeled was measured by p-value calculation, and R2 was estimated to measure the goodness of fit.
First-order kinetic models were used because they provide a parameter (k) related to the rate of removal of contaminants that can be compared with the removal efficiency and the mass reduction.

2.3.2. Multiple Liner Regression Model

Multiple linear regression is a statistical model with two or more independent variables (predictors) [32]. In this model, the different water quality parameters measured were used as “predictors”, and a specific water quality parameter outlet concentration was considered as the dependent variable (response). The linear regression equation is as follows:
Y o u t = β 1 Y i n + β 2 X i n + β 3 X o u t
where Y is the response variable, and X is the predictor variable. The parameters considered for model development were DO, CT, pH, temperature, BOD5, COD, TSS, TKN, NH3, ON, and NO2. Models were considered to be relevant when R2 was found to be greater than 0.99 and p-values of predictor variables were found to be lower than 0.1. Additionally, obvious relations such as COD- BOD5, and TKN = NH3 + ON were not reported.

2.3.3. Mass Balance Model

Mass balance equations were used to model the removal of BOD5, COD, TKN, NH3, and ON in each treatment stage (ST, UAF, and HFCW), because these parameters are degraded primarily by microbial action [26]. Monod’s equation Equation (4) was used to express the specific growth rate of microorganisms as a function of substrate concentration S (BOD5, COD, TKN, NH3, and ON in this study). Similar approaches have been reported in the literature modeling microbial growth as a function of COD and NH3 (as substrates) in an anaerobic reactor and a CW, respectively [20,21,25].
μ = μ m a x   S i n K s +   S i n
where S i n is the substrate concentration at the inlet (mg/L), μ m a x is the maximum growth rate (h−1), and K s   is substrate affinity constant (mg/L). The mass balance for every stage and for every contaminant was written as:
Water 12 03019 i001
V d S d t = Q S i n Q S o u t + r ( t ) V .
The accumulation and transformation terms are dependent on the volume V of the reactor expressed in m3, whereas the inlet and outlet depend on the hydraulic load of wastewater Q (m3/day). Transformation processes that occur in biological treatment units involve substrate utilization for the formation of new cells. The ratio of biomass formed to substrate consumed is defined as   Y x / s ; mg of biomass/mg of substrate. The overall rate of utilization r ( t ) can be defined as [33]:
r ( t ) = 1 Y x / s μ m a x   S ( t ) K s + S ( t ) X
where S ( t ) is the substrate concentration at time t , and X is the biomass concentration in the biological reactor (overall system (OS), ST, UAF, or HFCW). An average value of 800 mg/L was assumed as previously suggested by [34]. The final model for data adjustment was:
V d S ( t ) d t = Q S 0 Q S ( t ) 1 Y x / s μ m a x   S ( t ) K s + S ( t ) X   V
where V   and S 0 are the inlet concentration of substrate (mg/L). The nonparametric identification of the derivative term d S ( t ) d t ϵ 5 (each component of this vector corresponds to the substrate concentration S 1 ( t ) = BOD 5 ,   S 2 ( t ) = COD ,   S 3 ( t ) = TNK ,   S 4 ( t ) = NH 3 N ,     S 5 ( t ) = ON was accomplished using a differential neural network (DNN) as previously described by [35]. In the case of our experimental setup, the DNN identifier had the following structure:
d S ^ ( t ) d t = f ¯ ( S ^ ( t ) , | W 1 ( t ) ) = A S ^ ( t ) + W 1 ( t ) σ ( S ^ ( t ) )
where   S ^ ( t ) ϵ 5 is the identified state vector, and the current concentration S ^ ( t ) at time t given was used for the determination of the set of parameters ( μ m a x ,   K s ,   Y x / s ). A   ϵ 5 x 5 is the Hurwitz matrix and corresponds to the linear part of the model. The adaptable weight matrix W 1 ( t )   ϵ   5 x 5   provides the adaptation of the nominal dynamics, and σ ( t )   ϵ   5 is the activation vector function [35,36].
In order to obtain the set of parameters ( μ m a x ,   K s ,   and   Y x / s ), the following optimization problem was set:
k *   = arg min μ m a x ,     K s ,     Y x / s f ¯ ( S ^ ( t ) , | W 1 ( t ) ) f ( S ( t ) ) 2 2
where k * is the vector of estimated parameters. The Nelder–Mead algorithm was applied to solve such optimization problems. This algorithm minimizes a nonlinear function of n variables and can be applied to solve parameter estimation problems [37,38].
MATLAB R2020a was used to fit the concentration curve for each water quality parameter (using the Curve Fitting toolbox) as well as to develop the DNN algorithm (using the Simulink toolbox) and to estimate Monod´s model parameters (using the fminsearch function). Statistical analysis was performed using R version 3.6.2 and RStudio version 1.2.5033 (using the RcmdrMisc, dplyr, ggplot2 and tidyverse packages). A personal computer (Intel i7-4500 CPU at 2.4 GHz, RAM 8 GB) was used.

3. Results and Discussion

3.1. System Performance

The sampling procedure yielded a 24 by 11 data matrix (24 observations for each of 11 parameters), resulting in a total of 264 values. Out of the 24 observations gathered for each parameter, six corresponded to each of the sampling points. Table 1 shows the average and standard deviation of the measurements corresponding to each sampling point and provides an overview of the overall performance of each unit of the system. It can be observed that mean concentrations decrease as wastewater advances through the sampling points.
As seen in Table 2, the system efficiently removed organic matter with average removal efficiencies of 90 ± 5% for BOD5 and 90 ± 5% for COD. Each treatment stage (ST, UAF, and HFCW) contributed to the reduction of organic matter in the wastewater; however, most of the organic load was eliminated in the first two stages (the anaerobic stages, ST and UAF) of the system with an average mass reduction for BOD5 of 201.6 ± 60.2 mg/L and 243.2 ± 105.1 mg/L, respectively, and of 330.8 ± 92.8 mg/L and 345.2 ± 136.9 mg/L, respectively, for COD.
These results are consistent with the optimal levels of DO and temperature [39] in the ST and UAF shown in Table 3 (the mean DO levels and temperature were 0.26 ± 0.13 mg/L and 0.72 ± 0.53 mg/L and 21.1 ± 2.0 °C and 20.9 ± 2.3 °C for the ST and the UAF, respectively). In addition, as shown in Table 2, there was a significant degradation of organic matter in the HFCW, with an average mass removal of 103.3 ± 22.1 mg/L for BOD5 and of 171.0 ± 37.0 mg/L for COD. This degradation could be attributed to different anaerobic pathways, due to the low oxygen levels, as observed in Table 3 (0.58 ± 0.67 mg/L of DO was measured at the outlet of the system). Additional DO measurements taken in nine secondary points within the HFCW were even lower (0.28 ± 0.15 mg/L) than those reported at the outlet of the system. Anaerobic pathways such as methanogenesis, denitrification, fermentation, or sulfate reduction can be occurring within the HFCW as previously reported for CW where low DO levels occur [40].
The organic load entering the HFCW was considered adequate: approximately 3.64 g of BOD/m2 day, which does not exceed the recommended value 6 g of BOD/m2 day for horizontal flow CW [41]. However, this low organic load can limit nitrogen removal, as a ratio of 5 COD/N is recommended for the effective removal of nitrogen in subsurface CW [42]. In the studied system, the average COD/N ratio was around 1. For TSS, the overall removal efficiency was high, reaching an average of 97 ± 0% during the entire sampling period (Table 2). As shown in Table 2, the highest performance in terms of solids removal was found in the ST, which eliminated 257.7 ± 65.2 mg/L of TSS, while UAF and HFCW eliminated 38.8 ± 15.0 mg/L and 42.5 ± 11.4 mg/L, respectively. These results prove that the ST efficiently fulfills its function of preventing the accumulation of solid particles in the UAF and the HFCW, thus avoiding obstruction (clogging), which is one of the main problems present in this type of system after long periods of operation [43]. After 4 years of operation, this treatment plant presents no evidence of clogging events.
Table 2 shows an average removal efficiency of 51% for TKN and 45% for NH3 for the overall system, which corresponds to an overall mass reduction of 173 ± 20 mg/L of TN and 69 ± 7 mg/L of NH3 (Table 2). de Anda et al. [16] obtained similar results for the TKN, reporting a removal efficiency of 48% for the same system; however, the mass reduction increased by 80% (from 96.02 mg/L).
In this study, an initial average load of 336.92 ± 12.17 mg/L TKN (Table 1) was found, and this concentration can be compared with industrial loads [33]. The wastewater that is treated in the system comes from the sanitary services, the cafeteria, and the laboratories of the R&D center, where research on industrial and plant biotechnology as well as food technology is performed, producing residual effluents that can be rich in nitrogen. Furthermore, the excess presence of various substrates (such as ammonia/ammonium and nitrite) in wastewater can inhibit the growth of Anammox bacteria when influent concentration is high [44]. Since in this study, a very atypical high load of TNK was observed, and the removal efficiency of TKN could be affected by substrate inhibition. As shown in Table 2, most nitrogen removal occurs in the HFCW, with a 95 ± 26 mg/L mass reduction of TKN compared with mass reductions of 42 ± 38 mg/L and 36 ± 8 mg/L that occurred in the ST and the UAF, respectively. In accordance with the DO levels observed at the HFCW inlet and outlet (Table 3), it can be assumed that the main nitrogen removal mechanism in the wetland is denitrification [45].
As shown in Table 2, the nitrite and nitrate removal rates were found to be 91% and 95%, respectively, corresponding to 2.69 ± 1.68 mg/L and 0.25 ± 0.07 mg/L of global mass reduction. According to Table 2, the greatest mass reduction for both nitrogenous compounds occurred in the ST, with removal rates of 1.90 ± 1.82 mg/L for NO2 and 0.12 ± 0.05 mg/L for NO3. The concentrations of nitrates and nitrites entering the treatment system were low, as can be expected for domestic wastewater, for which the presence of these pollutants is commonly close to zero [33]. However, the low levels of NO2 and NO3 at all sampling points, along with the high mass removal rates of TKN and NH3, indicate efficient nitrogen degradation in the treatment process through denitrification, especially since there is no evidence of accumulation of intermediate components of this degradation pathway (nitrates and nitrites) [40].

3.2. Mathematical Models

3.2.1. First-Order Models

First-order kinetic models were used to model the removal kinetics of each measured contaminant for the overall treatment system and for each stage (ST, UAF, and HFCW). The resulting models are summarized in Table 4. These models assume that outlet contaminant values are proportional to inlet values and exponentially related to the hydraulic retention time (HRT). The kinetic parameters are important for evaluating the performance of the modeled process, C 0   is an average value of the inlet load, and k values are interpreted as decay rate constants (day−1) and are indicative of the removal efficiency. p-values were used to determine the statistical significance of each adjusted kinetic parameter. Higher values represent better removal, and lower volumes are thus required in treatment units to accomplish sufficient wastewater treatment [46]. The goodness of fit of the models developed for the overall treatment system was found to be good for BOD5, COD, and TSS, with R2 values equal or greater than 0.90. A decent fit was obtained for TKN, NH3, ON, and NO2 values with an R2 ranging between 0.83 and 0.89. Finally, a poor adjustment was found for NO3, with an R2 equal to 0.61.
Furthermore, the p-values for the C 0 and k terms were below 0.05. The models developed for the ST exhibited a decent fit only for the cases of TSS with R2 of 0.87; however, the p-values for C 0 and k were below 0.05, except for NO3. The better fit obtained for TSS is advantageous, since a reduction in this parameter at this stage is a priority [16]. In the case of the UAF, a good fit was obtained for BOD5 and COD with R2 values equal to 0.81 and 0.85, respectively; in addition, the p-values of C 0 and k for BOD5, COD, TSS, NO2, and NO3 were below 0.05. Finally, in the case of the models developed for HFCW, p-values of C 0 and k were below 0.05 for all pollutants. However, decent R2 (0.82–0.90) values were only obtained for the TSS, NH3, and NO3 models.
In Figure 3, it is easy to observe the differences in decay rates between stages. Observing the adjusted first-order kinetic curve (red line), it can be seen that in the first two stages (ST and UAF), the removal rates of organic matter (COD and BOD5) are greater than that of the HFCW, as indicated by the curve inclination. In the case of TSS, it is clear that the highest removal rates occur in the ST, with a lower contribution of the UAF. Almost constant removal rates were observed for TKN, NH3, and ON at the UAF and the HFCW; however, ST presented important variations. These variations can be related to the ammonification process, which converts dissolved organic nitrogen into ammonia [47]. As mentioned previously, the R&D produces residual effluents that can be rich in dissolved organic nitrogen compounds as proteins, amino acids, nucleic acids, and urea, among others. The ammonification of these compounds can cause a variable rise on NH3 concentrations, as there are simultaneous reactions of degradation and generation of NH3 occurring in the ST [47], thus affecting the adjustment of the first-order kinetic models.
A higher removal rate was also observed in the ST and the UAF, in comparison with the HFCW, for NO3 and NO2.
For COD, the models developed for the ST and the UAF yielded k values that were at least 10 times higher than those reported previously [25,48] for anaerobic reactors (specifically, up flow anaerobic sludge blanket (UASB) and continuously stirred tank reactors (CSTR)). The reported COD decay rate constants for the anaerobic treatment of wastewater in fixed film reactors range from 0.01 to 0.1 [49], which are lower than those obtained here for the OS, the ST, and the UAF, but similar in range to those obtained for the HFCW. Furthermore, the k values obtained for the OS, the ST, and the UAF were within the range of those reported as first-order hydrolysis rate constants for COD [50]. This is important, as hydrolysis is the first step of anaerobic organic degradation by methanogenesis [14]. Based on this information, we can suggest a highly efficient organic removal in the system, with the major contributions occurring in ST and UAF. In addition, we can expect a determinant contribution for organic matter hydrolysis occurring in the ST and the UAF. In the case of the HFCW, reported k values for COD, TSS, and TN are generally between 40 and 60 times higher than those obtained in this work [31]. Using the equation reported by [31] that correlates the volume-based decay rate constant (days−1) with the area-based decay rate constant (m days−1), we can compare our findings with reported area-based decay rate constants [46,51], for which values are between 5 and 10 times greater than those obtained in this study, except for k values for TSS models for ST and OS. In previous studies where CW were the sole system units, this is attributable to the designs of different systems [31,46,51]. Additionally, in those cases, lower contaminant loads were received in the influent to the treatment plants, which were around 5–15 times lower than those received this study, for organic matter, suspended solids, and nitrogen. This information reinforces the statement that wastewater with high pollutant loads requires a multistage system combining different treatment technologies such as anaerobic reactors and wetlands to achieve efficient treatment; however, for waters with lighter pollution loads, the use of a treatment system based only on CW is possible. Finally, the exceptionally high k values obtained for TSS in the ST can be explained by the maximum removal of this contaminant accomplished in this specific stage, reducing the contribution of the next two steps. Thus, the high removal rate of TSS is obtained mainly by the ST, highlighting the important contribution of this stage to overall system performance.

3.2.2. Linear Regression Models

Table 5 summarizes the most relevant equations generated in the case of the multiple linear regression models. Models with an R2 greater than 0.99 and p-values of predictor variables lower than 0.1 were considered relevant. Obvious correlations such as COD- BOD5 and TKN = NH3 + ON were disregarded. For the complete treatment system, relevant models relating to nitrogen output (TKN and NH3) with DO and pH measurements were obtained. These models are relevant, since they would allow an estimation of the nitrogen concentration that exits the system from parameters that are easy to measure in situ with sensors. Models relating variables that require analytical processes to be measured with those that can be measured through sensors are useful, as this facilitates the monitoring of the performance of the treatment system. Eight models were found with this characteristic and are marked in Table 5. DO is an important parameter that determines the specific pathway and rate of nitrogen removal [52]. In addition, pH is also relevant, as it affects the performance of the microbial communities involved in wastewater treatment [53].
These types of models were reported previously but with lower goodness of fit (R2 ranging from 0.67 to 0.74) [21,54]. It is useful to highlight one of the models for the complete system that indicates that there is an important relationship between the suspended solids and ammoniacal nitrogen that are removed in the system. This relationship has been previously reported, with R2 ranging between 0.64 and 0.67 [55]. For all stages (ST, UAF, and HFCW), a consistent relationship was found between nitrogen forms and organic matter loads. Models relating nitrogen forms with organic matter (BOD5 and COD) can be explained by removal biological mechanisms, in which multiple groups of bacteria are involved, whose metabolic pathways can be interconnected [56,57]. Carbon availability can become a limiting factor for nitrogen removal processes such as heterotrophic denitrification; furthermore, in the studied wetland, adequate temperature, DO concentrations, and pH conditions exist for this process to occur [58,59,60]. As this relationship was constant for models in every stage of treatment, we can suggest a relevant interaction between different bacterial species responsible for the removal of nitrogen and organic matter contributing to the removal performance of the overall treatment system. Regression models relating nitrogen and organic matter were reported previously for CW, with R2 values of approximately 0.9 [55,61]. In the case of the ST, two models were obtained associating TSS with conductivity and organic matter. Associations between TSS, conductivity, and organic matter could be explained by sedimentation processes, where a carryover of salts and organic matter occurs [62]. Additionally, methanogenic activity could also occur inside the tank within flocs that contribute to the removal of solids, organic matter, and even nitrogen [63,64]. Relations between solids and organic matter were also reported in previous regression models with R2 values of 0.6–0.7 [55,61]. For the UAF, the dependency of NH3 removal on temperature is expected, since temperature can be determinant for removal rates and performance [65,66]. For the UAF, a relevant model showed the dependence of NH3 on temperature. For HFCW, models were generated relating organic matter with CT and DO. A relationship between the removal of organic matter (BOD5 and COD) and oxygen levels was expected, since DO determines the biological pathway of organic removal (aerobic or anaerobic) and, to a large extent, the system’s performance [67,68,69]. Regression models presenting associations between organic matter and oxygen levels presented R2 values of 0.78 [54]. Conductivity is related to the content of salts in wastewater, which can interfere with the microbial processes occurring within the wetland [70]. Additionally, the dependence of TSS removal on temperature was found to be relevant. Finally, a model exhibiting the dependency of TSS removal on temperature within the HFCW is expected as a result of the effect of temperature on physical and biological processes involved in the removal of solids, such as adsorption and microbial degradation [71,72].

3.2.3. Mass Balance Models

The results for nonparametric identification by the DNN for COD removal are shown in Figure 4 as an example. Figure 4a shows the comparison between the original data and the identified system. The concentration curves for each treatment stage are shown. It can be noted that the model curve (which was obtained through an interpolation of experimental data) and that obtained through the DNN are consistent. Figure 4b shows the derivative of the substrate d S ( t ) d t ( S = COD in this case) estimated by the neural network. It should be mentioned that it is always negative but decreases progressively in magnitude. It coincides with the interpretation of the concentration graph (Figure 4a). At the beginning, the removal rate is high, but it decreases until it reaches practically zero at the end of the process.
Figure 5 shows the values of the Monod parameters ( μ m a x ,   K s ,   and Y x / s ) for the mass balance of COD in HFCW. These parameters were obtained using the Nelder–Mead algorithm, and r ( t ) was obtained as presented by Equation (6). For K s   and Y x / s , it must be observed that the variation is very low; the points indicate the values obtained by the algorithm for each t .
The average values and standard deviation for μ m a x , K s , and Y x / s obtained from the mass balance model are detailed in Table 6. The mean values obtained for Y x / s and K s were similar for all three stages. Y x / s   is the rate at which biomass is generated by substrate consumption, and K s is a measure of microbial affinity to the substrate [33]. In contrast, values of μ m a x presented important variations between stages. The μ m a x is related to specific characteristics of the microbial groups involved in the removal processes, as it is their maximum growth rate [20]. Consequently, the combined interpretation of these parameters indicates that the variations between stages are more related to the composition and characteristics of the bacterial groups within each reactor than to the composition of the substrate, in this case, wastewater. This indicates a high robustness of the treatment system, as the variations in wastewater composition do not cause variations in performance.
For BOD5, Y x / s ,   and K s values ranged between 0.65–0.67 mg of biomass/mg of substrate and 57.62–64.47 mg/L for the three stages, respectively, representing the highest values when compared with the other water quality parameters modeled. These parameter’s values are within the range of those reported previously for BOD5 for the biological treatment of domestic wastewater [73]. The estimated parameters for COD are also in accordance with those reported previously for anaerobic reactors [25,74,75]. This is true even for HFCW, probably because the OD level in wetlands are very low, causing an anaerobic degradation of organic matter in the system. These parameters indicate efficient organic matter removal in each stage; however, the μ m a x values decrease from the initial to the final stage for both cases BOD5 and COD. This is expected, since the volume of the reactor decreases in that same order. For NH3, TKN, and ON, Y x / s   values were around 0.32, 0.56, and 0.56 mg/mg, respectively. K s values were around 4.6, 5.75, and 3.45 mg/L for the same parameters, respectively, with standard deviation values below 0.001. For all nitrogenous parameters (TKN, NH3, and ON), the results were very similar in range and comparable to those reported by other studies in CW, ANNAMOX processes, and anaerobic reactors [17,26,62,63,64]. These results prove the efficiency of the system for nitrogen removal not only in the HFCW but also in the anaerobic reactors ST and UAF.

4. Conclusions

Mathematical modeling provides relevant and valuable information about the performance and specific processes of wastewater treatment. In this study, first-order kinetic models were useful to predict outlet pollutant concentrations based on inlet concentrations with significant precision. These models require the estimation of only two parameters (Cin and k). In particular, the parameter k is of direct interpretation for the performance of the system. Multiple linear regression models proved to be efficient to correlate different physicochemical parameters in accordance with the logical relations explained by biological and physical processes of contaminant removal. The applicability of linear regression models was highlighted, as these relate variables that require analytical processes to be measured with those that can be measured through sensors. These models can reduce the cost and time required to monitor the performance of the treatment system. Furthermore, multiple linear regression models provide an interpretation of the extent to which the independent variables (predictors) affect the independent variable (response). In the case of mass balance models, the differential neural network (DNN) allowed for the nonparametric identification of the derivative of the concentration of each water quality parameter measured, while the optimization algorithm allowed for the estimation of the parameters that express the rate of microbiological consumption as proposed by Monod´s model, thus providing a description of the dynamics of pollutants removal within the treatment system. Y x / s and K s values obtained from the mass balance models were similar between stages; in contrast, the μ max values varied significantly from one stage to the next. This fact indicates that performance variations could be related to characteristics of the specific microbial composition in each stage (ST, UAF, and HFCW); however, variations in inlet wastewater composition are not a cause of performance variability. This information also allows an improvement of the design of this wastewater treatment system composed of two anaerobic units (ST and UAF) and an HFCW.

Author Contributions

Conceptualization, M.S.G.-H. and J.d.A.; methodology, A.F.d.C. and M.S.G.-H.; software, A.F.d.C. and C.Y.-M.; validation, M.S.G.-H., J.d.A. and C.S.-G.; formal analysis, A.F.d.C.; investigation, A.F.d.C. and M.V.G.; resources, J.d.A. and M.S.G.-H.; data curation, A.F.d.C. and C.Y.-M.; writing—original draft preparation, A.F.d.C. and M.V.G.; writing—review and editing, M.S.G.-H.; visualization, C.Y.-M.; supervision, M.S.G.-H.; project administration, J.d.A.; funding acquisition, J.d.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Centro de Investigación y Asistencia en Tecnología y Diseño del Estado de Jalisco, A. C., Public Research Center of the National Council of Science and Technology, Government of México.

Acknowledgments

The authors appreciate the effort and excellent work carried out by CIATEJ’s analytical services unit, who at all times supported the timely registration and processing of samples for analysis. Also, the authors are grateful to Tecnológico de Monterrey, Campus Guadalajara for allowing access to the laboratories and facilities of the Department of Bioengineering.

Conflicts of Interest

The authors declare no conflict of interest. The technology involved in this paper was already protected by “Centro de Investigación y Asistencia en Tecnología y Diseño del Estado de Jalisco, A. C.” under the law of the Mexican Institute of Industrial Protection, number MX/a/2010/014332.

References

  1. Ujang, Z.; Buckley, C. Water and wastewater in developing countries: Present reality and strategy for the future. Water Sci. Technol. 2002, 46, 1–9. [Google Scholar] [CrossRef] [PubMed]
  2. Water and the Sustainable Development Goals (SDGs)|2015 UN-Water Annual International Zaragoza Conference. Water and Sustainable Development: From Vision to Action. 15–17 January 2015. Available online: https://www.un.org/waterforlifedecade/waterandsustainabledevelopment2015/open_working_group_sdg.shtml (accessed on 21 October 2020).
  3. Tsegaye, S.; Missimer, T.M.; Kim, J.-Y.; Hock, J. A Clustered, Decentralized Approach to Urban Water Management. Water 2020, 12, 185. [Google Scholar] [CrossRef] [Green Version]
  4. Muga, H.E.; Mihelcic, J.R. Sustainability of wastewater treatment technologies. J. Environ. Manag. 2008, 88, 437–447. [Google Scholar] [CrossRef] [PubMed]
  5. Massoud, M.A.; Tarhini, A.; Nasr, J.A. Decentralized approaches to wastewater treatment and management: Applicability in developing countries. J. Environ. Manag. 2009, 90, 652–659. [Google Scholar] [CrossRef]
  6. Singh, N.K.; Kazmi, A.A.; Starkl, M. A review on full-scale decentralized wastewater treatment systems: Techno-economical approach. Water Sci. Technol. 2015, 71, 468–478. [Google Scholar] [CrossRef]
  7. Wu, H.; Zhang, J.; Ngo, H.H.; Guo, W.; Hu, Z.; Liang, S.; Fan, J.; Liu, H. A review on the sustainability of constructed wetlands for wastewater treatment: Design and operation. Bioresour. Technol. 2015, 175, 594–601. [Google Scholar] [CrossRef]
  8. ElZein, Z.; Abdou, A.; ElGawad, I.A. Constructed Wetlands as a Sustainable Wastewater Treatment Method in Communities. Procedia Environ. Sci. 2016, 34, 605–617. [Google Scholar] [CrossRef] [Green Version]
  9. Sanchez, J.D.A.; Shear, H. Searching for a sustainable model to manage and treat wastewater in Jalisco, Mexico. Int. J. Dev. Sustain. 2016, 5, 278–294. [Google Scholar]
  10. Libralato, G.; Volpi Ghirardini, A.; Avezzù, F. To centralise or to decentralise: An overview of the most recent trends in wastewater treatment management. J. Environ. Manag. 2012, 94, 61–68. [Google Scholar] [CrossRef]
  11. Liu, R.; Zhao, Y.; Doherty, L.; Hu, Y.; Hao, X. A review of incorporation of constructed wetland with other treatment processes. Chem. Eng. J. 2015, 279, 220–230. [Google Scholar] [CrossRef]
  12. Vymazal, J.; Kröpfelová, L. Removal of organics in constructed wetlands with horizontal sub-surface flow: A review of the field experience. Sci. Total Environ. 2009, 407, 3911–3922. [Google Scholar] [CrossRef] [PubMed]
  13. Chan, Y.J.; Chong, M.F.; Law, C.L.; Hassell, D.G. A review on anaerobic–aerobic treatment of industrial and municipal wastewater. Chem. Eng. J. 2009, 155, 1–18. [Google Scholar] [CrossRef]
  14. Van Lier, J.B.; Mahmoud, N.; Zeeman, G. Anaerobic Wastewater Treatment; IWA Publishing: London, UK, 2008. [Google Scholar]
  15. Cakir, F.Y.; Stenstrom, M.K. Greenhouse gas production: A comparison between aerobic and anaerobic wastewater treatment technology. Water Res. 2005, 39, 4197–4203. [Google Scholar] [CrossRef] [PubMed]
  16. De Anda, J.; López-López, A.; Villegas-García, E.; Valdivia-Aviña, K. High-Strength Domestic Wastewater Treatment and Reuse with Onsite Passive Methods. Water 2018, 10, 99. [Google Scholar] [CrossRef] [Green Version]
  17. Álvarez, J.A.; Ruíz, I.; Soto, M. Anaerobic digesters as a pretreatment for constructed wetlands. Ecol. Eng. 2008, 33, 54–67. [Google Scholar] [CrossRef]
  18. Merino-Solís, M.L.; Villegas, E.; De Anda, J.; López-López, A. The Effect of the Hydraulic Retention Time on the Performance of an Ecological Wastewater Treatment System: An Anaerobic Filter with a Constructed Wetland. Water 2015, 7, 1149–1163. [Google Scholar] [CrossRef]
  19. Abdelhakeem, S.G.; Aboulroos, S.A.; Kamel, M.M. Performance of a vertical subsurface flow constructed wetland under different operational conditions. J. Adv. Res. 2016, 7, 803–814. [Google Scholar] [CrossRef] [Green Version]
  20. Kadlec, R.; Wallace, S. Treatment Wetlands, 2nd ed.; CRC Press: Cleveland, OH, USA, 2008; ISBN 1-56670-526-6. [Google Scholar]
  21. Chan, S.Y.; Tsang, Y.F.; Cui, L.H.; Chua, H. Domestic wastewater treatment using batch-fed constructed wetland and predictive model development for NH3-N removal. Process Biochem. 2008, 43, 297–305. [Google Scholar] [CrossRef]
  22. Trang, N.T.D.; Konnerup, D.; Schierup, H.-H.; Chiem, N.H.; Tuan, L.A.; Brix, H. Kinetics of pollutant removal from domestic wastewater in a tropical horizontal subsurface flow constructed wetland system: Effects of hydraulic loading rate. Ecol. Eng. 2010, 36, 527–535. [Google Scholar] [CrossRef]
  23. Sheridan, C.M.; Glasser, D.; Hildebrandt, D. Estimating rate constants of contaminant removal in constructed wetlands treating winery effluent: A comparison of three different methods. Process Saf. Environ. Prot. 2014, 92, 903–916. [Google Scholar] [CrossRef]
  24. Gholizadeh, A.; Gholami, M.; Davoudi, R.; Rastegar, A.; Miri, M. Efficiency and Kinetic Modeling of Removal of Nutrients and Organic Matter from a Full-Scale Constructed Wetland in Qasre-Shirin, Iran; Social Science Research Network: Rochester, NY, USA, 2015. [Google Scholar]
  25. Hu, W.C.; Thayanithy, K.; Forster, C.F. A kinetic study of the anaerobic digestion of ice-cream wastewater. Process Biochem. 2002, 37, 965–971. [Google Scholar] [CrossRef]
  26. Crites, G.; Tchobanoglous, G. Small and Decentralized Wastewater Management Systems; McGraw-Hill: New York, NY, USA, 1998. [Google Scholar]
  27. De Oliveira Cruz, L.M.; Gomes, B.G.L.A.; Tonetti, A.L.; Figueiredo, I.C.S. Using coconut husks in a full-scale decentralized wastewater treatment system: The influence of an anaerobic filter on maintenance and operational conditions of a sand filter. Ecol. Eng. 2019, 127, 454–459. [Google Scholar] [CrossRef]
  28. Fitch, M.W.; England, E. Biological Fixed Film Systems. Water Environ. Res. 2002, 74, 1–87. [Google Scholar] [CrossRef]
  29. Picanço, A.P.; Vallero, M.V.G.; Gianotti, E.P.; Zaiat, M.; Blundi, C.E. Influence of porosity and composition of supports on the methanogenic biofilm characteristics developed in a fixed bed anaerobic reactor. Water Sci. Technol. 2001, 44, 197–204. [Google Scholar] [CrossRef] [PubMed]
  30. Eaton, A.D.; Franson, M. Water Environment Federation. Stand. Methods Exam. Water Wastewater Wash. DC Am. Public Health Assoc. 2005. [Google Scholar]
  31. Kim, S.-J.; Hong, S.-W.; Choi, Y.-S.; Bae, W.-K.; Lee, S.-H. Performance evaluation of a newly developed flow diverted bed system for stream restoration. Process Biochem. 2007, 42, 199–209. [Google Scholar] [CrossRef]
  32. Darajeh, N.; Idris, A.; Fard Masoumi, H.R.; Nourani, A.; Truong, P.; Sairi, N.A. Modeling BOD and COD removal from Palm Oil Mill Secondary Effluent in floating wetland by Chrysopogon zizanioides (L.) using response surface methodology. J. Environ. Manag. 2016, 181, 343–352. [Google Scholar] [CrossRef]
  33. Tchobanoglous, G.; Burton, F.L.; Stensel, H.D. Wastewater Engineering: Treatment and Reuse, 4th ed.; McGraw-Hill: New York, NY, USA, 2003. [Google Scholar]
  34. Halling-Sørensen, B.; Nielsen, S.N. A model of nitrogen removal from waste water in a fixed bed reactor using simultaneous nitrification and denitrification (SND). Ecol. Model. 1996, 87, 131–141. [Google Scholar] [CrossRef]
  35. Gradilla-Hernández, M.S.; García-González, A.; Gschaedler, A.; Herrera-López, E.J.; González-Avila, M.; García-Gamboa, R.; Yebra Montes, C.; Fuentes-Aguilar, R.Q. Applying Differential Neural Networks to Characterize Microbial Interactions in an Ex Vivo Gastrointestinal Gut Simulator. Processes 2020, 8, 593. [Google Scholar] [CrossRef]
  36. Gradilla-Hernández, S.; Herrera-López, E.J.; Gschaedler, A.; González-Avila, M.; Fuentes-Aguilar, R.; Garcia-Gonzalez, A. Differential neural network identifier for parameter determination of a mixed microbial culture model⁎⁎Authors thank the support of the Metabolic Diseases research group at Tecnolgico de Monterrey in Guadalajara. IFAC Pap. 2018, 51, 479–484. [Google Scholar] [CrossRef]
  37. Dochain, D. Automatic Control of Bioprocesses; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  38. Barati, R. Parameter Estimation of Nonlinear Muskingum Models Using Nelder-Mead Simplex Algorithm. J. Hydrol. Eng. 2011, 16, 946–954. [Google Scholar] [CrossRef]
  39. Zeikus, J.; Winfrey, M. Temperature limitation of methanogenesis in aquatic sediments. Appl. Environ. Microbiol. 1976, 31, 99–107. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  40. Saeed, T.; Sun, G. A review on nitrogen and organics removal mechanisms in subsurface flow constructed wetlands: Dependency on environmental parameters, operating conditions and supporting media. J. Environ. Manag. 2012, 112, 429–448. [Google Scholar] [CrossRef] [PubMed]
  41. Knowles, P.; Dotro, G.; Nivala, J.; García, J. Clogging in subsurface-flow treatment wetlands: Occurrence and contributing factors. Ecol. Eng. 2011, 37, 99–112. [Google Scholar] [CrossRef]
  42. Wu, J.; Zhang, J.; Jia, W.; Xie, H.; Gu, R.R.; Li, C.; Gao, B. Impact of COD/N ratio on nitrous oxide emission from microcosm wetlands and their performance in removing nitrogen from wastewater. Bioresour. Technol. 2009, 100, 2910–2917. [Google Scholar] [CrossRef]
  43. De la Varga, D.; Díaz, M.A.; Ruiz, I.; Soto, M. Avoiding clogging in constructed wetlands by using anaerobic digesters as pre-treatment. Ecol. Eng. 2013, 52, 262–269. [Google Scholar] [CrossRef]
  44. Van Haandel, A.; Van Der Lubbe, J. Handbook Biological Waste Water Treatment-Design and Optimisation of Activated Sludge Systems; Webshop Wastewater Handbook: London, UK, 2007. [Google Scholar]
  45. Wunderlin, P.; Mohn, J.; Joss, A.; Emmenegger, L.; Siegrist, H. Mechanisms of N2O production in biological wastewater treatment under nitrifying and denitrifying conditions. Water Res. 2012, 46, 1027–1037. [Google Scholar] [CrossRef]
  46. Melián, J.A.H.; Rodríguez, A.J.M.; Araña, J.; Díaz, O.G.; Henríquez, J.J.G. Hybrid constructed wetlands for wastewater treatment and reuse in the Canary Islands. Ecol. Eng. 2010, 36, 891–899. [Google Scholar] [CrossRef]
  47. Pehlivanoglu-Mantas, E.; Sedlak, D.L. Wastewater-Derived Dissolved Organic Nitrogen: Analytical Methods, Characterization, and Effects—A Review. Crit. Rev. Environ. Sci. Technol. 2006, 36, 261–285. [Google Scholar] [CrossRef]
  48. Bhunia, P.; Ghangrekar, M.M. Analysis, evaluation, and optimization of kinetic parameters for performance appraisal and design of UASB reactors. Bioresour. Technol. 2008, 99, 2132–2140. [Google Scholar] [CrossRef]
  49. Henze, M.; Harremoës, P. Anaerobic Treatment of Wastewater in Fixed Film Reactors—A Literature Review. Water Sci. Technol. 1983, 15, 1–101. [Google Scholar] [CrossRef]
  50. Pavlostathis, S.G.; Giraldo-Gomez, E. Kinetics of Anaerobic Treatment. Water Sci. Technol. 1991, 24, 35–59. [Google Scholar] [CrossRef]
  51. Zurita, F.; De Anda, J.; Belmont, M.A. Treatment of domestic wastewater and production of commercial flowers in vertical and horizontal subsurface-flow constructed wetlands. Ecol. Eng. 2009, 35, 861–869. [Google Scholar] [CrossRef]
  52. Peng, Y. Biological Nitrogen Removal with Nitrification and Denitrification via Nitrite Pathway. Appl. Microbiol. Biotechnol. 2006, 73, 15–26. [Google Scholar] [CrossRef]
  53. He, Y.; Tao, W.; Wang, Z.; Shayya, W. Effects of pH and seasonal temperature variation on simultaneous partial nitrification and anammox in free-water surface wetlands. J. Environ. Manag. 2012, 110, 103–109. [Google Scholar] [CrossRef]
  54. Dong, Y.; Scholz, M.; Harrington, R. Statistical Modeling of Contaminants Removal in Mature Integrated Constructed Wetland Sediments. J. Environ. Eng. 2012, 138, 1009–1017. [Google Scholar] [CrossRef]
  55. Nguyen, X.C.; Chang, S.W.; Nguyen, T.L.; Ngo, H.H.; Kumar, G.; Banu, J.R.; Vu, M.C.; Le, H.S.; Nguyen, D.D. A hybrid constructed wetland for organic-material and nutrient removal from sewage: Process performance and multi-kinetic models. J. Environ. Manag. 2018, 222, 378–384. [Google Scholar] [CrossRef]
  56. Bayley, M.L.; Davison, L.; Headley, T.R. Nitrogen removal from domestic effluent using subsurface flow constructed wetlands: Influence of depth, hydraulic residence time and pre-nitrification. Water Sci. Technol. 2003, 48, 175–182. [Google Scholar] [CrossRef]
  57. Galleguillos, M.; Vasel, J.-L. Landfill leachate characterization for simulation of biological treatment with Activated Sludge Model No. 1 and Activated Sludge Model No. 3. Environ. Technol. 2011, 32, 1259–1267. [Google Scholar] [CrossRef]
  58. Zhang, Y.; Wang, X.C.; Cheng, Z.; Li, Y.; Tang, J. Effect of fermentation liquid from food waste as a carbon source for enhancing denitrification in wastewater treatment. Chemosphere 2016, 144, 689–696. [Google Scholar] [CrossRef]
  59. Zhang, J.; Feng, C.; Hong, S.; Hao, H.; Yang, Y. Behavior of solid carbon sources for biological denitrification in groundwater remediation. Water Sci. Technol. 2012, 65, 1696–1704. [Google Scholar] [CrossRef]
  60. Fernández-Nava, Y.; Marañón, E.; Soons, J.; Castrillón, L. Denitrification of high nitrate concentration wastewater using alternative carbon sources. J. Hazard. Mater. 2010, 173, 682–688. [Google Scholar] [CrossRef] [PubMed]
  61. Babatunde, A.O.; Zhao, Y.Q.; Doyle, R.J.; Rackard, S.M.; Kumar, J.L.G.; Hu, Y.S. On the fit of statistical and the k-C* models to projecting treatment performance in a constructed wetland system. J. Environ. Sci. Health Part A 2011, 46, 490–499. [Google Scholar] [CrossRef] [PubMed]
  62. Moussavi, G.; Kazembeigi, F.; Farzadkia, M. Performance of a pilot scale up-flow septic tank for on-site decentralized treatment of residential wastewater. Process Saf. Environ. Prot. 2010, 88, 47–52. [Google Scholar] [CrossRef]
  63. Song, M.; Shin, S.G.; Hwang, S. Methanogenic population dynamics assessed by real-time quantitative PCR in sludge granule in upflow anaerobic sludge blanket treating swine wastewater. Bioresour. Technol. 2010, 101, S23–S28. [Google Scholar] [CrossRef]
  64. Yi, X.-H.; Wan, J.; Ma, Y.; Wang, Y. Characteristics and dominant microbial community structure of granular sludge under the simultaneous denitrification and methanogenesis process. Biochem. Eng. J. 2016, 107, 66–74. [Google Scholar] [CrossRef]
  65. Zhou, H.; Xu, G. Integrated effects of temperature and COD/N on an up-flow anaerobic filter-biological aerated filter: Performance, biofilm characteristics and microbial community. Bioresour. Technol. 2019, 293, 122004. [Google Scholar] [CrossRef]
  66. Viraraghavan, T.; Kikkeri, S.R. Effect of Temperature on Anaerobic Filter Treatment of Dairy Wastewater. Water Sci. Technol. 1990, 22, 191–198. [Google Scholar] [CrossRef]
  67. Liu, H.; Hu, Z.; Zhang, J.; Ngo, H.H.; Guo, W.; Liang, S.; Fan, J.; Lu, S.; Wu, H. Optimizations on supply and distribution of dissolved oxygen in constructed wetlands: A review. Bioresour. Technol. 2016, 214, 797–805. [Google Scholar] [CrossRef]
  68. Wang, W.; Ding, Y.; Ullman, J.L.; Ambrose, R.F.; Wang, Y.; Song, X.; Zhao, Z. Nitrogen removal performance in planted and unplanted horizontal subsurface flow constructed wetlands treating different influent COD/N ratios. Environ. Sci. Pollut. Res. 2016, 23, 9012–9018. [Google Scholar] [CrossRef]
  69. Liu, X.; Zhang, Y.; Li, X.; Fu, C.; Shi, T.; Yan, P. Effects of influent nitrogen loads on nitrogen and COD removal in horizontal subsurface flow constructed wetlands during different growth periods of Phragmites australis. Sci. Total Environ. 2018, 635, 1360–1366. [Google Scholar] [CrossRef] [PubMed]
  70. Liang, Y.; Zhu, H.; Bañuelos, G.; Yan, B.; Zhou, Q.; Yu, X.; Cheng, X. Constructed wetlands for saline wastewater treatment: A review. Ecol. Eng. 2017, 98, 275–285. [Google Scholar] [CrossRef]
  71. Li, X.; Zhang, M.; Liu, F.; Chen, L.; Li, Y.; Li, Y.; Xiao, R.; Wu, J. Seasonality distribution of the abundance and activity of nitrification and denitrification microorganisms in sediments of surface flow constructed wetlands planted with Myriophyllum elatinoides during swine wastewater treatment. Bioresour. Technol. 2018, 248, 89–97. [Google Scholar] [CrossRef] [PubMed]
  72. Hua, G.; Cheng, Y.; Kong, J.; Li, M.; Zhao, Z. High-throughput sequencing analysis of bacterial community spatiotemporal distribution in response to clogging in vertical flow constructed wetlands. Bioresour. Technol. 2018, 248, 104–112. [Google Scholar] [CrossRef]
  73. Rodríguez, M.G. Dynamic model of secondary process of urban wastewater treatment plants. J. Environ. Sci. Health Part Environ. Sci. Eng. Toxicol. 1997, 32, 2057–2068. [Google Scholar] [CrossRef]
  74. Jijai, S.; Srisuwan, G.; Sompong, O.; Ismail, N.; Siripatana, C. Effect of Granule Sizes on the Performance of Upflow Anaerobic Sludge Blanket (UASB) Reactors for Cassava Wastewater Treatment. Energy Procedia 2015, 79, 90–97. [Google Scholar] [CrossRef] [Green Version]
  75. Abyar, H.; Younesi, H.; Bahramifar, N.; Zinatizadeh, A.A.; Amini, M. Kinetic evaluation and process analysis of COD and nitrogen removal in UAASB bioreactor. J. Taiwan Inst. Chem. Eng. 2017, 78, 272–281. [Google Scholar] [CrossRef]
Figure 1. Agapanthus africanus planted in the horizontal flow constructed wetland (HFCW).
Figure 1. Agapanthus africanus planted in the horizontal flow constructed wetland (HFCW).
Water 12 03019 g001
Figure 2. Main parts of the wastewater treatment plant. The four sampling points (SP1, SP2, SP3, and SP4) are circled in blue.
Figure 2. Main parts of the wastewater treatment plant. The four sampling points (SP1, SP2, SP3, and SP4) are circled in blue.
Water 12 03019 g002
Figure 3. Experimental data and first-order kinetic model adjustment (red line).
Figure 3. Experimental data and first-order kinetic model adjustment (red line).
Water 12 03019 g003
Figure 4. (a) Model adjustment and differential neural network (DNN) for chemical oxygen demand (COD). (b) Derivative term for COD mass balance adjustment.
Figure 4. (a) Model adjustment and differential neural network (DNN) for chemical oxygen demand (COD). (b) Derivative term for COD mass balance adjustment.
Water 12 03019 g004
Figure 5. μ m a x ,   K s   , Y x / s , and r ( t ) obtained for a mass balance model of COD in HFCW.
Figure 5. μ m a x ,   K s   , Y x / s , and r ( t ) obtained for a mass balance model of COD in HFCW.
Water 12 03019 g005
Table 1. Average values of water quality parameters measured at each sampling point.
Table 1. Average values of water quality parameters measured at each sampling point.
BOD5 (mg/L)COD (mg/L)TSS (mg/L)TKN (mg/L)NH3 (mg/L)ON (mg/L)NO2 (mg/L)NO3 (mg/L)
SP1607.90 ± 112.09934.50 ± 168.74350.33 ± 74.82336.92 ± 12.17150.94 ± 5.62186.46 ± 7.502.88 ± 1.690.26 ± 0.06
SP2406.28 ± 85.14603.65 ± 94.7292.67 ± 13.29294.65 ± 27.50139.00 ± 9.92153.80 ± 21.230.98 ± 0.230.14 ± 0.04
SP3163.12 ± 34.90258.41 ± 57.3853.83 ± 11.89258.49 ± 30.96129.97 ± 10.99128.52 ± 23.240.52 ± 0.080.05 ± 0.02
SP459.78 ± 24.7487.39 ± 41.5111.33 ± 1.97163.90 ± 15.8083.67 ± 6.0080.24 ± 14.970.19 ± 0.040.01 ± 0.00
Table 2. Average values of removal efficiency and mass reduction by step and for the complete system.
Table 2. Average values of removal efficiency and mass reduction by step and for the complete system.
Removal Efficiency (%)Mass Reduction (mg/L)
OSSTUAFHFCWOSSTUAFHFCW
BOD590 ± 0533 ± 0757 ± 1764 ± 08548.1 ± 117.0201.6 ± 60.2243.2 ± 105.1103.3 ± 22.1
COD90 ± 0535 ± 0555 ± 1667 ± 10847.1 ± 181.0330.8 ± 92.8345.2 ± 136.9171.0 ± 37.0
TSS97 ± 0073 ± 0441 ± 1578 ± 05339.0 ± 73.3257.7 ± 65.238.8 ± 15.042.5 ± 11.4
TKN51 ± 0512 ± 1112 ± 0336 ± 07173.0 ± 20.342.3 ± 37.736.2 ± 8.494.6 ± 25.9
NH345 ± 0407 ± 1008 ± 0435 ± 0868.5 ± 7.211.4 ± 15.710.9 ± 6.946.3 ± 13.5
ON57 ± 0817 ± 1317 ± 0337 ± 07106.2 ± 17.032.7 ± 25.625.3 ± 2.448.3 ± 12.8
NO291 ± 0553 ± 3244 ± 1563 ± 082.7 ± 1.71.90 ± 1.80.45 ± 0.20.33 ± 0.1
NO395 ± 0244 ± 1567 ± 1474 ± 130.2 ± 0.10.12 ± 0.10.10 ± 0.00.03 ± 0.0
OS: overall system; ST: septic tank; UAF: up flow anaerobic filter; HFCW: horizontal flow constructed wetland.
Table 3. Average values for dissolved oxygen (DO), conductivity (CT), pH, and temperature by step and for the overall system.
Table 3. Average values for dissolved oxygen (DO), conductivity (CT), pH, and temperature by step and for the overall system.
DO (mg/L)CT (mS/cm)pHTemp (°C)
OS0.51 ± 0.501.52 ± 0.247.43 ± 0.6920.36 ± 2.25
SP10.50 ± 0.541.36 ± 0.317.80 ± 0.9221.04 ± 1.74
SP20.26 ± 0.131.65 ± 0.247.23 ± 0.7221.06 ± 1.97
SP30.72 ± 0.531.62 ± 0.207.32 ± 0.6720.91 ± 2.31
SP40.58 ± 0.671.45 ± 0.097.36 ± 0.3918.45 ± 2.27
OS: overall system; SP1: sump pump, SP2: the UAF inlet; SP3: the UAF outlet; SP4: HFCW outlet.
Table 4. Kinetic parameters for first-order models.
Table 4. Kinetic parameters for first-order models.
OS STUAFHFCW
BOD5C0599 ± 27p = 1.5 × 10−16608 ± 41p = 3.6 × 10−8406 ± 27p = 2.9 × 10−8163 ± 12p = 1.2 × 10−7
k0.15 ± 0.02p = 4.4 × 10−80.17 ± 0.05p = 7.4 × 10−30.14 ± 0.03p = 4.0 × 10−40.09 ± 0.02p = 1.0 × 10−3
R20.900.550.810.78
CODC0913 ± 39p = 3.5 × 10−17935 ± 56p = 1.2 × 10−8604 ± 32p = 3.8 × 10−9258 ± 20p = 1.8 × 10−7
k0.15 ± 0.02p = 1.4 × 10−80.18 ± 0.05p = 2.7 × 10−30.13 ± 0.02p = 8.9 × 10−50.09 ± 0.02p = 1.4 × 10−3
R20.920.640.850.78
TSSC0349 ± 19p = 5.1 × 10−15350 ± 22 p = 1.9 × 10−893 ± 05p = 6.0 × 10−954 ± 04p = 2.6 × 10−8
k0.51 ± 0.07p = 1.5 × 10−60.54 ± 0.10p = 2.9 × 10−40.09 ± 0.02p = 6.1 × 10−40.13 ± 0.03p = 5.6 × 10−4
R20.900.870.740.88
TKNC0332 ± 07 p = 3.9 × 10−23337 ± 09 p = 3.1 × 10−12295 ± 12p = 2.8 × 10−10259 ± 10p = 1.8 × 10−10
k0.03 ± 0.003p = 1.0 × 10−100.05 ± 0.02p = 6.5 × 10−30.02 ± 0.01p = 0.06 *0.04 ± 0.01p = 9.1 × 10−5
R20.890.540.310.82
NH3C0152 ± 01p = 4.8 × 10−24152 ± 03p = 3.0 × 10−11139 ± 04p = 1.8 × 10−11130 ± 04p = 6.6 × 10−12
k0.03 ± 0.002p = 2.7 × 10−100.05 ± 0.01p = 6.5 × 10−30.01 ± 0.01p = 0.17 *0.04 ± 0.004p = 6.4 × 10−6
R20.870.630.180.89
ONC0180 ± 06p = 9.2 × 10−20186 ± 07p = 6.2 × 10−11154 ± 09p = 1.1 × 10−8129 ± 08 p = 1.8 × 10−5
k0.04 ± 0.005p = 1.1 × 10−80.08 ± 0.02p = 5.6 × 10−30.03 ± 0.01p = 0.08 *0.04 ± 0.01p = 2.4 × 10−3
R20.830.560.280.65
NO2C00.26 ± 0.02p = 4.2 × 10−140.26 ± 0.02 p = 3.6 × 10−70.14 ± 0.01p = 1.1 × 10−60.05 ± 0.01p = 1.8 × 10−5
k0.22 ± 0.04p = 3.6 × 10−060.25 ± 0.07p = 6.8 × 10−30.18 ± 0.05p = 4.8 × 10−30.13 ± 0.05p = 3.0 × 10−2
R20.870.580.710.63
NO3C02.84 ± 0.4p = 5.8 × 10−72.88 ± 0.5p = 7.1 × 10−40.98 ± 0.08p = 1.5 × 10−60.52 ± 0.03p = 5.5 × 10−8
k0.38 ± 0.14p = 1.5 × 10−20.44 ± 0.24p = 0.10 *0.10 ± 0.03p = 6.1 × 10−30.09 ± 0.01p = 1.6 × 10−4
R20.610.440.680.90
OS: overall system; ST: septic tank; UAF: up flow anaerobic filter; HFCW: horizontal flow constructed wetland. * Not significant p-values (p > 0.05).
Table 5. Relevant multiple regression models.
Table 5. Relevant multiple regression models.
OSHFCWUAFST
Model TNout = 0.5TNin + 11.5DOin − 20.4DOout *BODout = 0.2BODin + 36.1DOin *BODout = BODin + 7.3NH3in − 6.7NH3out BODout = 0.7BODin − 1.2TNin 1.2TNout
R2 0.99720.99180.99100.9999
p-valuesTNin 0.0020BODin 0.0059BODin 0.7892BODin 0.02400
DOin 0.3448DOin0.0081NH3in 0.0561TNin 0.0774
DOout0.0923 NH3out0.0950TNout0.0710
Model TNout = 0.7TNin − 301NO2in − 742NO2out BODout = 0.6BODin − 98.6CTin + 82.6CTout *TNout = 1.4TNin − 1.5NH3in + 0.3NH3outTSSout = −0.2TSSin + 28.9CTin − 11.6CTout *
R2 0.99910.990710.9983
p-valuesTNin 0.0021BODin 0.0247TNin 0.0001TSSin 0.0052
NO2in 0.0182CTin0.0395NH3in 0.0020CTin 0.0198
NO2out0.5478CTout0.0896NH3out0.2348CTout0.2377
Model NH3out = 0.6NH3in − 3.3DOin − 7.9DOout *TSSout = -TSSin − 1.3Tempin + 2.1Tempout * NH3out = 0.7NH3in + 10.5 Tempin − 8.6Tempout *TSSout = 0.1TSSin + 0.1BODin − BODout
R2 0.99860.99900.99990.9995
p-valuesNH3in 8.54 × 10−5TSSin 0.4727NH3in 0.0029TSSin 0.0036
DOin 0.4415TEMPin 0.0672Tempin 0.0168BODin 0.0181
DOout0.0827TEMPout0.0292Tempout0.0173BODout0.3900
Model NH3out = 0.8NH3in + 0.1TSSin − 5.2 TSSoutTNout = 0.8TNin − 0.3CODin + 0.6 CODout NH3out = 1.1NH3in + CODin − 0.1CODoutONout = 0.6ONin − 0.3BODin + 0.5BODout
R2 0.99890.99720.99990.9999
p-valuesNH3in 0.0018TNin 0.0045NH3in 0.0005ONin 0.00657
TSSin0.1723CODin0.1218CODin 0.7403BODin 0.01863
TSSout0.0520CODout0.0822CODout0.0404BODout0.00594
Model ONout = 2.1ONin + 6.1pHin − 50pHout *NH3out = 0.8NH3in + 0.2CODin + 0.4CODout
R2 0.99320.9960
p-valuesONin0.0540NH3in 0.0098
pHin 0.3634CODin0.1405
pHout 0.0573CODout0.0914
OS: overall system; ST: septic tank; UAF: up flow anaerobic filter; HFCW: horizontal flow constructed wetland. NH3 = NH3; BOD = BOD5; NO2 = NO2. TNin, out; DOin, out; BODin, out; NH3in, out; NO2in, out; CTin, out; and TSSin, out; are the inlet and outlet concentration values of each parameter. Tempin, out are the inlet and outlet temperature values. * Models relating variables that require analytical processes to be measured with those that can be measured through sensors. Bold: Significant p-values (p < 0.1).
Table 6. Mean values and standard deviation for Y x / s (mg biomass/mg substrate), K s (mg/L), and μ m a x (h−1) obtained from mass balance models.
Table 6. Mean values and standard deviation for Y x / s (mg biomass/mg substrate), K s (mg/L), and μ m a x (h−1) obtained from mass balance models.
STUAFHFCW
ParameterMeanStd. Dev.MeanStd. Dev.MeanStd. Dev.
BOD5Yx/s0.67050.00030.66930.00820.65140.0008
Ks57.62540.008158.73222.548264.47110.0884
µmax0.12490.00900.05540.00270.01540.0031
CODYx/s0.55260.00040.55850.00030.56130.0002
Ks3.46850.00043.45750.00043.45590.0002
µmax0.15150.00800.05360.00430.01340.0037
NH3Yx/s0.32140.00010.32100.00010.32080.0001
Ks4.60720.00084.60720.00024.60770.0003
µmax−0.00090.00010.00090.00040.00200.0006
TKNYx/s0.56130.00010.56140.00020.56120.0001
Ks5.75960.00035.75950.00035.75980.0003
µmax0.00610.00100.00540.00100.00700.0014
ONYx/s0.56170.00000.56180.00000.56190.0000
Ks3.45560.00013.45530.00003.45540.0001
µmax0.00780.00070.00390.00040.00360.0004
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fernández del Castillo, A.; Verduzco Garibay, M.; Senés-Guerrero, C.; Yebra-Montes, C.; de Anda, J.; Gradilla-Hernández, M.S. Mathematical Modeling of a Domestic Wastewater Treatment System Combining a Septic Tank, an Up Flow Anaerobic Filter, and a Constructed Wetland. Water 2020, 12, 3019. https://doi.org/10.3390/w12113019

AMA Style

Fernández del Castillo A, Verduzco Garibay M, Senés-Guerrero C, Yebra-Montes C, de Anda J, Gradilla-Hernández MS. Mathematical Modeling of a Domestic Wastewater Treatment System Combining a Septic Tank, an Up Flow Anaerobic Filter, and a Constructed Wetland. Water. 2020; 12(11):3019. https://doi.org/10.3390/w12113019

Chicago/Turabian Style

Fernández del Castillo, Alberto, Marycarmen Verduzco Garibay, Carolina Senés-Guerrero, Carlos Yebra-Montes, José de Anda, and Misael Sebastián Gradilla-Hernández. 2020. "Mathematical Modeling of a Domestic Wastewater Treatment System Combining a Septic Tank, an Up Flow Anaerobic Filter, and a Constructed Wetland" Water 12, no. 11: 3019. https://doi.org/10.3390/w12113019

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop