#### Abstract

The use of biomass due to the reduction in greenhouse gas emissions and environmental impacts has attracted many researchers’ attention in the recent years. Access to an energy conversion system which is able to have the optimum performance for applying valuable low heating value fuels has been considered by many practitioners and scholars. This paper focuses on the accurate modeling of biomass gasification process and the optimal design of a multigeneration system (heating, cooling, electrical power, and hydrogen as energy carrier) to take the advantage of this clean energy. In the process of gasification modeling, a thermodynamic equilibrium model based on Gibbs energy minimization is used. Also, in the present study, a detailed parametric analysis of multigeneration system for undersigning the behavior of objective functions with changing design parameters and obtaining the optimal design parameters of the system is done as well. The results show that with exergy efficiency as an objective function this parameter can increase from 19.6% in base case to 21.89% in the optimized case. Also, for the total cost rate of system as an objective function it can decrease from 154.4 $/h to 145.1 $/h.

#### 1. Introduction

One important issue which has attracted the attention of researchers in the recent years is the environmental problems and use of renewable energy sources to mitigate the global warming effects in energy conversion systems. The use of biomass as a clean fuel with organism sources as a suitable fuel with high conversion efficiency has been considered by many researchers.

Reducing fossil fuels dependency by utilizing new energies such as biomass is possible. The use of renewable fuels can significantly help reduce the effects of greenhouse gases and global warming phenomenon. A multigeneration system can generate some output products using one or more input energy. The main objectives of a multigeneration system include increase in efficiency, reduction in the environmental impacts, and reduction in final cost rate of products. In recent years, some studies have been done on trigeneration systems as a type of multigeneration and the use of renewable energies as the prime mover of such systems.

Li et al. [1] carried out a thermal-economic optimization for a distributed multigeneration energy system. They find the optimum system configuration, design, and operation under different economic and environmental legislation.

Al-Sulaiman et al. [2] modeled a trigeneration system including an Organic Rankine Cycle, a single effect absorption chiller, and a biomass burning unit and carried out an exergy and exergoeconomic analysis for the proposed system. The analysis of the system showed that biomass burner with 55% exergy destruction rate and organic Rankine Cycle evaporator with 38% have the maximum exergy destruction rate in the system. Chicco and Mancarella [3] investigated polygeneration system from thermodynamic and environmental impact point of view. In another study, Huang et al. [4] examined key, technical, and economic characteristics of a system combined with Organic Rankine Cycle and direct combustion of biomass. This study was performed for ash content of biomass from 0.57% to 14.26% and moisture content of 10.6. The results showed that, in the pure electric generation mode, maximum efficiency and final cost rate are 221 £/kWh and 11.1%, respectively. Also, for cogeneration heat and power, maximum efficiency and cost rate were 87 £/kWh and 85%, and for trigeneration, maximum efficiency and cost rate were 103 £/kWh and 71.7%, respectively.

Rubio-Maya et al. [5] proposed a procedure based on the superstructure definition containing possible configurations of polygeneration system to produce electricity, heat, cool, and fresh water. They used an optimization procedure which included three important criteria, namely, energy saving aspects, greenhouse gas (GHG) emission, and economic factors. Hosseini et al. [6] investigated an integrated solid oxide fuel cell and a microgas turbine for desalination purposes. The results showed that the fuel cell stack pressure has a significant effect on the hybrid system and increase in the stack pressure increases the output power and fresh water capacity. Huang et al. [7] in their study examined a system with biomass feed for a number of residential buildings. In this study, a downdraft gasifier and different type of biomasses were used. They concluded that trigeneration system with heat to power ratio of 0.5 is suitable in residential buildings application. Furthermore, specific investment costs show that trigeneration system with biomass fuel for small units ranges from 2520 £/kWh to 2579 £/kWh. As the literature review shows, there is a gap in the multiobjective optimization of multigeneration systems integrated with biomass gasification. The present study attempts to give a precise model of biomass gasification process using a thermodynamic equilibrium model based on Gibbs free energy minimization. Also, this exact model is used in a multigeneration system for cooling, heating, electric power generation, and hydrogen energy as an energy carrier. To obtain the optimum design parameters, an optimization procedure based on defined objectives is performed.

#### 2. System Description

Figure 1 shows a schematic of the multigeneration system integrated with biomass gasification. The system consists of a gas turbine to be launched by hot air. A gasifier produces syngas using gasification of dry biomass. Produced syngas is combined with air exiting the gas turbine and generates combustion products at 1450 K in combustion chamber. Part of the combustion products after passing through ceramic heat exchanger enters an organic evaporator to run an Organic Rankin Cycle and after that by entering a double effect absorption chiller discharge to environment. Remaining combustion products enter into a heat exchanger with a lower temperature for generation of hot water and finally will be released in environment at 110°C. A proton exchange membrane (PEM) uses a part of electrical output of ORC to produce hydrogen as an energy carrier.

