Introduction

Energy resources are essential and indispensable for sustaining industrial and social life (Owusu and Asumadu-Sarkodie 2016). Global energy demand has increased rapidly due to population growth and economic developments. Approximately 85% of the daily global energy demand is produced from fossil fuels (Varma and Mondal 2016). The amount of global fossil CO2 emissions per capita (4.81 t CO2/person), resulting from the consumption of traditional fossil fuels such as coal, oil, and natural gas, increased by about 13% between 1990 and 2021 (Crippa et al. 2022). Therefore, it is essential to search for alternative energy sources. Biofuel is an alternative climate and environment-friendly source that reduces CO2 gas emissions (Siddiqui et al. 2019).

Biomass is the only energy source among renewable energy sources that could produce solid, liquid, and gaseous products (Bridgwater and Peacocke 2000). The production entails two main conversion processes, thermochemical and biochemical, to obtain high-added-value biomass products. Thermochemical biomass conversion entails gasification, pyrolysis, hydrothermal liquefaction, and combustion (Jha et al. 2022). Pyrolysis is an efficient thermochemical conversion method for transforming biomass into biofuel. The rapid progress of studies on pyrolysis is promising for commercializing the process (Varma and Mondal 2016). In pyrolysis, organic materials in the biomass are heated in an oxygen-free environment to obtain liquid products (bio-oil, vapors that can be condensed at cooling temperatures), carbon-rich solid residues (char), and gaseous products (non-condensable synthetic gases) (Hassen-Trabelsi et al. 2014). The distribution of pyrolysis of biomass products depends on the pyrolysis parameters, such as process temperature, heating rate, reaction atmosphere (N2, H2, or H2O (steam)), and reactor type (Jha et al. 2022). Biochar produced with pyrolysis can be used as a fuel (Ali et al. 2022), activated carbon (Zhong et al. 2023), or fertilizer due to its porous structure, surface area, and N, P, and K content. Bio-oil could be converted into high-value-added products and specialty chemicals as an energy source since it includes aromatic, aliphatic, naphthenic hydrocarbons, and oxygenated compounds. On the other hand, pyrolysis gas can be used to produce natural gas and synthesize certain chemical compounds since it includes CO, H2, CO2, CH4, and other light hydrocarbons (Moralı and Şensöz 2015).

Pomegranate peels are one of the biomass raw materials. The pomegranate plant (Punica granatum L.) is grown mainly in Turkey’s Mediterranean and Aegean regions (Ateş et al. 2019). Turkey’s pomegranate production was approximately 600,000 tons in 2022 (Dilmen et al. 2022). In addition to being consumed as pomegranate fruit, products such as pomegranate syrup, juice, jam, and canned are produced from the plant. Pomegranate peel is an industrial by-product (İçyer 2012). Studies have been conducted on the pyrolysis of waste pomegranate seeds, pulp, and peel (Saadi et al. 2019; Kar 2018; Uçar and Karagöz 2009; Pehlivan and Özbay 2018; Ateş et al. 2019; Siddiqui et al. 2019).

This study aimed to investigate the transformation of pomegranate peel, a waste product available in large quantities, into more beneficial products via pyrolysis. Waste pomegranate peel was pyrolyzed in a fixed-bed reactor. The best pyrolysis conditions were determined by the pyrolysis of waste pomegranate peel in two particle sizes at different pyrolysis temperatures and heating rates. FT-IR, calorific value, and GC–MS analyses were conducted to characterize the liquid product (bio-oil) under the best pyrolysis conditions. To ensure that the solid pyrolysis product (biochar) could be used as an adsorbent dye removal from wastewater, activated carbon was produced with KOH activation. Activated carbon was characterized with SEM and BET analysis, and usability in dye removal was investigated.

Materials and methods

Materials

