원시데이터 수집 시스템
선정목록으로

Analysis of greenhouse gas production at the El Prat del Llobregat wastewater treatment plant, Spain: the decarbonization challenge

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. M. Vivas — Department of Civil and Environmental Engineering, Universitat Politècnica de Catalunya (UPC), Carrer de Jordi Girona, 1, 08034, Barcelona, Spain
  2. Luis Seguí — Faculty of Business and Communication, Universidad Internacional de la Rioja (UNIR), Logroño, La Rioja, Spain
  3. Hilda R. Guerrero Garcí­a Rojas — Department of Economics, Universidad Michoacana de San Nicolás de Hidalgo (UMSNH), Morelia, Michoacán, Mexico
DOI
10.1007/s13762-025-06338-z
저널
International Journal of Environmental Science and Technology
발행년도
2025
발행기관
Springer Science+Business Media
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s13762-025-06338-z
토픽
Membrane Separation Technologies
OpenAlex ID
W4406221055

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract The process of decarbonization of Wastewater Treatment Plants (WWTPs) has become a global priority. WWTP consume large amounts of energy and emit Greenhouse Gases (GHG) to remove pollutants. Therefore, this article quantitatively analyzes the greenhouse gas emissions produced during the wastewater treatment of one of the largest and most modern wastewater treatment plants in Europe, the El Prat del Llobregat Wastewater Plant. The assessment focused on evaluating the mass and energy balance of the entire process. Identifying the organic load present was essential for determining the impact on the generation of (GHG) during the wastewater treatment and regeneration process. According to the characteristics of the system, the inventory of total emissions is established, identifying the direct emissions produced by each of the stages (carbon dioxide and methane emissions) and the indirect emissions produced by the use of electricity and chemicals, respectively. The results revealed that the highest direct greenhouse gas emission was observed in the biological reactor with the value of 2.5 kgCO 2 eq/kg COD, 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD. The annual GHG emissions from CH 4 , N 2 O and CO 2 emissions from the water and sludge line are equivalent to 3432 tCO 2 eq, apart from the emission caused by flaring biogas, which represents 578.39 tCO 2 eq. The largest contribution comes from indirect emissions, where energy consumption generates 3,459,105 tCO 2 /eq. The largest energy consumer in the entire WWTP were the biological reactor with secondary settling and the tertiary treatment, which accounts for 45.20% and 14.8% of the total energy needs respectively.

본문 61,004자

