1 Introduction

Anaerobic digestion model no. 1 (ADM1) was the integrated anaerobic model developed by the IWA Task Group for Mathematical Modeling of Anaerobic Digestion Processes in 2002 [1]. It consists of a number of processes to simulate all possible reactions occurring in anaerobic sludge including not only biological reactions, such as disintegration, hydrolysis of suspended solid, uptake (growth) and decay of microorganisms, but also physico-chemical reactions, including ion association/dissociation and liquid–gas transfer. In total, 19 processes, 24 components, and 56 relative stoichiometric and kinetic parameters were assumed for biological processes, and also, additional processes and parameters were determined for physico-chemical processes. Since a mechanistic model, such as the activated sludge model (ASM) series [2] and ADM1, has such delicate structures, the biological mechanisms are expressed well. However, it has a critical disadvantage that many parameters are difficult or impossible to measure [3, 4]. Furthermore, in the case of anaerobic digestion, practical application is very limited due to not only the complexity of processes and components, but also the lack of experience.

This research focused on how this anaerobic model should be analyzed and simulated for efficient application in anaerobic digestion processes. As an illustrative example of the analysis and evaluation of the application of this model, the anaerobic serum bottle test was considered, as its simplicity can give basic information about substrate degradation, methane production, and their mathematical expressions.

The serum bottle test model was constructed using ADM1 and the analysis of the model was based upon sensitivity analysis and parameter estimation. Sensitivity analysis is used to ascertain how a given model output depends upon the input parameters [5, 6] and it can be used as a tool for evaluating the importance and priority of parameters and reducing the amount of parameters to be estimated for effective model calibration [7].

Genetic algorithms (GAs), one of the stochastic optimization algorithms, which was at first introduced by Holland in 1975 [8], was used for the parameter estimation [4, 9]. Because GAs have advantages in solving nonlinear and complex problems, they have been widely used in many applications to produce a global optimal solution. Recently, GAs have been applied in environmental engineering, including estimation of water quality parameters, calibration of rainfall–runoff models [10], ground–water management problems [11], and the optimization of water distribution networks [12].

In this study, in order to demonstrate and evaluate the performance of ADM1, the anaerobic model for glucose degradation in a batch-type bottle reactor was constructed based on ADM1, and the sensitivities of kinetic and stoichiometric parameters to simulation results were analyzed. With the results of the sensitivity analysis, important parameters in the model implementation were suggested, and their values were estimated using GAs and experimental results [13].

2 Materials and methods

2.1 Development of a kinetic model for the serum bottle test

The dynamic model used in this study describes the anaerobic batch-type experiments with glucose as the main substrate, as the degradation mechanisms of glucose can give basic information about the processes and kinetic parameters.

The COD flow assumed in ADM1 is rather complex. The decay of microorganisms and the regeneration cycle are strongly interrelated. The decay processes of all microorganisms result in the production of X ch, X pro, and X li, which can be used as substrates after disintegration and hydrolysis, and this regeneration approach makes model analysis more complex [14]. However, in this model, the decay process could be ignored for the simplicity purposes, and the simulation results can be compared with the net methane production by measuring the endogenous methane production and subtracting it from the total methane production. Figure 1 shows the COD flow in the model and the process numbers when the glucose (sugar) was used as the main substrate.

Fig. 1
figure 1

Interrelated COD flow in ADM1

For the simple application, additional assumptions were used:

  • Mesophilic conditions (35°C) were maintained

  • No inhibition by pH and free ammonia

  • Methane was gasified as soon as it was produced (i.e., gas–liquid transfer process was ignored)

  • Hydrogen was quickly converted to methane

The matrix form used here is presented in Table 1. It includes processes, components, and stoichiometric and kinetic parameters when glucose was used as the main substrate.

Table 1 Components and processes for the serum bottle test model: glucose as the substrate

The processes used in this model were described by Bastone et al. [1]:

$$ {\text{Process}}\;{\text{5,}}\;{\text{uptake}}\;{\text{of}}\;{\text{sugars}}:\quad k_{{{\text{m,}}\;{\text{su}}}} \frac{{S_{{{\text{su}}}} }} {{K_{{\text{S}}} + S_{{{\text{su}}}} }}X_{{{\text{su}}}} $$
$$ {\text{Process}}\;9{\text{,}}\;{\text{uptake}}\;{\text{of}}\;{\text{butyrate}}:\quad k_{{{\text{m,}}\;{\text{c4}}}} \frac{{S_{{{\text{bu}}}} }} {{K_{{\text{S}}} + S_{{{\text{bu}}}} }}X_{{{\text{c4}}}} \frac{1} {{1 + {S_{{{\text{va}}}} } \mathord{\left/ {\vphantom {{S_{{{\text{va}}}} } {S_{{{\text{bu}}}} }}} \right. \kern-\nulldelimiterspace} {S_{{{\text{bu}}}} }}} $$
$$ {\text{Process}}\;10{\text{,}}\;{\text{uptake}}\;{\text{of}}\;{\text{propionate}}:\quad k_{{{\text{m,}}\;{\text{pro}}}} \frac{{S_{{{\text{pro}}}} }} {{K_{{\text{S}}} + S_{{{\text{pro}}}} }}X_{{{\text{pro}}}} $$
$$ {\text{Process}}\;11{\text{,}}\;{\text{uptake}}\;{\text{of}}\;{\text{acetate}}:\quad k_{{{\text{m,}}\;{\text{ac}}}} \frac{{S_{{{\text{ac}}}} }} {{K_{{\text{S}}} + S_{{{\text{ac}}}} }}X_{{{\text{ac}}}} $$
$$ {\text{Process}}\;12{\text{,}}\;{\text{uptake}}\;{\text{of}}\;{\text{hydrogen}}:\quad k_{{{\text{m,}}\;{\text{h2}}}} \frac{{S_{{{\text{h2}}}} }} {{K_{{\text{S}}} + S_{{{\text{h2}}}} }}X_{{{\text{h2}}}} $$

When the acetate was only used as a substrate, the model could be simplified greatly. Only X ac (acetate degrader) and acetate fermentation to methane gas was considered, so only the “uptake of acetate” process was used. The stoichiometric coefficients within the matrix mean that Y ac mol of new biomass and (1−Y ac) mol of methane gas were produced when 1 mol of acetate was degraded. When propionate was used as the main substrate, two kinds of microorganisms, including X pro (propionate degrader) and X h2 (hydrogen degrader), and two components, including S pro (propionate) and S h2 (soluble hydrogen), should be added. In this case, 1 mol of propionate was degraded by X pro, resulting in 0.57·(1−Y pro) mol of acetate and 0.43·(1−Y pro) mol of hydrogen. Also, methane was produced from both the acetate and the hydrogen fermentation. When glucose was used as the main substrate, the equations became more complex, comprising five processes and 11 components. In this case, glucose was fermented into butyrate, propionate, acetate, and hydrogen and, subsequently, butyrate was degraded to acetate and hydrogen. In this case, f bu, su, f pro, su, f ac, su, and f h2, su, yields of butyrate, propionate, acetate, and hydrogen on glucose, respectively, were additionally assumed.

2.2 Sensitivity analysis

For the dynamic sensitivity analysis for the batch-type experimental model, the average of absolute differences between simulation results with prior determined parameters values (suggested by IWA [1]) and with parameters with a relative change of target parameter was used as the sensitivity index, as presented below in Eq. 1.

Table 2 shows suggested parameter values and their variability.

$$ {\text{Sensitivity index}} = \frac{{{\sum {{\left| {C_{{{\text{STD}}}} {\left( t \right)} - C_{{{\text{SENS}}}} {\left( t \right)}} \right|}} }}} {N} $$
(1)

where N is the number of data (simulation time), and C STD and C SENS are the simulation results with the suggested parameter values and the parameters with a relative change of target parameter, respectively.

Table 2 Values for kinetic and stoichiometric parameters used in this model

The sensitivity analysis of stoichiometric and kinetic parameters for five components was carried out by changing the value of a target parameter from 10% to 400% with respect to their suggested values [1].

In a dynamic sensitivity analysis, the number of data can have an effect on the RMSE. Thus, in this study, to ensure the end point, the simulation was stopped when the concentrations no longer changed in three time-steps.

2.3 Serum bottle test

Biochemical methane potential (BMP) tests of acetate, propionate, and glucose degradation were conducted for evaluating the applicability of the model, as well as estimating the kinetic and stoichiometric parameters [15]. Sludge from an anaerobic culture acclimated to glucose was used as an inoculum. The composition of the three kinds of substrates and the mineral salts medium is shown in Table 3. The serum bottles were incubated in a rotary shaker at 35°C. Gas production was measured using a glass syringe. The time interval of gas sampling was determined by the head pressure of the serum bottle, which was always maintained within to 2 atmospheric pressures. At the same time, 1-ml samples from the mixture were taken in order to analyze the concentrations of volatile fatty acids (VFAs). The net methane production was obtained by subtracting the methane produced in the control inoculum from that in the study serum bottle, and by adjusting it to standard temperature and pressure. The gas composition was analyzed using a gas chromatograph (Gow Mac series 580) and the VFAs were quantified by a high-performance liquid chromatography (SpectraSYSTEM P2000).