Table 1 shows some thermodynamic properties of multigeneration system.

#### 3. Modeling

##### 3.1. Thermodynamic Modeling

###### 3.1.1. Gasifier

Thermodynamic equilibrium equations have been used for modeling the gasification process which take place in the gasifier. The general form of chemical reaction in the gas producer is assumed as [13]Here, indicate the biomass chemical formula and is the amount of water per kmol of biomass. All coefficients to can be obtained from atomic balance and using equilibrium constant equations. The procedure can be expressed asThe other equations can be obtained from equilibrium reaction. As it is expected pyrolysis products before reaching reduction region are fired and prior to emitting from gasifier achieve equilibrium state; the reactions can be written as follows: Zainal et al. [12] and Higman and Van der Burgt [14] showed that (3) and (4) can be combined to give the water-gas shift reaction as follows:Another equilibrium reaction is methane reaction, which can be expressed asThe equilibrium constants for water-gas shift reaction and methane reaction can be written as follows [11]:The equilibrium constant can be obtained using Gibbs function change for each reaction as [8]Here, is the standard Gibbs free energy of reaction, and shows the standard Gibbs function of formation at the given temperature for the gas species and is the universal gas constant, 8.314 kJ/(kmol·K). Finally, an energy balance is utilized to evaluate the gasification temperature (*T*_{g}) as follows [8]: is the formation enthalpy in terms of kJ/kmol, and is enthalpy difference for the given state with reference state. is the enthalpies of the formation of the biomass, moisture, hydrogen, carbon monoxide, water, carbon dioxide, methane, and nitrogen, respectively. To calculate LHV, the experimental relation used by Channiwala and Parikh [15] has been used:The coefficients ASH, N, O, S, and H are the weight percent of the components of solid fuel, is the weight percent of hydrogen in fuel, and is the water vapor enthalpy.

###### 3.1.2. Organic Rankine Cycle

As it can be seen in Figure 1, the combustion products enter the Organic Rankine Cycle evaporator at 6b point and launch this cycle. The governing equations of the Organic Rankine Cycle at steady state condition are mass balance and energy balance; more detail can be found in [16].

###### 3.1.3. Proton Exchange Membrane (PEM) Electrolyzer

In this research hydrogen is used as our energy carrier. Thus, a PEM electrolyzer for hydrogen production is used. The electricity and heat are fed to the electrolyzer to drive the electrochemical reactions in PEM electrolyzer. As shown in Figure 1, liquid water at ambient temperature enters a heat exchanger that heats it to the PEM electrolyzer temperature before it enters the electrolyzer. Leaving the cathode at the reference temperature, the hydrogen produced is stored in a storage tank. The oxygen gas produced at the anode is separated from the water and oxygen mixture and then cooled to the reference environment temperature. The remaining water is returned to the water supply stream for the next hydrogen production cycle. The overall PEM electrolysis reaction is water splitting; that is, electricity and heat are used to separate water into hydrogen and oxygen.

The mass flow rate of hydrogen produced from PEM electrolyzer can be calculated asHere is efficiency of the electrolyzer which is about 60% and is the higher heating value of hydrogen which is J/kg. The exergy of hydrogen stream can be calculated asThe physical and chemical exergy of hydrogen are given as [17]More details about thermochemical modeling of the PEM electrolyzer are given elsewhere [18].

###### 3.1.4. Gas Turbine

The governing equation on the gas turbine cycle that is used for the thermodynamic modeling of the system components is as follows:

To calculate the chemical exergy of the fuel, lower heating value and the coefficient are required and written as follows [19, 20]:, , and are the mass components of carbon, hydrogen, oxygen, and nitrogen in biomass. For the studied biomass with the presented chemical formula and the above equation, the higher heating value of fuel is 19980 kJ/kg. Also, the lower heating value of the biomass can be calculated by the following equation and given that kJ/kg [20]:In the above equation, H and M are the percent of hydrogen and moisture content, respectively.

###### 3.1.5. Double Effect Absorption Chiller

This type of chiller can be used for ventilation and cooling purposes. Compared to the compressed cooling system, this system requires less shaft work for cooling generation. Water-ammonium is a widely used working fluid and is used in absorption systems and multigeneration objectives. In the system analysis, the mass conservation law and energy balance are used for each component of double effect absorption chiller as a control volume. The law of conservation of mass for the overall mass and component conservation for each component of the solution in a steady mode and constant current is written as follows: Here, is the mass flow rate of working fluid and is the concentration of ammonium in the solution. The energy equilibrium for the system components is written as follows [21]:

*(a) Exergy Analysis*. To obtain the exergy of each point of the cycle, by considering the control volume for each component in the steady state, the exergy balance equation is as follows:

The exergy of different points is composed of two parts including physical exergy and chemical exergy:

The chemical exergy of each state depends on its pressure and temperature that is shown as follows:

In general, the chemical exergy for a gas mixture can be obtained by the following equation:where is the molar fraction of the th component and is the standard exergy of the th pure material. In the absorption chiller, as ammonium water solution is not ideal, the following equation is used for calculating the chemical exergy: With the extension of the above equation for the ammonium water solution, the following can be written: where is water activity and is the ratio of water vapor pressure in the mixture to pure water pressure and is ammonium activity which is considered as ratio of ammonium vapor pressure in the mixture to pure water pressure. This equation is composed of two parts: the standard chemical exergy of the pure material and the exergy caused by separation process as follows: where as a molar fraction is as follows: And is defined as follows:where is the concentration of ammonium water concentration in a percent form and and are 17 kg/kmol and 18 kg/kmol, respectively.

*(b) Economic Analysis*. The main aim of the economic modeling is to obtain the cost functions of each component and a calculation of the final cost rate of the system. There are various methods for determining purchase equipment cost in terms of the designed parameters. Here, the function is presented by Bejan and Moran [22], Ahmadi [23], and Soltani et al. [24], with some modifications done in accordance with local conditions and interest rate in Iran. Table 2 shows the cost functions for each component of the trigeneration system in terms of design parameters.

*(c) System Assessment*. To perform an exact evaluation of the system and the impact of the design parameters on thermodynamic and economic performance, the exergy efficiency and the final cost rate are considered as two objective functions. These objective functions are defined as follows:

In the above equation is the biomass cost which is obtained from an analysis of local data and wood purchase costs.

#### 4. Result and Discussion

##### 4.1. Model Validation

Biomass gasification process is the most important part of the thermodynamic modeling of the multigeneration system. To validate the developed thermodynamic equilibrium model, the results are compared to those of other studies. In order to determine the error of the modeling, the root mean square error of syngas compounds with compounds derived from experimental results [10] and also other researchers’ modeling [11] is used. Table 3 shows the syngas compounds produced in the present model, experimental results also the work of others.

As it can be seen, there is a reasonable consistency between the present modeling results and the experimental results by Jayah et al. [10]. The maximum deviation from the experimental results is related to methane. The calculations indicate that root mean square error of the experimental results and the present modeling is 6.9. Also, the error of the present modeling results in the work by Jarungthammachote and Dutta [11] is 6.55. Figure 2 shows the mole fraction of each component of syngas.

##### 4.2. Exergy Analysis Result

Table 4 presents the different important parameters of multigeneration system under initial operation conditions. The results indicate that the exergy efficiency of multigeneration system is 19.69%. Also, the domestic hot water flow rate in the initial state is 42.16 kg/s. The economic results show that the ORC unit and gasifier with 11.53 $/h and 5.9 $/h have the highest cost rate compared with other components.

##### 4.3. Parametric Analysis

In order to determine the effects of the key parameters on the system performance, a parametric study is done. Given that the gasification temperature can significantly impact the percent of the syngas components, to study the impacts of the change in such parameter, its value has changed from 950 K to 1250 K. Figure 3 shows the range of such changes. As it could be seen, increase in the gasification temperature can reduce both overall system efficiency and costs simultaneously. Given that changes in gasification temperature can directly influence the percent of the generated gases, it can influence the air required for complete combustion in combustion chamber. By an increase in the relevant range, it can be found that the air required for combustion decreases from 7.57 kg/s to 5.88 kg/s.

Figure 4 shows the effect of this parameter on the main output of the system. The results indicate that cooling capacity and hot water output are not sensitive to change the gasification temperature while electricity output of the system decreases with an increment in the gasification temperature. Also, the hydrogen production rate in changing range of gasification temperature experiences an increment and decrement trend. It should be noted that such behavior is due to increment and decrement trend of electrical output of ORC. When the gasification temperature increases, there are two opposite effects.

To investigate the combustion temperature effects on the system performance this parameter is changed from 1300 K to 1400 K. It can be seen in the higher combustion temperature that the exergy efficiency of the system and total cost rate of the system experience lower values (Figure 5).

The changing of the main outputs of the system with variation of combustion temperature of syngas is illustrated in Figure 6. As it can be seen the cooling capacity of the system has no change with combustion temperature change, while hydrogen production rate and domestic hot water increase with combustion temperature increment. It can be found that in the reasonable range of combustion temperature the total electricity output decreases from 2534 kW to 2353 kW. Since the decrement in the electricity output of the system is higher than increment in the exergy of produced hydrogen, the exergy efficiency decreases with raising the combustion temperature.

