Introduction

Conventional fossil fuels are being depleted dramatically and the life of many living species has been threatened by the products of their combustion [1]. On the other hand, energy demand is increasing dramatically with population growth and industrialization of developing countries. Using renewable energy resources can be an alternative solution in response to climate change and energy demand related problems [2]. Production, storage and consumption of these renewable resources should be developed such that they positively affect people’s preference. Therefore, it seems necessary to research and develop novel renewable energy technologies. Biomass as an organic matter is a rich source of carbon and hydrogen [3]. It is also a versatile resource for producing promising fuels and chemicals such as hydrogen and ethanol [4]. Hydrogen is one of the main products of gasification and regarded by many scientists as key energy carrier of the future with much higher energy density than other conventional fuels [5]. Hydrogen can be used for electricity generation in fuel cells and as an efficient fuel for transportation without any considerable emission [6]. Today most of the hydrogen around the world is produced from fossil fuels especially steam methane reforming. Therefore, biomass-based hydrogen can be a great leap forward in the utilization of renewable energy [7]. Million tons of agricultural wastes are discarded or burned annually around the world. According to the statistic report of Food and Agriculture Organization of the United Nations, Iran is the second largest producer of walnut in the world with a production of 452,000 tons between 2012 and 2013 [8]. These valuable resources have been mainly formed in lignocellulosic structure which consists of lignin, cellulose and hemicellulose [9]. Biomass processing technologies are being developed and some new methods have been proposed in recent years. The routes for hydrogen production from biomass have been presented by [10]. Two major routes are defined for biomass-based hydrogen production. Biochemical conversions include biological photosynthesis, biological water-gas shift (WGS) and biological fermentation. Thermochemical conversions include pyrolysis, gasification and supercritical water gasification (SCWG) [11]. Syngas is the main product of biomass gasification which mainly consists of CO, CO2, CH4 and H2. Despite the low energy required for biological conversion, it takes too much time for completing the conversion and producing hydrogen. Moreover, experiments should be sustained in an equilibrium condition and any change in conditions disturbs the reactions [12]. SCWG is a hydrothermal treatment of biomass in water media with pressures above 220 bar and temperatures over 374 °C. SCW media prepares a unique condition for conversion of biomass in shorter reaction times with more efficiency [13, 14]. Water in this condition has much lower dielectric and ionic constant and becomes a unipolar solvent which can easily hydrolyze biomass [15, 16]. Lignocellulosic structure of biomass is composed of cellulose, hemicellulose and lignin. Cellulose is arranged in bundles while their molecules are interlinked with each other by another molecule named hemicellulose [17]. Lignin holds cellulose and hemicellulose in a network as a binder to form primary cell walls of the plants [18]. Cellulose is made of glucose subunits which have been linked with each other via β-1,4-glycosidic bonds [19]. Hemicellulose is a branched heteropolysaccharide consisting of C5 sugars (usually xylose and arabinose) and C6 sugars (galactose, glucose, and mannose) as subunits [20]. As mentioned in Eq. (1), hydrolysis of cellulose and hemicellulose takes place in the SCW media to produce fermentable sugars [9].

$${\text{Cellulose hydrolysis:}}\, \left( {{\text{C}}_{6} {\text{H}}_{10} {\text{O}}_{5} } \right)_{n} +\, n{\text{H}}_{2} 0 { } \to n{\text{C}}_{6} {\text{H}}_{12} {\text{O}}_{6}$$
(1)

These fermentable sugars are also dehydrated into 5-HMF (5-hydroxymethylfurfural) [21]. Under a suitable condition, 5-HMFs are degraded into acids, alcohols, aldehydes and ketones [22, 23]. Eventually, these small molecules can be reformed to gaseous products.

Lignin is a natural polymer with no exact structure consisting of phenyl propane with ester bond links. Lignin content is one of the most influential factors limiting the hydrolysis [24]. Lignin’s hydrolysis in SCW, followed by dealkylation, promotes the decomposition of lignin. As mentioned in Eq. (2), phenolic compounds such as syringols, guaiacols are formed to convert into polyphenols further [25].

