1 Introduction

The development and implementation of new integrated biorefinery systems (for converting organic wastes into bioenergy or biofuels) can provide new renewable energy sources, minimizing the effect of greenhouse gas emissions and diversifying the global energy matrix. Biowastes are promising candidates for conversion into carbon-neutral bioenergy by using biological or thermochemical processes. The valorization of abundant biowastes with bioenergy conversion technologies can contribute to sustainable development, bioresource diversity, and environmental benefits. Thus, the biowaste-based biorefinery concept can play an essential role in the upcoming circular-bioeconomy with future perspectives for biowaste exploitation in bioenergy industries with a self-sustainable scenario [1]. Brazil presents a significant deficit in primary sanitation services. According to the Brazilian Secretary of Environment Sanitation [2], 4.2 billion m3 in sanitary sewage was treated in 2017, which corresponds to just 46% of the municipal sewage generated. Anaerobic digestion is suitable for converting complex organic feedstocks into energy-rich biogas (bioenergy production) with the potential for both bioremediation and waste stabilization [3].

The use of up-flow anaerobic sludge blanket (UASB) reactors offers an eco-friendly option for sewage treatment by anaerobic digestion with significant biogas production from the decomposition of organic matter [4, 5]. The use of a UASB configuration is well established in Brazil for municipal sewage treatment due to favorable climatic conditions (for example, the ambient temperature usually above 20 °C) and lower implementation costs [6, 7]. The operation of UASB reactors in Brazil produces a large amount of solid waste known as “anaerobic sewage sludge,” which contains pollutants including a high level of pathogens, toxic components, heavy metals, persistent organic pollutants, and unwanted nutrient content, with an average production rate estimated at 16 gSTS hab−1 day−1 [8, 9]. Traditional final disposal options for municipal sewage sludge include landfilling and agriculture; however, these applications are discouraged by strict environmental restrictions [10, 11]. In addition, disposal in Brazilian landfills is costly, estimated at US$ 70 per ton [12]. The biorefinery concept based on the combination of biochemical and thermochemical conversion has recently received substantial attention for its potential to turn organic waste into bioenergy, resulting in progressive replacement of fossil fuels [13, 14]. Thus, bioenergy recovery from anaerobic sewage sludge can decrease operating costs in municipal wastewater treatment and convert its organic fraction into bioenergy.

Pyrolysis can serve as a practical step for the valorization of this underutilized feedstock, providing volume reduction, sterilization, and destruction of organic contaminants, while producing value-added biofuels such as biochar, bio-oil, and bio-syngas [10]. Compared with incineration and gasification, sewage sludge pyrolysis can be an energetically self-sufficient thermal route for bioenergy recovery with low and acceptable gas emissions, zero waste generation, and compact equipment [9]. There are presently few commercial-scale pyrolysis-based plants for sewage sludge processing due to the complexity of the adequate design of pyrolysis equipment, which creates a significant barrier to conducting pyrolysis [9]. Thus, the potential to convert high-ash anaerobic sewage sludge to bioenergy via pyrolysis remains underutilized. Proper knowledge about pyrolysis kinetics and process thermodynamics is crucial to maturing this technology at a commercial scale and providing input data relevant to the successful design and scale-up of pyrolytic systems [15, 16]. There is little reporting in the literature on the determination of the kinetic and thermodynamic parameters for high-ash sewage sludge pyrolysis [16].

Thermogravimetric analysis (TGA) is a fundamental source of information about gas–solid decomposition reactions (to understand the behavior of complex conversion processes) such as pyrolysis, which can be useful for identifying pyrolysis conditions in pilot-scale facilities [17, 18]. Non-isothermal thermogravimetric data can be applied to determine the kinetic triplet (activation energy (Ea), frequency factor (A), and reaction model (f(α))) and thermodynamic parameters (Gibbs free energy (ΔG), enthalpy (ΔH), and entropy (ΔS)) [1, 15, 19]. The knowledge of these parameters is useful for prediction and simulation of the complex thermal decomposition process, to calculate energy balances, and to ascertain the feasibility of the pyrolytic conversion of organic wastes [15, 19, 20].

