Introduction

Today, factors such as the increase in the population of communities, the increase in water consumption, the production of sewage, and the increase in the amount of collected and treated sewage produce a large volume of sludge, making its proper management one of the challenges of the present century [1]. Sewage sludge (SS) is a byproduct of urban sewage treatment processes, which can threaten human life due to the presence of pathogenic biological agents, viruses like SARS-CoV-2, and chemical compounds, including heavy metals. This is because, on the one hand, sludge disposal is associated with high costs, and on the other hand, environmental problems caused by sludge burial led to irreparable damage to the environment and humans [2]. The current epidemiological situation has prompted scientists to test sewage for the SARS-CoV-2 virus. Many studies confirm the presence of viruses in sewage that can be harmful for the environment [3, 4]. The most optimal alternative solutions for sludge stabilization are high temperature–based methods that eliminate pathogens [5]. The use of waste sludge as a renewable source for energy recovery is a suitable solution for how to manage the continuous increase in waste sludge production to strictly comply with environmental quality standards, as well as how to maintain a reliable and affordable energy supply for the current and future generations [6]. The use of sludge to produce renewable energy and heat has been the focus of various industries in recent years. The resulting benefits are manifested by a combination of factors such as reducing fossil fuel reserves due to increased demand for primary energy, increased fuel prices, climate change concerns, public awareness, and advances in renewable energy technologies [7]. Due to environmental, economic, social, and legal reasons, the treatment and disposal of excess sludge are among the serious crises in the biological treatment of sewage worldwide [8]. The two components in sludge that are technically and economically possible for recycling are nutrients (mainly nitrogen and phosphorus) and energy (carbon). However, because sewage sludge consists of approximately 98% water, in this research, sawdust (SD) and corn stalk waste (CS) are used as lignocellulosic biomass that have a high percentage of cellulose and lignin as feed together with sewage sludge, in order to achieve high-quality hydrochar [9]. Some of the existing or emerging energy recovery methods from SS are anaerobic digestion, incineration, and co-incineration of sludge in coal-fired power plants, conversion to gas, pyrolysis, and wet air oxidation, supercritical oxidation, and hydrothermal reaction, which is called hydrothermal carbonization (HTC) in the present study [10].

HTC is a method of thermal modification in a wet state, which converts organic compounds (e.g., biomass, SS, and organic wastes) in confined conditions into materials with different characteristics from the starting material. This process is performed in the temperature range of 150–350 °C, and the pressure conditions are self-contained (pressure caused by the activity of materials inside the reactor). One of the characteristics of HTC is the ability to process biomass in an aqueous environment. In general, SS contains excess water, while some types of biomass do not have water. However, co-hydrothermal carbonization of SS and sawdust and corn stalk can neutralize this factor to obtain favorable conditions [8]. This advanced process covers the HTC losses where a single feedstock is used. Many studies have shown that co-HTC increases the efficiency, HHV, thermal behavior, and overall quality of hydrochars compared to a single feedstock [11,12,13]. The HTC method has been recently used to change the structure of municipal solid waste, SS, and agricultural debris and turn it into more valuable and prosperous materials [14].

The conditions of the HTC process are fragile and variable, and many parameters affect the reactions that change the physical, chemical, and thermal characteristics of the produced hydrochar as an energy source [10]. HTC is different from burning, gasification, and pyrolysis. It is conducted at a lower temperature and is more straightforward than the other methods. Furthermore, this method requires wet feed and is performed in the aqueous phase; thus, there is no need for initial drying. In HTC, the decomposition of raw materials, similar to the pyrolysis method, includes hydrolysis, dehydration, decarboxylation, aromatization, and recondensation [15]. Compared to other thermochemical methods, HTC has higher production efficiency than solid materials, and its aqueous phase has more soluble organic materials [16]. One of the advantages of HTC over the other methods is that wet heterogeneous organic materials and waste streams can react without separation and drying [17]. The produced hydrochar in the HTC method is more similar to natural coal than the produced char in pyrolysis. For this reason, more studies are being conducted on hydrochar applications. Despite the remarkable progress of these studies, this method is still unknown in many ways [15]. In the hydrolysis reaction, as one of the main and often the most fundamental reactions in the conversion of organic substances, the primary molecule depends on parameters affecting the hydrothermal process, including the effect of temperature, the impact of residence time, the result of the type of feed, and the outcome of the catalyst [18]. The hydrochar can be used as an absorbent and catalyst based on the aromatic structure and functional groups on its surface. Some gas, oil, and the main product of the hydrochar are produced if the HTC process is performed on biomass. Hydrochar can be employed as a soil conditioner, absorbent, activated carbon, and fuel [17, 19].