In the study, pomegranate peels, which were separated as waste after the production of pomegranate syrup by the local people in Antalya, were used as biomass raw material. The particle size of the pomegranate peel was reduced by using an industrial rounder. The reduced pomegranate peels were dried at room temperature and then in an oven at 105 °C for 6 h. The particle size of the dried pomegranate peel was determined with a vibrating sieve. Thus, pomegranate peel particles were separated into two sizes: 1.0–1.6 mm and 1.6–2.1 mm. Before pyrolysis, preliminary analyses were conducted to determine moisture, ash, volatile matter, oil, cellulose, and lignin content. The moisture content was determined by a moisture analyzer (OHAUS) after samples were heated to 105 °C (ASTM D4442-16). The volatile matter and ash content were analyzed using ASTM D1102-84 and ASTM E872-82 methods. The amounts of lignin, cellulose, and hemicellulose in the pomegranate peel were determined according to ASTM D 1106–96, TS324, and ASTM D 1104–56, respectively. TGA/DTA (Thermogravimetric analysis/ Differential thermal analysis) of biomass was conducted to investigate the temperature range for effective pyrolysis. A Netzsch STA 449 F3 Jupiter model instrument was used for this analysis. The curve was obtained at a heating rate of 20 °C min1 between 20 and 800 °C.

Methods

Pyrolysis

The pyrolysis of waste pomegranate peel was conducted with a stainless-steel fixed bed slow pyrolysis reactor. The heating was provided by a PID control element. It included an N2 gas inlet and a condenser for condensation of the effluent gases.

Pyrolysis of the waste pomegranate peels in two particle sizes (1.0–1.6 mm and 1.6–2.1 mm) was conducted at four pyrolysis temperatures (400 °C, − 450 °C, − 500 °C, and 550 °C), 10 °C/min and 18 °C heating rates, and with a 1 L/min N2 flow rate. Fifty grams of pomegranate peel was added to the reactor, and the pyrolysis temperature and heating rate were adjusted. The reactor reached and was kept at the target temperature for 20 min. Then, the reactor was cooled to room temperature. The solid product (biochar) in the reactor was carefully removed and weighed. The liquid product (bio-oil) was transferred into the container, and the condenser residue was washed with dichloromethane. The liquid product was taken into the separating funnel, the water and organic phases were separated, and the water content was weighed. The dichloromethane in the liquid product was separated with an evaporator, and the final liquid product was weighed. The gaseous product was determined with total mass balance. Pyrolysis experiments were repeated twice for all parameters. After the pyrolysis, bio-oil, biochar, and gas product yields were calculated.

Characterization

