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

Analysis of biogas production from sewage sludge combining BMP experimental assays and the ADM1 model

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

기본 정보

저자
  1. Mariana Erthal Rocha — Department of Mechanical Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil|||Department of Sanitary and Environmental Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
  2. Thais Carvalho Lazarino — Department of Mechanical Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
  3. Gabriel Marcos Vieira Oliveira — Department of Mechanical Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
  4. Lia Teixeira — Department of Sanitary and Environmental Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
  5. Márcia Marques — Department of Sanitary and Environmental Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
  6. Norberto Mangiavacchi — Department of Mechanical Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil
DOI
10.7717/peerj.16720
저널
PeerJ
발행년도
2024
발행기관
PeerJ, Inc.
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.7717/peerj.16720
토픽
Membrane Separation Technologies
OpenAlex ID
W4390883219

평가 내용

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

초록

The Anaerobic Digestion Model No. 1 (ADM1) was employed to simulate methane (CH 4 ) production in an anaerobic reactor (AR), and the associated bench-scale biochemical methane potential (BMP) assay, having sewage sludge (SWS) from a municipal wastewater treatment plant (WWTP) as feedstock. The SWS presented the following physical-chemical characteristics: pH (7.4–7.6), alkalinity (2,382 ± 100 mg CaCO3 L −1 ), tCOD (21,903 ± 1,000 mg L −1 ), TOC (895 ± 100 mg L −1 ), TS, TVS, and VSS (2.0%, 1.1%, and 0.8%, respectively). The BMP assay was conducted in six replicates under anaerobic mesophilic conditions (37 ± 0.1°C) for 11 days with a CH 4 yield registered of 137.6 ± 6.39 NmL CH 4 or 124 ± 6.72 CH 4 g −1 VS −1 . When the results obtained with the BMP bench-scale reactors were compared to the output generated with computational data by the ADM1 model having as input data the same initial sewage tCOD, similar cumulative CH 4 production curves were obtained, indicating the accuracy of the ADM1 model. This approach allowed the characterization of the sludge and estimation of its biogas production potential. The combination of BMP assays, experimental data, and ADM1 model simulations provided a framework for studying anaerobic digestion (AD) processes.

본문 83,999자