In the sludge treatment process, dewatering plays an important role in minimizing sludge volume, increasing heating value, facilitating transportation, and even reducing leachate production in landfills. HTC can be an effective method to increase the dewatering properties of sludge [20].

The HTC product is a mixture that can be separated into solid and liquid parts. Its liquid fraction (LFHTC) contains at least 15% of primary carbon and can be used as a potential source of chemicals or fuel. Also, it can be used as a feedstock in aerobic digestion, anaerobic digestion, and wet air oxidation [21].

In a comparative study by Wilk et al. [13] on the HTC of two types of lignocellulosic biomass (pine and acacia) and SS, raw materials were all placed under the same conditions for 4 h at a temperature of 200 °C and a ratio of water to materials of 1:8. Lignocellulosic biomass had increased energy-related properties, while the effect of HTC on SS was negligible due to the more incredible conversion of carbon into the liquid phase [13]. In the study on the HTC of SS, a type of microalgae, and a combination of them, Lee et al. [23] found that the production efficiency of solid construction in SS increased with the addition of this microalgae. This combination has increased the HHV and the quality of the produced coal (the H/C and O/C ratio). In addition, M. Puccini et al. [24] optimized the conversion of hydrochar from SS to HTC using the response surface method. The parameters of temperature, time, and the ratio of solid input material were considered in the optimization. The physical, chemical, and morphological characteristics of the produced hydrochar were investigated, showing that the water absorption capacity, HHV, and carbon content increased in the hydrochar compared to raw materials [24].

This work was conducted to investigate the effect of different parameters on the HTC process of SS with corn stalks and sawdust. A novel aspect of this study is its attempt to find optimal processes which use RSM and to consider energy yield, mass yield, and HHV as responses. This paper also examined char properties more comprehensively. Thermogravimetric analysis (TGA), Fourier-transform infrared (FT-IR) spectroscopy, X-ray diffraction (XRD), and scanning electron microscopy (SEM) are also employed to analyze the change in characteristics during the HTC process.

Materials and Methods

In this study, the lignocellulosic biomass of corn stalks and sawdust were used, along with secondary or activated SS collected from the wastewater treatment plant in Ekbatan Town, Iran. Sample preparation included drying, crushing, and sieving. For drying, SS was kept at 105 °C for 24 h, and sawdust and corn stalks were maintained at 40 °C for 24 h in an oven (Shimaz Co.). SS was crushed by a planetary ball mill, and sawdust and corn stalks were crushed by a home mill. SS was sieved through a No. 60 mesh (0.25 mm), which passes particles smaller than 0.25 mm, and sawdust and corn stalks were sieved through a sieve with a No. 18 mesh (1 mm), which passes particles smaller than 1 mm [8].

After the preparation steps mentioned earlier, sewage sludge, sawdust, and corn stalks were mixed in 20 cc of deionized water in the ratio 1:1:1:12 by a magnet and stirrer for 15 min. The reason for using deionized water is that it is free from any ions, which makes the process accurate. All the measurements were performed in triplicate.

The applied reactor in this study was a tubular type (Batch Reactor) with a body of 316 stainless steel and a volume of 75 mL. A device (Model FlashEA 1112, Thermo Finnigan Company) was used to measure the carbon, oxygen, nitrogen, sulfur, and hydrogen percentages of hydrochar samples. Finally, 20 mg of each sample was placed in the machine in a powdered form. Furthermore, a thermal weighing analyzer (TGA, TA Company, USA) was employed to continuously measure the weight loss due to the decomposition or loss of water. Moreover, a Fourier-transform infrared (FT-IR) spectrophotometer (Thermo Fisher Company, USA) was utilized to check the structure of the prepared hydrochar samples. A scanning electron microscope (SEM, model MIRA III, TESCAN, Czech Republic) was used for the samples’ surface morphology and particle size by checking the electron microscope technique. Likewise, the PW1730 device (PHILIPS) was applied for X-ray diffraction (XRD, model PW1730, PHILIPS) analysis. Step size and time per step were used as a routine laboratory (0.05 degrees and 1 s, respectively), and the goniometer angle was chosen from 10 to 80 degrees.

