Next Article in Journal
Enhancing Sustainability in Sugarcane Production Through Effective Nitrogen Management: A Comprehensive Review
Previous Article in Journal
Greater Application of Nitrogen to Soil and Short-Term Fumigation with Elevated Carbon Dioxide Alters the Rhizospheric Microbial Community of xTriticocereale (Triticale): A Study of a Projected Climate Change Scenario
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evaluation of the Performance of a Nitrogen Treatment Plant in a Continental Mediterranean Climate: A Spanish Pig Farm Case Study

by
Laura Escudero-Campos
1,
Francisco J. San José
2,*,
María del Pino Pérez Álvarez-Castellanos
2,
Adrián Jiménez-Sánchez
1,
Berta Riaño
3,
Raúl Muñoz
4 and
Diego Prieto-Herráez
5
1
Kerbest Foundation, 05005 Ávila, Spain
2
Department of Environment and Agroforestry, Faculty of Sciences and Arts, Universidad Católica de Ávila (UCAV), Calle Canteros s/n, 05005 Ávila, Spain
3
Agricultural Technological Institute of Castile and León (ITACyL), 47071 Valladolid, Spain
4
Chemical Engineering and Environmental Technology, University of Valladolid, 47002 Valladolid, Spain
5
Department of Technology, Faculty of Sciences and Arts, Universidad Católica de Ávila (UCAV), Calle Canteros s/n, 05005 Ávila, Spain
*
Author to whom correspondence should be addressed.
Nitrogen 2025, 6(3), 68; https://doi.org/10.3390/nitrogen6030068
Submission received: 16 June 2025 / Revised: 7 August 2025 / Accepted: 11 August 2025 / Published: 14 August 2025

Abstract

This study presents a four-year evaluation (2020–2024) of an integrated climate mitigation project on a pig farm in Ávila, Spain, at an elevation of over 1100 m above sea level with continental climate conditions. The project aimed to reduce greenhouse gas emissions (GHG) and nitrogen pollution by implementing solid–liquid filtration followed by biological treatment in a 625 m3 Sequencing Batch Reactor (SBR) operating under a nitrification–denitrification (N-DN) regime. The SBR carried out four daily cycles, alternating aerobic and anoxic phases, with 5 and 8 m3 inlets. Aeration intensity and redox potential were continuously monitored to optimize bacterial activity. Analytical parameters (pH, electrical conductivity, solids content, nitrogen, phosphorus, and potassium) were measured using ISO methods and tracked frequently. Annual emission reductions were 75% for N2O, up to 97% for NH3, and 80% for N2. In the summer months, we observed higher efficiency reduction for N2, NH3, and NO2. Additionally, there was a 75% average reduction for COD and up to 92% for total GHG emissions. This real-world case study highlights the effectiveness of SBR-based N-DN systems for nutrient removal and emission reduction in high-altitude, climate-sensitive regions, contributing to EU nitrate directive compliance and circular economy practices.

1. Introduction

The intensification of livestock farming has led to a significant rise in manure production, especially from pig farms, where slurry management has become a pressing environmental and regulatory concern. Spain is currently the leading producer of pig meat in the European Union (EU), accounting for 24% of EU production, and ranks third globally after China and the United States [1]. Castilla y León is a major contributor among Spanish regions, generating over 3.5 million pigs annually [2]. This level of production results in an estimated 7 million cubic meters of pig slurry each year [3].
Pig slurry is typically characterized by a high water content and low dry matter, making its direct application to agricultural fields both logistically challenging and environmentally risky. While it is a valuable source of nitrogen, phosphorus, potassium, and organic matter, its high ammonium nitrogen content poses a risk to water bodies due to leaching and runoff, particularly when applied in nitrate vulnerable zones (NVZs). In accordance with the EU Nitrates Directive (91/676/EEC) [4], nitrogen application from organic waste is limited to 170 kg N/ha/year in NVZs. NVZ areas represent a significant extension in Castilla y León. The study NDN plant is located in this Spanish region, encompassing over 14,000 km2 (nearly 20% of the region’s total area) and including nearly 400 municipalities.
In this context, the challenge of managing livestock waste arises, particularly in transforming the nitrogen in pig slurry into more sustainable and environmentally friendly forms. One effective strategy involves processing the slurry through nitrification–denitrification (NDN) treatment plants, where the ammonium (NH4+) contained in the slurry is biologically converted into molecular nitrogen gas (N2), which is harmlessly released into the atmosphere [5]. As urea in urine is hydrolyzed to ammonium (NH4+) and subsequently converted to nitrate (NO3) through microbial nitrification in soils, the excessive or poorly managed application of slurry increases the risk of groundwater contamination and contributes to eutrophication [6]. To address these concerns, pre-treatment of slurry before land application has become increasingly important.
In recent years, Spain has adopted strategies under its national climate policy, such as the “Clima Projects” promoted by the Ministry for the Ecological Transition and the Demographic Challenge, which incentivize implementing low-emission technologies in diffuse sectors, including agriculture [7]. Among the main emission sources in pig farming are ammonia volatilization and nitrous oxide emissions derived from slurry management and storage. To reduce these emissions while maintaining nutrient recycling in agriculture, two primary approaches have emerged for nitrogen management in manure: transformation of nitrogen into inert gaseous forms via biological or physicochemical processes [8], and concentration and recovery of nitrogen for use as fertilizer in a more controlled form [9]. Biological treatments integrating solid–liquid filtration and (N-DN) processes offer a technically and economically viable solution for medium to large-scale farms [10,11].
Solid–liquid filtration reduces organic load and suspended solids in the liquid fraction, enhancing the efficiency of biological treatments. The solid fraction can be composted and used as an organic amendment, contributing to soil organic matter restoration—an objective aligned with the EU Soil Strategy and the Farm to Fork strategy [12]. Meanwhile, the liquid fraction can be biologically treated using technologies such as Sequential Batch Reactors (SBRs), which alternate aerobic and anoxic conditions to promote nitrification and subsequent denitrification, effectively reducing total nitrogen content [9,13]. The SBR system has demonstrated robust and cost-effective nitrogen removal for high-strength agro-industrial effluents, such as pig slurry, achieving removal efficiencies ranging from 50% to 90% depending on influent characteristics and operational parameters [14,15].
The province of Ávila, where the Nitrogen Treatment Plant evaluated in this work is located, is characterized by what the Spanish State Meteorological Agency (AEMET) describes as a Continental Mediterranean climate [16]. This climate represents a variation of the typical Mediterranean type but is marked by more pronounced temperature extremes. Due to its inland location and significant elevation, Ávila experiences colder, longer winters—with average temperatures often falling below 3 °C—and warm to hot summers marked by a clear dry period. This continental influence leads to notable daily and seasonal temperature swings, distinguishing it from the milder Mediterranean climates closer to the coast. A key peculiarity of Ávila is its high altitude: the provincial capital is approximately 1131 m above sea level, making it the highest provincial capital in Spain. This elevation intensifies the continental characteristics of the climate, resulting in cooler temperatures throughout the year and sharper contrasts between seasons compared to other Mediterranean regions at lower altitudes.
These pronounced temperature fluctuations and the generally cooler climate, especially during the extended cold season, pose challenges for biological treatment processes, such as NDN employed in wastewater management. The microbial communities responsible for NDN are highly temperature-sensitive; lower temperatures can slow or inhibit nitrification and denitrification rates, potentially reducing treatment efficiency. Consequently, climatic conditions in Ávila require careful consideration when designing and operating NDN systems to ensure optimal performance throughout seasonal variations.
This study evaluates the implementation of a climate mitigation project titled “Reduction of Greenhouse Gas Emissions in Pig Farms through Integrated Waste Management Technologies,” conducted between 2020 and 2024 on a pig farm in Ávila, Spain. The farm houses 3000 sows and represents a real-case scenario of integrated slurry treatment under Spanish and EU environmental regulations. Notably, this processing plant is situated in a zone with a peculiar climate and high altitude, distinguishing it from many other similar facilities installed in Spain, which are often located in milder, lower-altitude regions. This unique environmental context will influence the plant’s operational dynamics and treatment efficiency. The primary objective of this study was to evaluate the plant’s performance and environmental benefits under different operational configurations, including variations in anoxic and aerobic phase durations, daily treated volumes, reductions in holding times within equalization tanks [17], etc. A secondary objective is to understand how seasonal and interannual climatic variations—reflecting the peculiar climate of the region where the plant is located, with high altitude, sharp temperature shifts in summer, and long, cold winters—influenced its performance over the four-year study period. The conclusions obtained will inform future decision-making regarding plant operation, whose expected optimization will be further analyzed in subsequent research.