To the best of our knowledge, there is a lack of updated information about kinetic and thermodynamic data about pyrolysis of high-ash anaerobic sewage sludge that can support the design and optimization of adequate commercial-scale pyrolysis facilities, within a biorefinery context. Still, most studies found in related literature give insight into the kinetic and thermodynamic information based on the single-step approach to derive the kinetic parameters [16, 21] and scarcely attempted to verify their resulting kinetic parameters by simulating or reconstruing the non-isothermal experimental behavior. In parallel, there is a difficulty in reliable estimation of kinetic triplet and thermodynamic parameters derived from pyrolysis of complex organic solid (like sewage sludge) due to its heterogeneous composition [22, 23]. Thus, it is expected that the pyrolytic conversion of sewage sludge to bioenergy products can occur as a sequence of reaction stages [24]. In this way, special attention was given to pyrolysis characteristics, where a multi-step kinetic approach was adopted in accordance with newly published recommendations of the ICTAC Kinetics Committee [25].

A new option for the development of valuable biorefinery products emphasizes the integration of biochemical conversion (anaerobic digestion of organic matter into biogas) and subsequent thermochemical processing (pyrolytic conversion of anaerobically digested organic matter to biofuels). The original contribution of this study is that it introduces the possibility of creating a new efficient integrated platform for sustainable municipal wastewater treatment linked with bioenergy production by integrating anaerobic digestion and pyrolysis. The study conducted a detailed investigation of the kinetic triplet and thermodynamic parameters of pyrolysis of high-ash anaerobic sewage sludge to assess its bioenergy potential, and provide reliable inputs for the design of optimum reactors for pyrolysis conditions. For this purpose, four different isoconversional methods, the compensation effect factor method, and the master plots method are used to deduce a suitable kinetic triplet, which can describe each step involved in pyrolytic conversion process, given the lack of information about this approach in the literature. In addition, basic physicochemical properties were determined to support the design of a thermal conversion processing plant. This study can support the implementation of a commercial-scale biorefinery system to produce valuable biofuels coupled to municipal wastewater treatment.

2 Materials and methods

2.1 Feedstock harvesting, preparation, and characterization procedures

A high-ash anaerobic sewage sludge sample was collected from a municipal anaerobic wastewater treatment plant belonging to the Paraná Sanitation Company (SANEPAR), located in Curitiba city (Southern Brazil) [22]. The Sanepar Company uses an established technology for municipal wastewater treatment, which involves preliminary treatment and anaerobic digestion, in the following steps and equipment (emphasizing the sludge line): (1) mechanical screening to separate large solids, (2) passage through a grit chamber to remove settleable matter such as sand and other inorganic particles, (3) passage to a UASB reactor with hydraulic retention time of 6–10 h to anaerobically digest the organic matter, (4) a centrifuge system for dewatering the high-ash anaerobic sewage sludge, and (5) a hygienization system to destroy pathogens present in high-ash anaerobic sewage sludge. The sample studied was collected after hygienization; it was dried until attaining residual moisture between 10 and 20% using a rotary granulator dryer (Bruthus model, Albrecht, Brazil) at a steady temperature of 473 K.

The proximate analysis was carried out in a thermogravimetric analyzer model DTG-60 (Shimadzu, Kyoto, Japan), according to the ASTM E-1131 [15] standard method. The ultimate analysis was performed using the following standards: the composition, in weight, of carbon (C), hydrogen (H), and nitrogen (N) was obtained using an Elemental Analyzer 2400 CHN Series II (Perkin-Elmer, Shelton, United States); the sulfur (S) content was measured using inductively coupled plasma optical emission spectrometry (ICP-OES Analyzer, Spectro Arcos, Mahwah, United States); the chlorine (Cl) content was measured using the Shöniger Method; and the oxygen (O) content was determined by difference on a dry basis [11]. The higher heating value (HHV) was measured using a bomb calorimeter model C200 (IKA, Wilmington, USA) following the ASTM D5865 standard. The lower heating value (LHV) was calculated with the following equation: LHV (MJ kg−1) = HHV (MJ kg−1) − 0.2183 H (%) [15]. Previous characterization of anaerobic sewage sludge can be found in Languer et al. [22].