The three independent study parameters of temperature in the range of 180–300 °C, reaction time in the range of 30–60 min, and pH in the range of 5–9 were selected to analyze their effect on the process. 0.1 M HCl acid and 0.1 M NaOH base were used to adjust the pH of the samples.

The studied answer in this research is the HHV, the most essential factor for investigating hydrochar as a fuel. The experiment design was performed to examine the effect of crucial parameters on the efficiency of HTC using the Box-Benken method by Design Expert software, version 10. Finally, the maximum HHV, mass yield, and energy yield sample (The bolded numbers in the Table 1) were investigated to measure TGA, FT-IR, SEM, and XRD.

Results and Discussion

Elemental Analysis Test Results

The feedstock and the hydrochars have been investigated in the laboratory of Tehran University, and the results, including the percentage of each element of carbon, hydrogen, nitrogen, sulfur, and oxygen, have been obtained. According to the percentage of elements according to the Dulong relationship, the high heat value of each sample has been obtained, which is shown in Table 1, along with mass yield and energy yield.

Table 1 Experimental design

The Results of the Experiment Design Software

Based on our findings in Table 1, the highest HHV was obtained at the temperature of 300 °C and the reaction time of 45 min. In addition, the highest mass yield and energy yield occurred at the temperature of 180 °C and the reaction time of 30 min. Accordingly, the temperature was more influential compared to the reaction time, which was not far from expectation due to the thermochemical nature of the hydrothermal process [25]. The results revealed that the produced hydrochar after the conversion had more carbon and hydrogen and less oxygen compared to raw materials [26]. The increasing HHV and the amount of carbon in the samples demonstrate that the chemical bonds of oxygen have been destroyed during the hydrothermal process [18].

HHV

According to the results of the experiments, the software has proposed a quadratic model for the HHV. Furthermore, the formula fitted to the results using the quadratic model is in the form of the following relationship.

$$\mathrm{HHV}=15.78-0.38\;\left(A\right)+0.89\;\left(B\right)+0.22\;\left(C\right)+0.28\;\left(A\right)\left(B\right)+0.36\;\left(A\right)\left(C\right)-0.41\;\left(B\right)\left(C\right)-0.14\;\left(A^\wedge2\right)-0.59\;\left(B^\wedge2\right)+0.33\;\left(C^\wedge2\right)$$

A: Reaction time, B: Temperature, C: pH

Table 2 provides the analysis of variance (ANOVA) of the obtained results from experiments related to the HHV. The p value is less than 0.0001, which is less than 0.05, representing the high significance of the quadratic model. Therefore, the probability of a coefficient other than the one presented in the equation is less than 5%. Hence, the given model (level two) is significant. Furthermore, the lack of fit test is meaningless with a value of 0.086, indicating a significant relationship between the parameters as influential factors and the HHV as the response.

Table 2 Results of the analysis of variance of the HHV

Table 3 presents the value of R2 or compatibility of the experimental data with the obtained data, implying that 99% of our information equals the predicted data, but R2 alone is not enough, and terms that have no effect are ignored in adjusted R2, and forecasts have played a role as well. Predicted R2 represents how powerful our model is for prediction. According to the software, the difference between adjusted and predicted R2 should be less than 0.2, which is acceptable in this model. C.V.% is the change coefficient; the lower it is, the better it will be, showing that the data changes are less [19, 27].

Table 3 General statistical data

Effect of Reaction Time and Temperature on the HHV

Fig. 1A displays the three-dimensional diagram of the simultaneous effect of temperature and reaction time on the HHV of the produced hydrochar by the HTC method. In this situation, other parameters affecting the HHV are considered constant in their central values. As shown, the amount of the HHV has changed the most with an increase in temperature, and as expected, the temperature was the most influential parameter because there is a more remarkable change in the graph of the HHV compared to temperature [22]. The dielectric constant of water dramatically decreases with increasing temperature, and in subcritical conditions, the value of the dielectric constant (ε) of water decreases from 80 to 20. By reducing the dielectric constant, the properties of water have become highly similar to organic solvents [28]. As a result, water can dissolve other organic compounds and become a single liquid phase. The advantages of being single-phase are the greater concentration of the reactant, leading to the occurrence of more reactions, while the inter-phase mass transfer does not occur and does not cause a problem in the speed of the process [29]. In the subcritical region, water’s ionic constant (Kw) increases up to three times the water environment. The low dielectric constant allows subcritical water to dissolve organic compounds; on the other hand, the high ionization constant creates an acidic environment to perform the hydrolysis reaction as well as possible [22]. Based on the obtained data, the HHV decreases with an increase in the retention time, indicating that the reactions progress in the direction that the produced liquid fuel increases and the HHV of the hydrochar decreases; another reason is the presence of sludge in the raw material, which contains a little carbohydrate and is mainly composed of fat and proteins [30, 31].