$${\text{Lignin hydrolysis:}} \, \left( {{\text{C}}_{10} {\text{H}}_{10} {\text{O}}_{3} } \right)_{n} +\, n{\text{H}}_{2} {\text{O }} \to n{\text{C}}_{10} {\text{H}}_{12} {\text{O}}_{4}$$
(2)

Overall, the interaction between lignin, cellulose and hemicellulose in SCWG is not clearly specified. However, the amount of cellulose and hemicellulose and their availability in the structure can affect the conversion of lignocellulosic biomass into gaseous products.

It seems necessary to have a look at the main reactions occur during SCWG process to understand the effect of different parameters on gasification’s procedure. It is reported by many researchers that biomass gasification in SCW media is a complex process, but the overall chemical conversion can be represented by the simplified net reaction (3) [15]:

$${\text{CH}}_{x} {\text{O}}_{y} + (2 - y){\text{H}}_{2} {\text{O}} \to {\text{CO}}_{2} + \left( {2 - y + \frac{x}{2}} \right){\text{H}}_{2} ,\quad \Delta {\text{H}} \gg 0$$
(3)

where x and y are the elemental molar ratios of H/C and O/C in biomass, respectively. In addition, a group of competing reactions take place to complete the successful gasification which are mentioned in Eqs. (4), (5) and (6) [15].

Steam reforming:

$${\text{CH}}_{x} {\text{O}}_{y} + (1 - y){\text{H}}_{2} {\text{O}} \to {\text{CO}} + \left( {1 - y + \frac{x}{2}} \right){\text{H}}_{2} \quad \Delta {\text{H}} = 310\left( {\frac{\text{KJ}}{\text{mol}}} \right)$$
(4)

Water-gas shift:

$${\text{CO}} + {\text{H}}_{2} {\text{O}} \to {\text{CO}}_{ 2} + {\text{H}}_{2} \quad \Delta {\text{H}} = - 41\left( {\frac{\text{KJ}}{\text{mol}}} \right)$$
(5)

Methanation:

$${\text{CO}} + 3{\text{H}}_{2} \to {\text{CH}}_{ 4} + {\text{H}}_{2} {\text{O}}\quad \Delta {\text{H}} = - 206\left( {\frac{\text{KJ}}{\text{mol}}} \right)$$
(6)

In the methanation reaction, 3 mol of produced hydrogen are consumed by Eq. (6) for producing 1 mol of methane. Also, water-gas shift reaction consumes CO and water and produces H2 and CO2. Therefore, for hydrogen-selective SCWG process, methanation reaction should be decelerated.

Many experiments have been conducted for SCWG of biomass model compounds [2527]. However, some research has been done for gasification of agricultural wastes and real biomasses. Useful reviews for SCWG of biomass have been proposed by Kruse, Guo et al. and Tekin et al. [2830]. Rashidi et al. performed SCWG of bagasse using the same reactor with and without Ni/CNTs catalysts. The effect of bagasse loading and reaction times on hydrogen yield was studied. Hydrogen yield of 3.84 mmol/g was observed for non-catalytic tests at the temperature of 400 °C, the reaction time of 20 min, and bagasse loading of 0.15 g [31]. Safari et al. reported the gasification performances of three different agricultural wastes including walnut shell and almond shell in a base case condition [32]. Madenoglu et al. investigated the subcritical and SCWG of some hard nutshells in the absence and presence of the catalyst. Effect of temperature and catalyst was investigated on gaseous, liquid and solid products. Hydrogen yield was enhanced by increasing the temperature from 400 to 600 °C [33]. Liu et al. reported the product identification and distribution from hydrothermal conversion of walnut shells into liquefied products using KOH and Na2CO3 catalysts [34]. However, none of the previous studies performed a holistic analysis of gaseous products of SCWG of walnut shell.

The objective of this study is to investigate the hydrothermal gasification of Iranian walnut shell in SCW media for hydrogen-rich gas production. All of the main important parameters including temperature, feed content and reaction time were studied to observe the variation of gaseous products and to determine the optimum condition for hydrogen yield. Also, the simultaneous effect of reaction time and feed concentration was studied. Gasification efficiencies are also calculated using elemental analysis of walnut shell and the yield of the gaseous products. There is no work in the literature with a holistic analysis of hydrothermal gasification of walnut shell and its gaseous products. Therefore, the present study aims to study the gaseous products of walnut shell holistically and determine the optimum condition for hydrogen production.