본문 펼치기
The process of decarbonization of Wastewater Treatment Plants (WWTPs) has become a global priority.WWTP consume large amounts of energy and emit Greenhouse Gases (GHG) to remove pollutants.Therefore, this article quantitatively analyzes the greenhouse gas emissions produced during the wastewater treatment of one of the largest and most modern wastewater treatment plants in Europe, the El Prat del Llobregat Wastewater Plant.The assessment focused on evaluating the mass and energy balance of the entire process.Identifying the organic load present was essential for determining the impact on the generation of (GHG) during the wastewater treatment and regeneration process.According to the characteristics of the system, the inventory of total emissions is established, identifying the direct emissions produced by each of the stages (carbon dioxide and methane emissions) and the indirect emissions produced by the use of electricity and chemicals, respectively.The results revealed that the highest direct greenhouse gas emission was observed in the biological reactor with the value of 2.5 kgCO 2 eq/kg COD, 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.The annual GHG emissions from CH 4 , N 2 O and CO 2 emissions from the water and sludge line are equivalent to 3432 tCO 2 eq, apart from the emission caused by flaring biogas, which represents 578.39 tCO 2 eq.The largest contribution comes from indirect emissions, where energy consumption generates 3,459,105 tCO 2 /eq.The largest energy consumer in the entire WWTP were the biological reactor with secondary settling and the tertiary treatment, which accounts for 45.20% and 14.8% of the total energy needs respectively.KeywordsWastewater treatment plant • Greenhouse gas emissions • Mass balance • Energy balance • Carbon emissions accounting • CO 2 emission reduction and decarbonization Editorial responsibility: S. Mirkia. Introduction Wastewater Treatment Plants (WWTP) have become a fundamental pillar for the strategic development of a society in constant growth.The main objective of WWTP is to be able to simulate the natural cycle (Jodar-Abellan et al. 2019), purifying and regenerating wastewater to reduce the discharge of pollutants to the environment, in addition to protecting water sources, ecosystems and public health, while also recovering used water into a new source of materials (Li et al. 2021).Today, the aspiration to achieve a green future with zero emissions is critical to mitigating climate change.WWTPs are one of the sectors with high energy consumption and greenhouse gas (GHG) emissions (Delre et al. 2019;Wang et al. 2016), it is estimated that they consume 3% of global energy (Dickin et al. 2020).WWTP have begun to develop strategies that have more sustainable approaches, with the aim of achieving decarbonization through the "water-energy" nexus.The increase in population density in large cities and the trend towards urbanization requires higher levels of treatment, due to the standards imposed for the discharge of wastewater (Mo and Zhang 2012), leading to an increase in treatment capacities and therefore energy consumption. Introduction The energy consumption and the type and amount of GHG production in WWTPs are varied due to different circumstances, such as its size, technologies, purification and regeneration processes, the load of pollutants in the wastewater to be treated and the regulations stipulated in each country to obtain an effluent outlet with specific water qualities (Longo et al. 2016). Introduction Most plants worldwide have an established 4-stage treatment for the water line and sludge process.In the water line, the pretreatment has an energy demand ranging from 2 to 8% of the energy consumption (Longo et al. 2016), which would represent 0.009-0.018kWh/m 3 treated.The primary treatment has an energy demand of 2-3% (Nakkasunchi et al. 2021), so it is generally considered to be the process that consumes the least energy.For example, Canada has an electricity consumption in its pretreatment and primary treatment of 0.002-0.1 kWh/m 3 , Hungary has 0.04-0.19kWh/m 3 and Australia 0.1-0.37 kWh/ m 3 (Kneppers et al. 2009;Pitas et al. 2010).Secondary treatment is characterized by its high energy consumption in the aeration process, with demand ranging from 50 to 74% (Longo et al. 2016;Mamais et al. 2015), represented by 0.15-0.77kWh/m 3 at a general level.Australia, for example, requires 0.46 kWh/m 3 and the United States 0.33-0.60kWh/ m 3 (Gu et al. 2017a, b).Tertiary treatment can have a greater fluctuation in energy demand due to the processes applied for the removal of nutrients and pathogens, therefore it accounts for between 8 and 13% of electricity consumption (Longo et al. 2016).Analysis of the energy consumption of different WWTPs showed that these processes require between 0.39 and 3.74 kWh/m 3 in Japan, while in New Zealand, Taiwan, Hungary and the United States it ranges between 0.41 and 0.75 kWh/m 3 (Bodík and Kubaská, 2013;Pitas et al. 2010;Plappally and Lienhard 2012).As for the treatment of the sludge obtained during the different stages in the wastewater line, energy consumption ranges between 15 and 25% (Mamais et al. 2015).The energy consumption of sludge treatment depends on whether or not the sludge is incinerated, if using a CAS (Conventional activated sludge) method with incineration for sludge treatment it is 0.38-1.49kWh/m 3 , but if the CAS method is implemented without incineration, it is 0.39-3.74kWh/m 3 (Mizuta and Shimada 2010). Introduction The process of decarbonizing wastewater treatment plants has been a challenge, not only to mitigate emissions but also to generate self-reliance on their own energy generation that will contribute to sustainable behavior. Introduction As the pursuit of "Decarbonization" gains momentum, the emphasis on low-carbon solutions, emphasizing energy conservation and resource reuse, has introduced new challenges to conventional wastewater treatment approaches.Greenhouse gas emissions from a wastewater treatment plant are highly dependent on bioreactors and electricity input from the grid (Maktabifard et al. 2018).The estimated CO 2 emissions from wastewater treatment plants' energy consumption account for 40% of total emissions: CO 2 emissions from wastewater treatment plants due to energy consumption are 0.391 kgCO 2 / kWh, and 0.08 kg CO 2 /kg COD from aerobic wastewater treatment processes (Campos et al. 2016;Lin 2020).The process of decarbonizing the WWTPs is mainly performed in order to comply with legislation to reduce the environmental impact, but it is extremely important in terms of economic viability, since the operating costs attributed to energy consumption are between 30 and 40% of the total cost of operations and maintenance of the water line.In terms of treatment and disposal of the sludge produced, this often accounts for up to 50-60% of the total operating costs of the plants (Gude 2015;Panepinto et al. 2016;Wei et al. 2003) and is expected to grow due to the observed increase in the costs of sludge disposal (Ginestet 2006).Therefore, if energy consumption is reduced, it would reduce not only greenhouse gas emissions but also operating costs and the management and reuse of sludge. Introduction The estimation and quantification of GHG emissions in WWTPs has become a major problem that urgently needs to be solved, mainly because wastewater and sludge management is responsible for 257 million tonnes of carbon dioxide equivalent globally, of which almost half are energy-related emissions (Lutkin et al. 2022).In addition, 267 million tonnes of carbon dioxide equivalent come from on-site remediation, nitrous oxide is also estimated to be responsible for 32% of global emissions from wastewater treatment (Lutkin et al. 2022).The degradation of organic matter during wastewater treatment contributes approximately 1.57% of global GHG emissions and 3.49-5% of global non-carbon dioxide GHG emissions (Chen et al. 2020;Dickin et al. 2020). Introduction The total set of GHG emissions of sewage treatment plants are divided into two parts (Parravicini et al. 2016): one is the direct emission of greenhouse gases such as CO 2 , CH 4 and N 2 O in the process of sewage treatment; the other is the indirect emission caused by the energy and materials consumed in operation, indirect GHG emissions are originated from water-energy nexus (Yapıcıoğlu & Demir 2021).Wastewater treatment plants (WWTP) are a typical case of water-energy interactions. Introduction Currently, the measures to reduce carbon emission from wastewater treatment plants mainly focus on the suitable treatment process, low-carbon emissions technologies and precise management methods (You et al. 2022).The effectively assessing GHG emissions from wastewater treatment plants and establishing dynamic changes of carbon emissions from each unit in the wastewater treatment process is of the utmost scientific importance for proposing measures towards a decarbonized model.Energy consumption and greenhouse gas emissions are important elements in determining the efficiency and obtain possible reductions in cost of wastewater treatment in relation to the environmental effect (Yapicioğlu et al. 2023). Introduction Also, wastewater treatment and distribution processes emit GHG emissions considering water-energy nexus.In fact, energy consumption of the WWTPs should be a crucial consideration of the water-energy nexus (Yapıcıoğlu and Demir 2021). Introduction Most of the current researches in Spain show the lack of a detailed analysis of the wastewater treatment model.Some have focused only on the analysis of the decarbonization of the WWTP economy through the generation of biogas as a renewable biofuel, as is the case of Gonzalez et al. (2022), which identifies and analyzes the main sources of odor and greenhouse gas emissions, determining the appropriate performance of each unit in avoiding emissions.Blanco et al. (2016) show how an Anaerobic digestion is being established as a standard technology to recover some of the energy contained in the sludge in wastewater treatment plants as biogas.Rodríguez-Villanueva and Sauri (2021) show an exploration of relations between water treatments, water reuse, and governance.Colmenarejo et al. (2006) focus on the comparison between different technologies.Lorenzo-Toja et al. (2016) basically concentrated on analysis of conventional water quality parameters, direct GHG emissions and pharmaceuticals and personal care products (PPCPs) in water and sludge lines. Introduction Spain is one of the countries in the European Union that has made great progress in the wastewater treatment sector.However, it is still in the process of identifying strategies that allow it to reduce WWTPs energy demand and GHG emissions in order to establish a decarbonization process.It was estimated that urban water supply in Spain in 2021 reached 3700 hm 3 /year and that wastewater treatment exceeded 4000 hm 3 /year, requiring a large amount of energy consumption (about 4000 GWh/year), which represents 1.5% of the total national energy demand and 0.5% of the total greenhouse gas emissions in Spain (Ministry for Ecological Transition and the Demographic Challenge 2022). Introduction The sewerage, purification and wastewater reuse sector have an advantage, in that it not only consumes energy, but is also capable of producing it.The national production of energy in Spain is approximately 600 GWh/year, all of which comes from renewable sources such as biogas, which is the main source of energy for the self-sustainability of the plant (AEAS-AGA 2022).However, Spain continues to have a serious problem in terms of energy dependence from abroad.For example, in 2017, 73.9% of the fuel needed to generate energy was obtained from countries such as Algeria, Saudi Arabia and Nigeria, among others (European Union 2019).The decarbonization process in Spain's WWTPs has made significant progress in relation to the European energy transition strategy.The generation of renewable energy by WWTPs is around 787 GWh/year (AEAS-AGA 2022).The economic development and increasing urbanization of Spain has led to an expansion in the scale of wastewater treatment, bringing great challenges for the development of WWTP's with low carbon emissions and energy efficiency. Introduction The study, with the integral calculation model being applied to determine the emission sources of each process unit and then to assess the energy conservation and reduction of carbon emissions caused by the energy recovery of biogas from the anaerobic digestion of sludge.Precisely evaluating and calculating carbon emissions in wastewater treatment plants, and establishing carbon-neutral operating models has become a pivotal concern in the future of wastewater treatment and is the basis for formulating regional carbon reduction plans.This analysis covers the calculation of the direct and indirect emissions of three GHGs (CO 2 , N 2 O and CH 4 ) generated by the biological treatment process and electricity consumption (IPCC 2014).The main innovative aspect of this study was the use of mass and energy balances for preliminary evaluation of the operation and approaches for wastewater and sewage sludge treatment with focus on potential for sludge minimization, impact on other unit operations, energy requirement, energy self-sufficiency and emission inventories.Our goal is to offer valuable insights and support for the practical implementation of wastewater environment management within the framework of carbon neutrality and facilitate comprehensive GHG accounting, recognizes direct and indirect carbon emission sources in the wastewater treatment process.The article shows the need for future research where these data can be use used to evaluate modification and for developing strategies that tend towards the implementation of objectives that achieve controlled and adaptive decarbonization in WWTPs. Materials and methods This section presents and clarifies the steps taken for the application of a methodology that focuses on determining and analyzing the decarbonization process of the wastewater treatment system of the El Prat del Llobregat WWTP.To analyse the impacts of WWTPs by reviewing the quantity of GHG emissions, the paper is structured as follows: Mass and Energy Balance Analysis, overview of GHG emissions (line water and sludge) and a current economic analysis for decarbonization.In order to achieve this goal, a conceptual model is proposed that allows demonstrating each step to be developed, as shown in Fig. 1. Materials and methods The sources of information were the Barcelona Metropolitan Agency (AMB) and the Catalan Water Agency (ACA).The database and statistical analysis of the International Energy Agency (IEA), which contains reports on energy consumption and its percentages of emissions, was also used and provides clear guidelines for the transition to clean energy. First step: analysis of the current situation First, an in-depth reconnaissance and analysis of the El Prat del Llobregat WWTP was carried out.This facility is located in Barcelona, Spain; it is responsible for treating approximately 36% of the total water in the Barcelona Metropolitan Area (AMB), including Cornellà de Llobregat, El Prat del Llobregat, Esplugues de Llobregat, Hospitalet de Llobregat, Sant Joan Despí, Sant Boi de Llobregat, Santa Coloma de Cervelló and Sant Just Desvern (partially), corresponding to a treatment capacity equivalent to 2,000,000 inhabitants.Catalonia has been experiencing a period of drought, starting in the autumn of 2020, which is considered historic due to its duration and intensity; in the spring of 2021, the drought was consolidated, and in the years 2022 and 2023 it has intensified.Barcelona has been able to cope with this situation because its El Prat del Llobregat WWTP is a treatment plant that includes one of the largest water regeneration stations in the world, generating a release of 50 million liters per year of water resources for the region.Currently, part of the released flow is pushed upstream of the Llobregat River to a point, located in Molins de Rei, where it is added to the river's flow in prepotable water condition. First step: analysis of the current situation The facility purifies two types of wastewaters, domestic and assimilable wastewater (water used in homes, offices, businesses, schools and any other space where no special pollutants are discharged), and pre-treated industrial water (water used in industrial facilities, after being treated by the industry itself to extract the specific pollutants).This facility begins with a pre-treatment process that eliminates all coarse and fine solid waste, in which it is possible to remove pieces of paper, plastics, rags, rubber, metals, vegetable or fruit waste.After this, the wastewater is conducted to a chamber that removes the sand, fats, ashes and gravel, giving way to a homogenization of the incoming flow to avoid harming the subsequent processes (Asano et al. 2007).The secondary process with biological reactor and nutrient removal ensures a reduction in the concentration of phosphorus and nitrogen, through the process of nitrification and denitrification.In turn, this process uses biological action to transform biodegradable organic matter into stable matter, so that a large percentage of suspended solids and organic compounds are eliminated. First step: analysis of the current situation The tertiary process allows the removal of the remaining contaminants, in colloidal or suspended state, and reduces the contaminant load of the wastewater.The techniques are UV disinfection, ultrafiltration and reverse osmosis, one of the techniques most used by WWTPs (Arzate et al. 2019;Rossi et al. 2021). First step: analysis of the current situation Sludge is an important by-product of wastewater treatment systems, consisting of the majority of the solids separated in each phase of the water line.The main objective of treating sludge is to reduce its volume by partially eliminating the water content.This is done by means of gravity thickening and centrifugation thickening for the biological sludge, then it is subjected to anaerobic digestion and the process ends with dehydration-conditioning and thermal drying.Figure 2 shows the process currently being performed on site. First step: analysis of the current situation According to data provided by the Barcelona Metropolitan Agency (AMB), this plant can treat up to 420,000 m 3 /d of wastewater and its average energy consumption for 2022 was 155,683.40 kWh/day. Step two: mass and energy balance analysis The mass and energy balances in the WWTP are necessary in order to know and evaluate in detail the inflow and output of the wastewater to be treated and the respective material and energy consumption.Mass and energy balances are proposed in this research as an important tool in the optimization of the plant's operating system.This analysis allows us to focus on the potential for minimizing sludge and identifying energy-intensive processes, reducing the impact of unit operations and increasing energy efficiency. Step two: mass and energy balance analysis Several studies have demonstrated the benefits of energy benchmarking for identifying the cost reduction potential and evaluating the operational performance of WWTP, as well as the decarbonization process (Krampe 2013;Svardal and Kroiss 2011). Step two: mass and energy balance analysis The calculations made in the mass balance were carried out under the iterative calculation procedure, managing to evaluate the water and sludge treatment lines, as well as the recirculation of secondary sludge streams.The mass balance evaluated the suspended solids of the wastewater of the tributary and the biological solids generated in the process that are distributed among the operations and unit processes that make up the process flow diagram.Iteration was proposed for flow rate (Q), total suspended solids (TSS), and biological oxygen demand (BOD 5 ).The total system was modeled under annual average operational considerations (excluding daily or seasonal variations) and a temperature of 15 °C represented the average climatic conditions in Spain (AEMET 2023). Step two: mass and energy balance analysis The description of the relevant data is given in Table 1, within the analysis of existing data provided by the Barcelona Metropolitan Agency, as well as the use of theoretical data. Step two: mass and energy balance analysis The energy audit included the collection of data on energy flows across the different stages of the treatment process, with the aim of assessing the energy performance and proposing improvements to achieve self-sustainability.First, all energy-consuming equipment was identified for direct measurement, establishing its nominal power and operating hours.Energy consumption was measured using network analyzers for electrical energy and heat flow meters for thermal processes.Data were collected throughout the year 2022, enabling the analysis of monthly variations. Step two: mass and energy balance analysis Based on the collected data, an energy balance was prepared, taking into account the following aspects: (i) Energy consumed: Electrical energy used for equipment operation and thermal energy for digestion processes.(ii) Energy generated: Potential energy from the produced biogas and its utilization for cogeneration.(iii) System efficiency: Ratio of generated energy to consumed energy. Step two: mass and energy balance analysis The total electrical energy consumption of the El Prat de Llobregat WWTP was an average of 47,327,754 kWh/year in 2022, distributed in water lines: pre-treatment 16.35%, primary treatment 5.18%, secondary treatment 45.23% and tertiary treatment 14.88%.In the sludge line, energy consumption is distributed as follows: thickening and dewatering 6.84%, anaerobic digestion 2.51% and thermal drying 1.31%.Self-consumption is represented by 12,224,746 kWh/ year, approximately 28.2%, and a surplus energy sale of 36,591 kWh/day.Most of the energy used within the process is supplied through the Spanish national grid. Step three: greenhouse gas emissions analysis The modelling used to estimate the amount of the GHGs produced by the El Prat del Llobregat WWTP was carried out by means of empirical emission factors, based on the volume of treated water, effluent concentrations and mass of wastewater components removed.This emissions assessment was carried out using the integral calculation model and the IPCC guidelines (IPCC 2006(IPCC , 2019) ) to determine the emission sources of each process unit in order to subsequently assess its energy consumption and the reduction of emissions with the use of biogas. Step three: greenhouse gas emissions analysis Based on the data obtained in the mass and energy balance of the operating system, the scope of impact generated by the treatment of both the water line and sludge was included.In this third step, the emissions produced from the pre-treatment to the end of the treatment process are quantified.The detail of this analysis is the assessment of the reduction of emissions by the recovery of biogas energy from the anaerobic digestion of sludge.Figure 3 shows the configuration of the specific sources of emissions by electricity consumption and by the emissions caused in the system.The three main GHGs that are analyzed in a wastewater treatment plant are: Step three: greenhouse gas emissions analysis Carbon Dioxide (CO 2 ): This is attributed to two main factors, the treatment process itself and energy consumption. Step three: greenhouse gas emissions analysis Methane (CH 4 ): is produced from the biological degradation of organic matter under anaerobic conditions from water or sludge blowdown.The level of methane production will depend on the amount of organic matter degraded in the process and the absence of dissolved oxygen. Step three: greenhouse gas emissions analysis Nitrous Oxide (N 2 O): is generated as a by-product during nitrification and denitrification by the process of nutrient removal, where it is transformed and emitted as nitrogen gas N 2 as a direct emission, or as an indirect emission when the effluent is discharged into a receiving medium. Step three: greenhouse gas emissions analysis This analysis covers the calculation of direct and indirect emissions of three GHGs: CO 2 , N 2 O and CH 4 (electricity consumption and chemicals).It is important to highlight that the formation of N 2 O in wastewater treatment, specifically in the nitrification and denitrification stage, is very low due to the highly efficient rates of nitrogen removal.The El Prat del Llobregat WWTP has an efficiency rate of 83.82%, which indicates that the higher the level of nitrogen removal, the lower the amount of N 2 O emitted.Therefore, the conversion rate of N 2 O is transformed and emitted into N 2 as a nitrogen gas, so it is not taken into account in the calculation of GHG emissions.The carbon emission sources of the units are summarized in Fig. 3 and Table 2. Step three: greenhouse gas emissions analysis The GHG emissions associated with the use of the purchased energy are evaluated with the peninsular mix, as they can be affected by the mix of electricity generation.The emission factor of electricity is 0.259 kg CO₂-eq/kWh according to the National Commission of Markets and Competition (CNMC). Calculation of direct and indirect GHG emissions from WWTPs The analysis of the carbon emission pathway of the plant's operations focused on the amounts of degradable organic matter, BOD 5 and Total Nitrogen in the wastewater to determine the potential for greenhouse gas generation.WWTP's total annual GHG emissions are given by: where: TotalCO 2−eq = are the total CO 2−eq emissions of the WWTP (kg CO 2−eq ). Calculation of direct and indirect GHG emissions from WWTPs CH 4 Emissions(kgCH 4 ) , N 2 OEmissions kgN 2 O and CO 2 kgCO 2−eq e m i s s i o n s from electricity consumption in each process.The values (1) System GHG calculation limits: Direct sources of GHG emission in this study include the wastewater treatment structure (e.g., primary sedimentation tank, biological reactors, secondary sedimentation tank, tertiary treatment tanks) and sludge thickening and dewatering facilities (thermal drying is not currently operating). Calculation of direct and indirect GHG emissions from WWTPs Indirect sources of GHG emissions include the consumption of electricity, the consumption of chemicals within the wastewater treatment process and the sludge process.Similarly, in the biological process the degradation of organic matter and reduction of nutrients generates a release of CO 2 of fossil origin, produced directly by aerobic decomposition.However, they are not controlled and there is no rough estimate. Calculation of direct and indirect GHG emissions from WWTPs Calculation of CH 4 emissions Following IPCC guidelines, CH 4 emissions (IPCC 2006(IPCC , 2019) ) are estimated as: Calculation of direct and indirect GHG emissions from WWTPs where: Calculation of direct and indirect GHG emissions from WWTPs TOW Plant = is the organics in wastewater of WWTP (kg BOD); SOC = is the organic component in the sludge of WWTPs (kg BOD); EF 1 = is the CH 4 emission factor for WWTP kg CH 4 / kg BOD); R = is the amount of CH 4 recovered (kg CH 4 ).Degradable organic compounds in wastewater are calculated as: Calculation of direct and indirect GHG emissions from WWTPs where: P = is the urban population (person); BOD = is per capita BOD (g BOD/person/day); I = is the correction factor for additional industrial BOD discharged into sewers (for collected the default is 1.25, for uncollected the default is 1.00). Calculation of direct and indirect GHG emissions from WWTPs The organic component in the sludge is given by: where: Smass is the amount of sludge produced in WWTPs (kg sludge); KOC = is the organic composition factor in sludge, set as 0.25 (kg BOD/kg sludge) (Hao et al. 2020); Calculation of direct and indirect GHG emissions from WWTPs (2) Calculation of direct and indirect GHG emissions from WWTPs QDOM = refers to the domestic wastewater amount treated in WWTPs (m 3 ); Kmass = refers to the coefficient of sludge production. Calculation of N 2 O emissions The equation for calculating the total N 2 O emitted by the nitrification and denitrification process is estimated as: (IPCC 2006(IPCC , 2019)). Calculation of N 2 O emissions where; Calculation of CO 2 emissions The CO 2 emissions emitted in the biological treatment of the El Prat de Llobregat WWTP are given by: where: CO 2,bio = emissions (g CO 2 eq/year) from biological treatment processes; Calculation of CO 2 emissions EF bio,CO 2 = (g CO 2 /kg COD removed) are three GHG emission factors of the process. Calculation of CO 2 emissions COD removed = is the annually removed COD (kg COD removed/year) in the WWTP. Calculation of CO 2 emissions from electricity consumption (E e ) The consumption of electrical energy for wastewater treatment is calculated using annual energy consumption and specific emission factors: Calculation of CO 2 emissions from electricity consumption where: Calculation of CO 2 emissions from electricity consumption E e = is the indirect emission of carbon from the consumption of electrical energy (tCO 2 /day); D = is the total electricity from wastewater treatment (kWh/day); EF D = is the carbon emission factor for electric power generation and the value is 0.259 kg CO₂-eq/kWh in Spain's electricity grid. Carbon emission from chemicals Indirect carbon emissions from the use of chemicals are limited (Zhang et al. 2020); however, the IPCC emissions accounting framework recommends including emissions caused during the production process of the chemical (Foley et al. 2010).( 6) Carbon emission from chemicals The calculation of emissions of the chemicals was calculated as: Carbon emission from chemicals where: Carbon emission from chemicals E c (tCO 2 /day) = carbon emissions in chemical production. Carbon emission from chemicals Mc, Md and M w (tCO 2 /day) = is the amount of additional carbon source, chemical agents or reactants, and substances for sludge dewatering, respectively (data provided for El Prat de Llobregat WWTP). Carbon emission from chemicals EFc, EF d and EF w (kgCO 2 /kg) = are the carbon emission factors for additional carbon sources, disinfection agents and sludge dewatering agents, respectively.Greenhouse gas emission factors during the production process were obtained from related literature (Li et al. 2020;Niu et al. 2013;Zhou et al. 2022) and from data provided in the IPCC guide (IPCC 2006). Mass balance The calculation and analysis of the mass balance of the El Prat del Llobregat wastewater treatment plant made it possible to highlight the hotspots in which an improvement in the efficiency of the process is required, along with the recovery of energy and resources.This deterministic and analytical model showed clearly that primary treatment eliminates much of the slow and non-biodegradable fraction of COD from the tributary. Mass balance The presence of primary sedimentation results in increased sludge production as a first result.1.3% of the sludge is related to the same non-reactive behavior of the primary settling, which indicates that the sludge obtained in the primary settling is not subject to biological processes, as is the case with the secondary sludge.In the primary settling process, much of the slow and non-biodegradable COD fraction of the influent is removed and the effluent that is sent to secondary treatment (secondary settling and biological process) contains a higher fraction of biodegradable substrates.In the biological process, biological tanks are designed to withstand lower volumetric loads (VLRs).This allows for a higher observed yield (Y obs ) of 0.45 where carbonaceous bacteria, cellular waste and nonbiodegradable SSV are eliminated in the tributary.Table 3 (9) Mass balance shows the input and output values for treated volumes, total suspended solids, BOD and total nitrogen. Mass balance As can be seen in Fig. 4, for the treated flow 198,630 m 3 /d, the influent characteristics of COD = 904.55mg/L, B O D = 4 7 0 m g / L , S ST = 5 2 8 .9 1 m g / L a n d NT = 77.15mg/L.In the primary treatment, an approximate BOD removal of 58,814.34kg/d (62.52%), a total suspended solids removal of 72,847.55kg/d, including part of the initial drainage process equivalent to 75%, and an organic matter elimination of 35% is achieved.The biological reactor and secondary decanter are highly efficient in nutrient removal, nitrogen is reduced to 12.48 mg/L, representing 83.82% elimination.This stage of the process is important because it removes more than 95% of the suspended solids and organic matter, with characteristics BOD = 1,191.78kg/d, SST = 2,780.8kg/d and a final flow of 183,795.35m 3 /d, of which 134,784 m 3 /d is sent for regeneration and 70,896 m 3 /d is sent for discharge into the medium.Finally, the advanced regeneration process achieves effluent quality with optimal parameters.The released flow is pushed upstream of the Llobregat River, where it is added to the river flow in pre-potable water condition and in turn is used in agricultural and garden irrigation, for industrial purposes and for the maintenance of the flow of the Llobregat River. Mass balance As a result of the sludge treatment, a final production of dewatered sludge equivalent to 2,168,000 kg MF/day was calculated, with 52,208 tMF/year, almost 90% of the sludge, being allocated to direct agriculture and 5902 tMF/ year (equivalent to 10%) to composting. Mass balance Biogas is composed of a mixture of Methane (CH 4 ), Carbon Dioxide (CO 2 ), Nitrogen (N 2 ), Hydrogen Sulfide (H 2 S) and some trace amounts of Hydrogen (H 2 ).The calorific value of CH 4 shows the useful potential of the energy produced in the anaerobic digestion treatment.For every kilogram of volatile solids, approximately 1.7 kg of COD is removed, and for every kilogram of COD removed, 0.35 Nm 3 of CH 4 methane is generated, and the biogas generation rate (GR) is 1,12 m 3 biogas/tVS. Mass balance Currently, the amount of CH 4 in the biogas stream is 62.76%.The amount of volatile solids (VS) that are removed in the flow is 35%, thus obtaining biogas production of 20,146 Nm 3 /day and electricity production of 13,205,657 kWh/year. Mass balance The analysis of the mass balance shows that the biological reactor and the secondary decanter managed a COD removal rate of 91.85% due to the high capacity of the plant; however, this implies that the biological degradation of the COD of the effluent has been released as carbon dioxide into the air. Energy balance The energy requirements of the wastewater treatment plant have been calculated with reference to the energy consumption parameter per unit of volume treated.This parameter is preferred because it allows showing a posteriori the relationship with the pollutant load that occurs in the treatment process of the water and sludge line. Energy balance The El Prat del Llobregat WWTP consumed an amount of electricity equivalent to 47,327,754 kWh per total annual activity, representing a consumption of 155,683 kWh/ day.This requirement is met by the supply of electricity purchased from the national grid (around 70%), along with its own self-consumption by cogeneration of 13,752,588 kWh/ year, obtaining 1,140,8340 kWh/year of thermal energy from motors and 3,332,770 kWh/year energy provided by boilers.This process allows for self-consumption of approximately 29.45% of the plant's electrical energy.To estimate the total electrical energy consumption of the plant, it was necessary to multiply the potential values (P) by the operating time of each device in the water and sludge line.The intensity of energy consumption per cubic meter of wastewater treatment could decrease due to the size of the plant and the effects of economies of scale; this indicates that unit treatment costs would be lower, increasing the profit margin with the reduction of energy purchases. Energy balance The energy demand of the preliminary treatment is around 0.11 kWh/m 3 , which represents 16.35% of the total energy demand of the treatment process.In the primary treatment, 70% of the total suspended solids (TSS) and 53.15% of the biological oxygen demand (BOD) were removed.In the secondary treatment with a biological process, consumption of 0.30 kWh/m 3 is observed, being the process that consumes the largest amount of energy.The energy requirement demanded by this secondary process is mainly linked to the necessary energy used by the aerators, consuming 45.23% of the total energy needed by the WWTP.The final flow sent by marine outfall is 71,261 m 3 /d.The flow rate sent for tertiary treatment is 134,784 m 3 /d, with energy consumption of 14.88%, as shown in Table 4. Energy balance A higher quality of the effluent results in higher energy consumption (Svardal and Kroiss 2011), so when primary sedimentation is available it contributes to a decrease in Fig. 4 Plant-wide mass and energy for reference plant "Prat del Llobregat" energy demand of up to 15% due to its high removal rates of organic matter, suspended solids, COD and BOD.Similar to the water line, sludge requires different levels of stabilization and reduction, resulting in higher energy consumption.In the sludge line, the gravity thickening and centrifugation process leads to increased efficiency in the anaerobic digestion process (25% SSV reduction) and thus increased conversion of COD into biogas. Energy balance Such WWTPs have a room of opportunity for reducing its dependency on grid electricity by energy recovery from wastewater.The generation of biogas is used in the same process of heating the digesters and for the combustion process in the cogeneration engine for the generation of electrical energy.The biogas consumed in the boiler is approximately 2,771 m 3 /day and the quantity of power created by cogeneration is 14,499.06m 3 /day.The energy conservation increasing the percentage of own electricity.The biogas (CH 4 ) produced from anaerobic digestion satisfies 29.45% of the plant's self-consumption energy requirements.The biogas produced in anaerobic digesters is stored safely and securely in gas holders, allowing the system to adapt to fluctuations in production and the plant's self-consumption.Gas holders are designed to maintain a constant pressure, ensuring a steady supply to the energy generation system, whether through cogeneration engines or boilers.Currently, the excess biogas is burned in flares, which is equivalent to 1298.36 m 3 /day.Biogas generated from sewage sludges in the mesophilic AD process is composed primarily of methane (62,76%) and carbon dioxide (35%), with small concentrations of nitrogen, hydrogen sulfide, and other constituents.The most readily adaptable approach to reduce external energy requirements with existing treatment plants is to make the full use of CH 4 produced, these support the decarbonization and the energy conservation.For example, two municipal WWTPs in Austria have successfully proved to be energy positive by efficient utilization of energy recovered from sludge.One of these plants are Wolfgangsee-Ischl WWTP, this plant generated 7% surplus electricity from biogas generated from anaerobic digestion sludge (Nakkasunchi et al. 2021).For example, El Prat del Llobregat WWTP should be consider the use of mix kitchen wastes with sludge for anaerobic coprocessing.This treatment prepares the substrates, improves organic load, increases biogas yield, and energy recovery and conservation (Noutsopoulos et al. 2013). Energy balance Monthly variations of the biogas production rate are shown in Fig. 5.The highest biogas production was observed in the months of March to June (spring and summer), the highest value was reached in June with 721,229 Nm 3 .It could be resulted from the warmer temperatures that favor microbial activity in anaerobic digesters.The opposite occurs with the months of December, January and February, with December being the month with the lowest production rate 275,065 Nm 3 .The low biogas production is mainly due to low temperatures, slowing down the anaerobic digestion process. Energy balance The months of May and June (spring-summer) were characterized by having a higher volume of biogas burned (109,325 m 3 and 107,533 m 3 , respectively).This is because production exceeds storage capacity.In autumn, October presents the lowest value of burned biogas (2679 m 3 ), which shows that a balance was achieved between production and use at the plant. Energy balance However, the energy production in the system varies according to the amount of sludge generated, which is directly related to the amount of COD oxidized or converted into biogas.The plant's performance can be assessed by considering the net electrical energy requirement per unit of COD released to the atmosphere as CO 2 , either through direct oxidation or through biogas production and utilization.The operational system of this wastewater treatment plant WWTP identified that sludge thickening led to greater efficiency in the anaerobic digestion process and increased COD conversion into biogas.Based on this consideration, the energy benefits of sludge are: conversion of waste sludge into biogas, use of biogas in cogeneration systems, and reduction of greenhouse gas emissions. Energy balance The wastewater treatment sector, being one of the main energy consumers, has developed various technologies to improve the energy efficiency, but in practice, there is no single recommended scenario for the energy self-sufficiency.The main challenges faced by energy production systems in a wastewater treatment plant stem from three key factors: i) Unstable biogas production: The amount of biogas generated varies according to the organic load and the quality of the wastewater.This variability affects energy planning and increases dependency on the electrical grid; ii) Biogas quality: biogas may contain impurities such as carbon dioxide (CO 2 ) and hydrogen sulfide (H 2 S), which reduce the efficiency of cogeneration engines.This requires an additional biogas purification process, leading to increased operational costs and potentially reducing the net available energy; and iii) High maintenance costs: digestion and cogeneration equipment require frequent maintenance due to the wear from continuous operation and the corrosive nature of biogas. Direct GHG emissions The total GHG emissions studied at the Prat de Llobregat wastewater treatment plant (Fig. 4) are assessed as the direct and indirect emissions for the year 2022.Total direct, CO 2 , N 2 O and CH 4 emissions in the WWTP is given in Table @7.In the direct GHG emissions, the sum of CO 2 and CH 4 emissions was made in each of the treatment units, which are: primary decanters, biological treatment with secondary and tertiary decanters (disinfection, ultrafiltration and osmosis) and the sludge treatment line.The calculation was based on the characteristics of the influent (flow rate and concentrations), its operating conditions in each of the processes, the retention time of the HRT sludge, and variables such as suspended solids, COD and BOD.The analysis found that the emissions generated by CH 4 , N 2 O and CO 2 are equivalent to 3,432 tCO 2 eq.Frequently, only CH 4 and N 2 O emissions are accounted for, excluding CO 2 emissions from biological treatment processes as they are generally derived from biogenic organic matter present in human excrement and food waste (IPCC 2019).Biological reactor was typically characterised by the highest emissions, in particular, has a high GHG production rate due to the removal of COD from wastewater, and even more so when the removal process is aerobic.According to IPCC guidelines, wastewater typically has a COD 2.4 times higher than the final BOD, which would result in a GHG production rate of 2.5 kgCO 2 eq/kg COD.The CO 2 emission was released due to the respiration of the living microbial mass.It was also observed values 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.For N 2 O emissions contributions could be justified by the usually higher efficiencies of the aeration systems and more elevated removal.According to existing research that most of the N 2 O emitted in an aeration tank is produced by nitrifier-denitrification, as discussed by Toyoda et al. (2011) and Liu et al. (2021) reported that the additional carbon sources and dephosphorization agents in sewage treatment plants generally adopt quantitative or excessive methods for N 2 O emission.This correlation was proposed to define an approximation of CO 2 generation according to operational parameters.The biogenic CO 2 emissions from sludge anaerobic digestion unit comprise of two parts: the CO 2 generated from sludge degradation and the CO 2 generated from biogas utilization system, where methane is oxidized into carbon dioxide.The higher the biogas generation rate (GR) of the anaerobic digestion system, the more the avoided CO 2 emission will be obtained.The calculation of emissions from this stage of the process was set at 640.5 tCO 2 eq/year.Likewise, the estimate of the GHGs from the burning of biogas in flares, at 38,950.83 m 3 / month, represents a total of 578.39 tCO 2 eq. Indirect GHG emissions Indirect GHG emissions are considered to be those that come from the consumption of electricity and the use of chemicals in the water and sludge line.The plant's electricity consumption was analyzed throughout the year, based on the exact combination of each of the processes. Indirect GHG emissions As can be seen in Table 5. the variation of the indirect GHG emissions was directly related to the electricity consumption.The amount of GHG emissions increased as the electricity consumption increased.The highest indirect greenhouse gas emission was reported formed in December (36,533,5 kg CO 2 -eq/d) due to the highest electricity consumption (4,372,744 kWh).The lowest indirect GHG emission was recorded in August (29,798,53 kg CO 2 -eq/d) due to the lowest value in electricity consumption (3,566,620 kWh), as energy consumption decreased significantly and greater use was made of the energy obtained from the sludge treatment. Indirect GHG emissions Biological treatment with a secondary decanter is mainly characterized by high emissions, the average of electricity consumption per month was 1,535,429 kWh for turbos biological process and 248,450 kWh for secondary decantation.The indirect emission value for the biological treatment was 15,400,82 kgCO 2 eq/month.Another indirect emission source of the plant is the tertiary treatment-disinfection-ultrafiltration and osmosis.The average of electricity consumption per month was 586,973 kWh.The indirect greenhouse gas emission was 5067,5 kgCO 2 eq/month. Indirect GHG emissions Anaerobic sludge digester is another indirect emission source of the plant.The anaerobic digestion unit, the biogenic GHG includes CO 2 equivalent to methane, CO 2CH4 by CH 4 incineration and biogenic CO 2 .The biogas generated from sludge digestion consists of 65% CH 4 and 35% CO 2 (volume ratio).The biogas generated is 20,146 Nm 3 /day and the GHG emission values in terms of kgCO 2 eq were obtained by multiplying the proportion of the gases that make up the biogas, which have the highest percentage of CO 2 and CH 4 in the total volume of biogas, with Global Warming Potential (GWP) values of 1 and 28, respectively.The anaerobic digestion unit has the highest level of fossil CO 2 emissions because energy input is required to maintain the digester under mesophilic conditions.The other gases that make up the biogas content have been depreciated.GHG emissions due to anaerobic digestion of sludge are shown in Table 6.The use of biogas for digester heating and electricity generation is a sustainable way of recovering energy from WWTPs with subsequent sludge reduction (Bennett 2007;Gu et al. 2017a, b). Indirect GHG emissions The results show seasonal patterns in the biogas production, CH 4 emissions, and total indirect emissions, with peaks in summer (particularly in June, with emission of 15,511,793.76 kgCO 2 -eq) and drops in winter (especially December, with emission of 630,534.76 kgCO 2 -eq).This suggests that temperature, microbial activity, and organic feedstock availability may influence production and emissions.Methane has a significant role in total emissions, indicating that CH 4 reduction efforts should be prioritized to reduce the overall environmental impact.CO 2 emissions are relatively stable compared to other variables, which suggests that biogas combustion processes may be consistent throughout the year.However, despite the fact that it is a process that generates emissions, El Prat del Llobregat WWTP also establishes a cogeneration system where 14.93% of the biogas is used in the boilers, 78% in engines and the rest, equivalent to 6.99%, is burned in the flares (direct emission).The generation and recovery of biogas as an energy source reduces total GHG emissions.An energy balance analysis of five WWTPS in Catalonia, Spain showed that 67% of the energy in raw wastewater was transferred to the sludge and subsequent anaerobic digestion of the sludge can recover 52% of this energy by transforming it into biogas (Silvestre et al. 2015).For example, compared with WWTPs without sludge digestion, WWTPs with sludge digestion consume 40% less net energy on average (Scott et al. 2011). Indirect GHG emissions Another source of indirect GHG emissions is the use of the chemicals needed for the entire water and sludge line treatment.Currently, chemical agents or reagents are used excessively in wastewater treatment plants, causing unnecessary waste of chemical agents and at the same time increasing indirect carbon emissions.The system implemented by the plant features an automatic online control that allows adequate control of the amount of chemical product or reagents used, which is why annual emissions are 1463.75tCO 2 eq. Indirect GHG emissions The chemical energy contained in the sludge that is converted into biogas means that 8.71 kWh of energy is obtained for every m 3 of biogas generated.This shows that anaerobic digestion effectively reduces total carbon emissions and, in turn, achieves energy self-reliance, which is vital for the decarbonization process of WWTPs. Total GHG emissions The total GHG emissions in the wastewater treatment plant result from the sum of direct and indirect emissions.Table 7 shows that the total amount of emissions for 2022 was 8,933.25 tCO 2 eq. Total GHG emissions According to the results of the study presented, the highest total GHG emissions were obtained when the highest energy consumption was recorded in the plant, in the month of December 36,533,5 kgCO 2 -eq/d.Based on the data obtained from Table 7 that the indirect emissions due to energy consumption and the use of chemical substances and reagents were higher than the direct emissions resulting from the wastewater treatment process.Direct greenhouse gas emissions from the process were relatively lower than indirect greenhouse gas emissions.It is worth noting that dissolved concentrations in the influent wastewater are one of the important emission sources.Direct GHG emissions are emitted from biological treatment processes.Carbon dioxide is major released from microbial respiration activities while nitrous oxide is fluxed from denitrification, nitrification stages, and methane mainly comes from anaerobic digestion (Zhang et al. 2017).When the process conditions were evaluated, it was observed the biological reactor has a high GHG production rate due to the removal of COD from wastewater.The results showed a GHG production rate of 2.5 kgCO 2 eq/kg COD and 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.However, some studies shows that biological wastewater treatment processes can generate significant amounts of CO 2 (Kosse et al. 2018) which is not included in the IPCC guidelines.Nguyen et al. (2019) achieved similar results with this study.In their study, they found that highest amount of the total greenhouse gas emissions was caused by indirect emissions for the hybrid system (Nguyen et al. 2019). Total GHG emissions At the same time, the indirect emissions were reported formed in December (36,533,5 kg CO 2 -eq/d) due to the highest electricity consumption and the emissions from the use of chemical products in water and sludge line was 1463.75 tCO 2 eq.The reduction of indirect emissions can be achieved, considering the total biogas generation Current economic analysis for decarbonization For the year 2022, the prices of CO 2 emission rights in the European Union reached a value of € 99 per ton, due to several factors, one of which was the reform of the EU Emissions Trading System (EU ETS), whose main objective was to strengthen CO 2 emission reduction targets by 2050 and make energy matrices more efficient.This meant that stricter regulations were reflected by increased CO 2 emission costs.The El Prat del Llobregat WWTP could have saved approximately € 57,260.61per year due to emissions of flared biogas.Another aspect that must be analyzed is the energy requirement, which not only varies according to the type of process, but is also subject to the supply system.This refers, for example, to the situation that Spain had to face with the increase in prices per kWh caused by the war between Russia and Ukraine.Dependence on such a vital resource, meant that on the first day of the war the average price of energy in Spain went from a threshold of € 50-60 per MWh to an average price of € 205 per MWh, according to the OMIE (Iberian Energy Market Operator), and was increasing daily.This led to increases in wastewater treatment prices.Energy recovery contributes to achieving the goal of carbon neutrality, so it is necessary to reach a balance, where the energy consumed and the energy produced by the plant meet its own operational needs without depending on the external supply network.The goal of decarbonization goes beyond self-producing clean energy or switching to energyefficient technologies, it means reducing operating costs and having a secure energy supply. Conclusion WWTPs are reported as the highest energy consumers and CO 2 emitters among the water industry, therefore it is important to access dedicated tools to investigate the best decarbonization strategies for WWTPs. Conclusion Achieving the decarbonization of wastewater treatment plants has become a necessary step in addressing climate change while also achieving energy self-sufficiency.As the population density increases in a given area, it becomes necessary to expand the capacities of treatment plants.The quality requirements of effluents become increasingly demanding, which causes an increase in energy consumption and generates environmental and economic issues.The analyses of mass and energy balances are crucial in order to identify the interaction of the operating system and support decision-making in enhancing the identification of processes with high energy consumption, reducing impacts of unit operations, identifying losses or deviations and identifying processes that do not comply with the regulatory framework of environmental standards of water quality.The sludge balance resulted in a final production of dewatered sludge equivalent to 2,168,000 kg MF/day, with 52,208 tMF/year (almost 90% of the sludge) being allocated to direct agriculture and 5902 tMF/year (equivalent to 10%) to composting.Biogas production was 20,146 Nm 3 /d, and, approximately 1.7 kg of COD is removed for every kilogram of volatile solids.While these renewable alternative fuels provide a means of fossil fuel avoidance, the scale at which they are currently produced is insufficient to provide significant biogas offsets.Therefore, additional generation capacity of these fuels is required to support the broader decarbonization of the energy sector. Conclusion Regarding the analysis of GHG emissions, it was determined that the direct emission values were 4,010.39tCO 2 eq from the emissions of CH 4 , N 2 O and CO 2 in the water and sludge line.The correlation proposed to define an approximation of the CO 2 emissions generated in the biological reactor demonstrates the need to establish in situ monitoring, giving greater accuracy to the calculated values. Conclusion Similarly, emissions from the burning of biogas in flares equivalent to 578.39 tCO 2 eq were established.As for indirect GHG emissions, two main sources were detected within the treatment process; first, energy consumption represented a total of emissions equivalent to 3,459.11tCO 2 / eq.Among the processes that showed the highest energy consumption were the biological reactor and secondary settling, using 1,535,429 kWh/year and 248,450 kWh/year, respectively, followed by tertiary treatment (disinfection, ultrafiltration and osmosis) which uses 297,175 kWh/year.If all the biogas was co-generated, the emissions generated in the process of flaring the biogas would be zero, producing substantial savings of approximately € 57,260.61per year in payments for atmospheric emissions.The analysis shows the importance of the use of biogas, as it reduces the use of fossil fuels in the process matrix, lessens the polluting impact and represents an economic saving in emissions payments.In order to reach the decarbonization various measures could be undertaken, including: (1) Reducing the purchased energy consumption by using the energy selfsufficiency; (2) Increasing the energy recovery from internal sources; (3) Evaluate the water -energy nexus in WWTP considering their water and energy footprints to reduce their impacts; (4) The energy positive WWTP can export excess energy outside the plant and energy cost-saving; and (5) Identify energy losses include the wasted chemical energy from biological treatment, energy loss in the form of sludge and biosolids and inefficiencies of energy conversion in devices i.e. in combined heat and power.Furthermore, it is imperative to conduct continuous and long-term activities such as monitoring of greenhouse gas emissions in situ, optimization exercise by using Monte Carlo simulation, statistical analyses and economic performance assessment based on optimizing the operation of WWTPs in terms of energy cost-saving. Conclusion Acknowledgements The authors express their gratitude to the Agència Catalana de l'Aigua (ACA) and the Àrea Metropolitana de Barcelona for their contribution to the plant visit and for providing access to the operational data. Conclusion Funding Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.This research received no external funding. Fig. 1 Fig. 1 Conceptual framework of the study Fig. 2 Fig. 2 Wastewater Treatment Systems 'El Prat del Llobregat' Fig. 3 Fig. 3 GHG emission source analysis of sewage plant operation Fig. 5 Fig. 5 Monthly biogas production rate for reference plant "Prat del Llobregat" Fig. 5 Finally, it provides opportunities to reduce costs by improving energy efficiency.The inlet and outlet values of the wastewater are optimal in terms of operating conditions.Operational efficiencies contribute to the minimization of GHGs.For the treated flow rate of 198,630 m 3 /d, the influent characteristics of COD = 904.55mg/L, BOD = 470 mg/L, TSS = 528.91mg/L and NT = 77.15mg/L.The primary and secondary treatment eliminates 95% of suspended solids and organic matter, with 1191.78 kg/d of BOD, 2,780.8kg/d of TSS and 83.82% of phosphorus and nitrogen concentrations being removed.The advanced regeneration treatment manages to release a water flow with high quality characteristics, BOD = 294.48kg/d, SST = 740.79kg/d and a nitrogen concentration of 11.3 mg/L. Table 1 Data relating to the operation of the wastewater line (water treatment and regeneration) Table 2 Carbon emission analysis Table 3 Quality of incoming and outgoing water of the El Prat del Llobregat WWTP Table 3 SS [mg/L] COD [mg/L] BOD [mg/L] NT [mg/L] Table 4 Consumption of electric energy (kWh/m) for each device/ stage in the El Prat del Llobregat.WWTP Table 5 Indirect emissions related to electricity consumption in water and sludge line Table 6 Indirect emissions from Anaerobic Sludge Digestion Table 7 GHG composition of the entire plant's direct emissions in 2022(IPCC Guidelines 2006)of the anaerobic digester.This would mean that instead of burning the surplus biogas in flares (with a flow rate equivalent to 38,950.83m 3 /month), an energy potential of 270,216.26kWh/month could be obtained, thus supplying 6% of the plant's total daily energy demand.The use of this energy resource will prevent the emission of 578.39 tCO 2 eq. Table 7 potential