2.2 Thermogravimetric analysis

A thermogravimetric analyzer model DTG-60 (Shimadzu, Kyoto, Japan) with an accuracy of weight loss of 0.1 μg was employed to study the pyrolysis characteristics of the high-ash anaerobic sewage sludge. In each non-isothermal experimental run, about 10 mg of the sample was loaded into a platinum crucible. Initially, a gas purge process with oxygen-free nitrogen was performed (purity up to 99.996%) for 60 min to effectively remove the atmospheric air in the oven before the pyrolysis tests. Next, a constant heating rate of 10, 25, 50, and 90 K min−1 was applied to heat the sample up to 1225 K at atmospheric pressure. Nitrogen gas was supplied at a flow rate of 100 mL min−1 to ensure an inert atmosphere for the experiment. To minimize mass and heat transfer limitations in the course of thermal degradation, the particle size of the high-ash anaerobic sewage sludge is in the order of 106 μm (< 140 mesh). Three repetitions under the given conditions were carried out to ascertain the thermogravimetric quality and the satisfactory reproducibility of experimental results.

2.3 Mathematical modeling to obtain the kinetic triplet

2.3.1 Determination of the activation energy (E a)

The kinetic triplet of high-ash anaerobic sewage sludge was determined based on thermogravimetric data using four different isoconversional methods, the compensation effect factor method, and the master plots method. The pyrolysis process is based on the solid-volatiles conversion, and therefore, the thermal decomposition process rate can be described by a fundamental expression (Eq. (1)).

$$ \frac{d\alpha}{d t}=k(T)f\left(\alpha \right)=A{e}^{\raisebox{1ex}{$- Ea$}\!\left/ \!\raisebox{-1ex}{$ RT$}\right.}f\left(\alpha \right) $$
(1)

where k(T) represents the rate constant of the reaction that is dependent on temperature (T), α is the degree of conversion, f(α) represents the reaction model (conversion function), A represents the frequency (pre-exponential) factor (min−1), Ea (J mol−1) represents the activation energy, and R represents the universal gas constant (8.314 J K−1 mol−1).

For non-isothermal thermogravimetric analysis conducted at different heating rates, the introduction of the heating rate (dT/dt = β, K min−1) in the fundamental expression leads to the following equation (Eq. (2)):

$$ \frac{d\alpha}{d T}=\frac{A}{\beta }{e}^{-{E}_a/ RT}f\left(\alpha \right) $$
(2)

The integration of Eq. (2) with constant heating rate conditions results in

$$ g\left(\alpha \right)\equiv \underset{0}{\overset{\alpha }{\int }}\frac{d\alpha}{f\left(\alpha \right)}=\frac{A}{\beta}\underset{T_0}{\overset{T}{\int }}{e}^{-{E}_a/ RT} dT $$
(3)

The integral equation (Eq. (3)) above does not have an analytical resolution, and therefore, isoconversional methods such as Flynn–Wall–Ozawa (FWO), Kissinger–Akahira–Sunose (KAS), and Starink (STK) are useful tools for estimating the activation energy. The isoconversional analysis does not require initial knowledge of reaction models and the pre-exponential factor; thus, the apparent activation energy is determined as a function of conversion [15, 17].

2.3.2 The Flynn–Wall–Ozawa method

Mathematical resolution by the FWO integral isoconversional method is based on the Doyle approximation equation and can be expressed by Eq. (4) [17]:

$$ \log \beta =\log \left(\frac{A_{\alpha }{E}_a}{Rg\left(\alpha \right)}\right)-2.315-0.4567\frac{E_a}{RT} $$
(4)

The plot of logβ (y-axis) versus 1/T (x-axis) at a selected conversion (α) was used to calculate the activation energy (Ea) from the plot slope (− 0.4567Ea/R).

2.3.3 Kissinger–Akahira–Sunose method

The integral isoconversional method proposed by KAS involves an approximation using the Murray and White equation that can be described as Eq. (5) [17]:

$$ \ln \left(\frac{\beta }{T^2}\right)=\ln \left(\frac{AR}{E_ag\left(\alpha \right)}\right)-\frac{E_a}{RT} $$
(5)