As a result of the pyrolysis studies, the best pyrolysis conditions where the highest liquid product (bio-oil) yield was obtained were determined. The bio-oil obtained under these conditions was characterized by GC–MS, FT-IR, and calorific value analyses. At the same time, the biochar obtained under the best pyrolysis conditions was activated, and the activated carbon was characterized by SEM ((scanning electron microscope) and BET (Brunauer, Emmet, and Teller) analyses. The FT-IR spectrum of the bio-oil was recorded by preparing a KBr pellet with a Perkin Elmer 1605 FT-IR spectrometer. The compounds of the bio-oil were determined with a Shimadzu GC–MS/QP2020 instrument. GC–MS analysis was determined under the conditions presented in Table 1. SEM analysis was performed using the LEO 1430 VP model device. BET analysis was performed using Micromeritics brand Gemini VII 2390t model device.

Table 1 GC–MS conditions

Activated carbon production and adsorption

Biochar obtained from pyrolysis was activated, and its adsorbent properties were investigated for dye removal from wastewater. Activated carbon was produced from biochar with the chemical activation method and KOH. It was stored in solutions prepared with four impregnation rates (05:1, 1:1, 2:1, 3:1 KOH/biochar) for 24 h. Then, it was dried in an oven at 100 °C for 3 days to initiate carbonization. Carbonization was conducted at a heating rate of 10 °C/min and four different temperatures (500 °C, 600 °C, 700 °C, and 800 °C) for 60 min. After carbonization, the activated carbon with the highest surface area was determined and used for the adsorption of methylene blue (MB) dye. Several techniques have recently been used to remove dye pollutants from wastewater. Alternatively, adsorption has been considered one of the most available approaches to removing the dye in wastewater due to the advantages of lost cost, environmental friendliness, and highly effective and convenient operation (Cui et al. 2023). The effects of temperature, initial concentration, and pH on the adsorption were investigated. Adsorption tests were conducted with 0.1-g activated carbon and 100-mL methylene blue solution with an initial 100–150 ppm concentration. The absorbance of the methylene blue solution samples obtained at certain time intervals was measured at a wavelength of 664 nm with an ultraviolet–visible (UV–VIS) spectrophotometer, and concentrations were determined with a calibration chart. The adsorbed matter, the adsorption capacity of the adsorbent (qe (mg/g)), and the percentage of methylene blue adsorbed (%MB) were calculated with the following equations:

$${\text{qe}} \, \text{=} \, \frac{\left({\text{Co}}-{\text{Ce}}\right){\text{V}}}{\text{W}}$$
(1)
$$\mathrm{\%MB}=\frac{Co-Ce}{\mathrm{Co}} \times 100$$
(2)

where C0 depicts the initial methylene blue concentration, Ce depicts the methylene blue concentration at time t, V is the sample volume, and W is the adsorbent content (Hameed et al. 2007).

Adsorption isotherms

Adsorption isotherms are employed to determine the distribution of adsorbate molecules in the liquid phase and the adsorbent when the adsorption reaches equilibrium. Several models are available in the literature to describe the experimental adsorption isotherm data. Langmuir and Freundlich’s isotherms are the most frequently employed models (Mushtaq et al. 2023).

In the Langmuir isotherm, adsorbed molecules form a single saturated layer on the surface of the adsorbent. Adsorption is directly proportional to the initial adsorbate concentration (Mushtaq et al. 2023). Equations 3 and 4 are used for the Langmuir isotherm (Naeem et al. 2017).

The linear Langmuir isotherm equation:

$$\frac{{C}_{e}}{{q}_{e}}=\frac{1}{{K}_{L}{q}_{\mathrm{max}}}+\frac{{C}_{e}}{{q}_{\mathrm{max}}}$$
(3)

where KL is the Langmuir constant based on adsorption energy (L/g), qmax is the maximum adsorbing capacity of the adsorbent (constant, mg/g), Ce is the adsorbate concentration remaining in solution after adsorption (mg/L), qe is the adsorption capacity of the adsorbent (mg/g).

Langmuir isotherm equilibrium factor (RL):

$${R}_{L}=\left(\frac{1}{1+{K}_{L}{C}_{0}}\right)$$
(4)

Freundlich adsorption isotherm is employed in heterogeneous surfaces with multilayer adsorption. In the isotherm, the adsorbed substance amount increases initially, then the rate slows down as the solid surface is filled with gas molecules. The empirically derived Freundlich equation is expressed as follows (Mushtaq et al. 2023).

Equation 5 is used for the Freundlich isotherm.

$$\mathrm{log}\;{q}_{e}=\mathrm{log}\;{K}_{F}+\frac{1}{n}\mathrm{log}\;{C}_{e}$$
(5)

where; qe is the adsorption capacity of the adsorbent (mg/g), KF and n are experiment constants, and Ce is the adsorbate concentration remaining in solution after adsorption (mg/L).

Results

Proximate analysis of biomass samples

The results of the proximate analysis conducted on the pomegranate peel biomass and other biomass sources in the literature are presented in Table 2.

Table 2 Proximate analysis results

The review of the preliminary analysis results revealed that the pomegranate peel moisture and ash content were lower when compared to other biomass sources. High moisture content in biomass negatively affects conversion and fuel (Agrawalla et al. 2011; Hopa et al. 2019). High ash content increases the solid content that could not be transformed into fuel during pyrolysis ((Biswas et al. 2017). It was observed that the volatile matter content (62.2%) in pomegranate peel was lower when compared to other biomass sources. Since the volatile matter content promotes decomposition during pyrolysis, it ensures faster pyrolysis (Shadangi and Mohanty 2014). It has been determined that pomegranate peel had low lignin (10.3 wt.%) content despite high hemicellulose (57 wt.%) concentration.

TG and DTA analyses were conducted to determine the biomass’s thermal behavior and pyrolysis temperatures.

The review of the thermogram plotted with TG and DTA analysis and presented in Fig. 1 demonstrated that the 10% loss of mass up to 200 °C was due to the evaporation of the moisture and volatile components at low temperatures and the sudden mass loss between 200 and 400 °C was due to the degradation of the cellulose content. Between 225 and 500 °C, where the mass loss was observed, is the pyrolysis zone and the mass loss observed in this range was around 50%. It was studied at pyrolysis temperatures in the 400–550 °C range using thermal analysis data. The endothermic peak caused by the evaporation of water is between 100 and 200 °C. The minor endothermic peak at 260–400 °C belongs to hemicellulose/cellulose, and the main endothermic peak at around 375–500 °C belongs to lignin, which is more difficult to degrade due to the aromatic groups in its structure (Hu et al. 2016; Tian et al. 2016; Song et al. 2019).

Fig. 1
figure 1

Pomegranate peel waste TG and DTA thermograms

Pyrolysis results

Pyrolysis was conducted on waste pomegranate peel with particle sizes of 1.0–1.6 mm and 1.6–2.1 mm at 400 °C, 450 °C, 500 °C, and 550 °C. The liquid(bio-oil), solid, and gas product yields after pyrolysis are presented in Table 3.

Table 3 The results of the pyrolysis conducted under various temperatures

The primary and secondary decomposition rates increase with the increase in temperature during pyrolysis. For this reason, liquid and gas product yields increased with pyrolysis temperature from 400 to 450 °C in both particle sizes Increasing the temperature further (500–550 °C) decreased the yields of liquid and solid products. As expected, the solid product yield was higher at low temperatures but decreased at high temperatures. With the increase in particle size, it was observed that the liquid and gas product yields improved at all temperatures, but there was no significant change in the solid product yield. It is thought that there are no significant differences between the product yields due to the closeness of the particle sizes used.

The highest liquid (bio-oil) product yield was obtained with a particle size of 1.6–2.1 mm, 10 °C/min heating rate, and 450 °C pyrolysis temperature (17.8 wt%), which were determined as the best pyrolysis conditions. At this temperature, solid product (biochar) yield was 33.7 wt%, and gaseous product yield was 29.9 wt%.

The impact of heating rate on pyrolysis liquid product yield was investigated for the conditions that resulted in the highest liquid product yield.

As seen in Table 4, although there is no significant change in the liquid product yield, the liquid product yield with a low heating rate is slightly higher than the other. The best product yields in the liquid product are observed at low heating rates (Bridgwater et al. 2002).

Table 4 The impact of heating rate on liquid product yield

Characterization of bio-oil

The bio-oil obtained using the best pyrolysis conditions was selected for characterization studies.

FT-IR analysis of bio-oil sample

FT-IR analysis was conducted to determine the functional groups in the bio-oil.

The FT-IR spectrum presented in Fig. 2 revealed that the peaks at 3150 and 3450 cm−1 correspond to the stretching vibration of O–H bonds. This demonstrates that it might contain phenol and alcohol components. The peak at 2928 cm−1 was obtained with the stretching vibration of the aliphatic C-H bond. The peak between 1680 and 1725 cm−1 was obtained with the carbonyl (C = O) group and originated from the ketone, aldehyde, and ester compounds in the bio-oil composition. The peak at 1607 cm−1 was obtained with the stretching vibration of the C = C double bond, indicating unsaturation in compound structures. The peak at 1450 cm−1 was the bending peak of –CH2−, and the peak at 1380 cm−1 was the –CH3 bending peak. The peaks between 700 and 800 cm−1 belong to the aromatic C-H bending for substituted benzene.

Fig. 2
figure 2

FT-IR spectra of bio-oil

Calorific analysis of bio-oil sample

A calorific value analysis was conducted to determine whether the bio-oil could be employed as a fuel, and the lower calorific value was determined as 27.33 MJ/kg for the bio-oil. Compared to the lower calorific value of fuel oil (38.52 MJ/kg) (Demirel 2016), it was determined that the calorific value of bio-oil was low. It is suggested that the bio-oil should be mixed with diesel at specific rates rather than direct employment as a fuel. At the same time, the calorific value of the raw biomass was determined as 15.69 MJ/kg.

GC–MS analysis of bio-oil sample

Bio-oil obtained under the best pyrolysis conditions was selected, and GC–MS analysis was conducted to determine the bio-oil components. The 62 compounds with an accuracy rate of 80% and above and a peak area of at least 0.1% were selected among 100 components determined according to the GC–MS analysis results. These 62 components in Table 5 are classified, and the results are given in Fig. 3.

Table 5 GC–MS analysis of pomegranate peel
Fig. 3
figure 3

The GC–MS results of the bio-oil

GC–MS analysis results demonstrated that phenol content was 27.9%, aldehyde content was 19.0%, acid compound content was 18.3%, ketone content was 8.7%, and aromatic compound content was 8.38%. The bio-oil had a high level of phenols. Phenolic compounds were produced from the decomposition of lignin (Patwardhan et al. 2011; Zhao et al. 2021). The ratio of aldehydes and acids in the bio-oil content was higher than the other components. These compounds, which reduce and adversely affect the shelf life of fuels (Liang et al. 2021), can be reduced by catalytic pyrolysis with an appropriate catalyst (Zhang 2022).

Characterization of activated carbon

As a result of pyrolysis studies, the activated carbon was obtained using biochar formed under the best pyrolysis conditions. The activated carbon obtained was characterized by BET and SEM analysis.

BET analysis results

The results of BET analysis to determine the surface area of activated carbon samples produced at various impregnation ratios and carbonization temperatures are given in Table 6.

Table 6 BET analysis results

The highest surface area (1307.0 m2/g) was achieved with the carbonization conducted at 800 °C with a 3:1 impregnation ratio. It has been observed that the surface areas of activated carbons obtained at low carbonization temperatures and impregnation rates were low. The increase in the ratio of the chemical component used in the activation and the temperature allows the formation of new pores, thus increasing the micropore volume thus increasing the total surface area (Phothong et al. 2021). Activated carbon with the highest surface area was used in adsorption experiments.

SEM analysis result

SEM analysis was conducted to determine the surface morphology of the biochar obtained with pyrolysis and the activated carbon obtained with the activation of the biochar. Activated carbon with the highest surface area was selected among the activated carbons. The review of the SEM images in Fig. 4 demonstrated that biochar activation led to a more porous structure.

Fig. 4
figure 4

SEM images. a Biochar. b Activated carbon

It could be suggested that volatile components in the sample were removed, and pits were formed after the chemical activation conducted with KOH and the subsequent carbonization. The development of pores and the heterogeneous structure of the surface indicated that the basic structure was transformed into activated carbon (Saygılı 2017).

Adsorption results

Adsorption was tested with methylene blue (MB) dye. The effects of temperature, pH, and initial concentration parameters on adsorption were determined.

Effect of pH on MB adsorption

The effects of three pH values, 4.5, 6, and 9, were investigated on MB adsorption at 25 °C and 100 ppm initial concentration. The tests revealed that MB was removed almost completely after 30 min for all pH values. It was also determined that the adsorption rate was the highest at alkaline pH values.

As seen in Fig. 5, almost all MB content was removed after 30 min in all pH values. It was observed that the adsorption was faster at alkaline pH values. Since the adsorbent surface is covered by hydrogen at low pH, MB ions cannot be absorbed by the active regions on the adsorbent (Lai and Chen 2001). Increasing the solution pH increases the solution OH content, and this leads to a more negative activated carbon surface. The electrostatic attraction between MB and activated carbon surface increases, leading to an increase in MB adsorption (Pathania et al. 2017). Although the adsorption rates were higher at alkaline pH, the difference was insignificant. Thus, pH 6 was preferred in further tests.

Fig. 5
figure 5

The effect of pH on MB adsorption (100 ppm, 25 °C)

Effect of initial concentration on MB adsorption

The tests were conducted at pH 6, 25 °C, and with two concentrations (100 and 150 ppm) to determine the impact of the initial concentration on adsorption.

Figure 6 shows that adsorption rates were higher at 150 ppm. This was due to the high MB content per activated carbon unit. The increase in the initial MB concentration led to further MB adsorption per gram adsorbent since it is an essential factor for the mass transfer between the solution and the solid phase. Furthermore, when the initial concentration of dye increases, the active sites required to adsorb dye molecules are unavailable, so saturation takes place very fast (Mousavi et al. 2022).

Fig. 6
figure 6

The effect of the initial concentration on MB adsorption (pH 6, 25 °C)

Effect of temperature on MB adsorption

The test was conducted with 100 ppm MB solution at two temperatures (25 °C and 35 °C) and pH 6 to determine the effect of temperature on MB adsorption.

As seen in Fig. 7, the adsorption rate increased with the increase in temperature, and MB was almost completely adsorbed after 30 min. This could be due to further diffusion of the absorbed molecules with increased temperature (Ani et al. 2020).

Fig. 7
figure 7

The effect of temperature on MB adsorption (pH 6, 100 ppm)

Adsorption isotherms

In the study, experimental adsorption data obtained at 25 °C and 35 °C temperatures, pH 6, and 100 ppm MB initial concentration conditions were used to create adsorption isotherms.

The Langmuir isotherm presented in Fig. 8 was plotted with the data obtained with the Langmuir equation (Eq. 3) for 100 ppm baseline concentration and pH 6.

Fig. 8
figure 8

Langmuir isotherm curve obtained with adsorption equilibrium data (pH 6, 100 ppm)

The slope and cutoff point of the line presented in Fig. 8 were 1/qmax and 1/qmaxKL, respectively. The Langmuir maximum adsorption capacity (qmax), Langmuir isotherm constant (KL), correlation constant (R2), and equilibrium factor (RL), presented in Table 6, were calculated with the figures mentioned above. The Freundlich isotherm in Fig. 9 was plotted with the 100-ppm baseline concentration and pH 6 data obtained with Eq. 5.

Fig. 9
figure 9

Freundlich isotherm curve obtained with adsorption equilibrium data (pH 6, 100 ppm)

The slope and cutoff point of the line presented in Fig. 9 were 1/n and LnKF, respectively. The Freundlich constants KF and n were calculated based on the linear equation. Freundlich adsorption capacity (KF) and correlation constant (R2) were calculated based on these values. The resulting Langmuir and Freundlich isotherm constants are presented in Table 7.

Table 7 Langmuir and Freundlich isotherm constants

As seen in Table 7, where Langmuir and Freundlich isotherm constants are presented, the Langmuir isotherm correlation coefficient (R2 0.99) was higher when compared to the Freundlich isotherm correlation coefficient (R2 0.97). Thus, MB adsorption by activated carbon was more consistent with the Langmuir model; therefore, it could be suggested that adsorption was a single layer. The dimensionless RL constant (dissociation constant) calculated to determine the adsorption properties were between 0 and 1 at all temperatures, indicating that activated carbon was adequate for MB adsorption. Also, the high KL, which indicated the affinity of methylene blue and activated carbon in the Langmuir isotherm, suggested that it was compatible with this isotherm (Yakout et al. 2013).

Conclusion

This study produced bio-oil and activated carbon by the pyrolysis of waste pomegranate peels. The highest bio-oil yield of 17.8 wt% was obtained at the pyrolysis temperature of 450 °C, 10 °C/min heating rate, and a 1.6–2.1 mm particle size. The caloric value of bio-oil was measured as 27.33 MJ/kg. We can say that bio-oil can be used as a fuel or mixed with fossil fuels. The major components of bio-oil were phenolic compounds by GC–MS. Due to its essential constituents, it can be utilized in many industrial applications as a chemical feedstock. Activated carbon with a surface area of 1307 m2/g was obtained by activating biochar. The maximum adsorption capacity of MB (91 wt%) was observed at pH 9, 150 ppm initial concentration, and 35 °C temperature. The biochar obtained can be an alternative adsorbent to remove various organic and inorganic pollutants from wastewater.