섹션 본문 108문단 · 58,015자

(제목 없음)

1The process of decarbonization of Wastewater Treatment Plants (WWTPs) has become a global priority.WWTP consume large amounts of energy and emit Greenhouse Gases (GHG) to remove pollutants.Therefore, this article quantitatively analyzes the greenhouse gas emissions produced during the wastewater treatment of one of the largest and most modern wastewater treatment plants in Europe, the El Prat del Llobregat Wastewater Plant.The assessment focused on evaluating the mass and energy balance of the entire process.Identifying the organic load present was essential for determining the impact on the generation of (GHG) during the wastewater treatment and regeneration process.According to the characteristics of the system, the inventory of total emissions is established, identifying the direct emissions produced by each of the stages (carbon dioxide and methane emissions) and the indirect emissions produced by the use of electricity and chemicals, respectively.The results revealed that the highest direct greenhouse gas emission was observed in the biological reactor with the value of 2.5 kgCO 2 eq/kg COD, 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.The annual GHG emissions from CH 4 , N 2 O and CO 2 emissions from the water and sludge line are equivalent to 3432 tCO 2 eq, apart from the emission caused by flaring biogas, which represents 578.39 tCO 2 eq.The largest contribution comes from indirect emissions, where energy consumption generates 3,459,105 tCO 2 /eq.The largest energy consumer in the entire WWTP were the biological reactor with secondary settling and the tertiary treatment, which accounts for 45.20% and 14.8% of the total energy needs respectively.KeywordsWastewater treatment plant • Greenhouse gas emissions • Mass balance • Energy balance • Carbon emissions accounting • CO 2 emission reduction and decarbonization Editorial responsibility: S. Mirkia.