The slope (− Ea/R) of the straight line plotted by ln(β/T2) (y-axis) versus 1/T (x-axis) at a constant value of conversion (α) can provide the value of the activation energy (Ea).

2.3.4 Starink method

Another integral isoconversional method originates from the Starink approximation equation and can be expressed as follows [17]:

$$ \ln \left(\frac{\beta }{T^{1.92}}\right)=-1.0008\left(\frac{E_a}{RT}\right)+\mathrm{Constant} $$
(6)

Assuming the conversion (α) in Eq. (6) has a fixed value, the activation energy (Ea) can be calculated from the slope (− 1.0008Ea/R) of the straight line obtained by plotting ln(β/T1.92) (y-axis) versus 1/T (x-axis).

2.3.5 Determination of the frequency factor (A)

The frequency factor was determined from a linear relationship between the activation energy and the pre-exponential factor, known as the compensation effect method (Eq. (7)) [17].

$$ \ln (A)=a{E}_a+b $$
(7)

In Eq. 7, a and b are compensation parameters dependent on the heating rate and are attained using linear regression for different reaction models. For this purpose, a model-fitting method is applied to a single-heating rate run. By substituting different models into the rate equation (Eq. 2) and fitting it to experimental data, different pairs of the Arrhenius parameters (ln Ai and Eai) can be obtained [17]. The A values are then obtained from Ea values previously calculated from an isoconversional method.

2.3.6 Determination of the reaction model (f(α))

The master plot based on the integral form of the kinetic data (Eq. (8)) is a method commonly used for estimation of the reaction model in a heterogeneous reaction. The method consists of plotting theoretical curves (based on reaction model equations found in the literature) and experimental data, with the relationship presented in Eq. (8). The experimental data that best fits the theoretical curve indicates the reaction model.

$$ \frac{g\left(\alpha \right)}{g(0.5)}=\frac{p(x)}{p\left({x}_{0.5}\right)} $$
(8)

In Eq. (8) parameter p(x) is the integral form of the reaction model and an approximation for the temperature integral equation with x = Ea/RT and term 0.5 represents the value when the conversion reaches the conversion of 50%. The expression p(x) can be calculated by the Senum–Yang approximation. The reaction model used to describe solid-state reaction kinetics is reported in our previous study and includes the power-law (P2, P3, P4, and P2/3), Avrami–Erofeev (A2, A3, and A4), n-order reaction (F1, F2, F3, and Fn), geometrical contraction (R2 and R3), and diffusion (D1, D2, D3, and D4) [26].

2.4 Thermodynamic parameters

The thermodynamic parameters reflect the nature of a thermal process, which involves simultaneous and secondary reactions. These parameters are crucial for optimizing and adjusting the pyrolytic conversion of high-ash anaerobic sewage sludge. The standard equations used to calculate the thermodynamic parameters, which include changes in Gibbs free energy (ΔG) (Eq. 9), enthalpy (ΔH) (Eq. 10), and entropy (ΔS) (Eq. 11), were based on activated complex theory [15].

$$ \varDelta G={E}_a+R{T}_m\ln \left(\frac{k_B{T}_m}{hA}\right) $$
(9)
$$ \varDelta H={E}_a- RT $$
(10)
$$ \varDelta S=\frac{\varDelta H-\varDelta G}{T_m} $$
(11)

where kB, h, and Tm are the Boltzmann constant (1.381 × 10−23 J K−1), the Plank constant (6.626 × 10−34 J s−1), and the maximum temperature peak achieved from the differential thermogravimetric data, respectively.

3 Results and discussion

3.1 Characteristics of the high-ash anaerobic sewage sludge

Table 1 summarizes the main physicochemical characteristics for high-ash anaerobic sewage sludge compared with representative low-rank coals. The characteristics obtained for high-ash anaerobic sewage sludge are in conformity with other sewage sludge samples found in the literature [16, 29, 30]. The moisture content of anaerobic sewage sludge was 8.70 wt%, on a received basis. This value fell within the acceptable value of moisture for thermochemical biomass conversion, which is below 10 wt% [31].

Table 1 Proximate analysis, ultimate analysis, and heating values (HHV and LHV) for anaerobic sewage sludge and low-rank coals found in literature