Fig. 1
figure 1

a Three-dimensional diagram of the effect of temperature and reaction time on the HHV. b Three-dimensional diagram of the effect of temperature and pH on the HHV. c Three-dimensional diagram of the effect of reaction time and pH on the HHV.

Effect of Temperature and pH on the HHV

The three-dimensional diagram of the simultaneous effect of temperature and pH on the HHV of the produced hydrochar by the HTC method is illustrated in Fig. 1b. In this case, other factors affecting the HHV are considered fixed in their central values. Furthermore, pH was in the range of 5–9 and did not cause much change in the HHV. In fact, the temperature has caused more noticeable changes than pH. However, even in these small changes, the HHV is higher in an acidic state. One of the reasons for the higher HHV is that the hydrolysis process happens faster in acidic environments. Furthermore, the dehydration reaction of organic materials increased [29]. The pH does not have that much effect on the HHV in this range because there are many changes in the pH of water as a buffer in the hydrothermal process and the reactions direct the pH [32].

Effect of Reaction Time and pH on the HHV

Fig. 1C displays the three-dimensional diagram of the simultaneous effect of the reaction time and pH on the HHV of the hydrochar produced by the HTC method. In this case, other factors influencing the HHV are considered constant in their central values. As shown, the reaction time and pH do not cause many changes in the HHV, and the range of their differences is not extremely large. However, in the same low amount, the HHV is higher in less time and has lower pH. Low pH and higher HHV promote hydrolysis and dehydration processes. Moreover, the pH decreases at the beginning of the hydrothermal method, and if the environment is acidic, it causes the reaction to occur as quickly as possible [33].

Test Optimization

According to the Design Expert 10 software, the optimal HHV, mass yield, and energy yield occur at a temperature of 205.358 °C, a reaction time of 30 min, and a pH of 5, which is equivalent to 15.802 MJ/Kg, 63.754%, and 67.415%, respectively.

The utility provided by the software for compatibility of the equations with the input data and the generated graphs was 0.849, which is considered a significant value for utility. Among the eight solutions and answers that the software has obtained to solve its mathematical equations, solution number 1 is the most desirable among 41 solutions, the results of which are illustrated in Fig. 2. Due to the insignificant effect of pH on the resulting responses, the optimization graphs based on temperature and time are provided here.

Fig. 2
figure 2

The graph of optimal conditions

Investigation of the Characteristics of Production Hydrochars and Raw Materials

Maximum HHV hydrochar, maximum mass yield and energy yield of hydrochar and raw material were evaluated for their physicochemical properties, morphology, and thermal decomposition. Also, TGA, FT-IR, SEM, and XRD tests were performed on them accordingly.

TGA Results

A TGA test and its derivative thermogravimetric (DTG) curve have been conducted to study the thermal decomposition behavior of raw materials and hydrochar. As depicted in Fig. 3 a and b, thermal decomposition has three main stages. The first stage (25–200 °C) is slow weight loss due to the removal of moisture and some volatile substances [34]. The combustion of raw materials mainly includes the combustion of volatile materials and moisture, which occurs at low temperatures. The second stage (200–400 °C) is the decomposition of the most volatile substances, as well as cellulose and hemicellulose [33]. A gradual weight loss is observed at temperatures above 400 °C and up to 500 °C, which is attributed to the slow thermal decomposition of lignin. At higher temperatures and up to 800 °C, the last stage of decomposition, the weight loss is as raw materials > maximum mass and energy yield > maximum HHV, which is inversely proportional to the carbon content of the samples; in other words, the sample with a higher HHV has more fixed carbon and shows that the temperature stability of hydrochar has improved compared to raw materials [35]. The horizontal lines in the TGA charts indicate the stability range and temperature range in which there is no change in the mass of the sample by an increase in the temperature [36]. According to the DTG diagrams, the concentrated decomposition in the raw material at the peak of C°321 starts earlier than the hydrochar. The maximum weight loss of the hydrochar (the maximum HHV) is transferred to higher temperatures, indicating cellulose decomposition.