Introduction

2Wastewater Treatment Plants (WWTP) have become a fundamental pillar for the strategic development of a society in constant growth.The main objective of WWTP is to be able to simulate the natural cycle (Jodar-Abellan et al. 2019), purifying and regenerating wastewater to reduce the discharge of pollutants to the environment, in addition to protecting water sources, ecosystems and public health, while also recovering used water into a new source of materials (Li et al. 2021).Today, the aspiration to achieve a green future with zero emissions is critical to mitigating climate change.WWTPs are one of the sectors with high energy consumption and greenhouse gas (GHG) emissions (Delre et al. 2019;Wang et al. 2016), it is estimated that they consume 3% of global energy (Dickin et al. 2020).WWTP have begun to develop strategies that have more sustainable approaches, with the aim of achieving decarbonization through the "water-energy" nexus.The increase in population density in large cities and the trend towards urbanization requires higher levels of treatment, due to the standards imposed for the discharge of wastewater (Mo and Zhang 2012), leading to an increase in treatment capacities and therefore energy consumption.

3The energy consumption and the type and amount of GHG production in WWTPs are varied due to different circumstances, such as its size, technologies, purification and regeneration processes, the load of pollutants in the wastewater to be treated and the regulations stipulated in each country to obtain an effluent outlet with specific water qualities (Longo et al. 2016).