The moderate volatile matter (53.93 wt%) and lower fixed carbon (3.09 wt%) contents can favor the yield of volatile products, i.e., bio-oil and pyrolytic syngas, produced using fast pyrolysis from condensation [30]. The high-ash anaerobic sewage sludge sample is characterized by higher ash content (~ 43 wt%) than traditional biomass feedstocks, which can cause practical difficulties for thermal processing of this biowaste. Various practices can be used to avoid slagging problems during thermal processing, including an optimal temperature for thermal conversion, preliminary pre-treatment, or application of useful additives [15]. The results found for proximate analysis had an order of magnitude in the medium range reported for lignite coal and biomass [10].

The primary individual elements found in high-ash anaerobic sewage sludge were carbon, oxygen, and hydrogen with contents of 23.66 wt%, 21.42 wt%, and 4.95 wt% on a dry basis, respectively. These carbon, hydrogen, and oxygen contents are lower than found in the elemental analysis of typical lignocellulosic residues [10]. The nitrogen (3.15 wt%) and sulfur (3.44 wt%) contents are higher than those typically found in biomass-based [10]. This can contribute to possible emissions of toxic and corrosive gases, such as nitrogen oxides (NOx) and sulfur oxides (SOX), from the thermochemical conversion of high-ash anaerobic sewage sludge. The HHV of high-ash anaerobic sewage sludge was shown to be 14.00 MJ kg−1, which is similar to values reported for low-rank fuels, including subbituminous and lignite coals [27, 28]. In summary, the feedstock analyzed is abundant and promising for bioenergy purposes in Brazil. In addition, the characteristics found indicate that high-ash anaerobic sewage sludge has the potential to compete with low-rank coals [10, 27, 28].

3.2 Thermal decomposition analysis

Figure 1 shows the TG/DTG curves for dried high-ash anaerobic sewage sludge as a function of temperature at a heating rate of 10, 25, 50, and 90 K min−1.

Fig. 1
figure 1

Overlap of TG and DTG curves of dried high-ash anaerobic sewage sludge pyrolysis under heating rates of 10, 25, 50, and 90 K min−1

The pyrolytic behavior of high-ash anaerobic sewage sludge can be divided into main three-reaction zones, as follows: dehydration at < 398 K (drying zone), devolatilization between 398 and 953 K (active pyrolysis zone), and decomposition of char and inorganic non-combustible material at > 953 K (passive pyrolysis zone).

The first zone is related to water evaporation and the decomposition of light extractives. In Table 2, the weight loss percentages (dry basis) in each devolatilization stage and the final temperature are shown for the pyrolysis of high-ash anaerobic sewage sludge. An average mass loss of 54.19 wt% was observed at 1223 K (pyrolysis ending temperature), which was close to 53.93 wt% of volatile matter in proximate analysis). The mass-loss rate was highest at the range of 398–953 K (47.56 wt% on a dry basis). The active pyrolysis zone shows two partially overlapping stages of mass loss. The first devolatilization stage with an average mass loss of 27.80 wt% corresponded to the range of 398 K to 717 K, which occurs due to the presence of reactive organic components (biodegradable organic material) at low pyrolysis temperature. The second devolatilization stage (647–953 K) corresponded to an average mass loss of 19.77 wt% and can be attributed to the pyrolysis of less reactive organic components (mainly bacterial matter) at lower pyrolysis temperatures [23]. The passive pyrolysis zone is linked to slow thermal decomposition of char and inorganic materials such as calcium carbonate [16, 23]. The devolatilization stage (active pyrolysis zone) was defined for kinetic and thermodynamic analysis, as also established by Alves et al. [26].

Table 2 TG-DTG characteristics of anaerobic sewage sludge at heating rates of 10, 25, 50, and 90 K min−1

3.3 Kinetic triplet examination

3.3.1 Isoconversional methods results

Figure 2a shows the straight-line plotted using the Flynn–Wall–Ozawa (FWO), Kissinger–Akahira–Sunose (KAS), and Starink methods at the conversion range of 0.1 ≤ α ≤ 0.9 for each stage in the active pyrolysis zone.