본문 펼치기
Submitted 5 June 2023 Accepted 4 December 2023 Published 15 January 2024 Corresponding authors Mariana Erthal Rocha, [marianaerthalrocha@gmail.com](mailto:marianaerthalrocha@gmail.com) Marcia Marques, [marciamarques@eng.uerj.br](mailto:marciamarques@eng.uerj.br) [Academic editor](https://peerj.com/academic-boards/editors/) [Omar Gonzalez-Ortega](https://peerj.com/academic-boards/editors/) Additional Information and Declarations can be found on page 24 DOI [10.7717/peerj.16720](http://dx.doi.org/10.7717/peerj.16720) Copyright 2024 Rocha et al. [Distributed under](http://creativecommons.org/licenses/by/4.0) [Creative Commons CC-BY 4.0](http://creativecommons.org/licenses/by/4.0) <mark>OPEN ACCESS</mark> # Analysis of biogas production from sewage sludge combining BMP experimental assays and the ADM1 model Mariana Erthal Rocha <sup>1</sup> <sup>,</sup> <sup>2</sup>, Thais Carvalho Lazarino <sup>1</sup>, Gabriel Oliveira <sup>1</sup>, Lia Teixeira <sup>2</sup>, Marcia Marques <sup>2</sup> and Norberto Mangiavacchi <sup>1</sup> 1 Department of Mechanical Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil 2 Department of Sanitary and Environmental Engineering, Rio de Janeiro State University, Rio de Janeiro, RJ, Brazil ## ABSTRACT The Anaerobic Digestion Model No. 1 (ADM1) was employed to simulate methane (CH4) production in an anaerobic reactor (AR), and the associated bench-scale biochemical methane potential (BMP) assay, having sewage sludge (SWS) from a municipal wastewater treatment plant (WWTP) as feedstock. The SWS presented the following physical-chemical characteristics: pH (7.4–7.6), alkalinity (2,382 ± 100 mg CaCO3 L <sup>−1</sup> ), tCOD (21,903 ± 1,000 mg L <sup>−1</sup> ), TOC (895 ± 100 mg L <sup>−1</sup> ), TS, TVS, and VSS (2.0%, 1.1%, and 0.8%, respectively). The BMP assay was conducted in six replicates under anaerobic mesophilic conditions (37 ± 0.1 <sup>◦</sup> C) for 11 days with a CH4 yield registered of 137.6 ± 6.39 NmL CH4 or 124 ± 6.72 CH4 g <sup>−1</sup> VS <sup>−1</sup> . When the results obtained with the BMP bench-scale reactors were compared to the output generated with computational data by the ADM1 model having as input data the same initial sewage tCOD, similar cumulative CH4 production curves were obtained, indicating the accuracy of the ADM1 model. This approach allowed the characterization of the sludge and estimation of its biogas production potential. The combination of BMP assays, experimental data, and ADM1 model simulations provided a framework for studying anaerobic digestion (AD) processes. Subjects Bioengineering, Biotechnology, Environmental Impacts Keywords Anaerobic digestion, Biochemical methane potential, Wastewater treatment plant, ADM1, Bioenergy, Sewage sludge ## INTRODUCTION Renewable energy plays a strategic role for energy security worldwide, since the main energy sources currently used are based on fossil fuels petroleum and coal, which are not renewable and pollute the environment ( _Chen et al., 2018_ ; _Vasco-Correa et al., 2018_ ; _Sillero,_ _Solera & Perez, 2022_ ). Increasing amounts of sewage sludge (SWS) are generated all over the world at wastewater treatment plants (WWTPs) and its sustainable management is an important issue due to economic, environmental, and human health concerns ( _Zan et al., 2022_ ; _Ma et al., 2019_ ). How to cite this article Rocha ME, Lazarino TC, Oliveira G, Teixeira L, Marques M, Mangiavacchi N. 2024. Analysis of biogas produc Anaerobic digestion (AD) is a well-known complex microbial process in which organic waste, including SWS, is converted into bioenergy. This process integrates the set of waste management biotechnologies employing a diverse consortium of microorganisms (MO) to convert organic residues into CH4-rich biogas ( _Angelidaki et al., 2018_ ). AD of SWS is considered a relevant decarbonization process worldwide. Producing and collecting CH4 from SWS reduces water pollution and CH4 emissions to the atmosphere ( _Jiang et al., 2022_ ), meanwhile using this renewable source of energy contributes to saving environmental resources ( _Deng et al., 2022_ ). However, the application of this approach in an industrial scale requires evaluation of biomass production and conversion systems, including feedstock selection and growth; harvest; storage conditions; bio-gasification; gas cleaning; gas use and residue processing ( _Volschan Junior, de Almeida_ _& Cammarota, 2021_ ). The development of highly accurate mathematical models is currently a focal point in research efforts, as these models can effectively assess digester performance capabilities ( _Achinas & Euverink, 2016_ ). The current state-of-the-art model, the Anaerobic Digestion Model No. 1 (ADM1) was originally developed by the International Water Association—IWA Task Group ( _Batstone_ _et al., 2002_ ). The model was further improved resulting in the BSM2 version ( _Alex et al.,_ _2019_ ; _Donoso-Bravo et al., 2020_ ), the xp version, among others. One of the key points for successful application of mathematical models to describe a particular bioprocess is achieving adequate input characterization ( _Batstone et al., 2002_ ). In this scenario extensive model calibration procedures are required to improve accuracy and sensitivity ( _Weinrich &_ _Nelles, 2021_ ). Mechanistic models have in common that they need to be carefully calibrated ( _Sappl, Harders & Rauch, 2023_ ). Computational simulation (CS) evaluates the different processes and operation variables on the performance of the CH4 biogas production in AD ( _Jimenez et al., 2020_ ; _Batstone & Virdis, 2014_ ; _Batstone et al., 2015_ ). The ADM1 model has been used by several modelling studies in sewage AD ( _Guo et al., 2023_ ; _García-Gen &_ _Wouwer, 2021_ ; _Maharaj et al., 2019_ ; _Urtnowski-Morin et al., 2021_ ; _Zhao et al., 2019_ ). The biochemical methane potential (BMP) assay has been widely used to test the anaerobic degradability of different organic wastes, and it is considered a suitable method to compare the degradability of different substrates ( _Lavergne et al., 2018_ ). This test enables the assessment of the decomposability and the CH4 conversion efficiency of diverse organic materials. _Owen et al. (1979)_ initially introduced the BMP test, outlining a procedure to ascertain the decomposability of a substrate by monitoring the cumulative CH4 production from an anaerobically incubated sample over a period of time ( _Cabbai et_ _al., 2013_ ; _Elbeshbishy, Nakhla & Hafez, 2012_ ; _Kafle & Chen, 2016_ ; _Raposo et al., 2011_ ; _VDI_ _4630, 2016_ ). However, the results obtained for the same substrate often differ among laboratories and much work to standardize such tests is still demanded ( _Astals et al., 2013_ ; _Filer, Ding & Chang, 2019_ ; _Grosser, 2018_ ; _Raposo, Borja & Ibelli-Bianco, 2020_ ; _Strömberg,_ _Nistor & Liu,_ _2014_ ). The German VDI 4630 ( _VDI 4630, 2016_ ) is a BMP guideline that discusses the typical shape of methanogenic curves. However, the guideline presents only hypothetical idealized curves and does not discuss actual measurements, being not clear what might actually cause each response ( _Koch et al., 2019_ ). According to _Filer, Ding_ Table 1 BMP experiments operational parameters. <u>Operation</u> <u>Unity</u> <u>BMP assays</u> <mark>Temperature</mark> - <mark>C</mark> <mark>37 ± 0.1</mark> Stir - Twice daily Total volume mL 250 Working volume mL 100 Substrate mL Sewage sludge Inoculum mL Sewage sludge <u>I/S ratio</u> <u>v/v</u> <u>1:1</u> _& Chang (2019)_ because of the lack of a standardized protocol, there have been serious drawbacks impacting the industry users, as the reliability of generated information could be questioned, due to the potential effects laboratory-specific experimental and operational conditions, as well as data presentation on the results, limiting the comparability of published results. During the years several authors have worked to improve the BMP method ( _Angelidaki et al., 2009_ ; _Pearse, Hettiaratchi & Da Costa, 2020_ ; _Rodrigues et al.,_ _2019_ ; _Wang et al., 2020_ ). Numerical prediction methods using initial data acquired from conventional bench-scale BMP assays were recently proposed ( _Catenacci et al., 2022_ ; _Guo_ _et al., 2023_ ; _Nabaterega, Nazyab & Eskicioglu, 2023_ ). However, the BMP method is still undergoing evolution, and researchers are investigating crucial aspects to further mitigate potential sources of bias. In the present study, we developed a methodology that combines biochemical methane potential (BMP) assays and total chemical oxygen demand (tCOD) data with a computational simulator, employing the BSM2 version of the ADM1 model ( _Alex et al.,_ _2019_ ), for the coupled full-scale anaerobic reactor (AR) and the BMP assay systems. By doing so, we were able to generate a comprehensive and detailed view of the AR processes, including a description of the inflow and outflow SWS compositions. This methodology can be applied to analyze the biogas production and the underlying processes in full/real-scale applications. ## MATERIALS & METHODS Sampling and samples characterization Samples of SWS werecollectedfromanactive anaerobicdigesteratalargemunicipalWWTP located in Rio de Janeiro, Brazil. The WWTP has a treatment capacity of 7,400 m <sup>3</sup> day <sup>−1</sup> and a hydraulic retention time (HRT) of the AR is 28 days. It treats 2.5 m <sup>3</sup> s <sup>−1</sup> of wastewater and serves a population equivalent to 1.5 million inhabitants. Standard methods ( _APHA,_ _2017_ ) were used to measure physicochemical parameters. The operational parameters applied to the BMP assay are shown in Table 1. The initial and final pH values were measured using an MS Tecnopon model Mpa210 meter, and temperature levels were recorded with a digital thermometer. Chemical oxygen demand (COD) was determined using a Shimadzu UV-1800 UV–VIS Spectrophotometer, while alkalinity was measured _via_ potentiometric titration. Total Solids (TS), total fixed Figure 1 Schematic diagram of BMP apparatus used in BMP assay. Vessel 1 is the BMP reactor, vessel 2 contains a 3 M NaOH scrubbing solution, vessel 3 contains 1 M NaCl saline solution. Vessel 4 is initially empty and collects the saline solution displaced by the CH4 gas collected in vessel 3. Full-size [DOI: 10.7717/peerj.16720/fig-1](https://doi.org/10.7717/peerj.16720/fig-1) solids (TFS), total volatile solids (TVS), volatile suspended solids (VSS) were quantified using a gravimetric method with the analytical scale Gehaka AG200 (Gehaka, Sao Paolo, Brazil). Total organic carbon (TOC) analyses were carried out using a Shimadzu Total Organic Carbon Analyzer TOC 5000A (Shimadzu, Kyoto, Japan). Both inoculum and substrate, approximately 100 mL in total, were employed for the BMP assays with SWS as per the recommendation by _VDI 4630 (2016)_ . BMP assays: experimental procedure The BPM assay was carried out according to previous studies by _Angelidaki et al. (2009)_ and the German Guideline for Fermentation of Organic Materials ( _VDI 4630, 2016_ ), in order to evaluate CH4 production from sewage sludge SWS in bench-scale. The experiment was conducted in six replicates R1–R6 ( _n_ = 6) incubated during 11 days under mesophilic conditions (37 ± 0.1 <sup>◦</sup> C) using water-bath with digestion bottles of 250 mL total volume and 100 mL working volume (Fig. 1). The BMP assay was carried out using four borosilicate Schott bottles (Fig. 1), chosen for their ability to withstand high temperatures and pressures. The first bottle in the sequence, referred to as the digester bottle (Fig. 1), featured pipes that had no contact with the inoculum, only with the gases produced. The second bottle was filled with a NaOH solution which served as a barrier to retain CO2. The cannula was submerged in this basic solution as the gases generated in the digestion process were bubbled through it. The third bottle contained 1 L of a saturated NaCl solution and was equipped with a silicone stopper fitted with two 3-way taps. One tap was connected to the second bottle containing the alkaline solution, while the other tap was linked to the fourth bottle, which measured the displaced water volume. To prevent gas leakage from the digesters, caps and connectors were securely sealed using high vacuum grease. In order to eliminate any existing O2 in the system, N2 gas was flushed into the headspace of the bottles for a period of 2 min. For bottle sealing, silicone stoppers with two holes each were employed. Two 3-way faucets were then inserted into the tops of these silicone stoppers, enabling external connections to the system. The analysis of gas volume produced during the experiment continued until the cumulative gas curve reached a plateau. The sealing of the biodigester system was checked using a high-pressure pump, a differential dual port piezoresistive pressure transducer MPX5050DP, a Fluke multimeter, and an Arduino data logger. The bottles were gently shaken manually every day to prevent particle retention and system clogging. This experimental setup allowed for precise measurements and ensured the integrity of the gas samples throughout the BMP assay. ADM1 model The Anaerobic Digestion Model 1 (ADM1) is the quasi-industry standard for modelling the AD processes that result in CH4 production from wastewater ( _Allen et al., 2023_ ). It was developed by the International Water Association (IWA) and is based on several simpler AD models. It considers a continuously stirred tank reactor containing wastewater and 12 different bacterial groups that consume/produce 12 different substrates. This scenario is described by a system of 24 ordinary differential equations (ODEs). The model also considers physio-chemical reactions within the substrate itself, increasing the number of substrates to 23 and increasing the total number of state variables to 35. These physio chemical reactions are classified into two categories: acid–base reactions and liquid–gas exchange, both of which can be modelled by ODEs, resulting in the total system being described by 35 ODEs. In this work, the Benchmark Simulation Model 2 (BSM2), ( _Alex et al., 2019_ ), which is a modified version of the IWA ADM1 model ( _Batstone et al., 2002_ ), is employed. The model comprises two extracellular stages, namely disintegration and hydrolysis, and three intracellular stages: acidogenesis or fermentation, acetogenesis, and methanogenesis. The extracellular stages were modeled using first-order kinetics. In this work we will use, interchangeably, the variables and model parameters naming notation employed by _Alex_ _et al. (2019)_, and _Batstone et al._ _(2002)_, and _Allen et al._ _(2023)_ . For instance, complex composite concentration will be represented interchangeably by Xc or X_c. Initially, X_c was disintegrated into X_ch, X_pr, and X_li, as well as X_i and S_i, using a disintegration coefficient (kdis). Monod-type kinetics were used to describe substrate uptake in the intracellular biochemical reactions. In this study, two sequentially coupled simulators based on the ADM1 model were employed for the AR process and the BMP assay to provide a more comprehensive assessment of the inflowing sewage sludge, which will be explained in the following section. In this study, we utilize a novel DAE-based (Differential Algebraic Equation) implementation of ADM1, developed in the Julia programming language. This implementation bears resemblance to a recent work by _Allen et al. (2023)_ . Our implementation, however, adopts the DAE approach, instead of the ODE approach employed by _Allen et al._ _(2023)_ . Our choice of this approach was motivated by its exceptional computational efficiency, surpassing that of alternative DAE-based implementations in Java and Python. As a result, it empowers us to conduct intricate optimization analyses without incurring undue computational expenses. The stoichiometric, biochemical and physicochemical model parameters values were those presented in _Rosén & Jeppsson_ _(2005)_, and were not modified to represent the situation under study. Anaerobic reactor system simulation module The first application of ADM1 was employed to simulate the treatment of influent sludge in the anaerobic reactor (AR), which is a continuous process. The SWS inflow is a complex particulate mixture, which is characterized by the COD mass (X_c). The primary constituents of X_c were found to be organic compounds (X_ch, X_pr, and X_li) and inorganic components (Xi and soluble inert material (Si)). The unity (kg COD m <sup>−3</sup> ) was utilized to input X_c and other organic substrates into the model. Subsequently, X_c was decomposed into five distinct components, according to their corresponding proportions, as determined by the yield of the product to the substrate (f_product_substrate), which led to hydrolysis, acidogenesis, acetogenesis, and methanogenesis. The input state variables of the soluble fractions (Ss) in the AR ADM1 module were set based on a best fit procedure as explained below. BMP system simulation module The second application of ADM1 was employed to simulate the BMP, which is a batch assay. Inhibition was not applied, since the BMP tests had parameters such as temperature controlled, and pH maintained around the neutral value. The input parameters required for the BMP ADM1 module are the complete set of components that characterizes the AR outflow SW. The module predicts the curve of CH4 production as a function of time as output. Combined AR and BMP ADM1 model parameters selection and validation A methodology employing two coupled stages—AR and BMP—was applied to model the entire AD process, including the original bioreactor, and to infer additional parameters from BMP assays. A block diagram of the combined ADM1 model is shown in Fig. 2. The first stage (AR ADM1 module) simulates a continuous-flow stirred-tank reactor (CSTR), while the second stage (BMP ADM1 module) simulates a batch reactor—the BMP assay. The output of the first module serves as the input for the second module. The input parameters of the first module are obtained through an iterative optimization solver. The solver minimizes the discrepancy between the simulated and measured values for the CH4 production curve at selected times and the COD at the beginning of the BMP assay. The methodology employed for determining the model parameters follows a least squares optimization approach, elaborated as follows. Inflow state Full scale AR BMP assay _y_ _t_ Experimental cumulative CH4 production Estimated SWS inflow Optimization _S_ AR ADM1 module BMP ADM1 module Simulated cumulative CH4 production _y_ Combined ADM1 model _t_ Figure 2 Schematic diagram of the methodological approach adopted in the present study: combined BMP assay—ADM1 model. Top: Experimental assay. The full scale AR receives SWS with Inflow state, and its outflow feeds the BMP assay that produces the experimental cumulative CH4 production. Bottom: Combined ADM1 model, implemented in Julia language. An estimated SWS inflow enters the AR ADM1 module, and its output feeds the BMP ADM1 module, resulting in the Simulated cumulative CH4 production. The sum of squared residuals S between the experimental and the simulated CH4 production curves feeds the optimization routine that corrects the estimated SWS inflow parameters, until the sum of the squared residuals S is minimized. Full-size [DOI: 10.7717/peerj.16720/fig-2](https://doi.org/10.7717/peerj.16720/fig-2) The primary objective of the least-squares optimization is to identify the model parameters that most effectively align with the experimental dataset. This dataset comprises ‘n’ data points represented as pairs ( _xi,yi_ ) _,_ i =1 _,...,n_, where _xi_ signifies an independent ADM1 parameter, and _yi_ corresponds to a dependent parameter derived from the BMP assays. The model function is denoted as _f_ ( _xi,�_ ), with m adjustable parameters encompassed in the parameter vector _�_ . The ultimate aim is to determine the parameter values for the model that offer the closest fit to the data. The fitting quality of a model to a given data point is quantified by the residual _ri_, which signifies the disparity between the observed value of the dependent variable and the value predicted by the model: _ri_ = _yi_ - _f_ ( _xi,�_ ) The parameters _�_ were determined through the weighted least-squares method to identify optimal values that minimize the sum of squared residuals, S, as in _Poggio et al._ _(2016)_ : _S_ = _n_ _i_ = _I_ _<u>ri</u>_ <sup>2</sup> _σm,i_ Here, _ym,i_ represents the ith measured value of the target measurement, assumed to be a normally distributed random variable. _f_ ( _xi,�_ ) denotes the model prediction at the time corresponding to data point i, treated as a function of the set of parameters _�_ to be estimated. Additionally, _σm,i_ stands for the standard error of the measurement, _ym,i_, and serves as a weight for each term in the sum. The standard error was estimated from the measured values, using the expression _σm,i_ = ~~√~~ <sup>_<u>σ</u>_</sup> _<u>n</u>_ where _σ_ is the standard deviation, and _n_ is the number of samples. In the case of the combined AR-BMP ADM1 model, the target measurement is the accumulated methane production along the BMP tests. The standard error of each measurement was estimated using the standard deviation of the BMP results. Numerous optimization libraries are readily accessible within the Julia platform, facilitating rapid prototyping and experimentation with diverse strategies to address implementation optimization challenges. Various alternatives underwent testing, with Optimization.jl standing out. This library aims to amalgamate an array of optimization packages, both local and global, into a cohesive Julia interface. Optimization.jl introduces high-level attributes, such as seamless integration with automatic differentiation, rendering its utilization straightforward for most scenarios, all while retaining the entirety of options within a unified interface. Though a simple gradient-based approach might suffice in certain instances, complications can arise due to positivity constraints. Gradient based methods suffer from many shortcomings such as slow convergence, difficulty with discontinuous problems, local minima and saddle points, among others. Consequently, an extensive array of methods available in the Optimization.jl library underwent evaluation in this work, ultimately revealing the DE/rand/1/bin method as the most suitable contender. The ‘‘DE/rand/1/bin’’ optimization method is a specific variant of the Differential Evolution (DE) algorithm, a versatile technique for solving optimization challenges across domains. The DE/rand/1/bin implemented in the Julia language Optimization.jl library was therefore used as the minimization technique, with a tolerance for convergence of 4E-3 in the objective function. The estimation process is repeated using different initial guesses of parameters to check the convergence of the algorithm towards the same optimum values. The combined AR-BMP model employs, as input data, the COD values of the wastewater treatment plant (WWTP) sludge and the CH4 production from the BMP assay. The iterative optimization method is employed to find the initial condition of the WWTP sludge (X_ch, X_pr, and X_li), as well as the effective hydraulic retention time (HRT) of the AR, which are input parameters of the AR ADM1 model. The search method is iterated until the initial conditions of the BMP ADM1 module, obtained from the AR module, result in a simulated CH4 production curve that best matches the values at the points of the methanogenic curve obtained in the BMP assay. As a result, the coupled AR-BMP model produces a simulated BMP methanogenic curve that best fits the values of the methanogenic curve obtained in the BMP experimental assays, in the least squares sense. The model was thus calibrated using the experimental Table 2 Sewage sludge physicochemical parameters. <u>Parameters</u> <u>Unity</u> <u>Anaerobic sewage</u> <mark>pH</mark> i <mark>–pH</mark> f <mark>–</mark> <mark>7.43–7.60</mark> TS % 2.0 TVS % 1.1 VSS % 0.8 CODt mg L <sup>−1</sup> 21,903 ± 1000 Alkalinity mg CaCO3L <sup>−1</sup> 2,382 ± 100 <u>TOC</u> <u>mg L</u> <sup>−1</sup> <u>895 ± 100</u> Notes. pHi, pH initial; pHf, Final pH average; %TS, Total solids percentage; %TVS, Total volatile solids percentage; %VSS, Volatile suspended solids percentage; TCODi, Total initial Chemical Oxygen Demand; TOC, Total Organic Carbon. data to accurately simulate the AD process. The output of the first model results in sludge with COD values similar to the WWTP biodigester sludge. Additionally, it produces a more complete description of the AR outflow SW which is consistent with the input data. ## RESULTS Substrate characterization Table 2 shows the SWS physicochemical characterization used as feedstock in the BMP assays. Discrete changes in pH (7.43 ± 0.1 to 7.60 ± 0.1) were observed after 11 days in the reactor (Table 2), which is within the expected range, due to the growth of microorganisms (MO) and biogas production in all reactors without the addition of a buffer solution. The substrate pH was recorded at the beginning and end of the experiment to ensure that inhibition did not occur in the microbial communities. Alkalinity (2,382 ± 100 mg CaCO3 L <sup>−1</sup> ) and CODt value (21,903 ± 1,000 mg L <sup>−1</sup> ) (Table 2) indicate the sludge’s capability of buffering the reaction and the oxygen consumption capacity during the oxidation of the sludge organic matter (OM) into CO2 and water. TOC (895 ± 100 mg CaCO3 L <sup>−1</sup> ) is the carbon in the OM oxidized and measured through the release as CO2. The biological processes lie in the ability of MO to use biodegradable organic compounds and transform them into by-products ( _Lucas et al., 2015_ ). Regarding solid series, the following results were obtained after SWS characterization (Table 2): total solids (TS) 2.0%, total volatile solids (TVS) 1.1%, and volatile suspended solids (VSS) 0.8%. This suggests that anaerobic sludge contains more organic than inorganic compounds. The amount of biomethane yield produced is related to the mass of VS in these samples. BMP assay results The curves of cumulative CH4 production (Fig. 3) are within a narrow range of values and the standard deviation curve (Fig. 4) shows that the BMP reactors achieved good reproducibility. The round of experiments (R1 to R6) produced the following CH4 values (Table 3): 124, 143, 137, 142, 140, and 130 NmL CH4. These results indicate that the BMP assays were accurate and effective. During BMP assays, biogas production curves can follow diverse patterns ( _Batstone et al., 2015_ ), and these patterns have meaningful implications ( _Labatut, Angenent & Scott, 2011_ ). Temperature plays a crucial Figure 3 Methane cumulative production during the experiment: R1 to R6 (124, 143, 137, 142, 140 and 130 NmL CH4, respectively), mean and standard deviation. Full-size [DOI: 10.7717/peerj.16720/fig-3](https://doi.org/10.7717/peerj.16720/fig-3) role in microbial interactions and affects the stability and performance of AD and the thermodynamic equilibrium of biochemical reactions in the AD process ( _Lin et al., 2017_ ). The proposed BMP assay setup enabled daily measurement of biogas volume, which yielded satisfactory results. The alkaline solution used in the setup efficiently retained the produced CO2. Furthermore, the BMP assays were conducted at mesophilic temperature, which contributed to the stability of the system. Mesophilic reactors are preferred for easy biodegradable biomass ( _Issah, Kabera & Kemausuor, 2020_ ). The CH4 yield production was found to be 113, 130, 124, 129, 127, and 118 mL CH4 g <sup>−1</sup> VS <sup>−1</sup> in R1 to R6, respectively. These results demonstrate the effectiveness and accuracy of the experimental rounds conducted for the BMP assays (Table 4 and Fig. 5). Table 5 shows the final (tCODf) values and the biodegradability rate (23–28%). The CH4 yield can be normalized either per volume of substrate (mL CH4 L <sup>−1</sup> ), substrate mass volatile solids (mL CH4 g <sup>−1</sup> VS), or substrate mass chemical oxygen demand (COD) (mL CH4 g <sup>−1</sup> CODsub). The last method allows direct conversion of the results into percentage of OM converted to methane using the theoretical calculation of 0.350 m <sup>3</sup> CH4 per kg COD converted ( _McCarty, 1964_ ). Combined ADM1 computational simulation The simulation results, employing the above data and model parameters presented in Table 6, are shown in Fig. 5, along with the results from the BMP assay. The simulated production curve is very similar to the one obtained in the BMP assay, indicating that the combined ADM1 model can reproduce the expected results. This makes the computational simulation (CS) a useful tool for elaborating and planning laboratory experiments. Tables 7 Figure 4 Methane production yields R1 to R6 (113, 130, 124, 129, 127 and 118 mL CH4/g VS, respectively), mean and standard deviation. Full-size [DOI: 10.7717/peerj.16720/fig-4](https://doi.org/10.7717/peerj.16720/fig-4) Table 3 Methane production from sewage sludge in BMP assays ( _n_ = 6). <u>Experiment</u> <u>Unit</u> <u>R1</u> <u>R2</u> <u>R3</u> <u>R4</u> <u>R5</u> <u>R6</u> <u>Mean ± s.d.</u> <mark>CH</mark> 4 <mark>mL</mark> <mark>124</mark> <mark>143</mark> <mark>137</mark> <mark>142</mark> <mark>140</mark> <mark>130</mark> <mark>136 ± 7.5</mark> CH4 yield mL CH4 g <sup>−1</sup> VS 113 130 124 129 127 118 124 ± 6.23 <u>CH4 yield</u> <u>mL CH4 g</u> <sup>−1</sup> <u>COD</u> <u>5.6</u> <u>6.5</u> <u>6.2</u> <u>6.1</u> <u>5.9</u> <u>6.3</u> <u>6.15 ± 0.9</u> and 8 show the SWS composition according to the ADM1 model, applying the iterative optimization method and based on the SWS COD initial real value in the BMP assay feedstock. The data in Table 7 show that the AR inflow is well characterized basically by a mixture of complex composites (40.769 kg COD m <sup>−3</sup> ), with a small addition of protein (8.127 kg COD m <sup>−3</sup> ), and trace amounts of additional lipids (8.127 kg COD m <sup>−3</sup> ) and inert particulate (0.087 kg COD m <sup>−3</sup> ). It must be stressed that the complex composites category in ADM1 results in a predefined distribution of carbohydrates, proteins, lipids, and inert particulate matter when hydrolyzed. Thus, the net effect of including additional protein, lipids and inert particulate is to correct the default composition of the complex composite and to produce simulation results that better approximate the observed data. The results obtained by the ADM1 modeling were very close to those obtained experimentally in the BMP test, illustrating the quality of the model proposed by the International Water Association (IWA). By using this model together with a least-squares Table 4 Methane production from sewage sludge in experimental assays in the literature. Reactor type OS Temp <u>(</u> <sup>◦</sup> <u>C)</u> HRT <u>(days)</u> Ym <u>(mL CH4 g</u> <sup>−1</sup> <u>VS)</u> Reference <mark>Batch BMP</mark> <mark>PS</mark> <mark>37</mark> <mark>20</mark> <mark>138.2</mark> _<mark>Alves et al. (2020)</mark>_ Batch SS 35 n.a. 182 _Bai & Chen (2020)_ Batch BMP SS 37 n.a. 124.4 _Pan et al. (2019)_ Batch BMP SS 35 n.a. 182 _Ripoll et al. (2020)_ BMP PS 35 13 159 _Xie, Wickham & Nghiem (2017)_ BMP SS m 35 121 _Kashi et al. (2017)_ Batch SS 35 40 88.1 _Zou et al. (2018)_ Batch SS 35 10 135.6 _Xie et al. (2020)_ Batch SS 37 35 142.7 _Zhang et al. (2014)_ <u>Batch</u> <u>SS</u> <u>37</u> <u>11</u> <u>124</u> <u>This study</u> Notes. OS, organic substrate; SS, sewage sludge; PS, primary sludge; m, mesophilic; Ym, CH4 yield; n.a., not available. Figure 5 Methanogenic curve obtained with the BMP experimental assay _versus_ the curve obtained with the computational simulation using the ADM1 simulation model. Full-size [DOI: 10.7717/peerj.16720/fig-5](https://doi.org/10.7717/peerj.16720/fig-5) iterative method, a detailed SWS composition consistent with the BMP data was found (Table 8). Table 8 shows the main concentrations present in the AR sludge, which include inert particulate, complex composite, inert soluble, and amino acid consumers. The composition of the AR sludge indicates a significant decrease in the concentration of complex composite (to approximately 5 kg COD m <sup>−3</sup> ) and a considerable increase in the concentrations of inert particulate and inert soluble. Results in Table 8 were obtained by numerical calculation, Table 5 Biodegradability data in BMP assays ( _n_ = 6). Replicates pHfinal TCODf <u>(mg L</u> <sup>−1</sup> <u>)</u> COD removal <u>(%)</u> <mark>R1</mark> <mark>7.5</mark> <mark>16,820</mark> <mark>23.2</mark> R2 7.65 15,680 28.4 R3 7.61 16,714 23.7 R4 7.6 16,316 25.5 R5 7.58 16,512 24.7 <u>R6</u> <u>7.75</u> <u>16,970</u> <u>23.5</u> and refer to the modeled composition output of the AD, and feed to the BMP model that best approximates the results of experimental BMP results. The low concentration of the composite X_c when compared to the inert X_i and S_i concentrations is consistent with a composition of the output variable values of a AD, where the Xc undergoes an efficient consumption. Also the high values of X_aa and X_ac, when compared to other five biomass fractions, are compatible with results found in other AD simulations and experimental results. Total acetate concentration is fed by six processes (with biochemical process rates _ρ_ 5 to _ρ_ 10) thus resulting in an acetate concentration that is comparatively higher than each of the six original sources. Also, acetate consumers do not have a faster metabolism compared to other consumers in the process. For instance, K_m_ac = 8 d <sup>−1</sup>, while K_m_pro = 6 d <sup>−1</sup> . Combining these two factors (larger concentration of acetate and relatively slow acetate consumers biochemical process rates), a larger mass of acetate consumers X_ac is required to consume the results of the acetogenic metabolic pathway production. If not properly taken into account, the high concentration of acetate could lead to reduced methane production due to the inhibition of acetoclastic methanogens caused by low pH. On the other hand, protein load in the feed is relatively high, and amino acid production is proportionally high, thus a larger mass of amino acid consumers X_aa is to be found at the AD process output when the process reaches a steady state. A relatively high concentration of proteins, relative to carbohydrates and lipids is not uncommon in wastewaters in tropical climates. By matching the ADM1 results with the BMP assays experimental measurements, an equivalent composition was obtained (Table 8 and Fig. 5). Table 9 provides a numerical comparison between BMP CH4 production experimental results and ADM1 computational results, showing a maximum discrepancy of less than 2.8%. Based on the similarity of the results, it can be concluded that the model is suitable to characterize SWS and biogas production potential. Results of validation of ADM1 model DAE-Based Julia implementation The new Julia language implementation of the DAE-ADM1 model is validated comparing results with the ODE-Based Julia implementation ( _Allen et al., 2023_ ). Validation tests were performed on various benchmark problems, showing very good agreement. In this section Table 6 ADM1 stoichiometric, biochemical and physiochemical model parameters values used in the simulations. Values not marked are taken from Rosen and Jeppson (2006). Values highlighted with ‘‘*’’ are modified, and the original values are shown between parentheses ‘‘( )’’. <u>Parameter</u> <u>Value</u> <u>Unit</u> <u>Parameter</u> <u>Value</u> <u>Unit</u> <u>Parameter</u> <u>Value</u> <u>Unit</u> R 0.083145 bar / M K f_ac_aa 0.4 - pH_UL_h2 6 T_base 298.15 K C_va 0.024 kmole C/Kg COD pH_LL_h2 5 P_atm 1.013 bar Y_aa 0.08 k_dec_X_su 0.02 T_op 308.15 K Y_fa 0.06 k_dec_X_aa 0.02 f_sI_xc 0.1 Y_c4 0.06 k_dec_X_fa 0.02 f_xI_xc 0.2 Y_pro 0.04 k_dec_X_c4 0.02 1/d f_ch_xc 0.2 C_ch4 0.0156 kmole C/Kg COD k_dec_X_pro 0.02 f_pr_xc 0.2 Y_ac 0.05 - k_dec_X_ac 0.02 f_li_xc 0.3 Y_h2 0.06 - k_dec_X_h2 0.02 N_xc 0.002685714 k_dis 0.5 T_ad 308.15 K N_I 0.004286 kmole N/Kg COD k_hyd_ch 10 K_h2o 2.08E−14 N_aa 0.007 1/d k_hyd_pr 10 K_a_va 1.38E−05 C_xc 0.02786 k_hyd_li 10 K_a_bu 1.51E−05 C_sI 0.03 K_S_IN 0.0001 M K_a_pro 1.32E−05 C_ch 0.0313 k_m_su 30 1/d K_a_ac 1.74E−05 C_pr 0.03 K_S_su 0.5 Kg COD/m <sup>3</sup> K_a_co2 4.94E−07 C_li 0.022 kmole C/Kg COD pH_UL_aa 5.5 K_a_IN 1.11E−09 C_xI 0.03 pH_LL_aa 4 k_AB_va 1.00E+10 M 1/M d C_su 0.0313 k_m_aa 50 1/d k_AB_bu 1.00E+10 C_aa 0.03 K_S_aa 0.3 Kg COD/m <sup>3</sup> k_AB_pro 1.00E+10 f_fa_li 0.95 - k_m_fa 6 1/d k_AB_ac 1.00E+10 C_fa 0.0217 kmole C/Kg COD K_S_fa 0.4 k_AB_co2 1.00E+10 Kg COD/m <sup>3</sup> f_h2_su 0.19 K_I_h2_fa - 5.00E−04 (5.00E−06) k_AB_IN 1.00E+10 f_bu_su 0.13 k_m_c4 20 1/d p_gas_h2o 0.055667745 bar f_pro_su 0.27 K_S_c4 0.2 k_p 50000 m <sup>3</sup> /d bar k_L_a 200 1/d f_ac_su 0.41 Kg COD/m <sup>3</sup> K_I_h2_c4 1.00E−05 N_bac 0.005714286 kmole N/Kg COD k_m_pro 13 1/d K_H_co2 0.027146693 C_bu 0.025 K_S_pro 0.1 K_H_ch4 0.001161903 M/bar Kg COD/m <sup>3</sup> C_pro 0.0268 K_I_h2_pro 3.50E−06 K_H_h2 0.000738465 kmole C/Kg COD C_ac 0.0313 k_m_ac 8 1/d V_liq - 3485.4 (3400) C_bac 0.0313 m <sup>3</sup> K_S_ac 0.15 Kg COD/m <sup>3</sup> V_gas 300 Y_su 0.1 K_I_nh3 0.0018 M Q_ad - e246.67 (170) m <sup>3</sup> /d f_h2_aa 0.06 pH_UL_ac 7 tresX 40 d f_va_aa 0.23 pH_LL_ac - 5.9 (6) f_bu_aa 0.26 k_m_h2 35 1/d k_dec_all 0.02 1/d <u>f_pro_aa</u> <u>0.05</u> <u>K_S_h2</u> <u>7.00E−06</u> <u>Kg COD/m</u> <sup>3</sup> we present the results of the test performed on the data obtained in the previous section (Tables 6 and 7), in order to provide a validation of the results of the simulations performed in this work. Figures 6 to 10 show the results of the AR simulation using the current DAE implementation, compared to the results obtained by the DAE implementation of _Allen et_ _al. (2023)_ . The validation tests demonstrate that the results have a very good agreement, Table 7 ADM1 model input of the biodigester. The values for complex composites, proteins, lipids, inert particulate, highlighted with ‘‘*’’, are determined by the optimization routine. <u>Variables</u> <u>Value</u> <u>Unit</u> <mark>S_su</mark> <mark>0.01</mark> <mark>Kg COD/ m</mark> <sup>3</sup> S_aa 0.001 Kg COD/ m <sup>3</sup> S_fa 0.001 Kg COD/ m <sup>3</sup> S_va 0.001 Kg COD/ m <sup>3</sup> S_bu 0.001 Kg COD/ m <sup>3</sup> S_pro 0.001 Kg COD/ m <sup>3</sup> S_ac 0.001 Kg COD/ m <sup>3</sup> S_h2 1.0E−8 Kg COD/ m <sup>3</sup> S_ch4 1.0E−5 Kg COD/ m <sup>3</sup> S_IC 0.04 kmole C/m <sup>3</sup> S_IN 0.01 kmole N/m <sup>3</sup> S_I 0.02 Kg COD/ m <sup>3</sup> X_xc - 40.769 Kg COD/ m <sup>3</sup> X_ch 0.00 Kg COD/ m <sup>3</sup> X_pr - 8.127 Kg COD/ m <sup>3</sup> X_li *0.252 Kg COD/ m <sup>3</sup> X_su 0.00 Kg COD/ m <sup>3</sup> X_aa 0.01 Kg COD/ m <sup>3</sup> X_fa 0.01 Kg COD/ m <sup>3</sup> X_c4 0.01 Kg COD/ m <sup>3</sup> X_pro 0.01 Kg COD/ m <sup>3</sup> X_ac 0.01 Kg COD/ m <sup>3</sup> X_h2 0.01 Kg COD/ m <sup>3</sup> X_I - 0.087 Kg COD/ m <sup>3</sup> S_cat 0.04 kmole/m <u>S_an</u> <u>0.10</u> <u>kmole/m</u> both for the steady state results and for the transient regime results, thus providing a quantitative validation of the new implementation. The time-dependent curves (Figs. 6 to 10) show that, while some concentrations attain the steady state value very shortly after the startup (about 10 days, as it is the case of X_c), most concentrations only attain their steady state after a much longer period (typically 60 days, as in the case of X_su). However, it can be observed that the concentrations do not vary after 80 days, thus the current 90 day simulation period is sufficient for the AR to reach steady state conditions. The computational time of the current DAE-based Julia implementation compares favorably with the ODE-Based Julia implementation by a large factor. The mean execution time for the AR simulation with the current DAE-based implementation is 22.15 ms, while with the ODE-based implementation ( _Allen et al., 2023_ ), the mean execution time is 1,231 ms. Therefore, the current ODE-based implementation is approximately 56 times faster than the DAE-based implementation. Thus, the new implementation is more suitable to Table 8 ADM1 model AR output variables and BMP initial composition. <u>Sludge composition and model variables (Kg COD/m</u> <sup>3</sup> <u>)</u> <mark>x0</mark> 1 <mark>=1.5031e−02</mark> <mark>S_su, Monosaccharide</mark> <mark>x0</mark> 13 <mark>=5.0183e+00</mark> <mark>X_c, Complex Composite</mark> x02 =6.7129e−03 S_aa, Amino Acid x014 =4.9515e−02 X_ch, Carbohydrate x03 = 1.2853e−01 S_fa, LCFA x015 =1.5778e−01 X_pr, Proteins x04 = 1.4532e−02 S_va, Total Valerate x016 =7.7605e−02 X_li, Lipids x05 =1.6795e−02 S_bu, Total Butyrate x017 =6.0868e−01 X_su, Sugar Consumers x06 =2.0244e−02 S_pro, Total Propionate x018 =1.4414e+00 X_aa, Amino Acid Consumers x07 =4.2027e−02 S_ac, Total Acetate x019 =4.9932e−01 X_fa, LCFA Consumers x08 =0.00 S_h2, Hydrogen Gas x020 =5.2954e−01 X_c4, Valerate/Butyrate Consum. x09 =0.00 S_ch4, Methane Gas x021 =1.6868e−01 X_pro, Propionate Consumers x010 =6.3799e−01 S_IC, Inorganic Carbon x022 =1.0750e+00 X_ac, Consumers of Acetate x011 =1.2453e−01 S_IN, Inorganic Nitrogen x023 =4.5639e−01 X_h2, Hydrogen Consumers <u>x012 =3.7066e+00</u> <u>S_I, Inert Soluble</u> <u>x024 = 7.5005e+00</u> <u>X_I, Inert Particulate</u> Table 9 Comparison between BMP CH4 production experimental results and ADM1 computational results (mL CH4 g <sup>−1</sup> VS <sup>−1</sup> ). <u>Day</u> <u>CH4 BMP</u> <u>CH4 ADM1</u> <u>Error (%)</u> <mark>0</mark> <mark>0</mark> <mark>0.0000</mark> <mark>0</mark> 1 46.9697 46.4013 −1.2101 2 71.2121 72.8888 2.3545 3 87.5758 89.5668 2.2735 4 98.4848 100.3918 1.9363 5 106.3636 107.6856 1.2429 6 114.5455 112.8359 −1.4925 7 120.0000 116.6777 −2.7685 8 122.5758 119.7153 −2.3336 9 123.6364 122.2534 −1.1186 10 123.6364 124.4768 0.6797 <u>11</u> <u>123.6364</u> <u>126.4973</u> <u>2.3140</u> perform model parameter estimations and operational parameters optimization. The tests were performed on an Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20 GHz, with 16GB 3733 MHz LPDDR4X memory, macOS Ventura 13.5.2, and Julia v1.9. ## DISCUSSION Operational parameters and biogas production AD pH stability is the main controlling factor in balancing the system ( _Issah, Kabera &_ _Kemausuor, 2020_ ). No pH adjustments were made during the BMP assays due to the buffer capacity of the SWS. The twice-daily stirring and agitation of the digesting vessels allow for the release of gas during the assays and at the same time avoiding clogging of the connecting valves. Biogas yield decreases when the pH value is higher than 7.6 or lower than 6.8 ( _Pilarski et al., 2020_ ). Process variables, such as temperature and pH, are the principal Figure 6 Concentration curves of Xc, SI an XI obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE- ADM1 model ( _Allen et al., 2023_ ). Lines with circles correspond to values obtained in the current simulations. Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results. Full-size [DOI: 10.7717/peerj.16720/fig-6](https://doi.org/10.7717/peerj.16720/fig-6) factors affecting the smooth digestion process ( _Castellano-Hinojosa et al., 2018_ ). At very high or very low temperatures, bacterial and archaeal activities may be curtailed, leading to low yields, and unbalanced pH could result in volatile fatty acid (VFA) accumulation that could result in MO mortality ( _Issah, Kabera & Kemausuor, 2020_ ), especially methanogenic ones. High values for alkalinity indicate that the reaction is buffered, so the pH does not undergo major changes (Angelidaki et al., 2013). The SWS alkalinity value in this study (2,382 ±100 mg CaCO3 L <sup>−1</sup> ) is similar to the alkalinity found in other SWS from WWTP as observed by _Grosser et al. (2020)_, who investigated the BMP of SWS from a WWTP in Poland (2,823 mg CaCO3 L <sup>−1</sup> ). The tCOD value (21,903 ± 1,000 mg L <sup>−1</sup> ) is consistent with values found in other studies, such as 25,250 mg L <sup>−1</sup> by _Park et al. (2021)_ and 22,300 mg L <sup>−1</sup> by _Wickham et al._ _(2018)_ . As MO converts chemical energy to CH4, this is directly associated with the maximum energy that can be recovered as biogas ( _Raposo et al., 2012_ ). The inoculum taken from an active anaerobic digester (AR) that is digesting complex organic matter (OM) and is at a steady state at the time of sampling provides a highly diverse microbial community, able to digest a large variety of organic molecules ( _Holliger et al., 2016_ ). Similar results for SWS mono-digestion (Table 4) were also reported by _Alves et al._ _(2020)_ (138.2 mL CH4 g <sup>−1</sup> VS <sup>−1</sup> ), _Pan et al. (2019)_ (124.43 mL g <sup>−1</sup> VS <sup>−1</sup> ), _Park et al._ _(2021)_ (100–175 mL CH4 g <sup>−1</sup> VS <sup>−1</sup> ), and _Zou et al. (2018)_ (88.1 mL CH4 g <sup>−1</sup> VS <sup>−1</sup> ). Figure 7 Concentration curves of Xch, Xpr and Xli obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model ( _Allen et al., 2023_ ). Lines with circles correspond to values obtained in the current simulations. Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results. Full-size [DOI: 10.7717/peerj.16720/fig-7](https://doi.org/10.7717/peerj.16720/fig-7) The sanitation sector, with the use of SWS AD, has the possibility of transforming an environmental liability into an energy asset. Carbon content and sludge biodegradability The biodegradability rate achieved in the present study is consistent with the COD removal percentages reported in previous studies based on SWS BMP assays, such as _Maragkaki_ _et al. (2018)_, _Kashi et al. (2017)_, and _Zhang, Hu & Lee (2016)_, which achieved removal percentages of 28.9%, 16.0%, and 25.2%, respectively. OM is measured by the amount of carbon in a feedstock ( _Ferguson, Coulon & Villa, 2018_ ; _Gohil et al., 2018_ ) and biomethane yield is affected by the VS content ( _Mayer et al., 2014_ ). Therefore, CH4 production is directly related to the degradation of VS ( _Angelidaki et al., 2009_ ) being VS the OM component of TS. Systems used in AD are classified according to the percentage of TS in the feedstock ( _Yi_ _et al., 2014_ ). The biogas yield mainly depends on the content of organic compounds in the feedstock, including fats, proteins, and carbohydrates, which are biologically degradable under AD ( _Abdul Aziz, Hanafiah & Mohamed Ali, 2019_ ). Anaerobic MO can be inhibited by substances present in the substrate or by compounds generated in the metabolism itself ( _Mustapha et al., 2018_ ). The biochemical methane production potential of the substrates intended for anaerobic digestion and their specific organic loads can be utilized to design various components of full-scale AD plants, including the size of digesters and the potential for utilizing the generated biogas ( _Filer, Ding & Chang, 2019_ ). Figure 8 Concentration curves of Xsu, Xaa and Xfa obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model ( _Allen et al., 2023_ ). Lines with circles correspond to values obtained in the current simulations. Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results. Full-size [DOI: 10.7717/peerj.16720/fig-8](https://doi.org/10.7717/peerj.16720/fig-8) SWS is an optimal inoculum for BMP assays because of the diversity of its microbial population ( _Raposo et al., 2011_ ). A well-functioning AD must contain a balanced microbial consortium community for efficient biogas production ( _Issah, Kabera & Kemausuor, 2020_ ). The experimental results showed that the SWS obtained from a municipal WWTP has the capability to produce CH4, and it is considered as a feasible strategy for bioenergy production. The biodegradability properties of substrates and production of inhibitory intermediate products will mainly control the kinetics of AD different steps and define the shape of the biogas production curve, identifying important characteristics of substrates and anticipating digestion issues ( _Labatut, Angenent & Scott, 2011_ ). COD is commonly used to measure the organic strength of liquid effluents. At WWTPs, each kilogram of COD removed will yield 0.35 m <sup>3</sup> of CH4 gas at standard temperature and pressure ( _Jingura & Kamusoko, 2017_ ). The theoretical CH4 yield can be calculated from the COD of a substrate, and biogas production in relation to COD is about 0.5 L g <sup>−1</sup> COD removed, corresponding to a CH4 production of approximately 0.35 L g <sup>−1</sup> of COD removed ( _Angelidaki & Sanders, 2004_ ). Feasibility of using the model as a tool to predict BMP results The ADM1 CS can be used to compare the decrease in COD observed experimentally with the values obtained from numerical simulation. Furthermore, the model can be validated by comparing and calibrating the methanogenic activity and production curves. AD processes are conducted under laboratory conditions and scaled to pilot-scale trials. Figure 9 Concentration curves of Xc4, Xpro and Xac obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model ( _Allen et al., 2023_ ). Lines with circles correspond to values obtained in the current simulations. Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results. Full-size [DOI: 10.7717/peerj.16720/fig-9](https://doi.org/10.7717/peerj.16720/fig-9) This methodology can be applied to support the development of experiments and full-scale reactor projects. The generated BMP data’s scalability and transferability allow the results to be applied to larger-scale systems, facilitating the development and optimization of AD processes ( _Jingura & Kamusoko, 2017_ ). The ADM1 model can be adapted to individual cases. There are certain factors in ADM1 that require the user’s discretion, such as the fractionation of composition (Xc) and the definition of inert ingredients, soluble (SI) and particulate (XI). However, there are hypotheses that may restrict the model’s applicability in anoxic environments. For instance, the influent particulate composite substrate and the cytolysis product use the same component Xc, which requires a disintegration process before hydrolysis. Therefore, characterizing the influent sludge becomes particularly challenging. Combined AR-BMP model output and comparison with BMP assay: estimation of outflow composition, biogas production, and operation parameters of the full-scale AR The methodology developed in this study involved using two coupled ADM1 models to validate the complete AD process, including the original bioreactor, and to infer additional parameters from the BMP assays. The first model simulates a continuous-flow stirred-tank reactor (CSTR), and the second model simulates the BMP assay, which is a batch reactor. The input of the second model is given by the output of the first model, and the input parameters of the first model are obtained by means of an iterative optimization method Figure 10 Concentration curves of Ssu, Saa and Sfa obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model ( _Allen et al., 2023_ ). Lines with circles correspond to values obtained in the current simulations. Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results. Full-size [DOI: 10.7717/peerj.16720/fig-10](https://doi.org/10.7717/peerj.16720/fig-10) that minimizes the error of the obtained methane production curve along with the COD at the beginning of the BMP assay, as seen in Fig. 2. Therefore, the proposed methodology, using the combined ADM1 model, solves the challenging problem of characterizing the influent sludge in a systematic way. This methodology can be applied to support the development of experiments and full-scale reactor projects. The scalability and transferability of the data obtained with BMP assays can be used to apply the results in larger-scale systems ( _Jingura & Kamusoko, 2017_ ). The feasibility of using the model as a tool to predict BMP assays results and reduce possible mistrust in experimental results can be further evaluated by comparing the COD decrease observed experimentally in bench-scale and the values obtained in the numerical simulation. Also, the methanogenic activity and the production curve can be compared and calibrated to validate the model. Optimization of operational parameters using the combined AR-BMP model calibrated with BMP assays Once the AR-BMP simulator is calibrated, it can be employed to optimize operational parameters of the AR system. As the new Julia language implementation of the BSM2 DAE ADM1 model developed in this work is very fast, when compared to previous implementations, it is very well suited for optimization purposes. To demonstrate the capabilities of the methodology, an example of the optimization of the AR operational parameters is presented. In this example, the influence of the parameters Figure 11 Optimization of the production curve of CH4, considering a simple mixing/stratification model. The optimum production for the case _κ_ = 1.0 is obtained for _χ_ = 0.68, and the optimum production value is 29.84 kg COD/m <sup>3</sup> of effluent. The optimum values, for different values of _κ_, is marked by a dot in each curve. The relevant data is shown in Table 9. Full-size [DOI: 10.7717/peerj.16720/fig-11](https://doi.org/10.7717/peerj.16720/fig-11) solute residence time, and particulate residence time is analyzed. The residence time can be increased by improving the flow patterns on the AR with inappropriate mixing, reducing slow recirculation flow regions or dead zones and dead time. On the other hand, particulate residence time can be selectively increased by providing a low mixing region at the outflow region, allowing for particle segregation due to the settling velocity. To perform an optimization study, we define the following parameters: _χ_ = <sup>_<u>Vp</u>_</sup> _V_ <sup>−</sup> <sup>1</sup> _κ_ = <sup>_<u>V</u>_</sup> <sup>−</sup> <sup>_<u>Vs</u>_</sup> _Vp_ - _V_ where _V,Vp,Vs_ are the reactor nominal effective volume, the particulate effective volume, and the solute effective volume. Results of the simulations using the calibrated model for various values of _χ_ and _κ_ are shown in Fig. 11. It can be observed that the CH4 production improves, for all values of _κ_, with the increase of _χ_ from 0 up to an optimal value. The optimization provides the best value of _χ_ for each value of the parameter _κ_, keeping the same reactor nominal effective volume _V_ . Table 10 shows the CH4 production at the optimum _χ_ for each of the simulated _κ_ values. It can be observed that CH4 production can be increased by more than 5%, with respect to the unmodified parameter values, by optimizing the values of _χ_ and _κ_ . Table 10 Optimization of residence time parameters _κ_ and _χ_ to improve CH4 production. _κ_ <u>Optimal</u> _χ_ <u>CH4 production</u> <u>Production increment (%)</u> <mark>0.8</mark> <mark>0.88</mark> <mark>30.11</mark> <mark>5.23</mark> 0.9 0.77 29.96 4.71 1.0 0.68 29.83 4.26 1.1 0.61 29.73 3.88 1.2 0.55 29.63 3.54 1.3 0.50 29.54 3.24 1.4 0.46 29.47 2.98 <u>1.5</u> <u>0.43</u> <u>29.4</u> <u>2.74</u> This methodology can be employed, along with numerical simulations of the particulate fluid flow or the results of properly reduced scale models, to assess the potential benefits of a proposed improvement of the process. ## CONCLUSIONS The present study was based on the assembly of bench-scale bioreactors (BMP assays) and the use of experimental data obtained to feed the ADM1 mathematical model with subsequent calibration to simulate the anaerobic digestion of an anaerobic sludge obtained at a municipal WWTP. The bench scale BMP assays resulted in cumulative CH4 production ranging from 124 to 143 NmL CH4 and CH4 yields ranging from 113 to 130 mL CH4 g <sup>−1</sup> VS <sup>−1</sup> after 11 days of BMP assay. A method that employs two coupled ADM1 model applications and BMP assay, combined with an iterative optimization method, was developed to characterize sewage sludge and biogas production potential by an equivalent composition that produces similar methanogenic curves. The approach presented in this investigation can be used to design experiments in batch reactors using sewage sludge as feedstock to produce biogas, and to optimize the biogas production in the large scale biogas plant, which is very important for practical use. Further studies applying BMP assays and computer simulations of both AR and BMP processes, including flow and particle transport simulations, are recommended for better understanding of the anaerobic digestion process. The results achieved can be used not only to define experiments in batch reactors having sewage sludge as feedstock to produce biogas but also to investigate microbial communities associated with methane production using molecular biology tools. Finally, the combination of BMP tests and biological data will be useful to predict the best conditions to operate anaerobic reactors to produce bioenergy. ## ACKNOWLEDGEMENTS We acknowledge the constructive contributions from the reviewers that have improved the overall quality of this work. ## ADDITIONAL INFORMATION AND DECLARATIONS Funding This research was supported by the Department of Innovation of the Rio de Janeiro State University (UERJ); the State Company of Water and Wastewater (CEDAE); the Carlos Chagas Filho Foundation for Supporting Research in the State of Rio de Janeiro (FAPERJ) (Proc. E-26/202.894/2018), the National Council for Scientific and Technological Development (CNPq) (Proc. 308335/2017-1) and the Brazilian Innovation Agency (Finep) (01.19.0087.00). The National Council for Scientific and Technological Development (CNPq) (Proc. 310955/2022-0) supported the APC. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Grant Disclosures The following grant information was disclosed by the authors: The Department of Innovation of the Rio de Janeiro State University (UERJ). The State Company of Water and Wastewater (CEDAE). The Carlos Chagas Filho Foundation for Supporting Research in the State of Rio de Janeiro (FAPERJ): Proc. E-26/202.894/2018. The National Council for Scientific and Technological Development (CNPq): Proc. 308335/2017-1. Brazilian Innovation Agency (Finep): 01.19.0087.00. The National Council for Scientific and Technological Development (CNPq): Proc. 310955/2022-0. Competing Interests Marcia Marques is an Academic Editor for PeerJ. Author Contributions - Mariana Erthal Rocha conceived and designed the experiments, performed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. - Thais Carvalho Lazarino performed the experiments, authored or reviewed drafts of the article, and approved the final draft. - Gabriel Oliveira performed the experiments, authored or reviewed drafts of the article, and approved the final draft. - Lia Teixeira conceived and designed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. - Marcia Marques conceived and designed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. - Norberto Mangiavacchi conceived and designed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. Data Availability The following information was supplied regarding data availability: [The raw data are available in the Supplemental File.](http://dx.doi.org/10.7717/peerj.16720#supplemental-information) Supplemental Information [Supplemental information for this article can be found online at http://dx.doi.org/10.7717/](http://dx.doi.org/10.7717/peerj.16720#supplemental-information) [peerj.16720#supplemental-information.](http://dx.doi.org/10.7717/peerj.16720#supplemental-information) ## REFERENCES Abdul Aziz NIH, Hanafiah MM, Mohamed Ali MY. 2019. Sustainable biogas production from agrowaste and effluents–s promising step for small-scale industry income. _Renewable Energy_ 132 :363–369 [DOI 10.1016/j.renene.2018.07.149.](http://dx.doi.org/10.1016/j.renene.2018.07.149) Achinas S, Euverink GJW. 2016. Theoretical analysis of biogas potential pre diction from agricultural waste. _Resource-Efficient Technologies_ 2 :143–147 [DOI 10.1016/j.reffit.2016.08.001.](http://dx.doi.org/10.1016/j.reffit.2016.08.001) Alex J, Benedetti L, Copp J, Gernaey K, Jeppsson U, Nopens I, Pons M, Rosen C, Steyer J, Vanrolleghem P. 2019. _Benchmark simulation model (2) (BSM2)_ . London: International Water Association. Allen C, Mazanko A, Abdehagh N, Eberl HJ. 2023. A new ODE-based julia implemen tation of the anaerobic digestion model (1) greatly outperforms existing DAE-based java and python implementations. _Processes_ 11 :1899 [DOI 10.3390/pr11071899.](http://dx.doi.org/10.3390/pr11071899) Alves IRFS, Mahler CF, Oliveira LB, Reis MM, Bassin JP. 2020. Assessing the use of crude glycerol from biodiesel production as an alternative to boost methane generation by anaerobic co-digestion of sewage sludge. _Biomass & Bioenergy_ 143 :105831 [DOI 10.1016/j.biombioe.2020.105831.](http://dx.doi.org/10.1016/j.biombioe.2020.105831) Angelidaki I, Alves M, Bolzonella D, Borzacconi L, Campos JL, Guwy AJ, Kalyuzhnyi S, Jenicek P, Van Lier JB. 2009. Defining the biomethane potential (BMP) of solid organic wastes and energy crops: a proposed protocol for batch assays. _Water Science_ _and Technology_ 59 :927–934 [DOI 10.2166/wst.2009.040.](http://dx.doi.org/10.2166/wst.2009.040) Angelidaki I, Sanders W. 2004. Assessment of the Anaerobic Biodegradability of Macropollutants. _Reviews in Environmental Science and Bio/Technology_ 3 :117–129. Angelidaki I, Treu L, Tsapekos P, Luo G, Campanaro S, Wenzel H, Kougias PG. 2018. Biogas upgrading and utilization: current status and perspectives. _Biotechnology_ _Advances_ 36 :452–466 [DOI 10.1016/j.biotechadv.2018.01.011.](http://dx.doi.org/10.1016/j.biotechadv.2018.01.011) APHA (American Public Health Association). 2017. _Standard methods for evaluation_ _of water and wastewater_ . 23nd edition. Washington, D.C.: American Water Works Association. Astals S, Esteban-Gutiérrez M, Fernández-Arévalo T, Aymerich E, García-Heras JL Mata-Alvarez, J. 2013. Anaerobic digestion of seven different sewage sludges: A biodegradability and modelling study. _Water Research_ 47 :6033–6043 [DOI 10.1016/j.watres.2013.07.019.](http://dx.doi.org/10.1016/j.watres.2013.07.019) Bai X, Chen YC. 2020. Synergistic effect and supernatant nitrogen reduction from anaerobic co-digestion of sewage sludge and pig manure. _Bioresource Technology_ _Reports_ 10 :100424 [DOI 10.1016/j.biteb.2020.100424.](http://dx.doi.org/10.1016/j.biteb.2020.100424) Batstone DJ, Keller J, Angelidaki I, Kalyuzhnyi SV, Pavlostathis SG, Rozzi A, Sanders WTM, Siegrist H, Vavilin VA. 2002. The IWA anaerobic digestion model no 1 (ADM1). _Water Science and Technology_ 45(10) :65–73. Batstone DJ, Puyol D, Flores-Alsina X, Rodríguez J. 2015. Mathematical modelling of anaerobic digestion processes: applications and future needs. _Reviews in Environmen-_ _tal Science and Biotechnology_ 14 :595–613 [DOI 10.1007/s11157-015-9376-4.](http://dx.doi.org/10.1007/s11157-015-9376-4) Batstone DJ, Virdis B. 2014. The role of anaerobic digestion in the emerging energy economy. _Current Opinion in Biotechnology_ 27 :142–149 [DOI 10.1016/j.copbio.2014.01.013.](http://dx.doi.org/10.1016/j.copbio.2014.01.013) Cabbai V, Ballico M, Aneggi E, Goi D. 2013. BMP tests of source selected OFMSW to evaluate anaerobic codigestion with sewage sludge. _Waste Management_ 33 :1626–1632 [DOI 10.1016/j.wasman.2013.03.020.](http://dx.doi.org/10.1016/j.wasman.2013.03.020) Castellano-Hinojosa A, Armato C, Pozo C, González-Martínez A, González-López J. 2018. New concepts in anaerobic digestion processes: recent advances and biological aspects. _Applied Microbiology and Biotechnology_ 102 :5065–5076 [DOI 10.1007/s00253-018-9039-9.](http://dx.doi.org/10.1007/s00253-018-9039-9) Catenacci A, Santus A, Malpei F, Ferretti G. 2022. Early prediction of BMP tests: A step response method for estimating first-order model parameters. _Renewable Energy_ 188 :184–194 [DOI 10.1016/j.renene.2022.02.017.](http://dx.doi.org/10.1016/j.renene.2022.02.017) Chen S, He J, Wang H, Dong B, Li N, Dai X. 2018. Microbial responses and metabolic pathways reveal the recovery mechanism of an anaerobic digestion system subjected to progressive inhibition by ammonia. _Chemical Engineering Journal_ 350 :312–323 [DOI 10.1016/j.cej.2018.05.168.](http://dx.doi.org/10.1016/j.cej.2018.05.168) Deng L, Ngo HH, Guo W, Chang SW, Nguyen DD, Pandey A, Varjani S, Hoang NB. 2022. Recent advances in circular bioeconomy based clean technologies for sustainable environment. _Journal of Water Process Engineering_ 46 :102534 [DOI 10.1016/j.jwpe.2021.102534.](http://dx.doi.org/10.1016/j.jwpe.2021.102534) Donoso-Bravo A, Olivares D, Lesty Y, Bossche Vanden, H. 2020. Exploitation of the ADM1 in a XXI century wastewater resource recovery facility (WRRF): the case of codigestion and thermal hydrolysis. _Water Research_ 175 :115654 [DOI 10.1016/j.watres.2020.115654.](http://dx.doi.org/10.1016/j.watres.2020.115654) Elbeshbishy E, Nakhla G, Hafez H. 2012. Biochemical methane potential (BMP) of food waste and primary sludge: influence of inoculum pre-incubation and inoculum source. _Bioresource Technology_ 110 :18–25 [DOI 10.1016/j.biortech.2012.01.025.](http://dx.doi.org/10.1016/j.biortech.2012.01.025) Ferguson RMW, Coulon F, Villa R. 2018. Understanding microbial ecology can help improve biogas production in AD. _Science of the Total Environment_ 642 :754–763 [DOI 10.1016/j.scitotenv.2018.06.007.](http://dx.doi.org/10.1016/j.scitotenv.2018.06.007) Filer J, Ding HH, Chang S. 2019. Biochemical methane potential (BMP) assay method for anaerobic digestion research. _Water_ 11 :921 [DOI 10.3390/w11050921.](http://dx.doi.org/10.3390/w11050921) García-Gen S, Wouwer AV. 2021. A model-based optimization strategy for the start-up of anaerobic co-digestion processes. _Renewable Energy_ 170 :693–702 [DOI 10.1016/j.renene.2021.02.007.](http://dx.doi.org/10.1016/j.renene.2021.02.007) Gohil SN, Shilpkar PG, Shah MC, Shah AJ, Acharya PB. 2018. Methane from human excreta: comparative assessment of batch and continuous biomethanation process. _Journal of Pure and Applied Microbiology_ 12 :2143–2148 [DOI 10.22207/JPAM.12.4.52.](http://dx.doi.org/10.22207/JPAM.12.4.52) Grosser A. 2018. Determination of methane potential of mixtures composed of sewage sludge, organic fraction of municipal waste and grease trap sludge using biochemical methane potential assays. A comparison of BMP tests and semi-continuous trial results. _Energy_ 143 :488–499. Grosser A, Neczaj E, Jasinska A, Celary P. 2020. The influence of grease trap sludge sterilization on the performance of anaerobic co-digestion of sewage sludge. _Renewable Energy_ 161 :988–997 [DOI 10.1016/j.renene.2020.07.108.](http://dx.doi.org/10.1016/j.renene.2020.07.108) Guo W, Li D, Zhang Z, Mo R, Peng Y, Li Y. 2023. A novel approach for the frac tionation of organic components and microbial degraders in ADM1 and model validation based on the methanogenic potential. _Water Research_ 236 :119945 [DOI 10.1016/j.watres.2023.119945.](http://dx.doi.org/10.1016/j.watres.2023.119945) Holliger C, Alves M, Andrade D, Angelidaki I, Astals S, Baier U, Bougrier C, Buffière P, Carballa M, De Wilde V, Ebertseder F, Fernández B, Ficara E, Fotidis I, Frigon JC, De Laclos HF, Ghasimi DSM, Hack G, Hartel M, Heerenklage J, Jenicek PHorvathIS, Koch K, Krautwald J, Lizasoain J, Liu J, Mosberger L, Nistor M, Oechsner H, Paterson MOliveiraJV, Pauss A, Pommier S, Porqueddu I, Raposo F, Ribeiro T, Strömberg SPfundFR, Torrijos M, Van Eekert M, Van Lier J, Wedwitschka H, Wierinck I. 2016. Towards a standardization of biomethane potential tests. _Water_ _Science and Technology_ 74 :2515–2522 [DOI 10.2166/wst.2016.336.](http://dx.doi.org/10.2166/wst.2016.336) Issah AA, Kabera T, Kemausuor F. 2020. Biogas optimisation processes and effluent quality: a review. _Biomass & Bioenergy_ 133 :105449 [DOI 10.1016/j.biombioe.2019.105449.](http://dx.doi.org/10.1016/j.biombioe.2019.105449) Jiang X, Xie Y, Liu M, Bin S, Liu Y, Huan C, Ji G, Wang X, Yan Z, Lyu Q. 2022. Study on anaerobic co-digestion of municipal sewage sludge and fruit and vegetable wastes: methane production, microbial community and three-dimension fluorescence excitation-emission matrix analysis. _Bioresource Technology_ 347 :126748 [DOI 10.1016/j.biortech.2022.126748.](http://dx.doi.org/10.1016/j.biortech.2022.126748) Jimenez J, Charnier C, Kouas M, Latrille E, Torrijos M, Harmand J, Patureau D, Sperandio M, Morgenroth E, Beline F, Ekama G, Vanrolleghem PA, Robles A, Seco A, Batstone DJ, Steyer JP. 2020. Modelling hydrolysis: simultaneous versus sequential biodegradation of the hydrolysable fractions. _Waste Management_ 101 :150–160 [DOI 10.1016/j.wasman.2019.10.004.](http://dx.doi.org/10.1016/j.wasman.2019.10.004) Jingura RM, Kamusoko R. 2017. Methods for determination of biomethane potential of feedstocks: a review. _Biofuel Research Journal_ 4 :573–586 [DOI 10.18331/BRJ2017.4.2.3.](http://dx.doi.org/10.18331/BRJ2017.4.2.3) Kafle GK, Chen L. 2016. Comparison on batch anaerobic digestion of five dif ferent livestock manures and prediction of biochemical methane potential (BMP) using different statistical models. _Waste Management_ 48 :492–502 [DOI 10.1016/j.wasman.2015.10.021.](http://dx.doi.org/10.1016/j.wasman.2015.10.021) Kashi S, Satari B, Lundin M, Horváth IS, Othman M. 2017. Application of a mixture design to identify the effects of substrates ratios and interactions on anaerobic co digestion of municipal sludge, grease trap waste, and meat processing waste. _Journal_ _of Environmental Chemical Engineering_ 5 :6156–6164 [DOI 10.1016/j.jece.2017.11.045.](http://dx.doi.org/10.1016/j.jece.2017.11.045) Koch K, Hafner SD, Weinrich S, Astals S. 2019. Identification of critical problems in biochemical methane potential (BMP) tests from methane production curves. _Frontiers in Environmental Science_ 7 :178 [DOI 10.3389/fenvs.2019.00178.](http://dx.doi.org/10.3389/fenvs.2019.00178) Labatut RA, Angenent LT, Scott NR. 2011. Biochemical methane potential and biodegradability of complex organic substrates. _Bioresource Technology_ 102 :2255–2264 [DOI 10.1016/j.biortech.2010.10.035.](http://dx.doi.org/10.1016/j.biortech.2010.10.035) Lavergne C, Jeison D, Ortega V, Chamy R, Donoso-Bravo A. 2018. A need for a standardization in anaerobic digestion experiments? Let’s get some insight from meta-analysis and multivariate analysis. _Journal of Environmental Management_ 222 :141–147. Lin Q, De Vrieze J, Li C, Li J, Li J, Yao M, Hedenec P, Li H, Li T, Rui J, Frouz J, Li X. 2017. Temperature regulates deterministic processes and the succession of microbial interactions in anaerobic digestion process. _Water Research_ 123 :134–143 [DOI 10.1016/j.watres.2017.06.051.](http://dx.doi.org/10.1016/j.watres.2017.06.051) Lucas R, Kuchenbuch A, Fetzer I, Harms H, Kleinsteuber S. 2015. Long-term monitor ing reveals stable and remarkably similar microbial communities in parallel full-scale biogas reactors digesting energy crops. _FEMS Microbiology Ecology_ 9 :1–11. Ma SJ, Ma HJ, Hu HD, Ren HQ. 2019. Effect of mixing intensity on hydrolysis and acidification of sewage sludge in two-stage anaerobic digestion: characteristics of dissolved organic matter and the key microorganisms. _Water Research_ 148 :359–367 [DOI 10.1016/j.watres.2018.10.058.](http://dx.doi.org/10.1016/j.watres.2018.10.058) Maharaj BC, Mattei MR, Frunzo L, Hullebusch EDva, Esposito G. 2019. ADM1 based mathematical model of trace element complexation in anaerobic digestion processes. _Bioresource Technology_ 276 :253–259 [DOI 10.1016/j.biortech.2018.12.064.](http://dx.doi.org/10.1016/j.biortech.2018.12.064) Maragkaki AE, Vasileiadis I, Fountoulakis M, Kyriakou A, Lasaridi K, Manios T. 2018. Improving biogas production from anaerobic co-digestion of sewage sludge with a thermal dried mixture of food waste, cheese whey and olive mill wastewater. _Waste_ _Management_ 71 :644–651 [DOI 10.1016/j.wasman.2017.08.016.](http://dx.doi.org/10.1016/j.wasman.2017.08.016) Mayer F, Gerin PA, Noo A, Foucart G, Flammang J, Lemaigre S, Sinnaeve G, Dardenne P, Delfosse P. 2014. Assessment of factors influencing the biomethane yield of maize silages. _Bioresource Technology_ 153 :260–268 [DOI 10.1016/j.biortech.2013.11.081.](http://dx.doi.org/10.1016/j.biortech.2013.11.081) McCarty PL. 1964. Anaerobic waste treatment fundamentals. _Public works_ 95(9) :107–112. Mustapha NA, Hu A, Yu CP, Sharuddin SS, Ramli N, Shirai Y, Maeda T. 2018. Seeking key microorganisms for enhancing methane production in anaerobic digestion of waste sewage sludge. _Applied Microbiology and Biotechnology_ 102 :5323–5334 [DOI 10.1007/s00253-018-9003-8.](http://dx.doi.org/10.1007/s00253-018-9003-8) Nabaterega R, Nazyab B, Eskicioglu C. 2023. Modification and calibration of anaer obic digestion model 1 to simulate volatile fatty acids production during fer mentation of municipal sludge. _Biochemical Engineering Journal_ 194 :108886 [DOI 10.1016/j.bej.2023.108886.](http://dx.doi.org/10.1016/j.bej.2023.108886) Owen WF, Stuckev DC, Healv JB, Young LY, Mccagrv PL. 1979. Bioassay for monitoring biochemical methane potential and anaerobic toxicity. _Water Research_ 13 :485–492 [DOI 10.1016/0043-1354(79)90043-5.](http://dx.doi.org/10.1016/0043-1354%0x2879%0x2990043-5) Pan Y, Zhi Z, Zhen G, Lu X, Bakonyi P, Li YY, Zhao Y, Rajesh Banu J. 2019. Synergistic effect and biodegradation kinetics of sewage sludge and food waste mesophilic anaerobic co-digestion and the underlying stimulation mechanisms. _Fuel_ 253 :40–49 [DOI 10.1016/j.fuel.2019.04.084.](http://dx.doi.org/10.1016/j.fuel.2019.04.084) Park M, Kim N, Jung S, Jeong TY Park, D. 2021. Optimization and comparison of methane production and residual characteristics in mesophilic anaerobic di gestion of sewage sludge by hydrothermal treatment. _Chemosphere_ 264 :128516 [DOI 10.1016/j.chemosphere.2020.128516.](http://dx.doi.org/10.1016/j.chemosphere.2020.128516) Pearse LF, Hettiaratchi JPA, Da Costa D. 2020. A new biochemical methane potential assay for landfilled waste using the organic fraction of municipal solid waste. _Bioresource Technology Reports_ 12 :100579 [DOI 10.1016/j.biteb.2020.100579.](http://dx.doi.org/10.1016/j.biteb.2020.100579) Pilarski K, Pilarska AA, Boniecki P, Niedbała G, Durczak K, Witaszek K, Mio- duszewska N, Kowalik I. 2020. The efficiency of industrial and laboratory anaerobic digesters of organic substrates: the use of the biochemical methane potential correction coefficient. _Energies_ 13 :1280 [DOI 10.3390/en13051280.](http://dx.doi.org/10.3390/en13051280) Poggio D, Walker M, Nimmo W, Ma L, Pourkashanian M. 2016. Modelling the anaerobic digestion of solid organic waste –Substrate characterisation method for ADM1 using a combined biochemical and kinetic parameter estimation approach. _Waste Management_ 53 :40–54 [DOI 10.1016/j.wasman.2016.04.024.](http://dx.doi.org/10.1016/j.wasman.2016.04.024) Raposo F, Borja R, Ibelli-Bianco C. 2020. Predictive regression models for biochem ical methane potential tests of biomass samples: pitfalls and challenges of lab oratory measurements. _Renewable and Sustainable Energy Reviews_ 127 :109890 [DOI 10.1016/j.rser.2020.109890.](http://dx.doi.org/10.1016/j.rser.2020.109890) Raposo F, De La Rubia MA, Fernández-Cegrí V, Borja R. 2011. Anaerobic digestion of solid organic substrates in batch mode: an overview relating to methane yields and experimental procedures. _Renewable and Sustainable Energy Reviews_ 16 :861–877. Ripoll V, Agabo-García C, Perez M, Solera R. 2020. Improvement of biomethane potential of sewage sludge anaerobic co-digestion by addition of ‘‘sherry-wine’’ distillery wastewater. _Journal of Cleaner Production_ 251 :119667. Raposo F, De La Rubia MA, Fernández-Cegrí V, Borja R. 2012. Anaerobic digestion of solid organic substrates in batch mode: an overview relating to methane yields and experimental procedures. _Renewable and Sustainable Energy Reviews_ 16 :861–877 [DOI 10.1016/j.rser.2011.09.008.](http://dx.doi.org/10.1016/j.rser.2011.09.008) Rodrigues RP, Rodrigues DP, Klepacz-Smolka A, Martins RC, Quina MJ. 2019. Com parative analysis of methods and models for predicting biochemical methane poten tial of various organic substrates. _Science of the Total Environment_ 649 :1599–1608 [DOI 10.1016/j.scitotenv.2018.08.270.](http://dx.doi.org/10.1016/j.scitotenv.2018.08.270) Rosén C, Jeppsson U. 2005. Aspects on ADM1 implementation within the BSM2 framework. (TEIE; Vol. 7224). Department of Industrial Electrical Engineering and Automation, Lund Institute of Technology. _[Available at http://www.iea.lth.se/](http://www.iea.lth.se/publications/Reports/LTH-IEA-7224.pdf)_ _[publications/Reports/LTH-IEA-7224.pdf](http://www.iea.lth.se/publications/Reports/LTH-IEA-7224.pdf)_ . Sappl J, Harders M, Rauch W. 2023. Machine learning for quantile regression of biogas production rates in anaerobic digesters. _Science of the Total Environment_ 872 :161923 [DOI 10.1016/j.scitotenv.2023.161923.](http://dx.doi.org/10.1016/j.scitotenv.2023.161923) Sillero L, Solera R, Perez M. 2022. Improvement of the anaerobic digestion of sewage sludge by co-digestion with wine vinasse and poultry manure: effect of different hydraulic retention times. _Fuel_ 321 :124104 [DOI 10.1016/j.fuel.2022.124104.](http://dx.doi.org/10.1016/j.fuel.2022.124104) Strömberg S, Nistor M, Liu J. 2014. Towards eliminating systematic errors caused by the experimental conditions in Biochemical Methane Potential (BMP) tests. _Waste_ _Management_ 34 :1939–1948 [DOI 10.1016/j.wasman.2014.07.018.](http://dx.doi.org/10.1016/j.wasman.2014.07.018) Urtnowski-Morin C, Tanguay-Rioux F, Legros R, Spreutels L. 2021. Upgrading waste material flow analysis with process models: the case of anaerobic digestion. _Journal of_ _Cleaner Production_ 298 :126695 [DOI 10.1016/j.jclepro.2021.126695.](http://dx.doi.org/10.1016/j.jclepro.2021.126695) Vasco-Correa J, Khanal S, Manandhar A, Shah A. 2018. Anaerobic digestion for bioenergy production: global status, environmental and techno-economic im plications, and government policies. _Bioresource Technology_ 247 :1015–1026 [DOI 10.1016/j.biortech.2017.09.004.](http://dx.doi.org/10.1016/j.biortech.2017.09.004) VDI 4630. 2016. _Fermentation of organic materials - Characterization of the substrate,_ _sampling, collection of material data, fermentation tests_ . Germany: VDI - Association of German Engineers VDI 4630. Volschan Junior I, de Almeida R, Cammarota MC. 2021. A review of sludge pre treatment methods and co-digestion to boost biogas production and energy self sufficiency in wastewater treatment plants. _Journal of Water Process Engineering_ 40 :101857 [DOI 10.1016/j.jwpe.2020.101857.](http://dx.doi.org/10.1016/j.jwpe.2020.101857) Wang J, Zhang Z, Ye X, Pan X, Lv N, Fang H, Chen S. 2020. Enhanced solubilization and biochemical methane potential of waste activated sludge by combined free nitrous acid and potassium ferrate pretreatment. _Bioresource Technology_ 297 :122376 [DOI 10.1016/j.biortech.2019.122376.](http://dx.doi.org/10.1016/j.biortech.2019.122376) Weinrich S, Nelles M. 2021. Systematic simplification of the Anaerobic Digestion Model (1) (ADM1)–Model development and stoichiometric analysis. _Bioresource Technology_ 333 :125124 [DOI 10.1016/j.biortech.2021.125124.](http://dx.doi.org/10.1016/j.biortech.2021.125124) Wickham R, Xie S, Galway B, Bustamante B, Nghiem LD. 2018. Anaerobic digestion of soft drink beverage waste and sewage sludge. _Bioresource Technology_ 262 :141–147 [DOI 10.1016/j.biortech.2018.04.046.](http://dx.doi.org/10.1016/j.biortech.2018.04.046) Xie S, Li X, Wang C, Kulandaivelu J, Jiang G. 2020. Enhanced anaerobic digestion of primary sludge with additives: Performance and mechanisms. _Bioresource Technology_ 316 :123970. Xie S, Wickham R, Nghiem LD. 2017. Synergistic effect from anaerobic co-digestion of sewage sludge and organic wastes. _International Biodeterioration & Biodegradation_ 116 :191–197. Yi J, Dong B, Jin J, Dai X. 2014. Effect of increasing total solids contents on anaerobic di gestion of food waste under mesophilic conditions: performance and microbial char acteristics analysis. _PLOS ONE_ 9(7) :e102548 [DOI 10.1371/journal.pone.0102548.](http://dx.doi.org/10.1371/journal.pone.0102548) Zan F, Iqbal A, Lu X, Wu X, Chen G. 2022. Food waste-wastewater-energy/resource nexus: integrating food waste management with wastewater treatment towards urban sustainability. _Water Research_ 211 :118089 [DOI 10.1016/j.watres.2022.118089.](http://dx.doi.org/10.1016/j.watres.2022.118089) Zhang Q, Hu J, Lee D. 2016. Biogas from anaerobic digestion processes: research updates. _Renewable Energy_ 98 :108–119 [DOI 10.1016/j.renene.2016.02.029.](http://dx.doi.org/10.1016/j.renene.2016.02.029) Zhang W, Wei Q, Wu S, Qi D, Li W, Zuo Z, Dong R. 2014. Batch anaerobic co-digestion of pig manure with dewatered sewage sludge under mesophilic conditions. _Applied_ _Energy_ 128 :175–183. Zhao X, Li L, Wu D, Xiao T, Ma Y, Peng X. 2019. Modified Anaerobic Digestion Model (1) for modeling methane production from food waste in batch and semi-continuous anaerobic digestions. _Bioresource Technology_ 271 :109–117 [DOI 10.1016/j.biortech.2018.09.091.](http://dx.doi.org/10.1016/j.biortech.2018.09.091) Zou H, Chen Y, Shi J, Zhao T, Yu Q, Yu S, Shi D, Chai H, Gu L, He Q, Ai H. 2018. Mesophilic anaerobic co-digestion of residual sludge with different ligno cellulosic wastes in the batch digester. _Bioresource Technology_ 268 :371–381 [DOI 10.1016/j.biortech.2018.07.129.](http://dx.doi.org/10.1016/j.biortech.2018.07.129)

섹션 본문 90문단 · 44,747자

(제목 없음)

1The Anaerobic Digestion Model No. 1 (ADM1) was employed to simulate methane (CH 4 ) production in an anaerobic reactor (AR), and the associated bench-scale biochemical methane potential (BMP) assay, having sewage sludge (SWS) from a municipal wastewater treatment plant (WWTP) as feedstock.The SWS presented the following physical-chemical characteristics: pH (7.4-7.6), alkalinity (2,382 ± 100 mg CaCO3 L −1 ), tCOD (21,903 ± 1,000 mg L −1 ), TOC (895 ± 100 mg L −1 ), TS, TVS, and VSS (2.0%, 1.1%, and 0.8%, respectively).The BMP assay was conducted in six replicates under anaerobic mesophilic conditions (37 ± 0.1 • C) for 11 days with a CH 4 yield registered of 137.6 ± 6.39 NmL CH 4 or 124 ± 6.72 CH 4 g −1 VS −1 .When the results obtained with the BMP bench-scale reactors were compared to the output generated with computational data by the ADM1 model having as input data the same initial sewage tCOD, similar cumulative CH 4 production curves were obtained, indicating the accuracy of the ADM1 model.This approach allowed the characterization of the sludge and estimation of its biogas production potential.The combination of BMP assays, experimental data, and ADM1 model simulations provided a framework for studying anaerobic digestion (AD) processes.

INTRODUCTION

2Renewable energy plays a strategic role for energy security worldwide, since the main energy sources currently used are based on fossil fuels petroleum and coal, which are not renewable and pollute the environment (Chen et al., 2018;Vasco-Correa et al., 2018;Sillero, Solera & Perez, 2022).

3Increasing amounts of sewage sludge (SWS) are generated all over the world at wastewater treatment plants (WWTPs) and its sustainable management is an important issue due to economic, environmental, and human health concerns (Zan et al., 2022;Ma et al., 2019).

4Anaerobic digestion (AD) is a well-known complex microbial process in which organic waste, including SWS, is converted into bioenergy.This process integrates the set of waste management biotechnologies employing a diverse consortium of microorganisms (MO) to convert organic residues into CH 4 -rich biogas (Angelidaki et al., 2018).AD of SWS is considered a relevant decarbonization process worldwide.

5Producing and collecting CH 4 from SWS reduces water pollution and CH 4 emissions to the atmosphere (Jiang et al., 2022), meanwhile using this renewable source of energy contributes to saving environmental resources (Deng et al., 2022).However, the application of this approach in an industrial scale requires evaluation of biomass production and conversion systems, including feedstock selection and growth; harvest; storage conditions; bio-gasification; gas cleaning; gas use and residue processing (Volschan Junior, de Almeida & Cammarota, 2021).

6The development of highly accurate mathematical models is currently a focal point in research efforts, as these models can effectively assess digester performance capabilities (Achinas & Euverink, 2016).

7The current state-of-the-art model, the Anaerobic Digestion Model No. 1 (ADM1) was originally developed by the International Water Association-IWA Task Group (Batstone et al., 2002).The model was further improved resulting in the BSM2 version (Alex et al., 2019;Donoso-Bravo et al., 2020), the xp version, among others.One of the key points for successful application of mathematical models to describe a particular bioprocess is achieving adequate input characterization (Batstone et al., 2002).In this scenario extensive model calibration procedures are required to improve accuracy and sensitivity (Weinrich & Nelles, 2021).Mechanistic models have in common that they need to be carefully calibrated (Sappl, Harders & Rauch, 2023).Computational simulation (CS) evaluates the different processes and operation variables on the performance of the CH 4 biogas production in AD (Jimenez et al., 2020;Batstone & Virdis, 2014;Batstone et al., 2015).The ADM1 model has been used by several modelling studies in sewage AD (Guo et al., 2023;García-Gen & Wouwer, 2021;Maharaj et al., 2019;Urtnowski-Morin et al., 2021;Zhao et al., 2019).

8The biochemical methane potential (BMP) assay has been widely used to test the anaerobic degradability of different organic wastes, and it is considered a suitable method to compare the degradability of different substrates (Lavergne et al., 2018).This test enables the assessment of the decomposability and the CH 4 conversion efficiency of diverse organic materials.Owen et al. (1979) initially introduced the BMP test, outlining a procedure to ascertain the decomposability of a substrate by monitoring the cumulative CH 4 production from an anaerobically incubated sample over a period of time (Cabbai et al., 2013;Elbeshbishy, Nakhla & Hafez, 2012;Kafle & Chen, 2016;Raposo et al., 2011;VDI 4630, 2016).However, the results obtained for the same substrate often differ among laboratories and much work to standardize such tests is still demanded (Astals et al., 2013;Filer, Ding & Chang, 2019;Grosser, 2018;Raposo, Borja & Ibelli-Bianco, 2020;Strömberg, Nistor & Liu, 2014).The German VDI 4630 (VDI 4630, 2016) is a BMP guideline that discusses the typical shape of methanogenic curves.However, the guideline presents only hypothetical idealized curves and does not discuss actual measurements, being not clear what might actually cause each response (Koch et al., 2019).According to Filer, Ding & Chang ( 2019) because of the lack of a standardized protocol, there have been serious drawbacks impacting the industry users, as the reliability of generated information could be questioned, due to the potential effects laboratory-specific experimental and operational conditions, as well as data presentation on the results, limiting the comparability of published results.During the years several authors have worked to improve the BMP method (Angelidaki et al., 2009;Pearse, Hettiaratchi & Da Costa, 2020;Rodrigues et al., 2019;Wang et al., 2020).Numerical prediction methods using initial data acquired from conventional bench-scale BMP assays were recently proposed (Catenacci et al., 2022;Guo et al., 2023;Nabaterega, Nazyab & Eskicioglu, 2023).However, the BMP method is still undergoing evolution, and researchers are investigating crucial aspects to further mitigate potential sources of bias.

9In the present study, we developed a methodology that combines biochemical methane potential (BMP) assays and total chemical oxygen demand (tCOD) data with a computational simulator, employing the BSM2 version of the ADM1 model (Alex et al., 2019), for the coupled full-scale anaerobic reactor (AR) and the BMP assay systems.By doing so, we were able to generate a comprehensive and detailed view of the AR processes, including a description of the inflow and outflow SWS compositions.This methodology can be applied to analyze the biogas production and the underlying processes in full/real-scale applications.

Sampling and samples characterization

10Samples of SWS were collected from an active anaerobic digester at a large municipal WWTP located in Rio de Janeiro, Brazil.The WWTP has a treatment capacity of 7,400 m 3 day −1 and a hydraulic retention time (HRT) of the AR is 28 days.It treats 2.5 m 3 s −1 of wastewater and serves a population equivalent to 1.5 million inhabitants.Standard methods (APHA, 2017) were used to measure physicochemical parameters.

11The operational parameters applied to the BMP assay are shown in Table 1.

12The initial and final pH values were measured using an MS Tecnopon model Mpa210 meter, and temperature levels were recorded with a digital thermometer.Chemical oxygen demand (COD) was determined using a Shimadzu UV-1800 UV-VIS Spectrophotometer, while alkalinity was measured via potentiometric titration.Total Solids (TS), total fixed solids (TFS), total volatile solids (TVS), volatile suspended solids (VSS) were quantified using a gravimetric method with the analytical scale Gehaka AG200 (Gehaka, Sao Paolo, Brazil).Total organic carbon (TOC) analyses were carried out using a Shimadzu Total Organic Carbon Analyzer TOC 5000A (Shimadzu, Kyoto, Japan).Both inoculum and substrate, approximately 100 mL in total, were employed for the BMP assays with SWS as per the recommendation by VDI 4630 (2016).

BMP assays: experimental procedure

13The BPM assay was carried out according to previous studies by Angelidaki et al. (2009) and the German Guideline for Fermentation of Organic Materials (VDI 4630, 2016), in order to evaluate CH 4 production from sewage sludge SWS in bench-scale.

14The experiment was conducted in six replicates R1-R6 (n = 6) incubated during 11 days under mesophilic conditions (37 ± 0.1 • C) using water-bath with digestion bottles of 250 mL total volume and 100 mL working volume (Fig. 1).

15The BMP assay was carried out using four borosilicate Schott bottles (Fig. 1), chosen for their ability to withstand high temperatures and pressures.The first bottle in the sequence, referred to as the digester bottle (Fig. 1), featured pipes that had no contact with the inoculum, only with the gases produced.The second bottle was filled with a NaOH solution which served as a barrier to retain CO 2 .The cannula was submerged in this basic solution as the gases generated in the digestion process were bubbled through it.The third bottle contained 1 L of a saturated NaCl solution and was equipped with a silicone stopper fitted with two 3-way taps.One tap was connected to the second bottle containing the alkaline solution, while the other tap was linked to the fourth bottle, which measured the displaced water volume.

16To prevent gas leakage from the digesters, caps and connectors were securely sealed using high vacuum grease.In order to eliminate any existing O 2 in the system, N 2 gas was flushed into the headspace of the bottles for a period of 2 min.For bottle sealing, silicone stoppers with two holes each were employed.Two 3-way faucets were then inserted into the tops of these silicone stoppers, enabling external connections to the system.The analysis of gas volume produced during the experiment continued until the cumulative gas curve reached a plateau.

17The sealing of the biodigester system was checked using a high-pressure pump, a differential dual port piezoresistive pressure transducer MPX5050DP, a Fluke multimeter, and an Arduino data logger.The bottles were gently shaken manually every day to prevent particle retention and system clogging.

18This experimental setup allowed for precise measurements and ensured the integrity of the gas samples throughout the BMP assay.

ADM1 model

19The Anaerobic Digestion Model 1 (ADM1) is the quasi-industry standard for modelling the AD processes that result in CH 4 production from wastewater (Allen et al., 2023).It was developed by the International Water Association (IWA) and is based on several simpler AD models.It considers a continuously stirred tank reactor containing wastewater and 12 different bacterial groups that consume/produce 12 different substrates.This scenario is described by a system of 24 ordinary differential equations (ODEs).The model also considers physio-chemical reactions within the substrate itself, increasing the number of substrates to 23 and increasing the total number of state variables to 35.These physiochemical reactions are classified into two categories: acid-base reactions and liquid-gas exchange, both of which can be modelled by ODEs, resulting in the total system being described by 35 ODEs.

20In this work, the Benchmark Simulation Model 2 (BSM2), (Alex et al., 2019), which is a modified version of the IWA ADM1 model (Batstone et al., 2002), is employed.The model comprises two extracellular stages, namely disintegration and hydrolysis, and three intracellular stages: acidogenesis or fermentation, acetogenesis, and methanogenesis.The extracellular stages were modeled using first-order kinetics.In this work we will use, interchangeably, the variables and model parameters naming notation employed by Alex et al. (2019), and Batstone et al. (2002), and Allen et al. (2023).For instance, complex composite concentration will be represented interchangeably by X c or X_c.

21Initially, X_c was disintegrated into X_ch, X_pr, and X_li, as well as X_i and S_i, using a disintegration coefficient (kdis).Monod-type kinetics were used to describe substrate uptake in the intracellular biochemical reactions.In this study, two sequentially coupled simulators based on the ADM1 model were employed for the AR process and the BMP assay to provide a more comprehensive assessment of the inflowing sewage sludge, which will be explained in the following section.

22In this study, we utilize a novel DAE-based (Differential Algebraic Equation) implementation of ADM1, developed in the Julia programming language.This implementation bears resemblance to a recent work by Allen et al. (2023).Our implementation, however, adopts the DAE approach, instead of the ODE approach employed by Allen et al. (2023).Our choice of this approach was motivated by its exceptional computational efficiency, surpassing that of alternative DAE-based implementations in Java and Python.As a result, it empowers us to conduct intricate optimization analyses without incurring undue computational expenses.

23The stoichiometric, biochemical and physicochemical model parameters values were those presented in Rosén & Jeppsson (2005), and were not modified to represent the situation under study.

Anaerobic reactor system simulation module

24The first application of ADM1 was employed to simulate the treatment of influent sludge in the anaerobic reactor (AR), which is a continuous process.The SWS inflow is a complex particulate mixture, which is characterized by the COD mass (X_c).The primary constituents of X_c were found to be organic compounds (X_ch, X_pr, and X_li) and inorganic components (Xi and soluble inert material (Si)).The unity (kg COD m −3 ) was utilized to input X_c and other organic substrates into the model.Subsequently, X_c was decomposed into five distinct components, according to their corresponding proportions, as determined by the yield of the product to the substrate (f_product_substrate), which led to hydrolysis, acidogenesis, acetogenesis, and methanogenesis.The input state variables of the soluble fractions (Ss) in the AR ADM1 module were set based on a best fit procedure as explained below.

BMP system simulation module

25The second application of ADM1 was employed to simulate the BMP, which is a batch assay.Inhibition was not applied, since the BMP tests had parameters such as temperature controlled, and pH maintained around the neutral value.The input parameters required for the BMP ADM1 module are the complete set of components that characterizes the AR outflow SW.The module predicts the curve of CH 4 production as a function of time as output.

Combined AR and BMP ADM1 model parameters selection and validation

26A methodology employing two coupled stages-AR and BMP-was applied to model the entire AD process, including the original bioreactor, and to infer additional parameters from BMP assays.A block diagram of the combined ADM1 model is shown in Fig. 2.

27The first stage (AR ADM1 module) simulates a continuous-flow stirred-tank reactor (CSTR), while the second stage (BMP ADM1 module) simulates a batch reactor-the BMP assay.The output of the first module serves as the input for the second module.The input parameters of the first module are obtained through an iterative optimization solver.The solver minimizes the discrepancy between the simulated and measured values for the CH 4 production curve at selected times and the COD at the beginning of the BMP assay.

28The methodology employed for determining the model parameters follows a leastsquares optimization approach, elaborated as follows.The primary objective of the least-squares optimization is to identify the model parameters that most effectively align with the experimental dataset.This dataset comprises 'n' data points represented as pairs (x i ,y i ),i =1 ,...,n, where x i signifies an independent ADM1 parameter, and y i corresponds to a dependent parameter derived from the BMP assays.The model function is denoted as f (x i , ), with m adjustable parameters encompassed in the parameter vector .The ultimate aim is to determine the parameter values for the model that offer the closest fit to the data.The fitting quality of a model to a given data point is quantified by the residual r i , which signifies the disparity between the observed value of the dependent variable and the value predicted by the model:

29The parameters were determined through the weighted least-squares method to identify optimal values that minimize the sum of squared residuals, S, as in Poggio et al. (2016):

30Here, y m,i represents the ith measured value of the target measurement, assumed to be a normally distributed random variable.f (x i , ) denotes the model prediction at the time corresponding to data point i, treated as a function of the set of parameters to be estimated.Additionally, σ m,i stands for the standard error of the measurement, y m,i , and serves as a weight for each term in the sum.

31The standard error was estimated from the measured values, using the expression

32where σ is the standard deviation, and n is the number of samples.In the case of the combined AR-BMP ADM1 model, the target measurement is the accumulated methane production along the BMP tests.The standard error of each measurement was estimated using the standard deviation of the BMP results.Numerous optimization libraries are readily accessible within the Julia platform, facilitating rapid prototyping and experimentation with diverse strategies to address implementation optimization challenges.Various alternatives underwent testing, with Optimization.jlstanding out.This library aims to amalgamate an array of optimization packages, both local and global, into a cohesive Julia interface.Optimization.jlintroduces high-level attributes, such as seamless integration with automatic differentiation, rendering its utilization straightforward for most scenarios, all while retaining the entirety of options within a unified interface.

33Though a simple gradient-based approach might suffice in certain instances, complications can arise due to positivity constraints.Gradient based methods suffer from many shortcomings such as slow convergence, difficulty with discontinuous problems, local minima and saddle points, among others.Consequently, an extensive array of methods available in the Optimization.jllibrary underwent evaluation in this work, ultimately revealing the DE/rand/1/bin method as the most suitable contender.

34The ''DE/rand/1/bin'' optimization method is a specific variant of the Differential Evolution (DE) algorithm, a versatile technique for solving optimization challenges across domains.

35The DE/rand/1/bin implemented in the Julia language Optimization.jllibrary was therefore used as the minimization technique, with a tolerance for convergence of 4E-3 in the objective function.The estimation process is repeated using different initial guesses of parameters to check the convergence of the algorithm towards the same optimum values.

36The combined AR-BMP model employs, as input data, the COD values of the wastewater treatment plant (WWTP) sludge and the CH 4 production from the BMP assay.The iterative optimization method is employed to find the initial condition of the WWTP sludge (X_ch, X_pr, and X_li), as well as the effective hydraulic retention time (HRT) of the AR, which are input parameters of the AR ADM1 model.The search method is iterated until the initial conditions of the BMP ADM1 module, obtained from the AR module, result in a simulated CH 4 production curve that best matches the values at the points of the methanogenic curve obtained in the BMP assay.

37As a result, the coupled AR-BMP model produces a simulated BMP methanogenic curve that best fits the values of the methanogenic curve obtained in the BMP experimental assays, in the least squares sense.The model was thus calibrated using the experimental

Substrate characterization

38Table 2 shows the SWS physicochemical characterization used as feedstock in the BMP assays.Discrete changes in pH (7.43 ± 0.1 to 7.60 ± 0.1) were observed after 11 days in the reactor (Table 2), which is within the expected range, due to the growth of microorganisms (MO) and biogas production in all reactors without the addition of a buffer solution.The substrate pH was recorded at the beginning and end of the experiment to ensure that inhibition did not occur in the microbial communities.Alkalinity (2,382 ± 100 mg CaCO 3 L −1 ) and CODt value (21,903 ± 1,000 mg L −1 ) (Table 2) indicate the sludge's capability of buffering the reaction and the oxygen consumption capacity during the oxidation of the sludge organic matter (OM) into CO 2 and water.TOC (895 ± 100 mg CaCO 3 L −1 ) is the carbon in the OM oxidized and measured through the release as CO 2 .The biological processes lie in the ability of MO to use biodegradable organic compounds and transform them into by-products (Lucas et al., 2015).Regarding solid series, the following results were obtained after SWS characterization (Table 2): total solids (TS) 2.0%, total volatile solids (TVS) 1.1%, and volatile suspended solids (VSS) 0.8%.This suggests that anaerobic sludge contains more organic than inorganic compounds.The amount of biomethane yield produced is related to the mass of VS in these samples.

BMP assay results

39The curves of cumulative CH 4 production (Fig. 3) are within a narrow range of values and the standard deviation curve (Fig. 4) shows that the BMP reactors achieved good reproducibility.The round of experiments (R1 to R6) produced the following CH 4 values ( (Batstone et al., 2015), and these patterns have meaningful implications (Labatut, Angenent & Scott, 2011).Temperature plays a crucial role in microbial interactions and affects the stability and performance of AD and the thermodynamic equilibrium of biochemical reactions in the AD process (Lin et al., 2017).

40The proposed BMP assay setup enabled daily measurement of biogas volume, which yielded satisfactory results.The alkaline solution used in the setup efficiently retained the produced CO 2 .Furthermore, the BMP assays were conducted at mesophilic temperature, which contributed to the stability of the system.Mesophilic reactors are preferred for easy biodegradable biomass (Issah, Kabera & Kemausuor, 2020).The CH 4 yield production was found to be 113, 130, 124, 129, 127, and 118 mL CH 4 g −1 VS −1 in R1 to R6, respectively.These results demonstrate the effectiveness and accuracy of the experimental rounds conducted for the BMP assays (Table 4 and Fig. 5).

41Table 5 shows the final (tCOD f ) values and the biodegradability rate (23-28%).The CH 4 yield can be normalized either per volume of substrate (mL CH 4 L −1 ), substrate mass volatile solids (mL CH 4 g −1 VS), or substrate mass chemical oxygen demand (COD) (mL CH 4 g −1 COD sub ).The last method allows direct conversion of the results into percentage of OM converted to methane using the theoretical calculation of 0.350 m 3 CH 4 per kg COD converted (McCarty, 1964).

Combined ADM1 computational simulation

42The simulation results, employing the above data and model parameters presented in Table 6, are shown in Fig. 5, along with the results from the BMP assay.The simulated production curve is very similar to the one obtained in the BMP assay, indicating that the combined ADM1 model can reproduce the expected results.This makes the computational simulation (CS) a useful tool for elaborating and planning laboratory experiments.Tables 7 CH 4 yield mL CH 4 g −1 COD 5.6 6.5 6.2 6.1 5.9 6.3 6.15 ± 0.9 and 8 show the SWS composition according to the ADM1 model, applying the iterative optimization method and based on the SWS COD initial real value in the BMP assay feedstock.

43The data in Table 7 show that the AR inflow is well characterized basically by a mixture of complex composites (40.769 kg COD m −3 ), with a small addition of protein (8.127 kg COD m −3 ), and trace amounts of additional lipids (8.127 kg COD m −3 ) and inert particulate (0.087 kg COD m −3 ).

44It must be stressed that the complex composites category in ADM1 results in a predefined distribution of carbohydrates, proteins, lipids, and inert particulate matter when hydrolyzed.Thus, the net effect of including additional protein, lipids and inert particulate is to correct the default composition of the complex composite and to produce simulation results that better approximate the observed data.

45The results obtained by the ADM1 modeling were very close to those obtained experimentally in the BMP test, illustrating the quality of the model proposed by the International Water Association (IWA).By using this model together with a least-squares iterative method, a detailed SWS composition consistent with the BMP data was found (Table 8).

46Table 8 shows the main concentrations present in the AR sludge, which include inert particulate, complex composite, inert soluble, and amino acid consumers.The composition of the AR sludge indicates a significant decrease in the concentration of complex composite (to approximately 5 kg COD m −3 ) and a considerable increase in the concentrations of inert particulate and inert soluble.Results in Table 8 were obtained by numerical calculation, and refer to the modeled composition output of the AD, and feed to the BMP model that best approximates the results of experimental BMP results.The low concentration of the composite X_c when compared to the inert X_i and S_i concentrations is consistent with a composition of the output variable values of a AD, where the Xc undergoes an efficient consumption.

47Also the high values of X_aa and X_ac, when compared to other five biomass fractions, are compatible with results found in other AD simulations and experimental results.

48Total acetate concentration is fed by six processes (with biochemical process rates ρ 5 to ρ 10 ) thus resulting in an acetate concentration that is comparatively higher than each of the six original sources.Also, acetate consumers do not have a faster metabolism compared to other consumers in the process.For instance, K_m_ac = 8 d −1 , while K_m_pro = 6 d −1 .Combining these two factors (larger concentration of acetate and relatively slow acetate consumers biochemical process rates), a larger mass of acetate consumers X_ac is required to consume the results of the acetogenic metabolic pathway production.If not properly taken into account, the high concentration of acetate could lead to reduced methane production due to the inhibition of acetoclastic methanogens caused by low pH.

49On the other hand, protein load in the feed is relatively high, and amino acid production is proportionally high, thus a larger mass of amino acid consumers X_aa is to be found at the AD process output when the process reaches a steady state.A relatively high concentration of proteins, relative to carbohydrates and lipids is not uncommon in wastewaters in tropical climates.

50By matching the ADM1 results with the BMP assays experimental measurements, an equivalent composition was obtained (Table 8 and Fig. 5).Table 9 provides a numerical comparison between BMP CH 4 production experimental results and ADM1 computational results, showing a maximum discrepancy of less than 2.8%.Based on the similarity of the results, it can be concluded that the model is suitable to characterize SWS and biogas production potential.

Results of validation of ADM1 model DAE-Based Julia implementation

51The new Julia language implementation of the DAE-ADM1 model is validated comparing results with the ODE-Based Julia implementation (Allen et al., 2023).Validation tests were performed on various benchmark problems, showing very good agreement.In this section we present the results of the test performed on the data obtained in the previous section (Tables 6 and 7), in order to provide a validation of the results of the simulations performed in this work.Figures 6 to 10 show the results of the AR simulation using the current DAE implementation, compared to the results obtained by the DAE implementation of Allen et al. (2023).The validation tests demonstrate that the results have a very good agreement, perform model parameter estimations and operational parameters optimization.The tests were performed on an Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20 GHz, with 16GB 3733 MHz LPDDR4X memory, macOS Ventura 13.5.2,and Julia v1.9.

Operational parameters and biogas production

52AD pH stability is the main controlling factor in balancing the system (Issah, Kabera & Kemausuor, 2020).No pH adjustments were made during the BMP assays due to the buffer capacity of the SWS.The twice-daily stirring and agitation of the digesting vessels allow for the release of gas during the assays and at the same time avoiding clogging of the connecting valves.Biogas yield decreases when the pH value is higher than 7.6 or lower than 6.8 (Pilarski et al., 2020).Process variables, such as temperature and pH, are the principal factors affecting the smooth digestion process (Castellano-Hinojosa et al., 2018).At very high or very low temperatures, bacterial and archaeal activities may be curtailed, leading to low yields, and unbalanced pH could result in volatile fatty acid (VFA) accumulation that could result in MO mortality (Issah, Kabera & Kemausuor, 2020), especially methanogenic ones.

53High values for alkalinity indicate that the reaction is buffered, so the pH does not undergo major changes (Angelidaki et al., 2013).The SWS alkalinity value in this study (2,382 ±100 mg CaCO 3 L −1 ) is similar to the alkalinity found in other SWS from WWTP as observed by Grosser et al. (2020), who investigated the BMP of SWS from a WWTP in Poland (2,823 mg CaCO 3 L −1 ).

54The tCOD value (21,903 ± 1,000 mg L −1 ) is consistent with values found in other studies, such as 25,250 mg L −1 by Park et al. (2021) and 22,300 mg L −1 by Wickham et al. (2018).

55As MO converts chemical energy to CH 4 , this is directly associated with the maximum energy that can be recovered as biogas (Raposo et al., 2012).The inoculum taken from an active anaerobic digester (AR) that is digesting complex organic matter (OM) and is at a steady state at the time of sampling provides a highly diverse microbial community, able to digest a large variety of organic molecules (Holliger et al., 2016).

56Similar results for SWS mono-digestion (Table 4) were also reported by Alves et al. (2020) (138.2 mL CH 4 g −1 VS −1 ), Pan et al. (2019) (124.43 mL g −1 VS −1 ), Park et al. (2021) (100-175 mL CH 4 g −1 VS −1 ), and Zou et al. (2018) (88.1 mL CH 4 g −1 VS −1 ).The sanitation sector, with the use of SWS AD, has the possibility of transforming an environmental liability into an energy asset.

Carbon content and sludge biodegradability

57The biodegradability rate achieved in the present study is consistent with the COD removal percentages reported in previous studies based on SWS BMP assays, such as Maragkaki et al. (2018), Kashi et al. (2017), andZhang, Hu &Lee (2016), which achieved removal percentages of 28.9%, 16.0%, and 25.2%, respectively.OM is measured by the amount of carbon in a feedstock (Ferguson, Coulon & Villa, 2018;Gohil et al., 2018) and biomethane yield is affected by the VS content (Mayer et al., 2014).Therefore, CH 4 production is directly related to the degradation of VS (Angelidaki et al., 2009) being VS the OM component of TS.

58Systems used in AD are classified according to the percentage of TS in the feedstock (Yi et al., 2014).The biogas yield mainly depends on the content of organic compounds in the feedstock, including fats, proteins, and carbohydrates, which are biologically degradable under AD (Abdul Aziz, Hanafiah & Mohamed Ali, 2019).Anaerobic MO can be inhibited by substances present in the substrate or by compounds generated in the metabolism itself (Mustapha et al., 2018).The biochemical methane production potential of the substrates intended for anaerobic digestion and their specific organic loads can be utilized to design various components of full-scale AD plants, including the size of digesters and the potential for utilizing the generated biogas (Filer, Ding & Chang, 2019).SWS is an optimal inoculum for BMP assays because of the diversity of its microbial population (Raposo et al., 2011).A well-functioning AD must contain a balanced microbial consortium community for efficient biogas production (Issah, Kabera & Kemausuor, 2020).The experimental results showed that the SWS obtained from a municipal WWTP has the capability to produce CH 4 , and it is considered as a feasible strategy for bioenergy production.The biodegradability properties of substrates and production of inhibitory intermediate products will mainly control the kinetics of AD different steps and define the shape of the biogas production curve, identifying important characteristics of substrates and anticipating digestion issues (Labatut, Angenent & Scott, 2011).

59COD is commonly used to measure the organic strength of liquid effluents.At WWTPs, each kilogram of COD removed will yield 0.35 m 3 of CH 4 gas at standard temperature and pressure (Jingura & Kamusoko, 2017).The theoretical CH 4 yield can be calculated from the COD of a substrate, and biogas production in relation to COD is about 0.5 L g −1 COD removed, corresponding to a CH 4 production of approximately 0.35 L g −1 of COD removed (Angelidaki & Sanders, 2004).

Feasibility of using the model as a tool to predict BMP results

60The ADM1 CS can be used to compare the decrease in COD observed experimentally with the values obtained from numerical simulation.Furthermore, the model can be validated by comparing and calibrating the methanogenic activity and production curves.AD processes are conducted under laboratory conditions and scaled to pilot-scale trials.This methodology can be applied to support the development of experiments and full-scale reactor projects.The generated BMP data's scalability and transferability allow the results to be applied to larger-scale systems, facilitating the development and optimization of AD processes (Jingura & Kamusoko, 2017).

61The ADM1 model can be adapted to individual cases.There are certain factors in ADM1 that require the user's discretion, such as the fractionation of composition (Xc) and the definition of inert ingredients, soluble (SI) and particulate (XI).However, there are hypotheses that may restrict the model's applicability in anoxic environments.For instance, the influent particulate composite substrate and the cytolysis product use the same component Xc, which requires a disintegration process before hydrolysis.Therefore, characterizing the influent sludge becomes particularly challenging.

Combined AR-BMP model output and comparison with BMP assay: estimation of outflow composition, biogas production, and operation parameters of the full-scale AR

62The methodology developed in this study involved using two coupled ADM1 models to validate the complete AD process, including the original bioreactor, and to infer additional parameters from the BMP assays.The first model simulates a continuous-flow stirred-tank reactor (CSTR), and the second model simulates the BMP assay, which is a batch reactor.The input of the second model is given by the output of the first model, and the input parameters of the first model are obtained by means of an iterative optimization method that minimizes the error of the obtained methane production curve along with the COD at the beginning of the BMP assay, as seen in Fig. 2. Therefore, the proposed methodology, using the combined ADM1 model, solves the challenging problem of characterizing the influent sludge in a systematic way.This methodology can be applied to support the development of experiments and full-scale reactor projects.The scalability and transferability of the data obtained with BMP assays can be used to apply the results in larger-scale systems (Jingura & Kamusoko, 2017).

63The feasibility of using the model as a tool to predict BMP assays results and reduce possible mistrust in experimental results can be further evaluated by comparing the COD decrease observed experimentally in bench-scale and the values obtained in the numerical simulation.Also, the methanogenic activity and the production curve can be compared and calibrated to validate the model.

Optimization of operational parameters using the combined AR-BMP model calibrated with BMP assays

64Once the AR-BMP simulator is calibrated, it can be employed to optimize operational parameters of the AR system.As the new Julia language implementation of the BSM2 DAE ADM1 model developed in this work is very fast, when compared to previous implementations, it is very well suited for optimization purposes.

65To demonstrate the capabilities of the methodology, an example of the optimization of the AR operational parameters is presented.In this example, the influence of the parameters 9.

66Full-size DOI: 10.7717/peerj.16720/fig-11 solute residence time, and particulate residence time is analyzed.The residence time can be increased by improving the flow patterns on the AR with inappropriate mixing, reducing slow recirculation flow regions or dead zones and dead time.On the other hand, particulate residence time can be selectively increased by providing a low mixing region at the outflow region, allowing for particle segregation due to the settling velocity.

67To perform an optimization study, we define the following parameters:

68where V ,V p ,V s are the reactor nominal effective volume, the particulate effective volume, and the solute effective volume.Results of the simulations using the calibrated model for various values of χ and κ are shown in Fig. 11.It can be observed that the CH 4 production improves, for all values of κ, with the increase of χ from 0 up to an optimal value.The optimization provides the best value of χ for each value of the parameter κ, keeping the same reactor nominal effective volume V .Table 10 shows the CH 4 production at the optimum χ for each of the simulated κ values.It can be observed that CH 4 production can be increased by more than 5%, with respect to the unmodified parameter values, by optimizing the values of χ and κ.This methodology can be employed, along with numerical simulations of the particulate fluid flow or the results of properly reduced scale models, to assess the potential benefits of a proposed improvement of the process.

CONCLUSIONS

69The present study was based on the assembly of bench-scale bioreactors (BMP assays) and the use of experimental data obtained to feed the ADM1 mathematical model with subsequent calibration to simulate the anaerobic digestion of an anaerobic sludge obtained at a municipal WWTP.The bench scale BMP assays resulted in cumulative CH 4 production ranging from 124 to 143 NmL CH 4 and CH 4 yields ranging from 113 to 130 mL CH 4 g −1 VS −1 after 11 days of BMP assay.

70A method that employs two coupled ADM1 model applications and BMP assay, combined with an iterative optimization method, was developed to characterize sewage sludge and biogas production potential by an equivalent composition that produces similar methanogenic curves.

71The approach presented in this investigation can be used to design experiments in batch reactors using sewage sludge as feedstock to produce biogas, and to optimize the biogas production in the large scale biogas plant, which is very important for practical use.

72Further studies applying BMP assays and computer simulations of both AR and BMP processes, including flow and particle transport simulations, are recommended for better understanding of the anaerobic digestion process.The results achieved can be used not only to define experiments in batch reactors having sewage sludge as feedstock to produce biogas but also to investigate microbial communities associated with methane production using molecular biology tools.Finally, the combination of BMP tests and biological data will be useful to predict the best conditions to operate anaerobic reactors to produce bioenergy.

73• Norberto Mangiavacchi conceived and designed the experiments, analyzed the data, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft.

Figure 1

74Figure 1 Schematic diagram of BMP apparatus used in BMP assay.Vessel 1 is the BMP reactor, vessel 2 contains a 3 M NaOH scrubbing solution, vessel 3 contains 1 M NaCl saline solution.Vessel 4 is initially empty and collects the saline solution displaced by the CH 4 gas collected in vessel 3. Full-size DOI: 10.7717/peerj.16720/fig-1

Figure 2

75Figure 2 Schematic diagram of the methodological approach adopted in the present study: combined BMP assay-ADM1 model.Top: Experimental assay.The full scale AR receives SWS with Inflow state, and its outflow feeds the BMP assay that produces the experimental cumulative CH 4 production.Bottom: Combined ADM1 model, implemented in Julia language.An estimated SWS inflow enters the AR ADM1 module, and its output feeds the BMP ADM1 module, resulting in the Simulated cumulative CH 4 production.The sum of squared residuals S between the experimental and the simulated CH 4 production curves feeds the optimization routine that corrects the estimated SWS inflow parameters, until the sum of the squared residuals S is minimized.Full-size DOI: 10.7717/peerj.16720/fig-2

Figure 3

76Figure 3 Methane cumulative production during the experiment: R1 to R6 (124, 143, 137, 142, 140 and 130 NmL CH 4 , respectively), mean and standard deviation.Full-size DOI: 10.7717/peerj.16720/fig-3

Figure 4

77Figure 4 Methane production yields R1 to R6 (113, 130, 124, 129, 127 and 118 mL CH 4 /g VS, respectively), mean and standard deviation.Full-size DOI: 10.7717/peerj.16720/fig-4

Figure 5

78Figure 5 Methanogenic curve obtained with the BMP experimental assay versus the curve obtained with the computational simulation using the ADM1 simulation model.Full-size DOI: 10.7717/peerj.16720/fig-5

Figure 6

79Figure 6 Concentration curves of Xc, SI an XI obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model (Allen et al., 2023).Lines with circles correspond to values obtained in the current simulations.Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results.Full-size DOI: 10.7717/peerj.16720/fig-6

Figure 7

80Figure 7 Concentration curves of Xch, Xpr and Xli obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model (Allen et al., 2023).Lines with circles correspond to values obtained in the current simulations.Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results.Full-size DOI: 10.7717/peerj.16720/fig-7

Figure 8

81Figure 8 Concentration curves of Xsu, Xaa and Xfa obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model (Allen et al., 2023).Lines with circles correspond to values obtained in the current simulations.Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results.Full-size DOI: 10.7717/peerj.16720/fig-8

Figure 9

82Figure 9 Concentration curves of Xc4, Xpro and Xac obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model (Allen et al., 2023).Lines with circles correspond to values obtained in the current simulations.Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results.Full-size DOI: 10.7717/peerj.16720/fig-9

Figure 10

83Figure 10 Concentration curves of Ssu, Saa and Sfa obtained with the computational simulation of the AR using the current DAE-ADM1 model implementation, compared with the results obtained with ODE-ADM1 model (Allen et al., 2023).Lines with circles correspond to values obtained in the current simulations.Curves with squares are obtained with the ODE-ADM1 model, showing virtually identical results.Full-size DOI: 10.7717/peerj.16720/fig-10

Figure 11

84Figure 11 Optimization of the production curve of CH 4 , considering a simple mixing/stratification model.The optimum production for the case κ = 1.0 is obtained for χ = 0.68, and the optimum production value is 29.84 kg COD/m 3 of effluent.The optimum values, for different values of κ, is marked by a dot in each curve.The relevant data is shown in Table9.Full-size DOI: 10.7717/peerj.16720/fig-11

Table 2 Sewage sludge physicochemical parameters.

85Final pH average; %TS, Total solids percentage; %TVS, Total volatile solids percentage; %VSS, Volatile suspended solids percentage; TCODi, Total initial Chemical Oxygen Demand; TOC, Total Organic Carbon.data to accurately simulate the AD process.The output of the first model results in sludge with COD values similar to the WWTP biodigester sludge.Additionally, it produces a more complete description of the AR outflow SW which is consistent with the input data.

Table 3

86):124, 143, 137, 142, 140, and 130 NmL CH 4. These results indicate that the BMP assays were accurate and effective.During BMP assays, biogas production curves can follow diverse patterns

Table 3 Methane production from sewage sludge in BMP assays

87(n = 6).

Table 4 Methane production from sewage sludge in experimental assays in the literature.

88Notes.OS, organic substrate; SS, sewage sludge; PS, primary sludge; m, mesophilic; Ym, CH 4 yield; n.a., not available.

Table 6 ADM1 stoichiometric, biochemical and physiochemical model parameters values used in the simulations.

89Values not marked are taken fromRosen and Jeppson (2006).Values highlighted with ''*'' are modified, and the original values are shown between parentheses ''( )''.

Table 9 Comparison between BMP CH 4 production experimental results and ADM1 computational results (mL CH 4

90g −1 VS −1 ).

참고문헌 75건

  1. Mathematical modelling of anaerobic digestion processes: applications and future needs Reviews in Environmental Science and Bio/Technology · Springer Science+Business Media · 2015 10.1007/s11157-015-9376-4
  2. Comparison on batch anaerobic digestion of five different livestock manures and prediction of biochemical methane potential (BMP) using different statistical models Waste Management · Elsevier BV · 2015 10.1016/j.wasman.2015.10.021
  3. Benchmark Simulation Model No 2: finalisation of plant layout and default control strategy Water Science & Technology · Pergamon Press · 2010 10.2166/wst.2010.044
  4. Bioassay for monitoring biochemical methane potential and anaerobic toxicity Water Research · Elsevier BV · 1979 10.1016/0043-1354(79)90043-5
  5. Anaerobic digestion of seven different sewage sludges: A biodegradability and modelling study Water Research · Elsevier BV · 2013 10.1016/j.watres.2013.07.019
  6. Long-term monitoring reveals stable and remarkably similar microbial communities in parallel full-scale biogas reactors digesting energy crops FEMS Microbiology Ecology · Oxford University Press · 2015 10.1093/femsec/fiv004
  7. Anaerobic digestion of solid organic substrates in batch mode: An overview relating to methane yields and experimental procedures Renewable and Sustainable Energy Reviews · Elsevier BV · 2011 10.1016/j.rser.2011.09.008
  8. BMP tests of source selected OFMSW to evaluate anaerobic codigestion with sewage sludge Waste Management · Elsevier BV · 2013 10.1016/j.wasman.2013.03.020
  9. Towards eliminating systematic errors caused by the experimental conditions in Biochemical Methane Potential (BMP) tests Waste Management · Elsevier BV · 2014 10.1016/j.wasman.2014.07.018
  10. Biochemical methane potential and biodegradability of complex organic substrates Bioresource Technology · Elsevier BV · 2010 10.1016/j.biortech.2010.10.035
  11. Batch anaerobic co-digestion of pig manure with dewatered sewage sludge under mesophilic conditions Applied Energy · Elsevier BV · 2014 10.1016/j.apenergy.2014.04.071
  12. Biochemical methane potential (BMP) of food waste and primary sludge: Influence of inoculum pre-incubation and inoculum source Bioresource Technology · Elsevier BV · 2012 10.1016/j.biortech.2012.01.025
  13. The role of anaerobic digestion in the emerging energy economy Current Opinion in Biotechnology · Elsevier BV · 2014 10.1016/j.copbio.2014.01.013
  14. Assessment of factors influencing the biomethane yield of maize silages Bioresource Technology · Elsevier BV · 2013 10.1016/j.biortech.2013.11.081
  15. Defining the biomethane potential (BMP) of solid organic wastes and energy crops: a proposed protocol for batch assays Water Science & Technology · Pergamon Press · 2009 10.2166/wst.2009.040
  16. Effect of Increasing Total Solids Contents on Anaerobic Digestion of Food Waste under Mesophilic Conditions: Performance and Microbial Characteristics Analysis PLoS ONE · Public Library of Science · 2014 10.1371/journal.pone.0102548
  17. The IWA Anaerobic Digestion Model No 1 (ADM1) Water Science & Technology · Pergamon Press · 2002 10.2166/wst.2002.0292
  18. Assessment of the anaerobic biodegradability of macropollutants Reviews in Environmental Science and Bio/Technology · Springer Science+Business Media · 2004 10.1007/s11157-004-2502-3
  19. Biogas from anaerobic digestion processes: Research updates Renewable Energy · Elsevier BV · 2016 10.1016/j.renene.2016.02.029
  20. Modelling the anaerobic digestion of solid organic waste – Substrate characterisation method for ADM1 using a combined biochemical and kinetic parameter estimation approach Waste Management · Elsevier BV · 2016 10.1016/j.wasman.2016.04.024
  21. Towards a standardization of biomethane potential tests Water Science & Technology · Pergamon Press · 2016 10.2166/wst.2016.336
  22. Theoretical analysis of biogas potential prediction from agricultural waste Resource-Efficient Technologies · 2016 10.1016/j.reffit.2016.08.001
  23. Synergistic effect from anaerobic co-digestion of sewage sludge and organic wastes International Biodeterioration & Biodegradation · Elsevier BV · 2016 10.1016/j.ibiod.2016.10.037
  24. Methods for determination of biomethane potential of feedstocks: a review Biofuel Research Journal · Green Wave Publishing of Canada · 2017 10.18331/brj2017.4.2.3
  25. Temperature regulates deterministic processes and the succession of microbial interactions in anaerobic digestion process Water Research · Elsevier BV · 2017 10.1016/j.watres.2017.06.051
  26. Improving biogas production from anaerobic co-digestion of sewage sludge with a thermal dried mixture of food waste, cheese whey and olive mill wastewater Waste Management · Elsevier BV · 2017 10.1016/j.wasman.2017.08.016
  27. Anaerobic digestion for bioenergy production: Global status, environmental and techno-economic implications, and government policies Bioresource Technology · Elsevier BV · 2017 10.1016/j.biortech.2017.09.004
  28. Determination of methane potential of mixtures composed of sewage sludge, organic fraction of municipal waste and grease trap sludge using biochemical methane potential assays. A comparison of BMP tests and semi-continuous trial results Energy · Elsevier BV · 2017 10.1016/j.energy.2017.11.010
  29. Application of a mixture design to identify the effects of substrates ratios and interactions on anaerobic co-digestion of municipal sludge, grease trap waste, and meat processing waste Journal of environmental chemical engineering · Elsevier BV · 2017 10.1016/j.jece.2017.11.045
  30. Biogas upgrading and utilization: Current status and perspectives Biotechnology Advances · Elsevier BV · 2018 10.1016/j.biotechadv.2018.01.011
  31. Towards developing a representative biochemical methane potential (BMP) assay for landfilled municipal solid waste – A review Bioresource Technology · Elsevier BV · 2018 10.1016/j.biortech.2018.01.069
  32. Anaerobic digestion of soft drink beverage waste and sewage sludge Bioresource Technology · Elsevier BV · 2018 10.1016/j.biortech.2018.04.046
  33. Seeking key microorganisms for enhancing methane production in anaerobic digestion of waste sewage sludge Applied Microbiology and Biotechnology · Springer Science+Business Media · 2018 10.1007/s00253-018-9003-8
  34. New concepts in anaerobic digestion processes: recent advances and biological aspects Applied Microbiology and Biotechnology · Springer Science+Business Media · 2018 10.1007/s00253-018-9039-9
  35. A need for a standardization in anaerobic digestion experiments? Let's get some insight from meta-analysis and multivariate analysis Journal of Environmental Management · Elsevier BV · 2018 10.1016/j.jenvman.2018.05.030
  36. Microbial responses and metabolic pathways reveal the recovery mechanism of an anaerobic digestion system subjected to progressive inhibition by ammonia Chemical Engineering Journal · Elsevier BV · 2018 10.1016/j.cej.2018.05.168
  37. Understanding microbial ecology can help improve biogas production in AD The Science of The Total Environment · Elsevier BV · 2018 10.1016/j.scitotenv.2018.06.007
  38. Mesophilic anaerobic co-digestion of residual sludge with different lignocellulosic wastes in the batch digester Bioresource Technology · Elsevier BV · 2018 10.1016/j.biortech.2018.07.129
  39. Comparative analysis of methods and models for predicting biochemical methane potential of various organic substrates The Science of The Total Environment · Elsevier BV · 2018 10.1016/j.scitotenv.2018.08.270
  40. Sustainable biogas production from agrowaste and effluents – A promising step for small-scale industry income Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.07.149
  41. Modified Anaerobic Digestion Model No. 1 for modeling methane production from food waste in batch and semi-continuous anaerobic digestions Bioresource Technology · Elsevier BV · 2018 10.1016/j.biortech.2018.09.091
  42. Effect of mixing intensity on hydrolysis and acidification of sewage sludge in two-stage anaerobic digestion: Characteristics of dissolved organic matter and the key microorganisms Water Research · Elsevier BV · 2018 10.1016/j.watres.2018.10.058
  43. ADM1 based mathematical model of trace element complexation in anaerobic digestion processes Bioresource Technology · Elsevier BV · 2018 10.1016/j.biortech.2018.12.064
  44. Methane from Human Excreta: Comparative Assessment of Batch and Continuous Biomethanation Process Journal of Pure and Applied Microbiology · Dr. M.N. Khan · 2018 10.22207/jpam.12.4.52
  45. Biochemical Methane Potential (BMP) Assay Method for Anaerobic Digestion Research Water · Multidisciplinary Digital Publishing Institute · 2019 10.3390/w11050921
  46. Synergistic effect and biodegradation kinetics of sewage sludge and food waste mesophilic anaerobic co-digestion and the underlying stimulation mechanisms Fuel · Elsevier BV · 2019 10.1016/j.fuel.2019.04.084
  47. Modelling hydrolysis: Simultaneous versus sequential biodegradation of the hydrolysable fractions Waste Management · Elsevier BV · 2019 10.1016/j.wasman.2019.10.004
  48. Identification of Critical Problems in Biochemical Methane Potential (BMP) Tests From Methane Production Curves Frontiers in Environmental Science · Frontiers Media · 2019 10.3389/fenvs.2019.00178
  49. Enhanced solubilization and biochemical methane potential of waste activated sludge by combined free nitrous acid and potassium ferrate pretreatment Bioresource Technology · Elsevier BV · 2019 10.1016/j.biortech.2019.122376
  50. Improvement of biomethane potential of sewage sludge anaerobic co-digestion by addition of “sherry-wine” distillery wastewater Journal of Cleaner Production · Elsevier BV · 2019 10.1016/j.jclepro.2019.119667
  51. Biogas optimisation processes and effluent quality: A review Biomass and Bioenergy · Elsevier BV · 2019 10.1016/j.biombioe.2019.105449
  52. Exploitation of the ADM1 in a XXI century wastewater resource recovery facility (WRRF): The case of codigestion and thermal hydrolysis Water Research · Elsevier BV · 2020 10.1016/j.watres.2020.115654
  53. The Efficiency of Industrial and Laboratory Anaerobic Digesters of Organic Substrates: The Use of the Biochemical Methane Potential Correction Coefficient Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13051280
  54. Synergistic effect and supernatant nitrogen reduction from anaerobic co-digestion of sewage sludge and pig manure Bioresource Technology Reports · Elsevier BV · 2020 10.1016/j.biteb.2020.100424
  55. Predictive regression models for biochemical methane potential tests of biomass samples: Pitfalls and challenges of laboratory measurements Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.109890
  56. The influence of grease trap sludge sterilization on the performance of anaerobic co-digestion of sewage sludge Renewable Energy · Elsevier BV · 2020 10.1016/j.renene.2020.07.108
  57. Enhanced anaerobic digestion of primary sludge with additives: Performance and mechanisms Bioresource Technology · Elsevier BV · 2020 10.1016/j.biortech.2020.123970
  58. Optimization and comparison of methane production and residual characteristics in mesophilic anaerobic digestion of sewage sludge by hydrothermal treatment Chemosphere · Elsevier BV · 2020 10.1016/j.chemosphere.2020.128516
  59. A new biochemical methane potential assay for landfilled waste using the organic fraction of municipal solid waste Bioresource Technology Reports · Elsevier BV · 2020 10.1016/j.biteb.2020.100579
  60. Assessing the use of crude glycerol from biodiesel production as an alternative to boost methane generation by anaerobic co-digestion of sewage sludge Biomass and Bioenergy · Elsevier BV · 2020 10.1016/j.biombioe.2020.105831
  61. A review of sludge pretreatment methods and co-digestion to boost biogas production and energy self-sufficiency in wastewater treatment plants Journal of Water Process Engineering · Elsevier BV · 2020 10.1016/j.jwpe.2020.101857
  62. A model-based optimisation strategy for the start-up of anaerobic co-digestion processes Renewable Energy · Elsevier BV · 2021 10.1016/j.renene.2021.02.007
  63. Upgrading waste material flow analysis with process models: The case of anaerobic digestion Journal of Cleaner Production · Elsevier BV · 2021 10.1016/j.jclepro.2021.126695
  64. Systematic simplification of the Anaerobic Digestion Model No. 1 (ADM1) – Model development and stoichiometric analysis Bioresource Technology · Elsevier BV · 2021 10.1016/j.biortech.2021.125124
  65. Anaerobic waste treatment fundamentals Public works · Public Works · 1964
  66. Recent advances in circular bioeconomy based clean technologies for sustainable environment Journal of Water Process Engineering · Elsevier BV · 2022 10.1016/j.jwpe.2021.102534
  67. “Food waste-wastewater-energy/resource” nexus: Integrating food waste management with wastewater treatment towards urban sustainability Water Research · Elsevier BV · 2022 10.1016/j.watres.2022.118089
  68. Study on anaerobic co-digestion of municipal sewage sludge and fruit and vegetable wastes: Methane production, microbial community and three-dimension fluorescence excitation-emission matrix analysis Bioresource Technology · Elsevier BV · 2022 101016jbiortech2022126748
  69. Study on anaerobic co-digestion of municipal sewage sludge and fruit and vegetable wastes: Methane production, microbial community and three-dimension fluorescence excitation-emission matrix analysis Bioresource Technology · Elsevier BV · 2022 10.1016/j.biortech.2022.126748
  70. Early prediction of BMP tests: A step response method for estimating first-order model parameters Renewable Energy · Elsevier BV · 2022 10.1016/j.renene.2022.02.017
  71. Improvement of the anaerobic digestion of sewage sludge by co-digestion with wine vinasse and poultry manure: Effect of different hydraulic retention times Fuel · Elsevier BV · 2022 10.1016/j.fuel.2022.124104
  72. Machine learning for quantile regression of biogas production rates in anaerobic digesters The Science of The Total Environment · Elsevier BV · 2023 10.1016/j.scitotenv.2023.161923
  73. Modification and calibration of anaerobic digestion model 1 to simulate volatile fatty acids production during fermentation of municipal sludge Biochemical Engineering Journal · Elsevier BV · 2023 10.1016/j.bej.2023.108886
  74. A novel approach for the fractionation of organic components and microbial degraders in ADM1 and model validation based on the methanogenic potential Water Research · Elsevier BV · 2023 10.1016/j.watres.2023.119945
  75. A New ODE-Based Julia Implementation of the Anaerobic Digestion Model No. 1 Greatly Outperforms Existing DAE-Based Java and Python Implementations Processes · Multidisciplinary Digital Publishing Institute · 2023 10.3390/pr11071899