4Most plants worldwide have an established 4-stage treatment for the water line and sludge process.In the water line, the pretreatment has an energy demand ranging from 2 to 8% of the energy consumption (Longo et al. 2016), which would represent 0.009-0.018kWh/m 3 treated.The primary treatment has an energy demand of 2-3% (Nakkasunchi et al. 2021), so it is generally considered to be the process that consumes the least energy.For example, Canada has an electricity consumption in its pretreatment and primary treatment of 0.002-0.1 kWh/m 3 , Hungary has 0.04-0.19kWh/m 3 and Australia 0.1-0.37 kWh/ m 3 (Kneppers et al. 2009;Pitas et al. 2010).Secondary treatment is characterized by its high energy consumption in the aeration process, with demand ranging from 50 to 74% (Longo et al. 2016;Mamais et al. 2015), represented by 0.15-0.77kWh/m 3 at a general level.Australia, for example, requires 0.46 kWh/m 3 and the United States 0.33-0.60kWh/ m 3 (Gu et al. 2017a, b).Tertiary treatment can have a greater fluctuation in energy demand due to the processes applied for the removal of nutrients and pathogens, therefore it accounts for between 8 and 13% of electricity consumption (Longo et al. 2016).Analysis of the energy consumption of different WWTPs showed that these processes require between 0.39 and 3.74 kWh/m 3 in Japan, while in New Zealand, Taiwan, Hungary and the United States it ranges between 0.41 and 0.75 kWh/m 3 (Bodík and Kubaská, 2013;Pitas et al. 2010;Plappally and Lienhard 2012).As for the treatment of the sludge obtained during the different stages in the wastewater line, energy consumption ranges between 15 and 25% (Mamais et al. 2015).The energy consumption of sludge treatment depends on whether or not the sludge is incinerated, if using a CAS (Conventional activated sludge) method with incineration for sludge treatment it is 0.38-1.49kWh/m 3 , but if the CAS method is implemented without incineration, it is 0.39-3.74kWh/m 3 (Mizuta and Shimada 2010).

5The process of decarbonizing wastewater treatment plants has been a challenge, not only to mitigate emissions but also to generate self-reliance on their own energy generation that will contribute to sustainable behavior.

6As the pursuit of "Decarbonization" gains momentum, the emphasis on low-carbon solutions, emphasizing energy conservation and resource reuse, has introduced new challenges to conventional wastewater treatment approaches.Greenhouse gas emissions from a wastewater treatment plant are highly dependent on bioreactors and electricity input from the grid (Maktabifard et al. 2018).The estimated CO 2 emissions from wastewater treatment plants' energy consumption account for 40% of total emissions: CO 2 emissions from wastewater treatment plants due to energy consumption are 0.391 kgCO 2 / kWh, and 0.08 kg CO 2 /kg COD from aerobic wastewater treatment processes (Campos et al. 2016;Lin 2020).The process of decarbonizing the WWTPs is mainly performed in order to comply with legislation to reduce the environmental impact, but it is extremely important in terms of economic viability, since the operating costs attributed to energy consumption are between 30 and 40% of the total cost of operations and maintenance of the water line.In terms of treatment and disposal of the sludge produced, this often accounts for up to 50-60% of the total operating costs of the plants (Gude 2015;Panepinto et al. 2016;Wei et al. 2003) and is expected to grow due to the observed increase in the costs of sludge disposal (Ginestet 2006).Therefore, if energy consumption is reduced, it would reduce not only greenhouse gas emissions but also operating costs and the management and reuse of sludge.

7The estimation and quantification of GHG emissions in WWTPs has become a major problem that urgently needs to be solved, mainly because wastewater and sludge management is responsible for 257 million tonnes of carbon dioxide equivalent globally, of which almost half are energy-related emissions (Lutkin et al. 2022).In addition, 267 million tonnes of carbon dioxide equivalent come from on-site remediation, nitrous oxide is also estimated to be responsible for 32% of global emissions from wastewater treatment (Lutkin et al. 2022).The degradation of organic matter during wastewater treatment contributes approximately 1.57% of global GHG emissions and 3.49-5% of global non-carbon dioxide GHG emissions (Chen et al. 2020;Dickin et al. 2020).

8The total set of GHG emissions of sewage treatment plants are divided into two parts (Parravicini et al. 2016): one is the direct emission of greenhouse gases such as CO 2 , CH 4 and N 2 O in the process of sewage treatment; the other is the indirect emission caused by the energy and materials consumed in operation, indirect GHG emissions are originated from water-energy nexus (Yapıcıoğlu & Demir 2021).Wastewater treatment plants (WWTP) are a typical case of water-energy interactions.

9Currently, the measures to reduce carbon emission from wastewater treatment plants mainly focus on the suitable treatment process, low-carbon emissions technologies and precise management methods (You et al. 2022).The effectively assessing GHG emissions from wastewater treatment plants and establishing dynamic changes of carbon emissions from each unit in the wastewater treatment process is of the utmost scientific importance for proposing measures towards a decarbonized model.Energy consumption and greenhouse gas emissions are important elements in determining the efficiency and obtain possible reductions in cost of wastewater treatment in relation to the environmental effect (Yapicioğlu et al. 2023).

10Also, wastewater treatment and distribution processes emit GHG emissions considering water-energy nexus.In fact, energy consumption of the WWTPs should be a crucial consideration of the water-energy nexus (Yapıcıoğlu and Demir 2021).

11Most of the current researches in Spain show the lack of a detailed analysis of the wastewater treatment model.Some have focused only on the analysis of the decarbonization of the WWTP economy through the generation of biogas as a renewable biofuel, as is the case of Gonzalez et al. (2022), which identifies and analyzes the main sources of odor and greenhouse gas emissions, determining the appropriate performance of each unit in avoiding emissions.Blanco et al. (2016) show how an Anaerobic digestion is being established as a standard technology to recover some of the energy contained in the sludge in wastewater treatment plants as biogas.Rodríguez-Villanueva and Sauri (2021) show an exploration of relations between water treatments, water reuse, and governance.Colmenarejo et al. (2006) focus on the comparison between different technologies.Lorenzo-Toja et al. (2016) basically concentrated on analysis of conventional water quality parameters, direct GHG emissions and pharmaceuticals and personal care products (PPCPs) in water and sludge lines.

12Spain is one of the countries in the European Union that has made great progress in the wastewater treatment sector.However, it is still in the process of identifying strategies that allow it to reduce WWTPs energy demand and GHG emissions in order to establish a decarbonization process.It was estimated that urban water supply in Spain in 2021 reached 3700 hm 3 /year and that wastewater treatment exceeded 4000 hm 3 /year, requiring a large amount of energy consumption (about 4000 GWh/year), which represents 1.5% of the total national energy demand and 0.5% of the total greenhouse gas emissions in Spain (Ministry for Ecological Transition and the Demographic Challenge 2022).

13The sewerage, purification and wastewater reuse sector have an advantage, in that it not only consumes energy, but is also capable of producing it.The national production of energy in Spain is approximately 600 GWh/year, all of which comes from renewable sources such as biogas, which is the main source of energy for the self-sustainability of the plant (AEAS-AGA 2022).However, Spain continues to have a serious problem in terms of energy dependence from abroad.For example, in 2017, 73.9% of the fuel needed to generate energy was obtained from countries such as Algeria, Saudi Arabia and Nigeria, among others (European Union 2019).The decarbonization process in Spain's WWTPs has made significant progress in relation to the European energy transition strategy.The generation of renewable energy by WWTPs is around 787 GWh/year (AEAS-AGA 2022).The economic development and increasing urbanization of Spain has led to an expansion in the scale of wastewater treatment, bringing great challenges for the development of WWTP's with low carbon emissions and energy efficiency.

14The study, with the integral calculation model being applied to determine the emission sources of each process unit and then to assess the energy conservation and reduction of carbon emissions caused by the energy recovery of biogas from the anaerobic digestion of sludge.Precisely evaluating and calculating carbon emissions in wastewater treatment plants, and establishing carbon-neutral operating models has become a pivotal concern in the future of wastewater treatment and is the basis for formulating regional carbon reduction plans.This analysis covers the calculation of the direct and indirect emissions of three GHGs (CO 2 , N 2 O and CH 4 ) generated by the biological treatment process and electricity consumption (IPCC 2014).The main innovative aspect of this study was the use of mass and energy balances for preliminary evaluation of the operation and approaches for wastewater and sewage sludge treatment with focus on potential for sludge minimization, impact on other unit operations, energy requirement, energy self-sufficiency and emission inventories.Our goal is to offer valuable insights and support for the practical implementation of wastewater environment management within the framework of carbon neutrality and facilitate comprehensive GHG accounting, recognizes direct and indirect carbon emission sources in the wastewater treatment process.The article shows the need for future research where these data can be use used to evaluate modification and for developing strategies that tend towards the implementation of objectives that achieve controlled and adaptive decarbonization in WWTPs.

Materials and methods

15This section presents and clarifies the steps taken for the application of a methodology that focuses on determining and analyzing the decarbonization process of the wastewater treatment system of the El Prat del Llobregat WWTP.To analyse the impacts of WWTPs by reviewing the quantity of GHG emissions, the paper is structured as follows: Mass and Energy Balance Analysis, overview of GHG emissions (line water and sludge) and a current economic analysis for decarbonization.In order to achieve this goal, a conceptual model is proposed that allows demonstrating each step to be developed, as shown in Fig. 1.

16The sources of information were the Barcelona Metropolitan Agency (AMB) and the Catalan Water Agency (ACA).The database and statistical analysis of the International Energy Agency (IEA), which contains reports on energy consumption and its percentages of emissions, was also used and provides clear guidelines for the transition to clean energy.

First step: analysis of the current situation

17First, an in-depth reconnaissance and analysis of the El Prat del Llobregat WWTP was carried out.This facility is located in Barcelona, Spain; it is responsible for treating approximately 36% of the total water in the Barcelona Metropolitan Area (AMB), including Cornellà de Llobregat, El Prat del Llobregat, Esplugues de Llobregat, Hospitalet de Llobregat, Sant Joan Despí, Sant Boi de Llobregat, Santa Coloma de Cervelló and Sant Just Desvern (partially), corresponding to a treatment capacity equivalent to 2,000,000 inhabitants.Catalonia has been experiencing a period of drought, starting in the autumn of 2020, which is considered historic due to its duration and intensity; in the spring of 2021, the drought was consolidated, and in the years 2022 and 2023 it has intensified.Barcelona has been able to cope with this situation because its El Prat del Llobregat WWTP is a treatment plant that includes one of the largest water regeneration stations in the world, generating a release of 50 million liters per year of water resources for the region.Currently, part of the released flow is pushed upstream of the Llobregat River to a point, located in Molins de Rei, where it is added to the river's flow in prepotable water condition.

18The facility purifies two types of wastewaters, domestic and assimilable wastewater (water used in homes, offices, businesses, schools and any other space where no special pollutants are discharged), and pre-treated industrial water (water used in industrial facilities, after being treated by the industry itself to extract the specific pollutants).This facility begins with a pre-treatment process that eliminates all coarse and fine solid waste, in which it is possible to remove pieces of paper, plastics, rags, rubber, metals, vegetable or fruit waste.After this, the wastewater is conducted to a chamber that removes the sand, fats, ashes and gravel, giving way to a homogenization of the incoming flow to avoid harming the subsequent processes (Asano et al. 2007).The secondary process with biological reactor and nutrient removal ensures a reduction in the concentration of phosphorus and nitrogen, through the process of nitrification and denitrification.In turn, this process uses biological action to transform biodegradable organic matter into stable matter, so that a large percentage of suspended solids and organic compounds are eliminated.

19The tertiary process allows the removal of the remaining contaminants, in colloidal or suspended state, and reduces the contaminant load of the wastewater.The techniques are UV disinfection, ultrafiltration and reverse osmosis, one of the techniques most used by WWTPs (Arzate et al. 2019;Rossi et al. 2021).

20Sludge is an important by-product of wastewater treatment systems, consisting of the majority of the solids separated in each phase of the water line.The main objective of treating sludge is to reduce its volume by partially eliminating the water content.This is done by means of gravity thickening and centrifugation thickening for the biological sludge, then it is subjected to anaerobic digestion and the process ends with dehydration-conditioning and thermal drying.Figure 2 shows the process currently being performed on site.

21According to data provided by the Barcelona Metropolitan Agency (AMB), this plant can treat up to 420,000 m 3 /d of wastewater and its average energy consumption for 2022 was 155,683.40 kWh/day.

Step two: mass and energy balance analysis

22The mass and energy balances in the WWTP are necessary in order to know and evaluate in detail the inflow and output of the wastewater to be treated and the respective material and energy consumption.Mass and energy balances are proposed in this research as an important tool in the optimization of the plant's operating system.This analysis allows us to focus on the potential for minimizing sludge and identifying energy-intensive processes, reducing the impact of unit operations and increasing energy efficiency.

23Several studies have demonstrated the benefits of energy benchmarking for identifying the cost reduction potential and evaluating the operational performance of WWTP, as well as the decarbonization process (Krampe 2013;Svardal and Kroiss 2011).

24The calculations made in the mass balance were carried out under the iterative calculation procedure, managing to evaluate the water and sludge treatment lines, as well as the recirculation of secondary sludge streams.The mass balance evaluated the suspended solids of the wastewater of the tributary and the biological solids generated in the process that are distributed among the operations and unit processes that make up the process flow diagram.Iteration was proposed for flow rate (Q), total suspended solids (TSS), and biological oxygen demand (BOD 5 ).The total system was modeled under annual average operational considerations (excluding daily or seasonal variations) and a temperature of 15 °C represented the average climatic conditions in Spain (AEMET 2023).