Fig. 2
figure 2

a The linear fit curves obtained from the FWO, KAS, and STK methods, b the linear fitted curves for the compensation effect, c master plot curves, and d predicted (line) and experimental (symbol) dα/dt vs. T

In Stage I, a large gap is seen between the straight lines for the conversion of 0.1 and 0.2 with a different slope of the straight line for conversion 0.1 for all isoconversional methods used. This gap is associated to a slow conversion rate in the active pyrolysis zone; i.e., an increase in 10% of conversion requires a considerable increase of temperature at the beginning of pyrolysis in Stage I. The different slope for 0.1 demonstrates that high energy (Table 3) is required to generate an activated complex and break down the chemical bonds at low temperatures. This large gap is characteristic of biomass pyrolysis in initial conditions of devolatilization (typically, conversions below 0.2 and low temperatures) and can easily be identified in previously published studies [32,33,34,35]. The determination coefficient (R2) values below 0.9 (R2 = 0.8023–0.8150) observed in Table 3 indicate a greater dispersion of the initial conversion data. The approximation of the straight lines for the conversions of 0.3 and 0.9 is observed along the evolution of the conversion. This behavior indicates a gradual change (from 97.71–100.93 kJ mol−1 to 113.73–117.26 kJ mol−1) in the energy required to break the chemical bonds, while at conversions greater than 0.7 constant values of activated energy are observed (Table 3). The average values of Ea for Stage I were 117.26 kJ mol−1 for the FWO method, 113.73 kJ mol−1 for the KAS method, and 114.21 kJ mol−1 for the Starink method. Unlike Stage I, Stage II is characterized by a nearly parallel and straight line through most of the conversion range (between conversions of 0.1 and 0.8). The nearly straight lines initially indicate that the conversion occurs quickly when compared with Stage I, in which the increase of 10% of conversion occurs over a short temperature range at a conversion range of 0.1 and 0.8. In addition, straight lines can also indicate that the decomposition reaction occurs under sufficient reaction energy. At this stage, the Ea value starts near the end of that observed for Stage I (113.16–118.52 kJ mol−1), where a gradual increase is observed with conversion until it reaches 0.6 (126.63–132.33 kJ mol−1), followed by a subsequent energy reduction of Ea, as shown in Table 3. The average values of Ea for Stage I were 121.87 kJ mol−1 for the FWO method, 115.75 kJ mol−1 for the KAS method, and 116.34 kJ mol−1 for Starink method.

Table 3 Kinetic and Thermodynamic parameter estimated for each stage in the active pyrolysis zone of dried anaerobic sewage sludge

Stage I and Stage II had a similar average value of Ea, which indicates that in the active pyrolysis zone of dried anaerobic sewage sludge the process occurs stably, with an approximately constant value of activation energy. Both stages of pyrolysis of dried anaerobic sewage sludge showed lower Ea value than sorghum straw (132.03 kJ mol−1) [20], pine-fruit shell (178.78–394.99 kJ mol−1) [26], sub-bituminous coal (277.3–287.4 kJ mol−1) [36], canola residue (194.3 kJ mol−1) [37], castor residue (167.1 kJ mol−1) [37], carrot grass (267 kJ mol−1) [32], and Wolffia biomass (136–172 kJ mol−1) [33] (all under slow pyrolytic conditions).

3.3.2 Pre-exponential factor determination

Figure 2b presents the linear plot obtained by the compensation effect for the pyrolysis of each stage in the active pyrolysis zone of anaerobic sewage sludge. The predictions from this method had high determination coefficients (for Stage I R2 = 0.9315, and for Stage II R2 = 0.9977) with compensation parameters of a = 0.2267 and b = −3.1700 for Stage I and a = 0.1823 and b = −2.9100 for Stage II. The lower adjustment for Stage I indicates a higher dispersion of the experimental data, which is associated with the possible occurrence of multiple and complex reactions during the feedstock devolatilization in this stage [17]. The pre-exponential factors for the first stage and second stage are respectively 7.39 × 109 and 8.80 × 107 min−1, which are lower than the orders of magnitude related to the other feedstocks suggested for pyrolysis such as reed macroalgae (1012–1016 min−1) [15], pine-fruit shell (1016–1024 min−1) [26], plastic waste (1020–1025 min−1) [34], rice husk (1014–1015 min−1) [38], pine wood (1014–1015 min−1) [38], and bamboo (1013–1015 min−1) [38]. The lower value of pre-exponential factors in the anaerobic sewage sludge indicates a tendency to obtain a favorable pyrolytic decomposition, and that it can be a commercially viable feedstock. Since the probability that molecules will collide in a proper molecular orientation is higher, a lower rate of molecular collisions and less reaction energy is required to initiate the thermal conversion [19, 37].