2. Materials and Methods

2.1. Farm Description and Project Implementation

This study was conducted at a commercial pig farm in Herreros de Suso (Ávila, Spain) (Figure 1), part of the Kerbest Group, housing approximately 3000 white sows. The treatment system was implemented between 2020 and 2024 under the Clima Project, funded by the Spanish Carbon Fund for a Sustainable Economy (FES-CO2), with the primary objective of reducing greenhouse gas (GHG) emissions through integrated slurry management.
The facility was designed and installed by Mecàniques Segalés S.L. (Vic, Barcelona, Spain), a company with over 50 years of experience in agricultural waste treatment systems. The treatment line includes mechanical and biological processes recognized as Best Available Techniques (BATs) by Spanish and EU environmental authorities [18].
The integrated nitrogen removal system was monitored at the treatment plant over a four-year period (2020–2024). The facility treats the liquid fraction of pig slurry using a multi-stage process that includes mechanical solid–liquid filtration and biological treatment in a Sequencing Batch Reactor (SBR) configured for NDN.

2.2. Slurry Pre-Treatment: Equalization and Solid–Liquid Filtration

Pig slurry is initially collected in a reception and equalization tank with a hydraulic retention time (HRT) of approximately 7 days. This tank is equipped with mechanical stirring operated via a timer to ensure homogeneity, reduce fluctuations in composition, and provide a continuous feed for subsequent treatment steps. Before entering the biological stage, the raw slurry undergoes two successive filtration processes designed to reduce suspended solids and optimize downstream reactor performance (see Figure 2):
Primary Filtration: The slurry, homogenized in a reception pit, is pumped to an inclined ramp screen with a 250 µm mesh that retains coarse solids. The screened liquid is transferred to Equalization Tank 1. This first filtration uses the Kompack® system (Mecàniques Segalés SL, Barcelona, Spain), which combines a 250 mm ramp filter with a pressure separator. The solid fraction contains approximately 29–30% total solids (TS), ~7 g·kg−1 total Kjeldahl nitrogen (TKN), and ~1.9 g·kg−1 total phosphorus (P), making it suitable for composting or off-site agricultural use.
Secondary Filtration: Liquid from Equalization Tank 1 undergoes finer filtration through vibrating sieves with an 80 µm mesh. The resulting clarified liquid is stored in Equalization Tank 2, which acts as the feed reservoir for the SBR. In this step, the liquid fraction undergoes microfiltration via a vibrating screen (FILVI system (Mecàniques Segalés SL, Barcelona, Spain) with a mesh size of 80 µm, yielding a clarified liquid with 10–20 g·kg−1 TS, ~2.0 g·kg−1 TKN, and <0.2 g·kg−1 P. This clarified effluent is suitable for biological treatment [19,20].

2.3. Biological Treatment: Sequencing Batch Reactor (SBR)

The clarified liquid fraction is biologically treated in an SBR system (Mecàniques Segalés SL, Barcelona, Spain) with a total operational volume of 625 m3, operating in repeated time-based cycles that alternate between aerobic and anoxic phases, thus enabling the sequential removal of nitrogen via coupled nitrification and denitrification processes. Each cycle lasts approximately 6 h, allowing for up to four cycles per day, and is dynamically controlled based on oxidation–reduction potential (ORP). The SBR cycle includes the following phases:
  • Filling: Influent from Equalization Tank 2 is introduced under agitation but without aeration, establishing an initial anoxic environment.
  • Aerobic Phases (Phases 1 and 3): Aeration is applied to support biological nitrification. Ammonia-oxidizing bacteria (AOB), such as Nitrosomonas, oxidize ammonium (NH4+) to nitrite (NO2), and nitrite-oxidizing bacteria (NOB), such as Nitrobacter or Nitrospira, further oxidize nitrite to nitrate (NO3). The reactions are as follows:
NH4+ + 1.5 O2 → NO2 + H2O + 2 H+
NO2 + 0.5 O2 → NO3
Approximately 75% of the required oxygen is consumed during the nitritation step, generating protons (H+) and potentially lowering the pH depending on the system’s buffering capacity.
  • Anoxic Phases (Phases 2 and 4): In the absence of dissolved oxygen, denitrifying heterotrophic bacteria (e.g., Paracoccus, Pseudomonas) use residual organic matter as an electron donor to reduce nitrate and nitrite to nitrogen gas (N2), which is then released into the atmosphere. Denitrification proceeds via the following reactions:
0.33 NO2 + 1.33 H+ + e → 0.17 N2 + 0.67 H2O
0.20 NO3 + 1.20 H+ + e → 0.10 N2 + 0.60 H2O
Denitrification via nitrite is more energy- and carbon-efficient and helps counteract acidification resulting from nitrification.
  • Sedimentation: Biomass is allowed to settle, separating it from the treated supernatant.
  • Decanting and Sludge Wasting: A programmed volume of clarified effluent is discharged, and surplus sludge is periodically removed to maintain optimal biomass concentration and ensure stable operation. Treated effluent and waste sludge volumes are quantified via flow meters.
  • Batch Refilling: Feed volumes per batch typically range between 5 and 8 m3, adjusted according to real-time monitoring of reactor conditions, such as oxidation–reduction potential and organic load estimated via refractometric readings. Hydraulic stability is maintained by balancing influent and effluent volumes across cycles.
The SBR system has demonstrated robust and cost-effective nitrogen removal for high-strength agro-industrial effluents, such as pig slurry, achieving removal efficiencies ranging from 50% to 90% depending on influent characteristics and operational parameters [21,22].

2.4. Final Effluent Polishing and Sludge Management

Post-SBR, the treated effluent flows through secondary sedimentation channels for final polishing. These channels capture suspended solids and support the growth of natural biofilms (algae, bacteria, protozoa), which enhance the uptake of residual nitrogen and organic matter. The final effluent contains <0.3 g·L−1 total nitrogen, representing overall nitrogen removal efficiencies of >85%, and is suitable for fertigation applications.
Excess sludge from the SBR and sedimentation channels is processed in a thickener, concentrating solids to 7–9% TS. The sludge volume represents ~12% of the total treated liquid and is sent off-site for composting, supporting circular nutrient management.

2.5. Methods

2.5.1. Sampling Procedure

To ensure that the analytical results accurately reflect the composition of the pig slurry, all samples collected for characterization were obtained following an internal standardized Sampling and Analysis Protocol to ensure that the measured nitrogen content accurately reflected the composition of the waste material. Samples were collected to represent the material under study and transported under conditions that preserved their original characteristics. Clean, dry containers of PTFE or polyethylene were labeled with the sample name, date, and time. Composite samples were created by combining grab samples collected within the relevant process interval at different times. The flow was allowed to run for tap sampling before collecting each grab, which was then homogenized to produce the final composite. Each sample was collected in duplicate, with a final volume of 1 L, leaving headspace in the container for gas expansion or freezing. During transport and storage, the samples were kept at 4–8 °C. If the analysis was delayed more than two days, the samples were frozen at −18 °C, except where freezing could affect sample integrity.

2.5.2. GHG Emission Calculation

A standardized calculation tool developed by Spain’s Ministry for the Ecological Transition and Demographic Challenge (MITECO) was employed to estimate reductions in greenhouse gas emissions. This tool, provided as an Excel-based workbook [23], quantifies emission reductions by comparing two scenarios: a baseline scenario in which pig slurry is directly applied to agricultural fields without treatment, and a project scenario where specific treatment technologies—such as the nitrification–denitrification (NDN) process—are used to transform the waste and mitigate emissions.
The slurry produced on the farm was characterized, allowing for identifying two distinct types based on their origin and composition.
On the one hand, a slurry with a higher nitrogen content and significant agronomic value was identified, primarily originating from gestating sows. This type of slurry has a total nitrogen (Nt) content ranging from 4 to 7 kg/m3.
On the other hand, the slurry produced in the farrowing units and from piglets was characterized by a higher water content and, consequently, a much lower total nitrogen concentration, typically between 1 and 2 kg/m3. Due to these characteristics, this second type of slurry was treated at the NDN plant as part of the current project.
The calculation must be performed annually and requires comprehensive, verifiable data, including detailed chemical analyses of the waste before and after treatment and thorough documentation of transport logistics in the baseline scenario (e.g., average transport distances, quantities moved, and number of trips).
The project is subject to external verification by an accredited certification body each year. This entity reviews both regulatory compliance and the methodological soundness of the calculations. Official registration with MITECO is only granted if it can be demonstrated that the treatment process achieves at least a 60% reduction in emissions relative to the baseline scenario. Such registration ensures the legal validity, traceability, and formal recognition of the emission reductions achieved by the NDN plant within Spain’s national climate change mitigation framework.

2.5.3. Analytical Methods

All physicochemical analyses followed internationally standardized protocols, primarily ISO methods, ensuring traceability and reproducibility. The samples of pig slurry were analyzed in triplicate. Below is a detailed description of each parameter, methodology, and standard applied.
  • pH Measurement: The pH was measured using a combined glass electrode, previously calibrated with standard buffer solutions (pH 4.00, 7.00, and 10.00). The measurement was conducted under ISO 10523:2008 [24].
  • Density: Density was determined using a digital oscillation-type densimeter at 20 °C, following ISO 15212-1:1998 [25].
  • Electrical Conductivity (1:9 dilution): Samples were diluted 1:9 (w/v) with deionized water. Conductivity was measured using a conductivity meter with automatic temperature compensation, following ISO 11265:1994 [26].
  • Direct Electrical Conductivity: Undiluted samples were analyzed using a conductivity meter, as described in ISO 7888:1985 [27].
  • Electrical Conductivity in Solids: As no ISO standard exists for this matrix, the procedure followed a validated internal protocol based on leachate extraction and conductivity measurement, referencing ISO 11265:1994 [26].
  • Moisture Content: Moisture was assessed gravimetrically by drying at 105 °C until a constant weight, according to ISO 11465:1993 [28].
  • Total Solids: Total solids were determined via oven drying at 105 °C, following ISO 11465:1993 [28].
  • Volatile Solids: The loss on ignition at 550 °C was used to estimate volatile solids (organic matter), following ISO 10694:1995 [29].
  • Ammoniacal Nitrogen (NH4+): Ammonium nitrogen was determined by spectrophotometry following the indophenol blue method, as per ISO 11732:2005 [30].
  • Total Nitrogen: Total nitrogen was determined by modified Kjeldahl digestion and distillation, based on ISO 11261:1995 [31].
  • Total Phosphorus (P2O5): Samples were subjected to acid digestion, and the phosphorus content was quantified spectrophotometrically using the ascorbic acid method (ISO 6878:2004) [32].
  • Potassium (K2O): Potassium was determined via atomic absorption spectrometry (AAS) following sample digestion, by ISO 9964-3:1998 [33].
  • Chemical Oxygen Demand (COD): COD was determined via closed reflux with potassium dichromate and spectrophotometric detection, based on ISO 6060:1989 [34].
  • Nitrite (N-NO2): Nitrite was measured by colorimetry after reaction with sulfanilamide and N-(1-naphthyl) ethylenediamine, by we ISO 6777:1984 [35].

2.5.4. Statistical Analysis

Statistical analyses were conducted using the R programming environment (version 4.3; R Core Team, Vienna, Austria) [36]. Linear regression models were employed to examine the influence of operational variables on key performance indicators, such as nitrogen removal efficiency and effluent quality. Before modeling, the datasets were evaluated for normality using the Shapiro–Wilk test and for homoscedasticity using Levene’s test. Correlation matrices were constructed to explore potential associations between input parameters—such as treated volume, mixing duration, aeration duration, etc.—and treatment outcomes (total nitrogen efficiency, NO2 reduction efficiency, etc.). Pearson’s correlation coefficient (R) was used for normal distribution data, while Spearman’s rank correlation was applied to non-parametric datasets.
Statistical significance was defined as follows: *** (p ≤ 0.001) indicates highly significant, ** (p ≤ 0.01) indicates very significant, * (p ≤ 0.05) indicates significant, (p ≤ 0.1) indicates marginally significant, and no symbol denotes non-significant results (p > 0.1). Although the Pearson correlation coefficient (R) quantifies the strength and direction of a linear relationship between two continuous variables, the associated p-value reflects the statistical likelihood that the observed correlation occurred by chance. All statistical analyses and visualizations were conducted in the R environment, using packages such as ggplot2 or GGally for plotting and ggpairs to produce correlation matrix diagrams, which facilitated the interpretation of multivariate relationships across operational and performance variables.
To evaluate differences in key measured indicators (e.g., input–output and efficiency of COD, P2O5, NH4+, etc.) across the different months over the four-year study period, one-way Analysis of Variance (ANOVA) was applied. The ANOVA tested the null hypothesis that mean values did not differ significantly among months. When significant differences were detected (p < 0.05), post hoc multiple comparison tests were performed to identify homogeneous groups. Specifically, Tukey’s Honest Significant Difference (HSD) test was used to control the family-wise error rate and to establish which monthly means were statistically distinguishable. The R function aov() was used to fit the ANOVA models, and HSD.test() was applied to derive pairwise comparisons and identify homogeneous groups of months with similar treatment performance. This approach allows for robust interpretation of seasonal patterns and operational variability, providing insight into how temporal factors influence reactor performance in a Mediterranean continental climate.

3. Results

3.1. Long-Term Efficiency Performance of Typical Operating Cycles

3.1.1. COD Reduction Efficiency

Figure 3 compares monthly mean COD reduction efficiencies over the four-year study period using homogeneous group analysis (ANOVA). Months belonging to the same homogeneous group are indicated in the same color. As observed, the average COD reduction efficiency is close to 75% for most months, except for April, which exhibits the lowest mean value.
When performing an annual evaluation of the differences between input and output COD values in the NDN reactor (Figure 4), June through August exhibit the most remarkable COD removal differences. This increase in COD reduction corresponds with the warmest months of the year.
Regarding the analysis of correlations with operational configurations such as variations in anoxic and aerobic phase durations, daily treated volumes, and reductions in holding times within equalization tanks, etc., the efficiency of COD removal shows correlations with several operational variables (see Figure S1): the treated volume (Corr. 0.203 *) and residence time in Equalization Tank 1 (Corr. 0.280 ***). Notably, residence time in Equalization Tanks 1 (Corr. 0.569 ***) and 2 (Corr. 0.435 ***) increases during periods when higher volumes (TreatVol) of slurry are processed and when decreasing the aeration time (Corr. −0.355). This indicates that during these periods, the residence times in the pre-treatment equalization tanks preceding the SBR-NDN process are extended.
These positive correlations suggest that higher inflows result in system-wide adjustments that lead to longer retention times before the biological treatment stage, potentially influencing oxidation–reduction dynamics and microbial activity in subsequent phases.
As will be discussed further when analyzing the performance of phase-specific operation rates (e.g., ORP slope, aeration control), this trend suggests that efficiency is more likely to be compromised during high-load periods due to shifts in hydraulic conditions and process stability.
In addition, residence time in Equalization Tank 2 shows positive correlations with treated volumes (Corr. 0.435 ***) and aeration time (Corr. –0.362 ***), indicating possible compensatory interactions between physical equalization processes and biological activity. Furthermore, correlations with average temperature and wet-bulb temperature (Corr. 0.261 ** and 0.240 ***) highlight the role of ambient climate in influencing tank behavior and microbial dynamics.
A particularly notable result is the strong negative correlation between mixing time and aeration time (Corr. –0.371 ***), which may reflect an operational balancing strategy, where longer mixing phases are offset by reduced aeration times, or vice versa, depending on system demands.
A robust inverse correlation was observed between relative humidity and temperature (Corr. –0.805 ***), confirming the expected meteorological pattern: as temperature increases, relative humidity decreases. This interdependence is essential for interpreting how climatic fluctuations may indirectly influence biological treatment performance.
These correlations, derived from Pearson’s coefficient (R) for normally distributed variables and Spearman’s rank for non-parametric data, were interpreted in light of their statistical significance thresholds, as defined previously. Together, they support the identification of interdependent variables that can affect the system’s treatment performance under variable climatic and operational loads.

3.1.2. NH4+ Reduction Efficiency

Figure 5 compares monthly mean NH4+ removal efficiencies over the four years, grouped by homogeneous subsets using ANOVA analysis. As observed, NH4+ removal efficiency remained consistently high throughout the year, with average values close to 97% for most months. However, July and August exhibited significantly lower mean efficiencies, around 95%, forming their own distinct homogeneous group. This seasonal decline corresponds to the year’s hottest months and will be further examined in subsequent correlation analyses with temperature data.
When performing an annual evaluation of the differences between the input and output NH4+ values in the NDN reactor, it is observed that the months from May to July exhibit the most remarkable NH4+ removal differences (Figure 6), coinciding with the warmest months of the year.
Regarding the analysis of correlations with operational configurations, the NH4+ reduction efficiency also demonstrated significant correlations with several operational and environmental variables (see Figure S2). A high negative correlation was found with residence time in Equalization Tank 2 (Corr. –0.472 ***), suggesting that prolonged retention in this tank may adversely affect ammonium removal. Conversely, mixing time (Corr. 0.176 *), aeration time (Corr. 0.387 *), and relative humidity (Corr. 0.256 **) showed a positive correlation, indicating that enhanced equalization may promote more effective ammonium reduction, likely due to improved substrate distribution and contact with nitrifying microorganisms.
In terms of environmental conditions, both mean temperature and wet-bulb temperature were negatively correlated with NH4+ removal efficiency (Corr. –0.309 *** and –0.2562 **, respectively), while relative humidity displayed a positive correlation (Corr. 0.306 ***), suggesting that cooler, more humid conditions favor ammonium removal.
Concerning treated volume, significant positive correlations were observed for both Equalization Tank 1 (Corr. 0.569 ***) and Equalization Tank 2 (Corr. 0.435 ***), consistent with patterns noted in the analysis of COD efficiency and pointing to volumetric loading as a key driver in system behavior. Interestingly, aeration time exhibited a weak negative correlation with NH4+ reduction efficiency (Corr. –0.350 ***).

3.1.3. NO2 Reduction Efficiency

Figure 7 shows the results of an ANOVA-based homogeneous group comparison of the monthly average NO2 reduction efficiencies recorded over the four-year study period. The data reveal that the reduction efficiency averages around 55% between November and April. In contrast, during July and August, the efficiency markedly improves, with values near 95%, constituting a separate homogeneous group. This pattern again highlights the influence of the warmest months on NO2 reduction performance, a relationship that will be further explored through temperature correlation analyses.
The annual analysis of NO2 input–output differences in the NDN reactor indicates that the lowest reduction differences are observed from July to September, the hottest months of the year (Figure 8).
Regarding the analysis of correlations with operational configurations, the NO2 reduction efficiency exhibited several statistically significant correlations with operational and climatic variables (see Figure S3). No correlation was found with the treated volume (Corr. 0.030). At the same time, residence time in Equalization Tank 2 showed a strong negative correlation (Corr. –0.303 ***), indicating that longer retention in this tank may lead to conditions unfavorable for complete nitrite reduction, possibly due to partial nitrification or substrate imbalances.
Regarding process dynamics, aeration time displayed a moderate positive correlation with NO2 removal efficiency (Corr. 0.177 *), highlighting the role of oxygen availability in promoting the oxidation of nitrite to nitrate during the aerobic phase. In contrast, mixing time was weakly or not correlated (Corr. –0.142), which may suggest that excessive mixing without concurrent aeration provides limited benefit for nitrite conversion.
Environmental conditions did not play a notable role: both mean temperature and wet-bulb temperature showed no correlations (Corr. –0.097 and –0.053, respectively), indicating no relation between higher temperatures and the inhibition of optimal NO2 reduction. On the other hand, temperature differential presented a moderate positive correlation (Corr. 0.183 *), suggesting that greater thermal variation between the reactor and the atmosphere may be associated with improved NO2 removal, possibly due to diurnal shifts in oxygen demand or process rebalancing during alternating operational phases.
The results reveal that nitrite reduction is highly responsive to both operational parameters and environmental factors, reinforcing the importance of integrated system management to accommodate diverse climatic conditions.

3.1.4. Total Nitrogen Reduction Efficiency

Figure 9 shows a comparison, by homogeneous groups (ANOVA), of the mean monthly results for the total N reduction efficiency over the four years of study. As can be seen, the total N reduction efficiency shows average values close to 90% between February and May. It is reduced to average values close to 80% from June to September. Once again, the hottest months of the year affect efficiency, as will be shown later in the correlation diagrams with temperature.
An annual evaluation of the differences between the total nitrogen input and output values in the NDN reactor reveals that the smallest reduction differences occur from July to September, coinciding with the year’s warmest months. This variability in input–output results may explain why the reduction efficiency observed in January and December does not follow the typical pattern observed in the other colder months (Figure 10).
Regarding the analysis of correlations with operational configurations, the total nitrogen reduction efficiency exhibited significant correlations with several operational and environmental variables (see Figure S4). A negative correlation was observed with the treated volume (Corr. –0.172 *), indicating that increased hydraulic loading negatively impacts nitrite removal efficiency. Similarly, residence times in Equalization Tank 1 (Corr. –0.189 *) and Equalization Tank 2 (Corr. –0.308 ***) showed negative correlations, suggesting that longer retention before biological treatment reduces the system’s effectiveness in nitrite reduction.
Conversely, aeration time was positively correlated with total nitrogen removal efficiency (Corr. 0.401 ***), highlighting the importance of sufficient oxygen supply during the aerobic phase for effective nitrite oxidation. Additionally, relative humidity exhibited a negative correlation (Corr. –0.276 ***), implying that lower humidity conditions may favor nitrite removal, potentially through effects on microbial activity or oxygen transfer efficiency. This last factor is related to average temperature (Corr 0.214 **) and medium wet-bulb temperature (TbH Avg) (Corr 0.206 *), with a negative correlation between the total nitrogen reduction efficiency and higher temperature values.
These findings underscore the sensitivity of nitrite reduction to both operational control and ambient environmental conditions, further emphasizing the need for integrated system management under varying climatic scenarios.

3.1.5. P2O5 Reduction Efficiency

Figure 11 shows the results of an ANOVA-based homogeneous group comparison of the monthly average P2O5 reduction efficiency over the four-year study period. The data indicate that the average reduction efficiency is close to 30% for most months. However, from May to August, the efficiency increases to average values near 45%. Once again, the year’s warmest months appear to influence efficiency, a relationship that will be further examined in the correlation diagrams with temperature.
An annual evaluation of the differences between P2O5 input and output values in the NDN reactor shows that the smallest reduction differences occur between November and January, the coldest months of the year (Figure 12). Conversely, the most considerable P2O5 removal differences are observed from May to August.
Regarding the analysis of correlations with operational configurations in an SBR-NDN system (see Figure S5), the reduction efficiency of P2O5 (phosphorus, typically present as phosphate) does not appear to be significantly influenced by the treated volume or the residence time in Equalization Tank 1, suggesting that these early-stage operational variables do not strongly affect phosphorus dynamics in this setup. However, the negative correlation with the residence time in Equalization Tank 2 (Corr. −0.307 ***) indicates that longer retention in this later-stage equalization tank may harm phosphorus removal. This could be due to the release of phosphorus from organic matter under anoxic or slightly reducing conditions, which can occur if the tank operates without sufficient oxygen or mixing, leading to phosphorus solubilization rather than its retention or biological uptake. Conversely, the positive correlation with aeration time (Corr. 0.286 ***) suggests that longer aerobic phases in the SBR enhance phosphorus removal, likely through enhanced biological phosphorus uptake by polyphosphate-accumulating organisms (PAOs). These microorganisms assimilate phosphorus most effectively under aerobic conditions after exposure to prior anaerobic conditions, a core mechanism in enhanced biological phosphorus removal (EBPR) [37].

3.1.6. GHG Emission Analysis

Regarding the analysis of GHG emissions, Table 1 and Table 2 summarize N2O and other GHG emissions, respectively. These values were computed using the tool provided by MITECO [23]; the results obtained show an approximate annual reduction of 75% in N2O emissions and up to 92% in total greenhouse gas (GHG) emissions following the implementation of the NDN plant. In their study, the authors propose optimizing the conventional SEP = NDN configuration by incorporating a prior nutrient recovery stage. This enhancement enables additional resource valorization and significantly reduces the potential for N2O formation within the NDN process.
A comparison between both approaches suggests that integrating nutrient recovery prior to biological treatment could further enhance the overall GHG mitigation efficiency, potentially surpassing the reductions observed in this study. In this context, integrating complementary technologies with NDN represents a promising technological pathway for developing more sustainable systems with a lower climate footprint in agro-industrial and waste treatment applications.

3.2. Analysis of Oxidation–Reduction Potential Performance During Aerobic and Anoxic Phases

Figure 13 shows the distribution of the velocity variation in the ORP during Phases 1 and 3 (aerobic phases), analyzing each month individually. The color of the graphics represents the group result of an ANOVA analysis over the four-year study period. The ORP slope in these phases provides insight into the system’s recovery rate throughout the year, indicating that higher slopes reflect a better capacity to respond to flow variations under different climatic conditions.
  • Oxidation–Reduction Potential (ORP) Slope Analysis During Aerobic Phases:
The density plots for ORP in Phases 1 and 3 reveal key patterns in the distribution of ORP slope values throughout the year. When a single prominent peak is observed in the density curve, it indicates that Phases 1 and 3 share similar ORP values, as is evident in March, April, and May. Conversely, when the peaks are more pronounced and located further from the origin, this suggests improved aeration system performance and enhanced oxygen solubility, conditions more frequently observed during the colder months from September to December.
Additionally, the density peaks in April and May tend to cluster around ORP values of approximately 1.5, forming a statistically distinct homogeneous group. The observed shift in the density peaks from the left side of the graph (February to May) to the right side as temperatures rise in June suggests that ORP values progressively increase with warmer conditions before decreasing again in the colder months. However, the formation of a separate homogeneous group for January cannot be fully explained with the current dataset. It may be influenced by variations in influent quality, such as differences in manure composition.
The slope between the maximum and minimum ORP values observed during Phases 1 and 3 of each operational cycle indirectly indicates the rate at which the system reaches the target redox conditions. This slope reflects the biological activity and system responsiveness under aerobic conditions.
In both Phase 1 and Phase 3, the ORP slope positively correlates with the treated volume (Phase 1: Corr. 0.199 ***; Phase 3: Corr. 0.308), indicating that higher inflows may enhance oxidative processes, possibly due to increased substrate availability (see Figures S6 and S7, respectively). Additionally, residence time in Equalization Tank 3 positively correlates with the OR slope in both phases (Phase 1: Corr. 0.333 ***; Phase 3: Corr. 0.304 ***), suggesting that extended retention times before aeration phases may improve redox transition efficiency.
The strongest positive correlations are observed with aeration time (Phase 1: Corr. 0.649 ***; Phase 3: Corr. 0.748), emphasizing the importance of sufficient oxygen supply in accelerating oxidative reactions and achieving optimal redox states during aerobic treatment.
No significant correlations were found between the ORP slope and climatic variables such as temperature, humidity, or wet-bulb temperature, suggesting that operational rather than environmental factors predominantly govern aerobic redox dynamics in this system.
  • Oxidation–Reduction Potential (ORP) Slope Analysis During Anoxic Phases (phases 2 and 4):
Figure 14 presents a comparison, by homogeneous groups (ANOVA), of the average monthly ORP slope results for the two anoxic phases of the NDN processes over the four years of study. The slopes of these phases allow us to understand the ORP recovery rate during the different months of the year. When there is a higher velocity, the system recovers better from flow variations for the different climatic variations throughout the year. The graph shows that June through July generate a homogeneous group, for which the recovery rate from the anoxic phases decreases. This would imply that temperature affects gas dissolution and bacterial metabolism, while in the cold months, this recovery rate increases.
Regarding the analysis of correlations with operational configurations in contrast to the aerobic stages, the ORP slope during the anoxic phases (Phases 2 and 4) does not exhibit significant correlations with the treated volume or the residence times in Equalization Tanks 1 and 2. However, it does show a positive correlation with mixing time (Phase 2: Corr. 0.366; Phase 4: Corr. 0.225), suggesting that improved equalization during these phases supports more consistent redox transitions under anoxic conditions (see Figures S8 and S9, respectively).
Conversely, the ORP slope correlates negatively with aeration time (Phase 2: Corr. −0.274 ***; Phase 4: Corr. −0.461 ***)—a result that likely reflects residual oxygen inhibiting denitrification efficiency during the subsequent anoxic steps, thereby flattening the redox gradient.
Environmental variables also appear to influence anoxic performance [38]. Specifically, average temperature (Phase 2: Corr. −0.551 ***; Phase 4: Corr.−0.470***) and wet-bulb temperature (Phase 2: Corr. −0.534***; Phase 4: Corr. −0.440 ***) exhibit strong negative correlations with the ORP slope, indicating that higher ambient temperatures may reduce the efficiency of achieving the desired anoxic redox potential, potentially due to increased microbial respiration rates that alter redox stability.
These findings underline the sensitivity of anoxic phases to operational mixing strategies and ambient thermal conditions, reinforcing the need for precise process control during denitrification stages to ensure optimal nitrogen removal performance.

4. Discussion

  • Interpretation of Long-Term Efficiency Performance of Typical Operating Cycles:
The treatment system exhibited clear correlations between operational parameters, environmental factors, and the removal efficiencies of key pollutants—namely, chemical oxygen demand (COD), ammonium (NH4+), nitrite (NO2), and total nitrogen. The COD removal efficiency was positively correlated with increased residence times in the equalization tanks and higher treated volumes, suggesting that prolonged pre-treatment phases may enhance downstream microbial activity and favorable redox conditions. However, COD removal performance declined under peak loading scenarios, likely due to transient process imbalances. This mirrors the findings of Weon et al. [39], who reported temperature-driven reductions in nitrification and COD removal efficiency at suboptimal conditions.
Ammonium (NH4+) reduction efficiency showed significant sensitivity to residence time and mixing intensity, with ambient temperature and relative humidity exerting a strong influence. Cooler, more humid conditions favored ammonium removal, while extended retention in Equalization Tank 2 correlated negatively with performance. These observations are consistent with previous studies indicating that nitrification rates decrease below 15 °C and collapse under prolonged hydraulic retention without adequate aeration control [40].
In the case of nitrite (NO2), higher flow rates and prolonged retention times impeded removal efficiency, whereas adequate aeration facilitated nitrite oxidation. The inverse relationship between relative humidity and temperature highlights the climatic sensitivity of biological processes—a phenomenon well-documented in SBR systems relying on controlled DO and ORP profiles [41].
Total nitrogen reduction efficiency, reflecting successful denitrification, showed moderate dependence on flow and retention time but required sufficient aeration for optimal performance. Studies on SBR systems confirm that precise aerobic–anoxic cycling and dissolved oxygen control are essential for sequential nitrification and denitrification pathways [37].
Collectively, these results support the consensus that hydraulic loading, retention time, temperature, and humidity are critical drivers of biological nutrient removal performance. They echo the existing literature that underscores the importance of adaptive strategies to maintain efficient COD and nitrogen pollutant removal under variable operating conditions [38].
In addition to nitrogen compounds, the system’s behavior in relation to phosphorus removal was also evaluated, explicitly focusing on P2O5 reduction efficiency. The results revealed no significant correlation between P2O5 removal and treated volume or residence time in Equalization Tank 1. However, a negative correlation was observed with retention time in Equalization Tank 4 (Corr. −0.307 ***), and a positive correlation emerged with aeration time (Corr. 0.286 ***).
These findings suggest that longer residence times in the final equalization stage may lead to phosphorus release or re-solubilization, potentially due to anaerobic conditions or microbial cell lysis under suboptimal redox states. Conversely, increased aeration time appears to favor P2O5 removal, likely by promoting phosphorus uptake by polyphosphate-accumulating organisms (PAOs) during aerobic phases—a well-known mechanism in enhanced biological phosphorus removal (EBPR) systems [39].
This behavior underscores the importance of optimizing redox transitions and maintaining appropriate oxygenation during aerobic phases to sustain phosphorus removal performance. In SBR–NDN systems, where biological phosphorus removal is not always the primary design goal, these observations highlight the potential for integrating EBPR strategies to enhance P2O5 control under specific operational regimes.
  • Interpretation of Redox Slope Dynamics During Aerobic and Anoxic Phases:
The analysis of oxidation–reduction potential (ORP) slopes across the aerobic (Phases 1 and 3) and anoxic (Phases 2 and 4) segments of the SBR–NDN process revealed distinct behavior linked to operational variables and environmental conditions.
In the aerobic phases, the ORP slope—defined as the rate of change between the maximum and minimum values—showed positive correlations with treated volume (Corr. 0.199 ***, 0.308), retention time in Equalization Tank 3 (Corr. 0.333 ***, 0.304 ***), and aeration time (Corr. 0.649 ***, 0.748). These patterns suggest that greater organic and nitrogen loading during high-volume operations accelerates microbial oxidative activity, reflected in steeper redox gradients. This aligns with findings from the literature, where faster redox transitions during aerobic phases are associated with increased nitrification rates and microbial respiration under sufficient oxygen supply [40]. In contrast, the anoxic phases exhibited no correlation between the ORP slope and treated volume or residence time in Equalization Tanks 1 and 2. However, a positive correlation was observed with mixing time (Corr. 0.225, 0.366), and a significant negative correlation was observed with aeration time (Corr. –0.461 ***, –0.274 ***), average temperature (Corr. –0.470 ***, –0.551), and wet-bulb temperature (Corr. –0.440 ***, –0.534). These results highlight that under cooler, more humid conditions, denitrifying activity becomes more pronounced, leading to more dynamic redox transitions even in the absence of oxygen—a behavior consistent with optimal anoxic performance observed in previous SBR studies under controlled temperature and mixing regimes [41]
  • Interpretation of GHG emission analysis:
The plant studied by Vingerhoets et al. [8] demonstrates higher removal efficiencies than the one analyzed in our work. It is clear that the recovery of nitrogen (N) and phosphorus (P) prior to the NDN treatment significantly improves overall performance. In our case, we achieved average removal efficiencies of 84% for nitrogen, 38% for phosphorus, and 80% for COD. These results fall short of those reported in the referenced study, which achieved removal efficiencies of 95% for nitrogen, 99% for phosphorus, and 99% for COD.
Together, these results reinforce the importance of tightly managing aerobic and anoxic redox dynamics to support complete nitrification–denitrification cycles in SBR–NDN systems, particularly under varying climatic conditions such as those in the high-altitude province of Ávila.

5. Conclusions

Future research should explore the integration of advanced sensor technologies, such as in situ dissolved oxygen probes within the SBR and atmospheric gas sensors in pre-treatment areas, to enable real-time process monitoring and dynamic control. Additionally, implementing algal photobioreactors as a post-treatment step offers the potential for further nutrient polishing and improved effluent quality—approaches that have shown promise in related pilot studies [42]. These strategies will be critical to enhancing the resilience and environmental performance of treatment systems operating under variable and sometimes extreme climatic conditions, such as those in the province of Ávila.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/nitrogen6030068/s1, Figure S1: Correlation matrix for COD reduction efficiency; Figure S2: Correlation matrix for NH4 reduction efficiency; Figure S3: Correlation matrix for NO2 reduction efficiency; Figure S4: Correlation matrix for total nitrogen reduction efficiency; Figure S5: Correlation matrix for P2O5 reduction efficiency; Figure S6: Correlation matrix for redox slope on Phase 1; Figure S7: Correlation matrix for redox slope on Phase 3; Figure S8: Correlation matrix for redox slope on Phase 2; Figure S9: Correlation matrix for redox slope on Phase 4.

Author Contributions

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

Funding

This research was co-funded by the Spanish Ministry for the Ecological Transition and the Demographic Challenge (MITECO), through Project Clima FES: 011-2018, and by the Agrarian Technological Institute of Castilla y León (ITACyL) via the 2023 Talent Attraction Call (Circularfarm Project, EXP 7/2023- ATI), funded by the Regional Government of Castilla y León. The funders had no role in this study’s design; in the collection, analyses, or interpretation of data; in the writing of this manuscript; or in the decision to publish the results.

Data Availability Statement

The corresponding author will make the data and materials available on reasonable request.

Acknowledgments

This work would not have been possible without the exceptional collaboration of the Kerbest Foundation, which made its facilities available: a commercial pig farm located in Herreros de Suso (Ávila, Spain).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
TreatVolTreated Volume
EqTank1_MixTimeMixing Duration—Equalization Tank 1
EqTank2_MixTimeMixing Duration—Equalization Tank 2
AerTimeAeration Duration
MixTimeMixing Duration
ORP Slope Ph 1ORP Slope Phase 1
ORP Slope Ph 2ORP Slope Phase 2
ORP Slope Ph 3ORP Slope Phase 3
ORP Slope Ph 4ORP Slope Phase 4
Temp_AvgAverage Temperature
WindSpeed_AvgAverage Wind Speed
RH_AvgAverage Relative Humidity
SlurryTemp1_AvgAverage Slurry Temperature—Sensor 1
Temp_DiffTemperature Difference
TbH_AvgAverage Wet-bulb Temperature
Corr.Correlation

References

  1. Eurostat. EU Agricultural Production—Pig Meat. 2024. Available online: https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Pig_meat_production_statistics (accessed on 15 May 2025).
  2. Instituto Nacional de Estadística (INE). Censo Porcino y Producción en Castilla y León. 2023. Available online: https://www.ine.es (accessed on 15 May 2025).
  3. Terrero, M.A.; Muñoz, M.Á.; Faz, Á.; Gómez-López, M.D.; Acosta, J.A. Efficiency of an integrated purification system for pig slurry treatment under Mediterranean climate. Agronomy 2020, 10, 208. [Google Scholar] [CrossRef]
  4. European Parliament and Council. Directive 91/676/EEC on the protection of waters against pollution caused by nitrates from agricultural sources. Off. J. Eur. Union 1991, L375, 1–8. Available online: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A31991L0676 (accessed on 15 May 2025).
  5. Corbalán, M.; Da Silva, C.; Barahona, A.; Huiliñir, C.; Guerrero, L. Nitrification–Autotrophic Denitrification Using Elemental Sulfur as an Electron Donor in a Sequencing Batch Reactor (SBR): Performance and Kinetic Analysis. Sustainability 2024, 16, 4269. [Google Scholar] [CrossRef]
  6. Díez, J.A.; Hernaiz, P.; Muñoz, M.J.; de la Torre, A.; Vallejo, A. Impact of pig slurry on soil properties, water salinization, nitrate leaching and crop yield in a four-year experiment in central Spain. Soil Use Manag. 2004, 20, 444–450. [Google Scholar] [CrossRef]
  7. Ministerio para la Transición Ecológica y el Reto Demográfico (MITECO). Proyectos Clima: Programa de Incentivos Para Tecnologías de Bajo Carbono en Agricultura. 2023. Available online: https://www.miteco.gob.es/es/cambio-climatico/temas/mitigacion-politicas-y-medidas/proyectos-clima/ (accessed on 15 May 2025).
  8. Vingerhoets, R.; Sigurnjak, I.; Spiller, M.; Vlaeminck, S.E.; Meers, E. Improving pig manure treatment: A large-scale techno-economic assessment of nitrogen recovery, pure oxygen aeration, and effluent polishing. J. Environ. Manag. 2024, 356, 120646. [Google Scholar] [CrossRef] [PubMed]
  9. Dalby, F.R.; Guldberg, L.B.; Feilberg, A.; Kofoed, M.V.W. Reducing greenhouse gas emissions from pig slurry by acidification with organic and inorganic acids. PLoS ONE 2022, 17, e0267693. [Google Scholar] [CrossRef]
  10. European Environment Agency. Best Available Techniques (BAT) Reference Document for Intensive Rearing of Poultry and Pigs. EEA Technical Report 24/2017. Available online: https://bureau-industrial-transformation.jrc.ec.europa.eu/sites/default/files/2019-11/JRC107189_IRPP_Bref_2017_published.pdf (accessed on 5 August 2025).
  11. Magrí, A.; Guivernau, M.; Baquerizo, G.; Viñas, M.; Prenafeta-Boldú, F.X.; Flotats, X. Batch treatment of liquid fraction of pig slurry by intermittent aeration: Process simulation and microbial community analysis. J. Chem. Technol. Biotechnol. 2009, 84, 1806–1815. [Google Scholar] [CrossRef]
  12. European Commission. EU Soil Strategy for 2030. Available online: https://environment.ec.europa.eu/soil-strategy_en (accessed on 15 May 2025).
  13. Dosta, J.; Rovira, J.; Galí, A.; Macé, S.; Mata-Álvarez, J. Integration of a coagulation/flocculation step in a biological sequencing batch reactor for COD and nitrogen removal of supernatant of anaerobically digested piggery wastewater. Bioresour. Technol. 2008, 99, 5722–5729. [Google Scholar] [CrossRef]
  14. Magrí, A.; Flotats, X. Modeling of biological nitrogen removal from the liquid fraction of pig slurry in a sequencing batch reactor. Biosyst. Eng. 2008, 101, 239–248. [Google Scholar] [CrossRef]
  15. Xiao, H.; Yang, P.; Peng, H.; Zhang, Y.; Deng, S.; Zhang, X. Nitrogen removal from livestock and poultry breeding wastewaters using a novel sequencing batch biofilm reactor. Water Sci. Technol. 2010, 62, 2599–2606. [Google Scholar] [CrossRef]
  16. Agencia Estatal de Meteorología (AEMET). Atlas Climático Ibérico. Available online: https://www.aemet.es/es/conocermas/recursos_en_linea/publicaciones_y_estudios/Atlas_climatico (accessed on 15 June 2025).
  17. Zhang, M.; Lawlor, P.G.; Wu, G.; Lynch, B.; Zhan, X. Partial nitrification and nutrient removal in intermittently aerated sequencing batch reactors treating separated digestate liquid after anaerobic digestion of pig manure. Bioprocess Biosyst. Eng. 2011, 34, 1049–1056. [Google Scholar] [CrossRef]
  18. Mecániques Segalés, S.L. Company Website. Available online: https://www.com/ (accessed on 15 May 2025).
  19. Hjorth, M.; Christensen, K.V.; Christensen, M.L.; Sommer, S.G. Solid–liquid separation of animal slurry in theory and practice: A review. Agron. Sustain. Dev. 2010, 30, 153–180. [Google Scholar] [CrossRef]
  20. Møller, H.B.; Sommer, S.G.; Ahring, B.K. Methane productivity of manure, straw and solid fractions of manure. Biomass Bioenergy 2004, 26, 485–495. [Google Scholar] [CrossRef]
  21. Riaño, B.; García-González, M.C. On-farm treatment of swine manure based on solid–liquid separation and biological nitrification–denitrification of the liquid fraction. J. Environ. Manag. 2014, 132, 87–93. [Google Scholar] [CrossRef]
  22. Li, S.; Mu, J.; Du, Y.; Wu, Z. Study and Application of Real-Time Control Strategy Based on DO and ORP in Nitritation–Denitrification SBR Start-Up. Environ. Technol. 2021, 42, 114–125. [Google Scholar] [CrossRef]
  23. Ministerio para la Transición Ecológica y el Reto Demográfico. Methodology for the Ex-Ante Determination of Emission Reductions in Climate Projects with Organic Waste with High Nitrogen Content; Ministerio para la Transición Ecológica y el Reto Demográfico: Madrid, Spain, 2022. Available online: https://www.miteco.gob.es/content/dam/miteco/es/cambio-climatico/temas/fondo-carbono/2022metodologia_residuoorganiconitrogenoexante_tcm30-420194.pdf (accessed on 27 May 2025).
  24. ISO 10523:2008; Water Quality—Determination of pH. International Organization for Standardization: Geneva, Switzerland, 2008. Available online: https://www.iso.org/standard/51994.html (accessed on 2 May 2025).
  25. ISO 15212-1:1998; Oscillation-Type Density Meters—Part 1: Laboratory Instruments. International Organization for Standardization: Geneva, Switzerland, 1998. Available online: https://www.iso.org/standard/28482.html (accessed on 2 May 2025).
  26. ISO 11265:1994; Soil Quality—Determination of the Specific Electrical Conductivity. International Organization for Standardization: Geneva, Switzerland, 1994. Available online: https://www.iso.org/standard/19243.html (accessed on 2 May 2025).
  27. ISO 7888:1985; Water Quality—Determination of Electrical Conductivity. International Organization for Standardization: Geneva, Switzerland, 1985. Available online: https://www.iso.org/standard/14838.html (accessed on 2 May 2025).
  28. ISO 11465:1993; Soil Quality—Determination of Dry Matter and Water Content on a Mass Basis—Gravimetric Method. International Organization for Standardization: Geneva, Switzerland, 1993. Available online: https://www.iso.org/standard/20886.html (accessed on 2 May 2025).
  29. ISO 10694:1995; Soil Quality—Determination of Organic and Total Carbon After Dry Combustion (Elementary Analysis). International Organization for Standardization: Geneva, Switzerland, 1995. Available online: https://www.iso.org/standard/18782.html (accessed on 2 May 2025).
  30. ISO 11732:2005; Water Quality—Determination of Ammonium Nitrogen—Method by Flow Analysis (CFA and FIA) and Spectrometric Detection. International Organization for Standardization: Geneva, Switzerland, 2005. Available online: https://www.iso.org/standard/38924.html (accessed on 2 May 2025).
  31. ISO 11261:1995; Soil Quality—Determination of Total Nitrogen—Modified Kjeldahl Method. International Organization for Standardization: Geneva, Switzerland, 1995. Available online: https://www.iso.org/standard/19239.html (accessed on 2 May 2025).
  32. ISO 6878:2004; Water Quality—Determination of Phosphorus—Ammonium Molybdate Spectrometric Method. International Organization for Standardization: Geneva, Switzerland, 2004. Available online: https://www.iso.org/standard/36917.html (accessed on 2 May 2025).
  33. ISO 9964-3:1998; Water Quality—Determination of Potassium—Part 3: Determination by Atomic Absorption Spectrometry. International Organization for Standardization: Geneva, Switzerland, 1998. Available online: https://www.iso.org/obp/ui/#iso:std:iso:9964:-3:en (accessed on 2 May 2025).
  34. ISO 6060:1989; Water Quality—Determination of the Chemical Oxygen Demand. International Organization for Standardization: Geneva, Switzerland, 1989. Available online: https://www.iso.org/obp/ui/#iso:std:iso:6060:ed-2:v1:en (accessed on 2 May 2025).
  35. ISO 6777:1984; Water Quality—Determination of Nitrite—Molecular Absorption Spectrometric Method. International Organization for Standardization: Geneva, Switzerland, 1984. Available online: https://www.iso.org/standard/13273.html (accessed on 2 May 2025).
  36. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2023; Available online: https://www.R-project.org/ (accessed on 22 May 2025).
  37. Obaja, D.; Macé, S.; Costa, J.; Sans, C.; Mata-Alvarez, J. Nitrification, denitrification and biological phosphorus removal in piggery wastewater using a sequencing batch reactor. Bioresour. Technol. 2003, 87, 103–111. [Google Scholar] [CrossRef]
  38. Sun, H.; Cai, C.; Chen, J.; Liu, C.; Wang, G.; Li, X.; Zhao, H. Effect of temperatures and alternating anoxic/oxic sequencing batch reactor (SBR) operating modes on extracellular polymeric substances in activated sludge. Water Sci. Technol. 2020, 82, 120–130. [Google Scholar] [CrossRef]
  39. Weon, S.Y.; Lee, S.I.; Koopman, B. Effect of temperature and dissolved oxygen on biological nitrification at high ammonia concentrations. Environ. Technol. 2004, 25, 1211–1219. [Google Scholar] [CrossRef]
  40. Zhang, X.; Zhang, D.; He, Q.; Ai, H.; Lu, P. Shortcut Nitrification–Denitrification in a Sequencing Batch Reactor by Controlling Aeration Duration Based on Hydrogen Ion Production Rate Online Monitoring. Environ. Technol. 2014, 35, 1478–1483. [Google Scholar] [CrossRef] [PubMed]
  41. Han, Z.; Wu, W.; Zhu, J.; Chen, Y. Oxidation–reduction potential and pH for optimization of nitrogen removal in a twice-fed sequencing batch reactor treating pig slurry. Biosyst. Eng. 2008, 99, 273–281. [Google Scholar] [CrossRef]
  42. Deng, Z.; Muñoz Sierra, J.; Morgado Ferreira, A.L.; Cerqueda-García, D.; Spanjers, H.; van Lier, J.B. Effect of operational parameters on the performance of an anaerobic sequencing batch reactor (AnSBR) treating protein-rich wastewater. Environ. Sci. Ecotechnol. 2023, 17, 100296. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Localization of Herreros de Suso, Ávila.
Figure 1. Localization of Herreros de Suso, Ávila.
Nitrogen 06 00068 g001
Figure 2. Flow diagram of the SBR-NDN system by Mecániques Segalés S.L.
Figure 2. Flow diagram of the SBR-NDN system by Mecániques Segalés S.L.
Nitrogen 06 00068 g002
Figure 3. Boxplot of monthly COD removal efficiency over four years. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Figure 3. Boxplot of monthly COD removal efficiency over four years. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g003
Figure 4. Boxplot of monthly COD input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 4. Boxplot of monthly COD input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g004
Figure 5. Boxplot of monthly NH4+ removal efficiency across a four-year period. Letters a, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 5. Boxplot of monthly NH4+ removal efficiency across a four-year period. Letters a, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g005
Figure 6. Boxplot depicting monthly differences in NH4+ input and output over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 6. Boxplot depicting monthly differences in NH4+ input and output over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g006
Figure 7. Boxplot of monthly NO2 reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 7. Boxplot of monthly NO2 reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g007
Figure 8. Boxplot of monthly NO2 input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 8. Boxplot of monthly NO2 input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g008
Figure 9. Boxplot of monthly total nitrogen reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 9. Boxplot of monthly total nitrogen reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g009
Figure 10. Boxplot of monthly total nitrogen input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 10. Boxplot of monthly total nitrogen input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g010
Figure 11. Boxplot of monthly P2O5 reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 11. Boxplot of monthly P2O5 reduction efficiency over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g011
Figure 12. Boxplot of monthly P2O5 input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Figure 12. Boxplot of monthly P2O5 input-output differences over a four-year period. Letters a, b, c, and d represent different homogeneous groups. Dots on the plot represent outliers (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g012
Figure 13. Distribution of the ORP slope for aerobic phases (pH 1 and 3) per month. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Figure 13. Distribution of the ORP slope for aerobic phases (pH 1 and 3) per month. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g013
Figure 14. Distribution of the ORP slope for anoxic phases (pH 2 and 4) per month. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Figure 14. Distribution of the ORP slope for anoxic phases (pH 2 and 4) per month. Letters a, b, c, and d represent different homogeneous groups (ANOVA, Tukey HSD, p < 0.05).
Nitrogen 06 00068 g014
Table 1. N2O emission reductions before (conventional practices) and after applying the NDN technology (WITH NDN). Data obtained using the MITECO calculator.
Table 1. N2O emission reductions before (conventional practices) and after applying the NDN technology (WITH NDN). Data obtained using the MITECO calculator.
YearConventional Practice (t CO2 e)With NDN (t CO2 e)%
2020702761%
20211995075%
20222783388%
20232205276%
Table 2. GHG emission reductions before (conventional practices) and after applying the NDN technology (WITH NDN). Data obtained using the MITECO calculator.
Table 2. GHG emission reductions before (conventional practices) and after applying the NDN technology (WITH NDN). Data obtained using the MITECO calculator.
YearConventional Practice (t CO2 e)With NDN (t CO2 e)Emission Reduction (t CO2 e)%
20201521913387%
20215222849494%
20226751765897%
20232933425988%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Escudero-Campos, L.; San José, F.J.; Pérez Álvarez-Castellanos, M.d.P.; Jiménez-Sánchez, A.; Riaño, B.; Muñoz, R.; Prieto-Herráez, D. Evaluation of the Performance of a Nitrogen Treatment Plant in a Continental Mediterranean Climate: A Spanish Pig Farm Case Study. Nitrogen 2025, 6, 68. https://doi.org/10.3390/nitrogen6030068

AMA Style

Escudero-Campos L, San José FJ, Pérez Álvarez-Castellanos MdP, Jiménez-Sánchez A, Riaño B, Muñoz R, Prieto-Herráez D. Evaluation of the Performance of a Nitrogen Treatment Plant in a Continental Mediterranean Climate: A Spanish Pig Farm Case Study. Nitrogen. 2025; 6(3):68. https://doi.org/10.3390/nitrogen6030068

Chicago/Turabian Style

Escudero-Campos, Laura, Francisco J. San José, María del Pino Pérez Álvarez-Castellanos, Adrián Jiménez-Sánchez, Berta Riaño, Raúl Muñoz, and Diego Prieto-Herráez. 2025. "Evaluation of the Performance of a Nitrogen Treatment Plant in a Continental Mediterranean Climate: A Spanish Pig Farm Case Study" Nitrogen 6, no. 3: 68. https://doi.org/10.3390/nitrogen6030068

APA Style

Escudero-Campos, L., San José, F. J., Pérez Álvarez-Castellanos, M. d. P., Jiménez-Sánchez, A., Riaño, B., Muñoz, R., & Prieto-Herráez, D. (2025). Evaluation of the Performance of a Nitrogen Treatment Plant in a Continental Mediterranean Climate: A Spanish Pig Farm Case Study. Nitrogen, 6(3), 68. https://doi.org/10.3390/nitrogen6030068

Article Metrics

Back to TopTop