25The description of the relevant data is given in Table 1, within the analysis of existing data provided by the Barcelona Metropolitan Agency, as well as the use of theoretical data.

26The energy audit included the collection of data on energy flows across the different stages of the treatment process, with the aim of assessing the energy performance and proposing improvements to achieve self-sustainability.First, all energy-consuming equipment was identified for direct measurement, establishing its nominal power and operating hours.Energy consumption was measured using network analyzers for electrical energy and heat flow meters for thermal processes.Data were collected throughout the year 2022, enabling the analysis of monthly variations.

27Based on the collected data, an energy balance was prepared, taking into account the following aspects: (i) Energy consumed: Electrical energy used for equipment operation and thermal energy for digestion processes.(ii) Energy generated: Potential energy from the produced biogas and its utilization for cogeneration.(iii) System efficiency: Ratio of generated energy to consumed energy.

28The total electrical energy consumption of the El Prat de Llobregat WWTP was an average of 47,327,754 kWh/year in 2022, distributed in water lines: pre-treatment 16.35%, primary treatment 5.18%, secondary treatment 45.23% and tertiary treatment 14.88%.In the sludge line, energy consumption is distributed as follows: thickening and dewatering 6.84%, anaerobic digestion 2.51% and thermal drying 1.31%.Self-consumption is represented by 12,224,746 kWh/ year, approximately 28.2%, and a surplus energy sale of 36,591 kWh/day.Most of the energy used within the process is supplied through the Spanish national grid.

Step three: greenhouse gas emissions analysis

29The modelling used to estimate the amount of the GHGs produced by the El Prat del Llobregat WWTP was carried out by means of empirical emission factors, based on the volume of treated water, effluent concentrations and mass of wastewater components removed.This emissions assessment was carried out using the integral calculation model and the IPCC guidelines (IPCC 2006(IPCC , 2019) ) to determine the emission sources of each process unit in order to subsequently assess its energy consumption and the reduction of emissions with the use of biogas.

30Based on the data obtained in the mass and energy balance of the operating system, the scope of impact generated by the treatment of both the water line and sludge was included.In this third step, the emissions produced from the pre-treatment to the end of the treatment process are quantified.The detail of this analysis is the assessment of the reduction of emissions by the recovery of biogas energy from the anaerobic digestion of sludge.Figure 3 shows the configuration of the specific sources of emissions by electricity consumption and by the emissions caused in the system.The three main GHGs that are analyzed in a wastewater treatment plant are:

31Carbon Dioxide (CO 2 ): This is attributed to two main factors, the treatment process itself and energy consumption.

32Methane (CH 4 ): is produced from the biological degradation of organic matter under anaerobic conditions from water or sludge blowdown.The level of methane production will depend on the amount of organic matter degraded in the process and the absence of dissolved oxygen.

33Nitrous Oxide (N 2 O): is generated as a by-product during nitrification and denitrification by the process of nutrient removal, where it is transformed and emitted as nitrogen gas N 2 as a direct emission, or as an indirect emission when the effluent is discharged into a receiving medium.

34This analysis covers the calculation of direct and indirect emissions of three GHGs: CO 2 , N 2 O and CH 4 (electricity consumption and chemicals).It is important to highlight that the formation of N 2 O in wastewater treatment, specifically in the nitrification and denitrification stage, is very low due to the highly efficient rates of nitrogen removal.The El Prat del Llobregat WWTP has an efficiency rate of 83.82%, which indicates that the higher the level of nitrogen removal, the lower the amount of N 2 O emitted.Therefore, the conversion rate of N 2 O is transformed and emitted into N 2 as a nitrogen gas, so it is not taken into account in the calculation of GHG emissions.The carbon emission sources of the units are summarized in Fig. 3 and Table 2.

35The GHG emissions associated with the use of the purchased energy are evaluated with the peninsular mix, as they can be affected by the mix of electricity generation.The emission factor of electricity is 0.259 kg CO₂-eq/kWh according to the National Commission of Markets and Competition (CNMC).

Calculation of direct and indirect GHG emissions from WWTPs

36The analysis of the carbon emission pathway of the plant's operations focused on the amounts of degradable organic matter, BOD 5 and Total Nitrogen in the wastewater to determine the potential for greenhouse gas generation.WWTP's total annual GHG emissions are given by: where: TotalCO 2−eq = are the total CO 2−eq emissions of the WWTP (kg CO 2−eq ).

37CH 4 Emissions(kgCH 4 ) , N 2 OEmissions kgN 2 O and CO 2 kgCO 2−eq e m i s s i o n s from electricity consumption in each process.The values (1) System GHG calculation limits: Direct sources of GHG emission in this study include the wastewater treatment structure (e.g., primary sedimentation tank, biological reactors, secondary sedimentation tank, tertiary treatment tanks) and sludge thickening and dewatering facilities (thermal drying is not currently operating).

38Indirect sources of GHG emissions include the consumption of electricity, the consumption of chemicals within the wastewater treatment process and the sludge process.Similarly, in the biological process the degradation of organic matter and reduction of nutrients generates a release of CO 2 of fossil origin, produced directly by aerobic decomposition.However, they are not controlled and there is no rough estimate.

39Calculation of CH 4 emissions Following IPCC guidelines, CH 4 emissions (IPCC 2006(IPCC , 2019) ) are estimated as:

40where:

41TOW Plant = is the organics in wastewater of WWTP (kg BOD); SOC = is the organic component in the sludge of WWTPs (kg BOD); EF 1 = is the CH 4 emission factor for WWTP kg CH 4 / kg BOD); R = is the amount of CH 4 recovered (kg CH 4 ).Degradable organic compounds in wastewater are calculated as:

42where: P = is the urban population (person); BOD = is per capita BOD (g BOD/person/day); I = is the correction factor for additional industrial BOD discharged into sewers (for collected the default is 1.25, for uncollected the default is 1.00).

43The organic component in the sludge is given by: where: Smass is the amount of sludge produced in WWTPs (kg sludge); KOC = is the organic composition factor in sludge, set as 0.25 (kg BOD/kg sludge) (Hao et al. 2020);

44(2)

45QDOM = refers to the domestic wastewater amount treated in WWTPs (m 3 ); Kmass = refers to the coefficient of sludge production.

Calculation of N 2 O emissions

46The equation for calculating the total N 2 O emitted by the nitrification and denitrification process is estimated as: (IPCC 2006(IPCC , 2019)).

47where;

Calculation of CO 2 emissions

48The CO 2 emissions emitted in the biological treatment of the El Prat de Llobregat WWTP are given by: where: CO 2,bio = emissions (g CO 2 eq/year) from biological treatment processes;

49EF bio,CO 2 = (g CO 2 /kg COD removed) are three GHG emission factors of the process.

50COD removed = is the annually removed COD (kg COD removed/year) in the WWTP.

Calculation of CO 2 emissions from electricity consumption

51(E e ) The consumption of electrical energy for wastewater treatment is calculated using annual energy consumption and specific emission factors:

52where:

53E e = is the indirect emission of carbon from the consumption of electrical energy (tCO 2 /day); D = is the total electricity from wastewater treatment (kWh/day); EF D = is the carbon emission factor for electric power generation and the value is 0.259 kg CO₂-eq/kWh in Spain's electricity grid.

Carbon emission from chemicals

54Indirect carbon emissions from the use of chemicals are limited (Zhang et al. 2020); however, the IPCC emissions accounting framework recommends including emissions caused during the production process of the chemical (Foley et al. 2010).( 6)

55The calculation of emissions of the chemicals was calculated as:

56where:

57E c (tCO 2 /day) = carbon emissions in chemical production.

58Mc, Md and M w (tCO 2 /day) = is the amount of additional carbon source, chemical agents or reactants, and substances for sludge dewatering, respectively (data provided for El Prat de Llobregat WWTP).

59EFc, EF d and EF w (kgCO 2 /kg) = are the carbon emission factors for additional carbon sources, disinfection agents and sludge dewatering agents, respectively.Greenhouse gas emission factors during the production process were obtained from related literature (Li et al. 2020;Niu et al. 2013;Zhou et al. 2022) and from data provided in the IPCC guide (IPCC 2006).

Mass balance

60The calculation and analysis of the mass balance of the El Prat del Llobregat wastewater treatment plant made it possible to highlight the hotspots in which an improvement in the efficiency of the process is required, along with the recovery of energy and resources.This deterministic and analytical model showed clearly that primary treatment eliminates much of the slow and non-biodegradable fraction of COD from the tributary.

61The presence of primary sedimentation results in increased sludge production as a first result.1.3% of the sludge is related to the same non-reactive behavior of the primary settling, which indicates that the sludge obtained in the primary settling is not subject to biological processes, as is the case with the secondary sludge.In the primary settling process, much of the slow and non-biodegradable COD fraction of the influent is removed and the effluent that is sent to secondary treatment (secondary settling and biological process) contains a higher fraction of biodegradable substrates.In the biological process, biological tanks are designed to withstand lower volumetric loads (VLRs).This allows for a higher observed yield (Y obs ) of 0.45 where carbonaceous bacteria, cellular waste and nonbiodegradable SSV are eliminated in the tributary.Table 3 (9)

62shows the input and output values for treated volumes, total suspended solids, BOD and total nitrogen.

63As can be seen in Fig. 4, for the treated flow 198,630 m 3 /d, the influent characteristics of COD = 904.55mg/L, B O D = 4 7 0 m g / L , S ST = 5 2 8 .9 1 m g / L a n d NT = 77.15mg/L.In the primary treatment, an approximate BOD removal of 58,814.34kg/d (62.52%), a total suspended solids removal of 72,847.55kg/d, including part of the initial drainage process equivalent to 75%, and an organic matter elimination of 35% is achieved.The biological reactor and secondary decanter are highly efficient in nutrient removal, nitrogen is reduced to 12.48 mg/L, representing 83.82% elimination.This stage of the process is important because it removes more than 95% of the suspended solids and organic matter, with characteristics BOD = 1,191.78kg/d, SST = 2,780.8kg/d and a final flow of 183,795.35m 3 /d, of which 134,784 m 3 /d is sent for regeneration and 70,896 m 3 /d is sent for discharge into the medium.Finally, the advanced regeneration process achieves effluent quality with optimal parameters.The released flow is pushed upstream of the Llobregat River, where it is added to the river flow in pre-potable water condition and in turn is used in agricultural and garden irrigation, for industrial purposes and for the maintenance of the flow of the Llobregat River.

64As a result of the sludge treatment, a final production of dewatered sludge equivalent to 2,168,000 kg MF/day was calculated, with 52,208 tMF/year, almost 90% of the sludge, being allocated to direct agriculture and 5902 tMF/ year (equivalent to 10%) to composting.

65Biogas is composed of a mixture of Methane (CH 4 ), Carbon Dioxide (CO 2 ), Nitrogen (N 2 ), Hydrogen Sulfide (H 2 S) and some trace amounts of Hydrogen (H 2 ).The calorific value of CH 4 shows the useful potential of the energy produced in the anaerobic digestion treatment.For every kilogram of volatile solids, approximately 1.7 kg of COD is removed, and for every kilogram of COD removed, 0.35 Nm 3 of CH 4 methane is generated, and the biogas generation rate (GR) is 1,12 m 3 biogas/tVS.

66Currently, the amount of CH 4 in the biogas stream is 62.76%.The amount of volatile solids (VS) that are removed in the flow is 35%, thus obtaining biogas production of 20,146 Nm 3 /day and electricity production of 13,205,657 kWh/year.

67The analysis of the mass balance shows that the biological reactor and the secondary decanter managed a COD removal rate of 91.85% due to the high capacity of the plant; however, this implies that the biological degradation of the COD of the effluent has been released as carbon dioxide into the air.

Energy balance

68The energy requirements of the wastewater treatment plant have been calculated with reference to the energy consumption parameter per unit of volume treated.This parameter is preferred because it allows showing a posteriori the relationship with the pollutant load that occurs in the treatment process of the water and sludge line.

69The El Prat del Llobregat WWTP consumed an amount of electricity equivalent to 47,327,754 kWh per total annual activity, representing a consumption of 155,683 kWh/ day.This requirement is met by the supply of electricity purchased from the national grid (around 70%), along with its own self-consumption by cogeneration of 13,752,588 kWh/ year, obtaining 1,140,8340 kWh/year of thermal energy from motors and 3,332,770 kWh/year energy provided by boilers.This process allows for self-consumption of approximately 29.45% of the plant's electrical energy.To estimate the total electrical energy consumption of the plant, it was necessary to multiply the potential values (P) by the operating time of each device in the water and sludge line.The intensity of energy consumption per cubic meter of wastewater treatment could decrease due to the size of the plant and the effects of economies of scale; this indicates that unit treatment costs would be lower, increasing the profit margin with the reduction of energy purchases.

70The energy demand of the preliminary treatment is around 0.11 kWh/m 3 , which represents 16.35% of the total energy demand of the treatment process.In the primary treatment, 70% of the total suspended solids (TSS) and 53.15% of the biological oxygen demand (BOD) were removed.In the secondary treatment with a biological process, consumption of 0.30 kWh/m 3 is observed, being the process that consumes the largest amount of energy.The energy requirement demanded by this secondary process is mainly linked to the necessary energy used by the aerators, consuming 45.23% of the total energy needed by the WWTP.The final flow sent by marine outfall is 71,261 m 3 /d.The flow rate sent for tertiary treatment is 134,784 m 3 /d, with energy consumption of 14.88%, as shown in Table 4.

71A higher quality of the effluent results in higher energy consumption (Svardal and Kroiss 2011), so when primary sedimentation is available it contributes to a decrease in Fig. 4 Plant-wide mass and energy for reference plant "Prat del Llobregat" energy demand of up to 15% due to its high removal rates of organic matter, suspended solids, COD and BOD.Similar to the water line, sludge requires different levels of stabilization and reduction, resulting in higher energy consumption.In the sludge line, the gravity thickening and centrifugation process leads to increased efficiency in the anaerobic digestion process (25% SSV reduction) and thus increased conversion of COD into biogas.