3.3.3 Reaction model evaluation

In Fig. 2c, the experimental master plot curves for Stage I and Stage II indicate that the reaction models most adequate for describing the pyrolysis of these stages are fourth-order (F4 = (1 − α)4) and second-order (F2 = (1 − α)2) reaction models, respectively. The n-order reaction mechanism was also noted in the pyrolysis of sub-bituminous coal [36]. The thermal decomposition rate corresponds to the concentration of reactant raised to a specific power “n” in an n-order reaction model [15]. According to master plot results, in the active pyrolysis zone of anaerobic sewage sludge there is a mechanism change from a fourth-order reaction model at lower temperatures (398–673 K) to a second-order reaction model at higher temperatures (673–973 K). The determination of a suitable reaction model is fundamental to obtaining a better understanding of the complex solid-state reaction mechanisms due to the presence of different organic compounds in anaerobic sewage sludge.

3.3.4 Verification of the kinetic triplet

The thermal behavior of the active pyrolysis zone of high-ash anaerobic sewage sludge was simulated (Fig. 2d) using the kinetic parameter data estimated by the isoconversional method of Starink, the compensation effect, the master plot, Eq. (2), and the Runge–Kutta 4th numerical method. Equation (12) describes the pyrolysis process mathematically.

$$ \left(\frac{d\alpha}{d t}\right)={\eta}_{\mathrm{Stage}\ \mathrm{I}}\left(7.39x{10}^9\right){e}^{\raisebox{1ex}{$114210$}\!\left/ \!\raisebox{-1ex}{$ RT$}\right.}{\left(1-\alpha \right)}^4+{\eta}_{\mathrm{Stage}\ \mathrm{I}\mathrm{I}}\left(8.80x{10}^7\right){e}^{\raisebox{1ex}{$116340$}\!\left/ \!\raisebox{-1ex}{$ RT$}\right.}{\left(1-\alpha \right)}^2 $$
(12)

In Eq. (12), parameter η is the conversion fraction for each stage in the active pyrolysis zone and was 0.56 and 0.20 for Stage I and Stage II, respectively. Figure 2d indicates that the kinetic parameters estimated from the isoconversional methods, compensation effect, and master plot can provide a satisfactory thermal behavior curve. For the temperature range 585–910 K, it is noted that Eq. (12) provides a more suitable fit than the experimental data and has a better fit for heating rates below 90 K min−1. On the other hand, at temperatures below 585 K, a lower adjustment is observed. This is due to the use of a single-step mechanism method for calculation. Although it is a common method, the results provide better representation for a region with high conversion rates, as also noted by Alves et al. [39]. The R2 obtained for all temperature ranges calculated (398–973 K) were 0.8285, 0.8207, 0.8519, and 0.8796 for heating rates of 10, 25, 50, and 90 K min−1, respectively, while the R2 for the best fitting range (585–910 K) were 0.9265, 0.9149, 0.9032, and 0.8846 for heating rates of 10, 25, 50, and 90 K min−1, respectively. Thus, the results indicate that the kinetic parameters can be satisfactorily applied to thermochemical systems and offer a better reconstruction for the temperature range of 585–910 K, which is a region with the high generation of volatiles. Therefore, the kinetic triplet found is particularly reliable for describing the devolatilization process of high-ash anaerobic sewage sludge by considering the simplicity of the methods.

3.4 Thermodynamic aspects