One of the main parameters effective in the system performance is compressor pressure ratio. The result shows that increase in the compressor pressure ratio leads to energy and exergy efficiency to a limited extent. Figure 7 presents that for the pressure ratio higher than 9.5 the energy efficiency will decrease. Since the higher pressure ratio imposes more work to derive compressor, the exergy and energy efficiency in higher pressure ratio show a decrement.

An important parameter which has a severe effect on the ORC performance is the ORC maximum pressure. To examine the influence of this parameter, the maximum pressure in the range of 800 kPa to 2000 kPa has been considered as variable. As it can be seen in Figure 8 an increase in Organic Rankine Cycle pressure simultaneously increases the overall cost of the system, energy efficiency, and exergy efficiency.

The higher ORC maximum pressure leads to the higher work output from organic turbine which results in increase in the exergy and energy efficiency of the system. At the higher ORC maximum pressure the cost of the ORC components increases which leads to increase in the total cost rate of the system as it can be seen in Figure 9.

Also, Figure 9 illustrates the effect of changing inlet temperature to the chiller on the total cost rate, energy efficiency, and exergy efficiency. The results exhibit that an increment in the inlet temperature to chiller decreases energy efficiency, exergy efficiency, and total cost rate of the system. Increasing this parameter has two effects on the system. Increasing this temperature could lead to increase in cooling capacity and on the other hand decrease in the ORC power output because of lower energy gain in the ORC evaporator.

Due to the change of molar fraction of syngas composition, the biomass moisture content can significantly impact the system performance. As it could be seen in Figure 10, by increasing the moisture from 0.1 to 0.3, the system overall cost rate and the second law efficiency are reduced substantially.

The ratio of the mass flow rate for ORC evaporator () to the mass flow rate of ceramic heat exchanger () is bypass ratio. The result of bypass ratio variation demonstrates that an increment in this parameter results in an increment in the energy efficiency, exergy efficiency, and total cost rate of the multigeneration system (Figure 11).

The parametric study of multigeneration system reveals that the design parameters have different effects on the thermodynamic and economic performance of the system. To select the best value of design parameters an optimization method should be done. In the following section the optimization procedure is described.

#### 5. Optimization Results

To optimize the performance of the system two objective functions in (28) and (29) are defined. Seven decision variables, namely, gasification temperature, combustion temperature, compressor pressure ratio, moisture content of biomass, temperature inlet to the chiller, bypass ratio, and maximum pressure of ORC, are selected to carry out optimization. Table 5 represents the reasonable range of decision variables.

In this study the genetic optimization option of EES is used to find the optimized value of problem. Genetic algorithm as a repetitive algorithm with random search strategy and biological evolution modeling attempts to find optimal solutions. Exergy efficiency and total cost rate are selected separately as two objective functions. The result of optimization is presented in Table 6.

The result of optimization indicates that the exergy efficiency of the system can increase to 21.89% and total cost rate of the system can reduce to 145.1 $/h.

#### 6. Conclusion

Biomass is clean and available and is a type of renewable energy source that is derived from biomass resources. Biomass energy can be used for direct combustion or gasification process. Accurate modeling of biomass gasification is highly important due to the complex reactions of the gasification process. In this study a multigeneration system integrated with biomass gasifier unit is investigated. A parametric study and a single objective optimization are carried out. The result of parametric study for seven decision variables is presented. The optimization results reveal that the exergy efficiency of the multigeneration system increases about 2.29% and total cost rate of system can decrease 13.1 $/h compared to the initial state of the system.

#### Nomenclature

: | Cost rate ($/h) |

DHW: | Domestic hot water heater |

ex: | Exergy (kJ/kg) |

HHV: | Higher heating value (kJ/kg) |

LHV: | Lower heating value (kJ/kg) |

: | Number of moles required for firing per kmol of wood |

: | Mass flow rate (kg/s) |

ORC: | Organic Rankine Cycle |

: | Pressure ratio |

: | Temperature |

: | Amount of water per kmol of biomass |

: | Cost of component. |

*Subscripts*

AP: | Air preheater |

C: | Carbon |

CC: | Combustion chamber |

ch: | Chemical |

comb: | Combustion |

comp: | Compressor |

Cond,R: | Organic condenser |

Eva,R: | Organic evaporator |

: | Formation |

gasif: | Gasification |

GT: | Gas turbine |

: | Enthalpy (kJ/kg) |

: | Equilibrium constant |

ph: | Physical |

Prod: | Product |

Pump,R: | Organic pump |

: | Universal gas constant (kJ/kg·K) |

Tur,R: | Organic turbine |

: | Reference state. |

*Greek Symbols*

: | Biomass exergy coefficient |

: | Exergy efficiency. |

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

The authors would like to thank National Iranian Gas Company (NIGC) for the helpful support.