Fig. 3
figure 3

a TGA diagrams of samples. b DTG diagram of samples. Note. TGA, thermal weighing analyzer; DTG, derivative thermogravimetric curve.

FT-IR Results

Figure 4 illustrates the FT-IR diagram of raw materials and hydrochar. The main factor groups in the sample seem almost the same. The ranges of raw materials and hydrochar are similar, showing that the HTC process had a slight effect on the functional groups, and HTC was stable [37]. Considering that the raw material contains cellulose, a functional group can be observed at 3200–13,600 cm. The peak at 13,400 cm is related to the active hydroxyl group (-OH). Two peaks in the range of 13,000–2800 cm–1 in the sample are alkane and aldehyde functional groups in cellulose. The peak in the 1600–11,800-cm range belongs to the carbonyl (C = O) and carboxyl (C = C) bond, which becomes weaker after HTC. The peaks between 1400 and 11,600 cm are associated with the bonding of alkanes (-CH2) in the aromatic ring. The peaks in the range of 1000–11,200 cm are related to ether and ester bonds, which are intensified in hydrochar and indicate the dehydration of alcohol [38, 39].

Fig. 4
figure 4

Graph of FT-IR results. Note. FT-IR, Fourier-transform infrared spectroscopy

SEM Results

The morphological properties of raw materials and hydrochar by SEM are depicted in Fig. 5. The structural integrity of hydrochar was reduced and fragmented compared to raw materials. The hydrochar surfaces were rougher and harder than raw materials, and porous surfaces were observed on the hydrochar surface. This feature is because the samples were at different degrees of decomposition during HTC, which destroyed biopolymers such as cellulose, hemicellulose, and lignin, and more porous surfaces. The hydrochar of the maximum HHV (b) contains a smaller number of fibrous structures, which indicates the complete decomposition of raw materials during the formation of the hydrochar. The HTC process increases the porosity of raw materials, which can increase access to air and its distribution, leading to a higher combustion reaction [40]. M. Puccini et al. [24] also found that porosity increases in hydrochar samples due to dehydration and the release of volatile substances [24]. In addition, porous properties can be used for other applications, including removing pollutants (as adsorbents). In the study of L. Wang et al., raw materials only included corn stalks, and the central point biochar was rougher and more fragile [41], but these changes are less in the hydrochar of our research.

Fig. 5
figure 5

SEM images: a raw materials, b maximum HHV hydrochar, and c maximum mass and energy yield of hydrochar. Note. SEM, scanning electron microscopy

XRD Results

The XRD diagram of raw materials and hydrocharder is displayed in Fig. 6. As shown, the intensity of the peaks in hydrochar has increased compared to that in raw materials, implying that the HTC process has increased the crystalline properties of raw materials. The increase in crystalline properties can be related to the removal of amorphous compounds (compounds that do not have crystalline order) such as lignin and hemicellulose [42]. The data were analyzed and reported using Xpert software. Two peaks at 17° and 22° represent the crystalline coordinates of cellulose, and the peak at 34.7° is associated with hemicellulose [43]. The peaks observed at 17° and 22° of hydrochar are more intense than of the raw materials, indicating that they are aromatic. These intensities show that aromatization has increased during the increase of compounds such as graphite [44]. It also confirms the destruction of cellulose in the hydrothermal carbonization process.

Fig. 6
figure 6

Graph of XRD results. Note. XRD, X-ray diffraction

Conclusion

By the HTC process, the carbon percentage increased, and their oxygen percentage decreased. The results of the Design Expert software revealed that temperature had the most significant effect on the HHV. The increase in temperature was associated with the decrease of oxygenated functional groups. The TGA test indicated that the thermal stability increased after HTC, and hydrochar was destroyed at higher temperatures than raw materials, and it can be used for direct combustion or combustion with a percentage of coal. The SEM and XRD tests revealed that the hydrochar was separated, fragmented, and crystallized, and the surface porosity represented an increase. The spherical molecules were removed from the surface of the hydrochar by the decomposition of cellulose and hemicellulose; the changes were more noticeable in the hydrochar. Compared to raw materials, maximum HHV hydrochar revealed properties similar to high-quality coal with the addition of sawdust and corn stalk to SS.