Materials and methods

Materials

Walnut shell was provided by agriculture gardens around Sanandaj, located in Kurdistan Province of Iran. It was first washed and then dried in atmospheric condition for 48 h. After that, they were ground and sieved in three steps to obtain the desired particle size (diameter <150 μm). The elemental analysis of the prepared walnut shell was conducted by a CHNS analyzer (Vario EL III by Elementar, Germany) for characterization. As presented in Table 1, the C and H contents are 55.87 %. The mass fraction of oxygen in biomass is determined by Eq. (7):

$${\text{O}}\,\% \, = \, 100 \, {-}{\text{ C}}\,\% \, - {\text{ H}}\,\% \, - {\text{ N}}\,\% \, - {\text{ S}}\,\% \, - {\text{ Ash}}\,\%$$
(7)
Table 1 Elemental analysis of Iranian walnut shell

Reaction setup and experimental outline

Schematic of the reactor system and experimental setup is indicated in Fig. 1. Stainless steel batch micro-reactor with total volume of 25 mL has been used in this work. 0.06, 0.12 and 0.18 g of feedstock were added to 6 g of deionized water to make three mixtures with different concentrations. Argon as an inert gas stream was used for vacating the reactor and removing air for several minutes. The mixtures were injected into the reactor by a syringe. The reactor was immersed in a molten salt bath containing a mixture of potassium nitrate, sodium nitrate, and sodium nitrite. The molten salt bath temperature was measured using a K-type thermocouple and was controlled by a PID temperature controller in determined temperature. Figure 2 indicates the temporal variation of pressure inside the reactor in the mentioned conditions. The SCW condition was gained after approximately 2 min after the immersion of reactor inside the molten salt bath. For each experiment, after a certain reaction time, the reactor was taken out of the molten salt bath and immersed in a water bath for cooling down to room temperature. The final pressure of reaction was measured using a low-pressure gage after opening the high-pressure valve. The volume of the gaseous product was measured using a gasometer. The gas volume was measured with ±5 % accuracy. Experiments were performed three times under the same experimental conditions and reported data are the averages of three replicates.

Fig. 1
figure 1

Schematic of reactor system: 1 molten salt bath, 2 tubular batch reactor, 3 electrical heater, 4 high-pressure valves, 5 low-pressure valve, 6 low-pressure gage, 7 high-pressure gage, 8 mixer, 9 k-type thermocouple, 10 water bath, 11 temperature controller, 12 flow meter and 13 argon gas bottle

Fig. 2
figure 2

Temporal variation of reactor’s pressure (T: 440 °C, 0.06 g walnut shell, 6 g water)

Product analysis method

Gas samples were taken using tight syringes and injected into the gas chromatograph’s column. Gas chromatograph (Varian 3400 and Teyfgostar-Compact) was equipped with PORAPAK Q-S 80/100 (30 m long, 0.53 mm I.D) column, a methanizer and flame ionization detector (FID). Argon was used as carrier gas and oven temperature program was in the following: 40 °C isothermal for 5 min, increase in temperature from 40 to 75 °C in 17.5 min and isothermal in 75 °C for 5 min. The methanizer option enables the FID to detect levels of CO and CO2. During analysis, methanizer is heated to 380 °C with the FID detector body. When the column effluent mixes with the FID hydrogen supply and passes through the methanizer, CO and CO2 are converted to methane. GC was calibrated with standard gas mixture supplied by ROHAM Company in Tehran, Iran. The standard deviation for the results of gas composition was calculated to be ±2 %.

Reported data are the averages of several observations for each experiment for more reproducibility of data. Also, the accuracy of data collection and comparison between means of compositions and yields from the processing of two samples was studied through ANOVA (analysis of variance). The statistical level was 5 % with p < 0.05. Gaseous products have been presented in the form of gas yield which is the mmoles of the gaseous products in 1 g of walnut shell. Elemental analysis is used to determine the CGE which is the ratio of the amount of carbon in the produced gasses to the amount of carbon in the initial walnut shell and HGE which is the ratio of the amount of hydrogen in the gaseous products to the amount of hydrogen in the initial walnut shell. Mathematically, CGE and HGE are defined by Eqs. 8 and 9 [25]:

$${\text{CGE}} = \frac{{\left( {{\text{Moles}}\,{\text{of}}\,{\text{carbon in}}\,{\text{gaseous}}\,{\text{products}}} \right)}}{{\left( {{\text{Moles}}\,{\text{of}}\,{\text{carbon}}\,{\text{in}}\,{\text{walnut}}\,{\text{shell}}} \right)}}$$
(8)
$${\text{HGE}} = \frac{{\left( {{\text{Moles}}\,{\text{of}}\,{\text{hydrogen in}}\,{\text{gaseous}}\,{\text{products}}} \right)}}{{\left( {{\text{Moles}}\,{\text{of}}\,{\text{hydrogen}}\,{\text{in}}\,{\text{walnut}}\,{\text{shell}}} \right)}}$$
(9)

Results and discussion

Results for SCWG of walnut shell will be presented in this section. The effect of operating conditions including temperature, reaction time and biomass loading on the gaseous product yields, CGE and HGE will be presented first, and then the combination of these effects will be analyzed. The total gaseous product presented in the results is the sum of main gaseous components including CO, CO2, H2 and CH4. Table 2 presents the summary of the different conditions and the results of gasification. Temperature varied between 400 and 440 °C while biomass loading changed in the range of 0.06–0.18 g. Moreover, reaction times of 10, 20 and 30 min were considered for study the effect of the residence time of the biomass in the reactor.

Table 2 Summary of experimental conditions and SCWG results

Effect of temperature

As shown in Fig. 3, an increase in temperature from 400 °C to reactor’s maximum temperature (440 °C), enhances endothermic reforming reaction of walnut shell in SCW and increases the total gas yield. Variations of individual gas yields against temperature are shown in Fig. 4. As seen, increasing temperature leads to increasing of H2, CO2, and CO yields while CH4 decreases slightly. It can be concluded that increase in temperature has a significant effect on SCWG process and enhances total gas yield through promoting of reforming reaction. In addition, due to endothermic nature of overall reaction mentioned in Eq. (3), experiments should be performed at the allowable high temperatures. Thus, the best temperature for the conversion of walnut shell into gas products for our lab instruments is 440 °C.

Fig. 3
figure 3

Effect of temperature on total gas yield and efficiencies of walnut shell gasification (reaction time 20 min, walnut shell loading 0.06 g, water loading 6 g)

Fig. 4
figure 4

Effect of temperature on the yield of main gaseous products of walnut shell gasification (reaction time 20 min, walnut shell loading 0.06 g, water loading 6 g)

Effect of reaction time

Reaction time increased from 10 to 30 min for investigating the effect of resident time of biomass in the reactor on gaseous products and gasification efficiencies. Experiments performed at least three times for each reaction time and the averages are reported in Figs. 5 and 6.

Fig. 5
figure 5

Temporal variation of main gaseous products of walnut shell (T: 440 °C, walnut shell loading 0.06 g, water loading 6 g)

Fig. 6
figure 6

Effect of reaction time on total gas yield and efficiencies of walnut shell gasification (T: 440 °C, walnut shell loading 0.06 g, water loading 6 g)

Figure 5 depicts that hydrogen yield increases by increasing the reaction time, reaches a maximum at the reaction time of 20 min and then starts to decrease. The aim of this study is to optimize hydrogen production in SCWG of walnut shell. Hence, 20 min is the optimum reaction time for maximum yield of hydrogen when reaction time deviates from 10 to 30 min.