72Such WWTPs have a room of opportunity for reducing its dependency on grid electricity by energy recovery from wastewater.The generation of biogas is used in the same process of heating the digesters and for the combustion process in the cogeneration engine for the generation of electrical energy.The biogas consumed in the boiler is approximately 2,771 m 3 /day and the quantity of power created by cogeneration is 14,499.06m 3 /day.The energy conservation increasing the percentage of own electricity.The biogas (CH 4 ) produced from anaerobic digestion satisfies 29.45% of the plant's self-consumption energy requirements.The biogas produced in anaerobic digesters is stored safely and securely in gas holders, allowing the system to adapt to fluctuations in production and the plant's self-consumption.Gas holders are designed to maintain a constant pressure, ensuring a steady supply to the energy generation system, whether through cogeneration engines or boilers.Currently, the excess biogas is burned in flares, which is equivalent to 1298.36 m 3 /day.Biogas generated from sewage sludges in the mesophilic AD process is composed primarily of methane (62,76%) and carbon dioxide (35%), with small concentrations of nitrogen, hydrogen sulfide, and other constituents.The most readily adaptable approach to reduce external energy requirements with existing treatment plants is to make the full use of CH 4 produced, these support the decarbonization and the energy conservation.For example, two municipal WWTPs in Austria have successfully proved to be energy positive by efficient utilization of energy recovered from sludge.One of these plants are Wolfgangsee-Ischl WWTP, this plant generated 7% surplus electricity from biogas generated from anaerobic digestion sludge (Nakkasunchi et al. 2021).For example, El Prat del Llobregat WWTP should be consider the use of mix kitchen wastes with sludge for anaerobic coprocessing.This treatment prepares the substrates, improves organic load, increases biogas yield, and energy recovery and conservation (Noutsopoulos et al. 2013).

73Monthly variations of the biogas production rate are shown in Fig. 5.The highest biogas production was observed in the months of March to June (spring and summer), the highest value was reached in June with 721,229 Nm 3 .It could be resulted from the warmer temperatures that favor microbial activity in anaerobic digesters.The opposite occurs with the months of December, January and February, with December being the month with the lowest production rate 275,065 Nm 3 .The low biogas production is mainly due to low temperatures, slowing down the anaerobic digestion process.

74The months of May and June (spring-summer) were characterized by having a higher volume of biogas burned (109,325 m 3 and 107,533 m 3 , respectively).This is because production exceeds storage capacity.In autumn, October presents the lowest value of burned biogas (2679 m 3 ), which shows that a balance was achieved between production and use at the plant.

75However, the energy production in the system varies according to the amount of sludge generated, which is directly related to the amount of COD oxidized or converted into biogas.The plant's performance can be assessed by considering the net electrical energy requirement per unit of COD released to the atmosphere as CO 2 , either through direct oxidation or through biogas production and utilization.The operational system of this wastewater treatment plant WWTP identified that sludge thickening led to greater efficiency in the anaerobic digestion process and increased COD conversion into biogas.Based on this consideration, the energy benefits of sludge are: conversion of waste sludge into biogas, use of biogas in cogeneration systems, and reduction of greenhouse gas emissions.

76The wastewater treatment sector, being one of the main energy consumers, has developed various technologies to improve the energy efficiency, but in practice, there is no single recommended scenario for the energy self-sufficiency.The main challenges faced by energy production systems in a wastewater treatment plant stem from three key factors: i) Unstable biogas production: The amount of biogas generated varies according to the organic load and the quality of the wastewater.This variability affects energy planning and increases dependency on the electrical grid; ii) Biogas quality: biogas may contain impurities such as carbon dioxide (CO 2 ) and hydrogen sulfide (H 2 S), which reduce the efficiency of cogeneration engines.This requires an additional biogas purification process, leading to increased operational costs and potentially reducing the net available energy; and iii) High maintenance costs: digestion and cogeneration equipment require frequent maintenance due to the wear from continuous operation and the corrosive nature of biogas.

Direct GHG emissions

77The total GHG emissions studied at the Prat de Llobregat wastewater treatment plant (Fig. 4) are assessed as the direct and indirect emissions for the year 2022.Total direct, CO 2 , N 2 O and CH 4 emissions in the WWTP is given in Table @7.In the direct GHG emissions, the sum of CO 2 and CH 4 emissions was made in each of the treatment units, which are: primary decanters, biological treatment with secondary and tertiary decanters (disinfection, ultrafiltration and osmosis) and the sludge treatment line.The calculation was based on the characteristics of the influent (flow rate and concentrations), its operating conditions in each of the processes, the retention time of the HRT sludge, and variables such as suspended solids, COD and BOD.The analysis found that the emissions generated by CH 4 , N 2 O and CO 2 are equivalent to 3,432 tCO 2 eq.Frequently, only CH 4 and N 2 O emissions are accounted for, excluding CO 2 emissions from biological treatment processes as they are generally derived from biogenic organic matter present in human excrement and food waste (IPCC 2019).Biological reactor was typically characterised by the highest emissions, in particular, has a high GHG production rate due to the removal of COD from wastewater, and even more so when the removal process is aerobic.According to IPCC guidelines, wastewater typically has a COD 2.4 times higher than the final BOD, which would result in a GHG production rate of 2.5 kgCO 2 eq/kg COD.The CO 2 emission was released due to the respiration of the living microbial mass.It was also observed values 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.For N 2 O emissions contributions could be justified by the usually higher efficiencies of the aeration systems and more elevated removal.According to existing research that most of the N 2 O emitted in an aeration tank is produced by nitrifier-denitrification, as discussed by Toyoda et al. (2011) and Liu et al. (2021) reported that the additional carbon sources and dephosphorization agents in sewage treatment plants generally adopt quantitative or excessive methods for N 2 O emission.This correlation was proposed to define an approximation of CO 2 generation according to operational parameters.The biogenic CO 2 emissions from sludge anaerobic digestion unit comprise of two parts: the CO 2 generated from sludge degradation and the CO 2 generated from biogas utilization system, where methane is oxidized into carbon dioxide.The higher the biogas generation rate (GR) of the anaerobic digestion system, the more the avoided CO 2 emission will be obtained.The calculation of emissions from this stage of the process was set at 640.5 tCO 2 eq/year.Likewise, the estimate of the GHGs from the burning of biogas in flares, at 38,950.83 m 3 / month, represents a total of 578.39 tCO 2 eq.

Indirect GHG emissions

78Indirect GHG emissions are considered to be those that come from the consumption of electricity and the use of chemicals in the water and sludge line.The plant's electricity consumption was analyzed throughout the year, based on the exact combination of each of the processes.

79As can be seen in Table 5. the variation of the indirect GHG emissions was directly related to the electricity consumption.The amount of GHG emissions increased as the electricity consumption increased.The highest indirect greenhouse gas emission was reported formed in December (36,533,5 kg CO 2 -eq/d) due to the highest electricity consumption (4,372,744 kWh).The lowest indirect GHG emission was recorded in August (29,798,53 kg CO 2 -eq/d) due to the lowest value in electricity consumption (3,566,620 kWh), as energy consumption decreased significantly and greater use was made of the energy obtained from the sludge treatment.

80Biological treatment with a secondary decanter is mainly characterized by high emissions, the average of electricity consumption per month was 1,535,429 kWh for turbos biological process and 248,450 kWh for secondary decantation.The indirect emission value for the biological treatment was 15,400,82 kgCO 2 eq/month.Another indirect emission source of the plant is the tertiary treatment-disinfection-ultrafiltration and osmosis.The average of electricity consumption per month was 586,973 kWh.The indirect greenhouse gas emission was 5067,5 kgCO 2 eq/month.

81Anaerobic sludge digester is another indirect emission source of the plant.The anaerobic digestion unit, the biogenic GHG includes CO 2 equivalent to methane, CO 2CH4 by CH 4 incineration and biogenic CO 2 .The biogas generated from sludge digestion consists of 65% CH 4 and 35% CO 2 (volume ratio).The biogas generated is 20,146 Nm 3 /day and the GHG emission values in terms of kgCO 2 eq were obtained by multiplying the proportion of the gases that make up the biogas, which have the highest percentage of CO 2 and CH 4 in the total volume of biogas, with Global Warming Potential (GWP) values of 1 and 28, respectively.The anaerobic digestion unit has the highest level of fossil CO 2 emissions because energy input is required to maintain the digester under mesophilic conditions.The other gases that make up the biogas content have been depreciated.GHG emissions due to anaerobic digestion of sludge are shown in Table 6.The use of biogas for digester heating and electricity generation is a sustainable way of recovering energy from WWTPs with subsequent sludge reduction (Bennett 2007;Gu et al. 2017a, b).

82The results show seasonal patterns in the biogas production, CH 4 emissions, and total indirect emissions, with peaks in summer (particularly in June, with emission of 15,511,793.76 kgCO 2 -eq) and drops in winter (especially December, with emission of 630,534.76 kgCO 2 -eq).This suggests that temperature, microbial activity, and organic feedstock availability may influence production and emissions.Methane has a significant role in total emissions, indicating that CH 4 reduction efforts should be prioritized to reduce the overall environmental impact.CO 2 emissions are relatively stable compared to other variables, which suggests that biogas combustion processes may be consistent throughout the year.However, despite the fact that it is a process that generates emissions, El Prat del Llobregat WWTP also establishes a cogeneration system where 14.93% of the biogas is used in the boilers, 78% in engines and the rest, equivalent to 6.99%, is burned in the flares (direct emission).The generation and recovery of biogas as an energy source reduces total GHG emissions.An energy balance analysis of five WWTPS in Catalonia, Spain showed that 67% of the energy in raw wastewater was transferred to the sludge and subsequent anaerobic digestion of the sludge can recover 52% of this energy by transforming it into biogas (Silvestre et al. 2015).For example, compared with WWTPs without sludge digestion, WWTPs with sludge digestion consume 40% less net energy on average (Scott et al. 2011).

83Another source of indirect GHG emissions is the use of the chemicals needed for the entire water and sludge line treatment.Currently, chemical agents or reagents are used excessively in wastewater treatment plants, causing unnecessary waste of chemical agents and at the same time increasing indirect carbon emissions.The system implemented by the plant features an automatic online control that allows adequate control of the amount of chemical product or reagents used, which is why annual emissions are 1463.75tCO 2 eq.

84The chemical energy contained in the sludge that is converted into biogas means that 8.71 kWh of energy is obtained for every m 3 of biogas generated.This shows that anaerobic digestion effectively reduces total carbon emissions and, in turn, achieves energy self-reliance, which is vital for the decarbonization process of WWTPs.

Total GHG emissions

85The total GHG emissions in the wastewater treatment plant result from the sum of direct and indirect emissions.Table 7 shows that the total amount of emissions for 2022 was 8,933.25 tCO 2 eq.

86According to the results of the study presented, the highest total GHG emissions were obtained when the highest energy consumption was recorded in the plant, in the month of December 36,533,5 kgCO 2 -eq/d.Based on the data obtained from Table 7 that the indirect emissions due to energy consumption and the use of chemical substances and reagents were higher than the direct emissions resulting from the wastewater treatment process.Direct greenhouse gas emissions from the process were relatively lower than indirect greenhouse gas emissions.It is worth noting that dissolved concentrations in the influent wastewater are one of the important emission sources.Direct GHG emissions are emitted from biological treatment processes.Carbon dioxide is major released from microbial respiration activities while nitrous oxide is fluxed from denitrification, nitrification stages, and methane mainly comes from anaerobic digestion (Zhang et al. 2017).When the process conditions were evaluated, it was observed the biological reactor has a high GHG production rate due to the removal of COD from wastewater.The results showed a GHG production rate of 2.5 kgCO 2 eq/kg COD and 0.08 kg N 2 O/kgN removed and 0.0062 kgCH 4 /kgCOD.However, some studies shows that biological wastewater treatment processes can generate significant amounts of CO 2 (Kosse et al. 2018) which is not included in the IPCC guidelines.Nguyen et al. (2019) achieved similar results with this study.In their study, they found that highest amount of the total greenhouse gas emissions was caused by indirect emissions for the hybrid system (Nguyen et al. 2019).

87At the same time, the indirect emissions were reported formed in December (36,533,5 kg CO 2 -eq/d) due to the highest electricity consumption and the emissions from the use of chemical products in water and sludge line was 1463.75 tCO 2 eq.The reduction of indirect emissions can be achieved, considering the total biogas generation

Current economic analysis for decarbonization

88For the year 2022, the prices of CO 2 emission rights in the European Union reached a value of € 99 per ton, due to several factors, one of which was the reform of the EU Emissions Trading System (EU ETS), whose main objective was to strengthen CO 2 emission reduction targets by 2050 and make energy matrices more efficient.This meant that stricter regulations were reflected by increased CO 2 emission costs.The El Prat del Llobregat WWTP could have saved approximately € 57,260.61per year due to emissions of flared biogas.Another aspect that must be analyzed is the energy requirement, which not only varies according to the type of process, but is also subject to the supply system.This refers, for example, to the situation that Spain had to face with the increase in prices per kWh caused by the war between Russia and Ukraine.Dependence on such a vital resource, meant that on the first day of the war the average price of energy in Spain went from a threshold of € 50-60 per MWh to an average price of € 205 per MWh, according to the OMIE (Iberian Energy Market Operator), and was increasing daily.This led to increases in wastewater treatment prices.Energy recovery contributes to achieving the goal of carbon neutrality, so it is necessary to reach a balance, where the energy consumed and the energy produced by the plant meet its own operational needs without depending on the external supply network.The goal of decarbonization goes beyond self-producing clean energy or switching to energyefficient technologies, it means reducing operating costs and having a secure energy supply.

Conclusion