Table 3 Composition of each bottle for the BMP test

2.4 Parameter estimation

Only the methane concentration was used for estimating the parameters. A fitness function used in the GAs minimized the average of the absolute differences between the experimental results and the simulated results, as presented in the following equation:

$$ {\text{Fitness function}} = {\text{Minimize}}{\left( {\frac{{{\sum {{\left| {C_{{{\text{EXP}}}} {\left( t \right)} - C_{{{\text{SIM}}}} {\left( t \right)}} \right|}} }}} {N}} \right)} $$
(2)

where N is the number of data (simulation time), and C EXP and C SIM are the experimental results and the simulation results, respectively.

The GA was coded using Matlab version 6.0 (Math Works, 1999) and the parameters for it are presented in Table 4.

Table 4 Parameters for the GA used in this study

3 Results and discussion

3.1 Kinetic model for the serum bottle test

Typical simulation results of the serum bottle model using glucose as the main substrate are presented in Fig. 2. The initial concentration of glucose was 1,000 mg COD l−1 and the concentrations of each microorganism, including sugar degrader, valerate and butyrate degrader, propionate degrader, acetate degrader, and hydrogen degrader, were 200 mgCOD l−1 each. For the kinetic and stoichiometric parameters, the values suggested by IWA Task Group were used.

Fig. 2
figure 2

Typical simulation results of anaerobic glucose degradation

As shown in Fig. 2, the concentration of glucose sharply decreased and methane was produced, while acetate was produced and degraded simultaneously. A small amount of butyrate and propionate was also produced, but they disappeared quickly.

3.2 Sensitivity analysis

In this study, the kinetic and stoichiometrics parameters were considered, but no analysis of the initial components was included. The sensitivity analysis results are presented in Table 5 by using arbitrary values. The values indicate the sensitivities at the maximum and minimum ranges according to their variety.

Table 5 Sensitivity of the kinetic and stoichiometric parameters to components

Among all kinetic and stoichiometric parameters, f product, substrate (yield of product on substrate) values showed high sensitivities to almost components. k m, process (maximum specific uptake rate) and Y substrate (yield of biomass on substrate) were parameters that are not so important and K S, process was negligible, except K S, ac sensitivity to acetate and methane concentrations. Methane concentration was the most sensitive among the five components. And while acetate and glucose had high sensitivities, propionate and butyrate showed relatively low sensitivities.

It was found that the sensitivities of components are most dependent on the number of processes related to them. For example, glucose was the main substrate and its concentration was controlled by the “uptake of sugars” process only. This means that the glucose concentration is dependent on parameters that are used by the “uptake of sugar” process (K S, su and k m, su). Especially, k m, su showed a higher sensitivity value (2.73) than K s, su (0.131) at low ranges (30%) of the suggested value. Butyrate is related to the “uptake of sugars” and “uptake of butyrate” processes and propionate is connected to the “uptake of sugars,” “uptake of valerate,” and “uptake of butyrate” processes. Acetate is related to most of processes and is very sensitive to almost all parameters without the “uptake of hydrogen” process. Methane production has the most complex mechanisms as it is interlinked to all processes and almost every parameter showed a sensitivity to the methane concentration. High sensitivities means that the methane concentration could be used for parameter estimation.

Sensitivity values of the kinetic and stoichiometric parameters for the methane concentration with various changes are presented in Fig. 3.

Fig. 3
figure 3

Sensitivities of a yield coefficient (f), b Monod maximum specific uptake rate (k m), c yield of biomass (Y) on the methane concentration, and d half-saturation value (K) on methane concentration

The sensitivities of f, Y, and K displayed asymmetric characteristics, as shown in the figure. f bu, su and f pro, su were the most sensitive for all the ranges examined. The Monod maximum specific uptake rates showed singular shapes. In low range, the sensitivities increased sharply, while in high range they increased gradually. It was suggested that the F/M ratio in the serum bottle was the effecting factor. The reactor maintained the relative microorganism-rich condition and the increase of the uptake rate showed less sensitivity to methane production. In low range, however, the uptake rate could have effects on the concentration of the substrate and, thus, showed the high sensitivities.

In this case, k m, su was the most important parameter. Y ac, Y c4, and Y h2 showed higher sensitivities than the other yield parameters. In the case of half-saturation values, K S, ac was the only important parameter.

3.3 Parameter estimation

Using results of the serum bottle test with the anaerobic model, the parameters were optimized using a GA. Among five component concentrations, only methane concentration, which was found most to be sensitive on almost all the parameters, was used for optimization.