Methane yield also increased by a factor of 3.64. Extending the reaction time increases the methane yield from 0.39 to 1.22 (mmol gas/g of walnut shell). As reaction time increased from 10 to 20 min, the methane yield increased, while the total gasification yield increased by a factor of 1.28. Beyond 20 min of reaction time, the total yield of the product gas was not changed significantly while the composition continued to change. The decrease in hydrogen yield and increase in the methane yield can be associated to the methanation process (Eq. 7). According to Eq. (7), consuming 3 mol H2 generates 1 mol CH4 and consumes 1 mol CO. Meanwhile, downward trend of H2 yield should be sharper than the rising trend of CH4 and CO yields. When the objective of biomass gasification in SCW is hydrogen production, reaction (7) must be restrained and CO reacting with water to form CO2 and H2 (Eq. 6) must be enhanced. Figure 5 also shows that the yield of CO2 increases as reaction time increases from 10 to 30 min. This figure also shows that the CO yield decreases with time slightly which is due to the reaction of CO with water to form CO2 and H2 by increasing time. As shown in Fig. 6, the amount of total generated gas increased from 20.02 to 23.22 (mmol/g of walnut shell) when reaction time increased from 10 to 30 min.

Effect of walnut shell loading

Figure 7 shows the total gas yield as a function of walnut shell loading. The walnut shell loading changed from 0.06 to 0.18 g while the amount of water loading was fixed at 6 g. As walnut shell loading increased, H2 and CO2 yields decreased by factors of 2.17 and 2.13, respectively. In addition, CO yield decreased from 1.622 to 1.084 (mmol/g of walnut shell). The increment in the ratio of walnut shell to water decelerates the steam reforming reaction on Eq. (5), which is followed by a decrease in walnut shell conversion and total gas yield. However, there is an increase in the methane yield which is due to the consumption of CO and H2 to produce methane (Eq. 7) at lower water/walnut shell ratios.

Fig. 7
figure 7

Effect of biomass loading on total gas yield, CGE, and HGE of walnut shell gasification (T: 440 °C, reaction time 20 min, water loading 6 g)

As shown in Fig. 8, the total gas yield decreased dramatically by increasing the concentration of walnut shell. Increasing walnut shell concentration from 0.06 to 0.18 g decreased the total gas yield from 22.36 to 12.86 (mmol gas/g of walnut shell). Moreover, CGE and HGE decreased when walnut shell loading increased. CGE decreased sharply from 41.7 to 25.2 %, while HGE decreased slightly from 15.38 to 13.67 %.

Fig. 8
figure 8

Effect of feed loading on total gas yield, CGE and HGE of SCWG of walnut shell (T: 440 °C, reaction time 20 min, water loading 6 g)

Figure 9 indicates the simultaneous effect of reaction time and feed loading on hydrogen yield. The highest hydrogen yield was observed at the lowest walnut shell loading of 0.06 g and at the optimum reaction time of 20 min. It can also be perceived that the effect of feed loading is much more significant than the effect of reaction time on hydrogen yield.

Fig. 9
figure 9

Comparison of hydrogen yields at various reaction times and walnut shell loadings (T 440 °C, water loading 6 g)

Compared to the previous study of SCWG of walnut shell, this study resulted in the H2 yield of 2.44 mmol/g in 400 °C, which was slightly higher than that of Madenoglu et al. Also, the methane yield was nearly the same. There is no previous study on SCWG of Iranian walnut. Hence, this research presents a sustainable way for utilization of this bio-renewable agricultural waste.

Conclusion

The results of this study promise a sustainable process for making an alternative fuel from walnut shell which is an agricultural waste. Gasification of walnut shell in SCW media was performed under 13 different conditions to observe the effect of parameters including temperature, feed content and reaction time on the yields of main gaseous products considering the main reactions of the process. Promising results were obtained using holistic and comprehensive analysis of gaseous products and affecting parameters, for waste management sector and energy industry of Iran which has not been studied before. Ranges of variation of parameters were determined, considering the capacity of the reactor system and the obtained results from the literature. The temperature had a significant effect on the total gas and hydrogen yield so that as temperature increased, hydrogen yield increased while increasing the temperature may cause intensive energy consumption. So, the appropriate range of temperature was considered between 400 and 440 °C and the maximum hydrogen yield occurred in 440 °C. The effects of reaction time and walnut shell loading were investigated at this temperature. The maximum hydrogen yield of 4.63 (mmol gas/g of walnut shell) was observed at the reaction time of 20 min, walnut shell loading of 0.06 g and temperature of 440 °C.