89WWTPs are reported as the highest energy consumers and CO 2 emitters among the water industry, therefore it is important to access dedicated tools to investigate the best decarbonization strategies for WWTPs.

90Achieving the decarbonization of wastewater treatment plants has become a necessary step in addressing climate change while also achieving energy self-sufficiency.As the population density increases in a given area, it becomes necessary to expand the capacities of treatment plants.The quality requirements of effluents become increasingly demanding, which causes an increase in energy consumption and generates environmental and economic issues.The analyses of mass and energy balances are crucial in order to identify the interaction of the operating system and support decision-making in enhancing the identification of processes with high energy consumption, reducing impacts of unit operations, identifying losses or deviations and identifying processes that do not comply with the regulatory framework of environmental standards of water quality.The sludge balance resulted in a final production of dewatered sludge equivalent to 2,168,000 kg MF/day, with 52,208 tMF/year (almost 90% of the sludge) being allocated to direct agriculture and 5902 tMF/year (equivalent to 10%) to composting.Biogas production was 20,146 Nm 3 /d, and, approximately 1.7 kg of COD is removed for every kilogram of volatile solids.While these renewable alternative fuels provide a means of fossil fuel avoidance, the scale at which they are currently produced is insufficient to provide significant biogas offsets.Therefore, additional generation capacity of these fuels is required to support the broader decarbonization of the energy sector.

91Regarding the analysis of GHG emissions, it was determined that the direct emission values were 4,010.39tCO 2 eq from the emissions of CH 4 , N 2 O and CO 2 in the water and sludge line.The correlation proposed to define an approximation of the CO 2 emissions generated in the biological reactor demonstrates the need to establish in situ monitoring, giving greater accuracy to the calculated values.

92Similarly, emissions from the burning of biogas in flares equivalent to 578.39 tCO 2 eq were established.As for indirect GHG emissions, two main sources were detected within the treatment process; first, energy consumption represented a total of emissions equivalent to 3,459.11tCO 2 / eq.Among the processes that showed the highest energy consumption were the biological reactor and secondary settling, using 1,535,429 kWh/year and 248,450 kWh/year, respectively, followed by tertiary treatment (disinfection, ultrafiltration and osmosis) which uses 297,175 kWh/year.If all the biogas was co-generated, the emissions generated in the process of flaring the biogas would be zero, producing substantial savings of approximately € 57,260.61per year in payments for atmospheric emissions.The analysis shows the importance of the use of biogas, as it reduces the use of fossil fuels in the process matrix, lessens the polluting impact and represents an economic saving in emissions payments.In order to reach the decarbonization various measures could be undertaken, including: (1) Reducing the purchased energy consumption by using the energy selfsufficiency; (2) Increasing the energy recovery from internal sources; (3) Evaluate the water -energy nexus in WWTP considering their water and energy footprints to reduce their impacts; (4) The energy positive WWTP can export excess energy outside the plant and energy cost-saving; and (5) Identify energy losses include the wasted chemical energy from biological treatment, energy loss in the form of sludge and biosolids and inefficiencies of energy conversion in devices i.e. in combined heat and power.Furthermore, it is imperative to conduct continuous and long-term activities such as monitoring of greenhouse gas emissions in situ, optimization exercise by using Monte Carlo simulation, statistical analyses and economic performance assessment based on optimizing the operation of WWTPs in terms of energy cost-saving.

93Acknowledgements The authors express their gratitude to the Agència Catalana de l'Aigua (ACA) and the Àrea Metropolitana de Barcelona for their contribution to the plant visit and for providing access to the operational data.

94Funding Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.This research received no external funding.

Fig. 1

95Fig. 1 Conceptual framework of the study

Fig. 2

96Fig. 2 Wastewater Treatment Systems 'El Prat del Llobregat'

Fig. 3

97Fig. 3 GHG emission source analysis of sewage plant operation

Fig. 5

98Fig. 5 Monthly biogas production rate for reference plant "Prat del Llobregat"

99Finally, it provides opportunities to reduce costs by improving energy efficiency.The inlet and outlet values of the wastewater are optimal in terms of operating conditions.Operational efficiencies contribute to the minimization of GHGs.For the treated flow rate of 198,630 m 3 /d, the influent characteristics of COD = 904.55mg/L, BOD = 470 mg/L, TSS = 528.91mg/L and NT = 77.15mg/L.The primary and secondary treatment eliminates 95% of suspended solids and organic matter, with 1191.78 kg/d of BOD, 2,780.8kg/d of TSS and 83.82% of phosphorus and nitrogen concentrations being removed.The advanced regeneration treatment manages to release a water flow with high quality characteristics, BOD = 294.48kg/d, SST = 740.79kg/d and a nitrogen concentration of 11.3 mg/L.

Table 1

100Data relating to the operation of the wastewater line (water treatment and regeneration)

Table 2

101Carbon emission analysis

Table 3

102Quality of incoming and outgoing water of the El Prat del Llobregat WWTP

103SS [mg/L] COD [mg/L] BOD [mg/L] NT [mg/L]

Table 4

104Consumption of electric energy (kWh/m) for each device/ stage in the El Prat del Llobregat.WWTP

Table 5

105Indirect emissions related to electricity consumption in water and sludge line

Table 6

106Indirect emissions from Anaerobic Sludge Digestion

Table 7

107GHG composition of the entire plant's direct emissions in 2022(IPCC Guidelines 2006)of the anaerobic digester.This would mean that instead of burning the surplus biogas in flares (with a flow rate equivalent to 38,950.83m 3 /month), an energy potential of 270,216.26kWh/month could be obtained, thus supplying 6% of the plant's total daily energy demand.The use of this energy resource will prevent the emission of 578.39 tCO 2 eq.

108potential

참고문헌 49건

  1. Significance of anaerobic digestion as a source of clean energy in wastewater treatment plants Energy Conversion and Management · Elsevier BV · 2015 10.1016/j.enconman.2015.05.033
  2. Energy and sustainability of operation of a wastewater treatment plant Environment Protection Engineering · Politechnika Wroclawska Oficyna Wydawnicza · 2013 10.37190/epe130202
  3. Evaluation of the energy efficiency of a large wastewater treatment plant in Italy Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.10.027
  4. Energy efficiency of the municipal wastewater treatment Journal of Biotechnology · Elsevier BV · 2010 10.1016/j.jbiotec.2010.08.424
  5. Comprehensive life cycle inventories of alternative wastewater treatment systems Water Research · Elsevier BV · 2009 10.1016/j.watres.2009.11.031
  6. Anaerobic co-digestion of grease sludge and sewage sludge: The effect of organic loading and grease sludge content Bioresource Technology · Elsevier BV · 2013 10.1016/j.biortech.2012.12.193
  7. Can municipal wastewater treatment systems be carbon neutral? Journal of Environmental Management · Elsevier BV · 2012 10.1016/j.jenvman.2012.08.014
  8. Energy and water autarky of wastewater treatment and power generation systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.01.055
  9. Energy requirements for water production, treatment, end use, reclamation, and disposal Renewable and Sustainable Energy Reviews · Elsevier BV · 2012 10.1016/j.rser.2012.05.022
  10. Energy requirements for waste water treatment Water Science & Technology · Pergamon Press · 2011 10.2166/wst.2011.221
  11. Minimization of excess sludge production for biological wastewater treatment Water Research · Elsevier BV · 2003 10.1016/s0043-1354(03)00441-x
  12. Benchmarking energy consumption in municipal wastewater treatment plants in Japan Water Science & Technology · Pergamon Press · 2010 10.2166/wst.2010.510
  13. Processing petrochemicals: Reverse osmosis in petrochemicals Filtration + Separation · Elsevier BV · 2007 10.1016/s0015-1882(07)70245-8
  14. Greenhouse gases emissions accounting for typical sewage sludge digestion with energy utilization and residue land application in China Waste Management · Elsevier BV · 2012 10.1016/j.wasman.2012.06.024
  15. Evaluation of municipal wastewater treatment plants with different technologies at Las Rozas, Madrid (Spain) Journal of Environmental Management · Elsevier BV · 2006 10.1016/j.jenvman.2005.11.007
  16. Policy and institutional dimensions of the water–energy nexus Energy Policy · Elsevier BV · 2011 10.1016/j.enpol.2011.08.013
  17. Beyond the conventional life cycle inventory in wastewater treatment plants The Science of The Total Environment · Elsevier BV · 2016 10.1016/j.scitotenv.2016.02.073
  18. Life cycle assessment of introducing an anaerobic digester in a municipal wastewater treatment plant in Spain Water Science & Technology · Pergamon Press · 2015 10.2166/wst.2015.545
  19. Wastewater treatment process impact on energy savings and greenhouse gas emissions Water Science & Technology · Pergamon Press · 2014 10.2166/wst.2014.521
  20. Energy benchmarking of South Australian WWTPs Water Science & Technology · Pergamon Press · 2013 10.2166/wst.2013.090
  21. Greenhouse Gases Emissions from Wastewater Treatment Plants: Minimization, Treatment, and Prevention Journal of Chemistry · Hindawi Publishing Corporation · 2016 10.1155/2016/3796352
  22. Comparative Evaluation of Sludge Reduction Routes - EU project number: EVK1-CT2000-00050 Water Intelligence Online · UWA Publishing · 2015 10.2166/9781780402352
  23. Monitoring and diagnosis of energy consumption in wastewater treatment plants. A state of the art and proposals for improvement Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.07.043
  24. Comparative analysis of energy intensity and carbon emissions in wastewater treatment in USA, Germany, China and South Africa Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.07.061
  25. Greenhouse Gas Emissions from Wastewater Treatment Plants Energy Procedia · Elsevier BV · 2016 10.1016/j.egypro.2016.10.067
  26. The feasibility and challenges of energy self-sufficient wastewater treatment plants Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.02.069
  27. Energy Self-sufficient Wastewater Treatment Plants: Feasibilities and Challenges Energy Procedia · Elsevier BV · 2017 10.1016/j.egypro.2017.03.868
  28. Hidden greenhouse gas emissions for water utilities in China's cities Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.06.042
  29. Quantifying direct carbon dioxide emissions from wastewater treatment units by nondispersive infrared sensor (NDIR) – A pilot study The Science of The Total Environment · Elsevier BV · 2018 10.1016/j.scitotenv.2018.03.174
  30. Achieving energy neutrality in wastewater treatment plants through energy savings and enhancing renewable energy production Reviews in Environmental Science and Bio/Technology · Springer Science+Business Media · 2018 10.1007/s11157-018-9478-x
  31. Site-specific carbon footprints of Scandinavian wastewater treatment plants, using the life cycle assessment approach Journal of Cleaner Production · Elsevier BV · 2018 10.1016/j.jclepro.2018.11.200
  32. Insight into greenhouse gases emissions from the two popular treatment technologies in municipal wastewater treatment processes The Science of The Total Environment · Elsevier BV · 2019 10.1016/j.scitotenv.2019.03.386
  33. Wastewater Treatment and Water Reuse in Spain. Current Situation and Perspectives Water · Multidisciplinary Digital Publishing Institute · 2019 10.3390/w11081551
  34. Environmental impacts of an advanced oxidation process as tertiary treatment in a wastewater treatment plant The Science of The Total Environment · Elsevier BV · 2019 10.1016/j.scitotenv.2019.07.378
  35. Sustainable disposal of excess sludge: Incineration without anaerobic digestion Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.115298
  36. Effects of domestic sewage from different sources on greenhouse gas emission and related microorganisms in straw-returning paddy fields The Science of The Total Environment · Elsevier BV · 2020 10.1016/j.scitotenv.2020.137407
  37. Constructing defect-rich V2O5 nanorods in catalytic membrane electrode for highly efficient oxidation of cyclohexane Journal of Catalysis · Elsevier BV · 2020 10.1016/j.jcat.2020.04.023
  38. Sustainable sanitation and gaps in global climate policy and financing npj Clean Water · Nature Portfolio · 2020 10.1038/s41545-020-0072-8
  39. Recent advances in nitrous oxide production and mitigation in wastewater treatment Water Research · Elsevier BV · 2020 10.1016/j.watres.2020.116168
  40. A review of energy optimization modelling tools for the decarbonisation of wastewater treatment plants Journal of Cleaner Production · Elsevier BV · 2020 10.1016/j.jclepro.2020.123811
  41. Minimization of N2O Emission through Intermittent Aeration in a Sequencing Batch Reactor (SBR): Main Behavior and Mechanism Water · Multidisciplinary Digital Publishing Institute · 2021 10.3390/w13020210
  42. Carbon emission assessment of wastewater treatment plant based on accounting perspective E3S Web of Conferences · EDP Sciences · 2020 10.1051/e3sconf/202019404049
  43. State-of-the-art management technologies of dissolved methane in anaerobically-treated low-strength wastewaters: A review Water Research · Elsevier BV · 2021 10.1016/j.watres.2021.117269
  44. Wastewater Treatment Plants in Mediterranean Spain: An Exploration of Relations between Water Treatments, Water Reuse, and Governance Water · Multidisciplinary Digital Publishing Institute · 2021 10.3390/w13121710
  45. Sustainability and carbon neutrality trends for microalgae-based wastewater treatment: A review Environmental Research · Elsevier BV · 2022 10.1016/j.envres.2022.112860
  46. Multipoint characterization of the emission of odour, volatile organic compounds and greenhouse gases from a full-scale membrane-based municipal WWTP Journal of Environmental Management · Elsevier BV · 2022 10.1016/j.jenvman.2022.115002
  47. Analyzing greenhouse gas emissions from municipal wastewater treatment plants using pollutants parameter normalizing method:a case study of Beijing Journal of Cleaner Production · Elsevier BV · 2022 10.1016/j.jclepro.2022.134093
  48. Summary for Policymakers Cambridge University Press eBooks · Cambridge University Press · 2014 10.1017/cbo9781107415324.004
  49. Experimental and statistical modeling of the effect of process modification and wastewater characterization on greenhouse gas emissions for a dairy industry wastewater treatment plant: A minimization approach Journal of Water and Climate Change · IWA Publishing · 2023 10.2166/wcc.2023.312