The results of the serum bottle test and optimization when acetate was used as the main substrate are presented in Fig. 5a. Acetate quickly disappeared in 43 h and methane was produced up until 80 h.

Fig. 4a–c
figure 4

Fitnesses values of combinations of X ac and k m, ac, which have high fitness values and b–d their simulation results with estimated parameters

Y ac could be calculated with the initial concentration of acetate and the final concentration of methane. The other parameter and the initial concentration of X ac were estimated using methane production in acetate degradation using GAs.

However, k m, ac and X ac were not successfully estimated. Combinations of k m, ac and X ac, which had different values, showed a good accuracy in methane production and acetate degradation. It was thought that the linear relationship between k m, ac and X ac makes them difficult to be estimated successfully. To demonstrate the identifiability between these two parameters, simulations were carried out and it was revealed that several combinations of k and X ac showed high fitnesses, as seen in Fig. 4, and that the global optimum could not be estimated. Figure 4a–c showed that different combinations could result in very similar simulation results and with great accuracy. However, the values of k m, ac×X ac were almost identical, suggesting that it was more effective to estimate the combination of k and X for each process.

The optimized parameters and their values are presented in Tables 6 and 7.

Table 6 Estimated kinetic and stoichiometric parameter values
Table 7 Estimated concentrations of the initial component

Figure 5 shows a comparison of simulation and experimental results for anaerobic acetate, propionate, and glucose fermentation. The simulation results with optimized parameters showed good agreement with the experimental data in methane concentration. However, there is a small difference between the acetate concentrations. Methane production continued after the depletion of acetate. It was assumed that acetate was absorbed on the surface of microorganisms or stored as the cell internal materials. It was also possible that the gas–liquid transfer and separation of methane took some time, which would explain the time gap between methane production and acetate utilization.

Fig. 5a–c
figure 5

Comparison of simulation and experimental results of anaerobic a acetate, b propionate, and c glucose fermentation

When propionate was used as the main substrate, acetate was produced and disappeared as quickly as the propionate was consumed (Fig. 5b). Methane production was well simulated. However, the propionate decease showed a small difference but the acetate showed a big difference in the estimations. There was also a time delay in methane production after the depletion of both the propionate and the acetate. It was suggested that the difference of acetate concentrations between the simulated and the measured data were from the error of estimating the yield coefficient. In this test, the parameters related to the acetate degradation (Y h2, K S, ac) and the concentration of X ac were used with the estimated value in the previous batch test. And the other parameters (Y pro, K S, pro) except Y h2 and the concentration of X pro were estimated with methane production in propionate degradation using GAs. Y h2 was calculated with the final concentration of methane (S ch4), the initial concentration of propionate (S pro), and the estimated value of Y pro and Y ac through Eq. 4 in the Appendix, which is at the end of this paper. The estimated and calculated parameters and the concentration of X pro are presented in Tables 6 and 7.

When glucose was used as the main substrate, propionate and acetate were produced with glucose degradation (Fig. 5c). There was also a time delay between methane production and depletion of glucose, acetate, and propionate. In this test, the parameters were also estimated and calculated in a similar manner as with the case of propionate. The parameters related to acetate degradation (Y h2, K S, ac), propionate degradation (Y pro, K S, pro), and the concentrations of X ac and X pro were used with the previously estimated value. And the other parameters (Y su, f ac, su, f pro, su, f bu, su) except Y c4 and the concentration of X su were estimated with methane production in propionate degradation using GAs. Y c4 was calculated using the initial concentration of glucose (S su), the final concentration of methane (S ch4), and the estimated values of parameters through Eq. 4 in the Appendix. The estimated and calculated parameters and the concentration of X pro are presented in Tables 6 and 7.

4 Conclusion

A model for the anaerobic serum bottle test was developed using the anaerobic digestion model no. 1 (ADM1) and various simulations were carried out. We highlight the following points:

  • The batch reaction of glucose degradation was analyzed by performing sensitivity analysis. In most cases, f (yield of product on the substrate) showed high sensitivities to model components, and methane concentration was the most sensitive components, which was related to all processes used in the model.

  • A genetic algorithm was used for the model parameter estimation, and the important parameters (yield of product on the substrate, yield of biomass on the substrate, and half-saturation values) were optimized using experimental results. The results are presented in Table 6.

  • The Monod maximum specific uptake rate was so strongly associated with the concentration of biomass, that the values could not estimated individually. In this study, the combination of the biomass and the maximum specific uptake rate was estimated as presented in Table 7.

  • Simulations with the estimated parameters showed good agreement with experimental results in the case of methane production. However, there were some differences between the acetate and propionate concentrations.