The thermodynamic parameters calculated using the Ea values obtained from the Starink method are presented in Table 2. The ΔH explains the difference of energy between the reagent and the activated complex, i.e., the energy required for dissociation of reagent bonds and formation of reaction products such as gases and biochar. The average ΔH values for pyrolysis of anaerobic sewage sludge were 109.42 kJ mol−1 and 110.12 kJ mol−1 for Stage I and Stage II, respectively. The positive and low values of ΔH suggest a thermodynamically favored endothermic reaction (highly reactive system); thus, less heat energy is required for pyrolysis [19, 40]. The ΔG values found were 169.24 kJ mol−1 and 216.95 kJ mol−1 for Stage I and Stage II, respectively. These values were higher than the ΔG values found for canola residue and castor residue [37], and the value indicates that the pyrolysis of anaerobic sewage sludge requires more available energy than the biomasses cited.

Entropy change (ΔS) is a qualitative measurement of the system reactivity. The values attained were − 103.77 J mol−1 (for Stage I) and − 142.81 J mol−1 (for Stage II). Both devolatilization stages showed low reactivity, and consequently, a longer reaction time is necessary to form an activated complex [15]. The negative values in ΔS indicate some structural changes needed to achieve a state of thermodynamic equilibrium during the pyrolysis process [16]. Thermodynamic aspects suggest that anaerobic sewage sludge has the potential to compete with newly identified bioenergy feedstocks [1, 15, 19, 40] and low-rank sub-bituminous coal [36]. These findings suggest that the conversion of anaerobic sewage sludge into energy-rich biofuels using pyrolysis is thermodynamically favorable. Kinetic and thermodynamic parameters are useful inputs for fine-tuning reactor design [1, 40].

3.5 Hypothetical biorefinery proposal

Figure 3 presents the schematic scenario of a hypothetical biorefinery suggested to produce valuable biofuels in association with municipal wastewater treatment in a self-sustainable and eco-friendly approach. Recently, the feasibility of similar situations has been proved for bioenergy exploitation from agricultural residues [41] and residual microalgal biomass [1]. The proposed biorefinery scenario is based on the sustainable recovery of bioenergy from municipal wastewater treatment by coupling anaerobic digestion and a pyrolysis process. The municipal sewage is first treated using mechanical screening and a grit chamber, and the pretreated municipal wastewater is anaerobically digested using UASB reactors to produce biogas and anaerobic sewage sludge. The residual sand removed from preliminary sewage treatment can be used as a fine aggregate in concrete for non-structural purposes [12]. The biogas produced by UASB reactors can be converted into heat and electricity in a Combined Heat and Power (CHP) system [14, 41].

Fig. 3
figure 3

Hypothetical scenario of a sustainable biorefinery suggested to produce valuable biofuels coupled to municipal wastewater management

For the sludge line, the anaerobic sewage sludge is dewatered using a centrifuge system. The clarified liquid fraction obtained from the centrifuge dewatering is returned to the UASB reactor, while the dewatered sewage sludge can be dried using some of the excess heat generated by the CHP system. The dried anaerobic sewage sludge can be converted into biochar, bio-oil, and bio-syngas using an optimized pyrolysis reactor, which in turn can be designed from the reliable findings achieved in this study. The bioenergy contained in bio-syngas and bio-oil can be exploited using a CHP system and combustion engine, respectively, to provide the thermal energy required for pyrolytic conversion. The biochar can be used as a soil additive in agriculture. Thus, the use of anaerobic sewage sludge as an alternative green feedstock for pyrolysis can be a promising option for reducing energy costs in municipal wastewater treatment facilities and provides efficient bioenergy recovery with zero-waste generation.

4 Conclusions

The possibility to create a new efficient integrated platform for sustainable municipal wastewater treatment by associating it to the creation of useful biorefinery products was identified as a promising and eco-friendly approach. The pyrolysis of high-ash anaerobic sewage sludge valorizes the sludge by converting it to bioenergy products, while providing efficient utilization with zero waste generation, and decreasing operating costs for municipal wastewater treatment. This underutilized feedstock can compete favorably with low-rank fuels. The kinetic and thermodynamic parameters demonstrate that the pyrolysis of high-ash anaerobic sewage sludge holds high potential for creating valuable biorefinery products. The results presented here create new options for optimizing municipal wastewater treatment by associating it to the creation of bioenergy products.