Exergoeconomic evaluation and multi-objective optimization of a novel geothermal-driven zero-emission system for cooling, electricity, and hydrogen production: capable of working with low-temperature resources

Geothermal energy is an abundant natural resource in many regions around the world. However, in some areas, the temperature of the geothermal energy resource is too low to be efficiently harvested. Organic Rankine cycles (ORCs) are known for recover‑ ing heat from low‑temperature resources and generating electricity. Furthermore, half‑effect absorption chillers (HEACs) are designed to produce cooling with low‑ temperature resources. This study proposes a novel configuration that utilizes an ORC for electricity generation, a HEAC for cooling production, and a PEM electrolysis system to produce hydrogen. The power section consists of two turbines, one driven by the vapor produced from the geothermal flow expansion, which powers the PEM section, while the other turbine in the ORC is used to drive pumps and electricity production. First, the system is thermoeconomically analyzed for an initial set of inputs. Then, various parameters are analyzed to determine their influences on system performance. The analyses reveal that the system can work with geothermal source temperatures as low as 80 °C, but the exergy and energy (thermal) efficiencies decrease to around 17% under the base settings. Furthermore, the system is capable of working with resource temperatures up to 170 °C. Ten parameters are found to affect the sys‑ tem’s efficiency and effectiveness. To optimize the system, the Non‑dominated Sorting Genetic Algorithm II (NSGA‑II) is implemented to find the optimum conditions. The objective functions are exergy efficiency and unit polygeneration cost (UPGC), which can conflict. The optimization shows that the exergy efficiency of the system can reach 48% in the optimal conditions (for a heat source temperature of 112 °C and a mass flow rate of geothermal fluid of 44 kg/s), with a hydrogen production rate of 1.1 kg/h.


Introduction
The rising global demand for energy and concerns over greenhouse gas emissions have shifted attention towards renewable energy sources, such as biomass, solar, wind, and geothermal, aiming to reduce reliance on fossil fuels.In many locations around the world, low-temperature geothermal resources (less than 125 °C) are available, which are usually used directly in applications such as greenhouse heating, space heating, or aquaculture (Putriyana et al. 2022).Using these resources more effectively to produce power is important, but it may not be attractive economically.Therefore, incorporating additional subsystems, such as cooling and/or hydrogen production, becomes beneficial to enhance the revenue portfolio and improve the cost-effectiveness of geothermal energy.For example, in remote areas where power transmission lines are not accessible, the generated power can be used for hydrogen production.Alternatively, a portion of the electricity can be sold to the local grid, while the remaining power is dedicated to hydrogen production.Furthermore, waste heat, which cannot be effectively utilized for power production, can be harnessed for cooling purposes, such as in cold storage facilities.Moreover, seasonally, part or all of the integrated system can be utilized based on seasonal demands in the market.
Recent studies have focused extensively on multigeneration systems that produce hydrogen and oxygen (Zhang et al. 2023).These systems can be combined with several energy technologies, such as combined power and cooling (Aryanfar and Alcaraz 2023;Blanke et al. 2021;Huang et al. 2023;Tang et al. 2022;Wang et al. 2019), power and heating (Marefati et al. 2019;Wu et al. 2019), and heating, cooling, and power (Assareh et al. 2023;Pang et al. 2023).
Numerous studies have been reported recently in these areas, highlighting their importance.Delpisheh et al. (2021) proposed a solar-based setup to produce freshwater, electricity, and hydrogen from seawater.It uses solar collectors, an organic Rankine cycle (ORC) for electricity, a low-temperature electrolyzer for producing hydrogen, and a desalination unit for freshwater.The cost per unit exergy was determined for different solar radiation modes: 80 $/GJ for low radiation, 60.3 $/GJ for high radiation, and 81.4 $/GJ for no radiation.While this system has good energy efficiency in basic design mode (81.46%), it has low exergy efficiency (5.22%).Karabuga et al. (2023) examined a solar-ORC system combined with a heat pipe solar collector to produce hydrogen.The modified system attained exergy and energy efficiencies of 2.15% and 3.45%, respectively, when all electricity was used for hydrogen production.Nevertheless, the exergy and energy efficiencies of the proposed system are not high which implies that the system may face challenges in practical implementations.Farajollahi et al. (2023) introduced a new system to recover unused heat using a dual-flash binary geothermal power generation plant to enhance overall efficiency.The system optimizes energy usage by incorporating reverse osmosis desalination, a Rankine cycle, and a proton exchange membrane electrolyzer (PEME).Using a non-dominated sorting genetic algorithm-II (NSGA-II) technique, the system achieves an average cost of products of 4.54 $/MWh and an exergy efficiency of 43.83%.The estimated freshwater production rate, net output power, and hydrogen production rate, respectively, are 22.51 kg/s, 6474 kW, and 1.84 kg/h.The drawbacks of this system pertain primarily to reverse osmosis freshwater production.The quality of the output water is dependent on the conditions of the inlet water and the quality of the membranes, which deteriorate over time as the system operates.Razmi et al. (2023) introduced a hybrid approach using solid oxide electrolyzer/fuel cells and a heliostat solar field to generate green hydrogen using advanced high-temperature units.The system can generate electric power at as high a rate as 54.3 MWh and achieves a hydrogen production rate of 7.76 tons/day, with an overall efficiency of 74.2%.However, the heliostat field needs a large land area, which may negatively affect ecosystems and wildlife habitats either because of the removal of flora to create bare land for installing mirrors or due to unwanted reflected beams affecting neighborhoods.Wang et al. (2023) examined a hybrid system that combines wind turbines with a biomass-driven SOFC to improve hydrogen concentration in the fuel.Feasibility studies and performance evaluations show significant efficiency enhancement, with increasing wind power leading to higher net power and efficiency.The optimal point yields a net output power of 322 kW.However, the sustainability and environmental effects of biomass and the intermittent nature of wind energy are drawbacks of the mentioned renewable energy resources.Yuksel et al. (2023) designed a geothermal-based multigeneration plant, including a Kalina cycle, freshwater production, liquid hydrogen production, and a thermoelectric generator.The system achieves energy and exergy efficiencies of 46.87% and 44.13%, respectively.The maximum exergy destruction happens in the Kalina cycle, while liquid hydrogen production exhibits the highest exergy efficiency of 54.17%.Eight key factors influencing the system's efficiency are evaluated.Khodaparast et al. (2023) investigated efficient configurations for systems to liquefy hydrogen, combining a geothermal-driven ORC and a Claude cycle to reduce compression work and enhance liquid nitrogen supply.A thermoeconomic assessment was conducted, highlighting the significance of combined modeling for liquid nitrogen supply in achieving better system performance under various conditions.
Geothermal energy is an important renewable resource due to its reliability, stability, and relatively widespread accessibility (Zare and Takleh 2020).This form of energy includes the heat stored underground over a wide temperature range.Combining geothermal sources and absorption chillers has been extensively considered for multigeneration.For instance, Hai et al. (2023) proposed an integrated energy system that produces electricity, potable water, heating, cooling, and H 2 .It was evaluated using various indicators and subject to optimization.The system produces 99.25 kW of output work and has exergy and energy efficiencies of 32.1% and 24.4%, respectively.This study reveals that increasing the geothermal flow temperature reduces the values of the exergoenvironmental parameters while increasing the pressure of FT1 increases cooling load and energy efficiency but decreases other factors.Zhang et al. (2022) studied a parallel double-effect absorption power cycle based on LiBr-water brine to utilize effectively geothermal energy utilization.The system improves exergy efficiency by 12.3% and net power output by 41.3% and reduces total product unit cost by around 10.1%.However, the study lacks an optimization process which may provide better results.Li et al. (2022) introduced a trigeneration layout featuring a cascade electricity production system, PEME, and a CO 2 compression refrigeration system with an absorption refrigeration system (ARS) after-cooler.The system was enhanced thermodynamically to maximize its efficiency and effectiveness, resulting in an exergy efficiency of 26.5%.At the optimum conditions, the system generates 451.8 kW of net output power, provides a cooling rate of 297.8 kW, and produces hydrogen at a rate of 2.274 kg/h, combining absorption and compression technologies.
Single-effect absorption cycle elements are highly interdependent, meaning that the heat sink, source, and generator temperatures are dependent (Schweigler et al. 1999).The mentioned temperature constraint can be overcome using a half-effect absorption chiller (HEAC), also known as a double-lift cycle, which allows for a broader range of cooling water temperatures (Herold et al. 2016).Half-effect absorption chillers can work at lower temperature ranges, as low as 80 °C (Loreti et al. 2019), although their exergy efficiency and coefficient of performance may be lower than that of higher-effect absorption chillers when used with higher temperature sources (Maryami and Dehghan 2017).Domínguez-Inzunza et al. (2014) assessed various arrangements of absorption cooling chillers.The half-effect system has advantages, including lower generation temperatures (starting from 55 °C) and better performance at high condensation and absorption temperatures (up to 40 °C).However, its coefficient of performance is roughly half that of single-effect systems.Hernández-Magallanes et al. ( 2019) performed a thermodynamic assessment on a cooling system that utilizes a low-enthalpy geothermal source and operates based on a half-effect absorption mechanism.The system used an NH 3 /LiNO 3 mixture and achieved cooling temperatures as low as − 16 °C, with a COP between 0.10 to 0.36 and exergy efficiency varying between 0.15 and 0.40.The proposed system operated within a temperature range of 56 to 70 °C using real data from geothermal wells in Baja California Sur, Mexico.Chen et al. (2019) evaluated and compared the thermoeconomic performances of four dissimilar solar trigeneration systems based on photovoltaic thermal (PVT) collectors coupled with single-effect and half-effect refrigeration chillers.The results show that the configuration based on glazed PVT collectors joined with HEAC performs the best, achieving the maximum solar COP and solar utilization factor.Chen et al. (2019) highlight the potential of using HEAC to improve solar multigeneration system performance relying on PVT collectors in subtropical climates.
In summary, it can be seen that although geothermal energy is a reliable resource, it usually has low exergy values, which makes it challenging to exploit efficiently.That is, geothermal resources usually have low temperatures, making harvesting difficult.The literature also confirms that the energy efficiency of geothermal systems is not very high.However, it should be noted that although the efficiency of these systems may be low, the denominator of the efficiency ratio is almost free, unlike systems that rely on fossil fuels.Nevertheless, exergy efficiency is important because it refers to the capability to extract the maximum available or useful energy from a resource.This study aims to propose a system that can efficiently utilize low-temperature geothermal resources and analyze them to enhance understanding.The current investigation proposes and assesses a combined system that utilizes an ORC, a HEAC, and a PEM electrolyzer to harvest energy from geothermal resources with an acceptable polygeneration cost.The purposeful integration of the HEAC within the system enables it to work effectively with low-temperature resources.After evaluating the system under initial settings, a parametric investigation is carried out to identify the system performance with different values of parameters.In the next step, a multi-objective optimization is applied to find the system's optimal performance.Finally, the system's effectiveness is compared with other proposed configurations in the literature.

System description and assumptions
An innovative layout is proposed in this study to exploit geothermal energy to generate cooling, electricity, and hydrogen simultaneously.A single-flash geothermal power cycle linked with an organic Rankine cycle is used in the power section.This section has two turbines.The power produced by one turbine (driven by geothermal fluid vapor produced in the flash process) is completely used for the electrolysis process.The power of the other turbine (driven by the ORC) is used to drive pumps, and the rest is net output power.The geothermal fluid is then used in a half-effect cycle as the heat source to generate cooling.In the next stage, the geothermal fluid is collected, and part of it is used to preheat the water needed for the electrolysis process using a proton exchange membrane electrolyzer.Note in particular that including the HEAC in this system is crucial for working with low-temperature resources.In some situations, the temperature of the geothermal fluid following the geothermal power cycle drops considerably, rendering the utilization of single/multiple effects absorption chillers impractical.Moreover, the ORC is employed to harness considerable thermal energy from the liquid part of the geothermal flow after the expansion.
It is noted that, prior to this study, the feasibility of various configurations (including all/some mentioned subsystems) was assessed through multiple thermodynamics analyses based on the first and second laws, leading to the adoption of the specific configuration presented here.
Details of the proposed system for cooling, electricity, and hydrogen are depicted in Fig. 1.The plant incorporates three subsystems: an ORC, a HEAC working by water-lithium bromide, and a PEME.The hot geothermal fluid enters the system via line 7 and undergoes expansion through Ex.1 before entering a separation tank.The tank separates the geothermal fluid into vapor and liquid phases, each following its designated path.The vapor phase proceeds to turbine 1, where it expands and generates power.It then is conveyed to the low-pressure generator (LPG) of HEAC, transferring its remaining useful energy to the LPG.Simultaneously, the liquid phase from the separation tank, line 9, is conveyed to the ORC.In this stage, the liquid exchanges some of its remaining useful energy through HEX 1 to the ORC.Flow 10 remains hot.Next, it is directed towards the high-pressure generator (HPG) of the HEAC, where additional energy transfer occurs.The flow from line 14 subsequently merges with another portion of the geothermal fluid from line 13.A fraction of the combined flow is diverted through line 16 to preheat the input water for the PEME section, which enters at ambient temperature.Subsequently, it exits HEX4 at position 18 and rejoins the main part of the geothermal fluid, ultimately returning to the geothermal well at 19.The ORC maintains a specific pressure at HEX 1, which creates a consistent temperature difference with the geothermal fluid at line 9.This produces superheated vapor at line 4 that powers turbine 2 to generate work.The vapor then enters condenser 1, condenses, and is compressed by pump 1 to the specified pressure.In the HEAC section, the weak brine (LiBr-water) arrives at the LPG (low-pressure generator), which is heated by geothermal fluid, producing water vapor.The vapor comes in the high-pressure absorber (HPA), while the strong solution returns to the low-pressure absorber (LPA).Before entering the Fig. 1 Schematic of the designed multigeneration system (Tur.: turbine, HEX: heat exchanger, Cond.: condenser, EV: expansion valve, GT: geothermal) expansion valve (EV.2), the strong solution exchanges energy with the cooler weak solution that exits the pump.After expanding, the strong solution enters the LPA.External lowtemperature water flow also helps to cool the brine and absorb water vapor from line 38.Once enough water has been absorbed, the brine is pressurized to a higher pressure and directed toward the high-pressure generator (HPG) in line 23.As mentioned before, the vapor produced in the LPG enters the HPA via line 26.The HPA absorbs it via the strong solution from the HPG in line 31.The other parts of the high-pressure section are similar to the low-pressure section, except for the vapor produced in the HPG.This vapor is directed towards condenser 2 (Cond.2), where it is condensed.After passing through an expansion valve, its pressure reduces, providing cooling in the evaporator.In the hydrogen production section, preheated water is passed to the PEME, where the power produced by turbine #1 is utilized to split water into oxygen and hydrogen.
The present simulation and analysis employs several assumptions to manage its complexity: • The investigation is done under steady-state and thermodynamic equilibrium conditions.• The surroundings are taken to be at a pressure of 101.3 kPa and a temperature of 25 °C.
• All compressors, turbines, and pumps operate adiabatically with assumed isentropic efficiencies.• Negligible variations are present in potential and kinetic energies.
• The condenser's output flow is assumed to be completely condensed, while the evaporator's output is supposed to be saturated vapor.• It is assumed that the solutions in the absorbers and the generators are in equilibrium.
• The water-lithium bromide solution that exits the absorber or generator is diluted at the same temperature as the absorber or generator.
Boundary conditions and input information for the system are given in Table 1.Subsequently, the system's sensitivity to some of these parameters is analyzed, and optimization is performed to ensure that the parameters are appropriately selected.

Energy and exergy analysis
In the current investigation, the first law of thermodynamics was utilized to describe the overall energy conservation of the system.Relying on the mentioned assumptions, a general energy rate balance for an element could be written as follows (Bahrami and Fazli 2024): where Q and Ẇ are heat and work rates, respectively, which cross boundaries.
Additionally, a general exergy rate balance for each component can be written as follows (Mohseni et al. 2024): where
The proposed multigeneration system aims to produce hydrogen, power, and cooling, utilizing hot geothermal water as its energy source.This system's energy (or thermal) efficiency is determined by calculating the sum of the net produced power, stored hydrogen, and cooling effect, and dividing by the input energy derived from geothermal hot water.That is: (3) Table 2 Exergy and energy balances and other expressions for system components

Component Energy balance Exergy balance
Expansion valve 1 where LHV H 2 is the lower heating value of H 2 and the total harvested geothermal energy is:

Proton exchange membrane electrolyzer
The electrical power generated in turbine 1 (Tur.1) drives the electrolyzer.The electrolyzer's anode side reaction consists of the oxidative process of water, resulting in the generation of oxygen gas, protons (H + ), and electrons (e − ).It can be represented as (Safari and Dincer 2018): The cathode side reaction in the electrolyzer involves reducing protons (H + ) and electrons (e − ) to produce hydrogen gas.It can be represented as (Safari and Dincer 2018): The overall reaction in the electrolyzer combines the cathode and anode side reactions.It can be represented as (Safari and Dincer 2018): In this general reaction, water molecules are divided into oxygen gas (O 2 ) at the anode and hydrogen gas (H 2 ) at the cathode.
The following relation describes the hydrogen production rate (Nami et al. 2018(Nami et al. , 2017): Here, ṁH 2 denotes hydrogen production rate, F the Faraday constant, and J current density.
The power needed to operate the electrolyzer, denoted as ẆPEME , can be written as (Cao et al. 2020): Here, Ẇtur2 denotes the generated power in turbine 1, and V is the voltage applied to the electrolyzer.In this case, V represents the voltage across the electrolyzer, which can be expressed as the sum of several components (Cao et al. 2020): where V 0 is the reversible potential, which is the thermodynamically balanced voltage where no net current flows during a redox reaction, while V act,a , the anode-side activa- tion potential, is the additional potential required at the anode to initiate or facilitate the electrochemical reaction.V act,c is the cathode-side activation potential, which represents the extra potential necessary at the cathode for the electrochemical reaction to occur.
V ohm is the ohmic potential that arises due to the resistance encountered by the current flow within the electrolyte or other conductive materials. ( The reversible potential can be written by employing the subsequent relation (Safari and Dincer 2018): This allows the potential of activation of the cathode and anode sides of the power supply to be determined.
The activation potential ( V act,i ) for either the anode (i = a) or cathode (i = c) side of the power supply is expressible as (Cao et al. 2020) where R is the characteristic gas constant of hydrogen.
The term J 0,i represents the exchange current density at either the cathode (i = c) or anode (i = a) side of the power supply.It can be expressed as: where E act,i is the energy of activation for the electrochemical reaction at the respective electrode side and J ref,i is the reference exchange current density.
The ohmic potential (V ohm ) can be written as: Here, J denotes the current density, and R PEME is the resistance of the polymer electrolyte membrane, which can be expressed as Here, σ PEME ( (x)) is the local ionic conductivity coefficient, while λ(x) is the water con- tent in the polymer electrolyte membrane, determined as:

Exergoeconomic analysis
A cost conservation equation for each component in the system can be formulated in the following manner (Aghaziarati and Aghdam 2021;Balaji 2021): Here, Ċout,k denotes the cost rate of the output flow for each component, Ċin,k is the cost rate of the input flow for each component, and Ċw denotes the cost rate of the work.The (12 . (17 relationship between the unit cost, exergy rate, and cost rate follows (Gholizadeh et al. 2020): The expression below denotes the relative cost difference, r k , showing the relative rise in the average cost per exergy unit between fuel and product of the element, which is calculated for each element as follows (Nikam et al. 2021): The cost rate for all components can be expressed as follows: Here, Z k is the capital cost of each element, N is the hours of operation per year, φ r is the maintenance coefficient, and CRF denotes the capital recovery factor, which is expressible as: where I r is the initial capital investment, and τ is the number of years over which the investment will be recovered.
To calculate the surface area of heat exchangers employing the logarithmic mean temperature difference (LMTD), the following equation is utilized: The following equation is utilized to compute the logarithmic mean temperature difference: where ΔT 1 and ΔT 2 are the temperature difference between the cold and hot flows at the inlet and outlet of the heat exchanger, respectively.
The overall heat transfer coefficients of different heat components are 2.5 kW/m 2 K for the condenser, 1.5 kW/m 2 K for the evaporator, 1.5 kW/m 2 K for the vapor generator, and 1.1 kW/m 2 K for the heat exchanger.The heat transfer coefficient for absorbers is 2 kW/m 2 K (Fu et al. 2022;Maryami and Dehghan 2017;Mohammadkhani et al. 2014).Table 3 provides the auxiliary equations, cost function, and cost conservation expressions.The unit polygeneration cost, UPGC, can be expressed in terms of unit cost: (20) ( The combined exergy and economic formulations are given in Table 4.
The exergy efficiency of the proposed system is: The equations are solved using Engineering Equation Solver (EES).Properties such as enthalpy and entropy of flows at various locations are calculated utilizing the internal libraries of this software.
For instance, the properties of the lithium bromide-water solution are calculated using the LiBrH 2 O library in EES.

Validation
To evaluate the efficiency of the proposed system, it is necessary to confirm and validate its performance using independent sources, such as existing research conducted in this particular domain.This section begins with a validation process and then investigates the various design parameters.To validate the current study for simulating the half-effect absorption chiller, the study of Maryami and Dehghan (2017) is used.The results are presented in Table 5.A slight discrepancy between the calculated values can be observed.The COP obtained in the current study is 0.435, whereas the reference value is 0.438 (i.e., different by less than 1%).These values are similar, indicating that the differences in the data points have only a minor effect on the final results and are insignificant.
To further validate our simulation of absorption chillers, we conducted another verification test by comparing our study's results with the theoretical and experimental investigation conducted by Florides et al. (2003).Their study involved the design and construction of a single-effect LiBr/water absorption chiller with a capacity of 10 kW.The constraints and comparisons of the outputs between their study and the current investigation are detailed in Table 6.The inputs and comparisons of our study with the investigation of Florides et al. (2003) are provided in Tables 6 and 7, respectively.All differences are observed to be less than 4%.These slight disparities may be attributed to the accuracy of the correlations used to predict the properties of the LiBr/water solution in EES.However, these differences are not significant and fall within acceptable ranges.
(27) η e = Ẇtur2 + Ėx P ev + Ėx P PEME Ėx 5 − Ėx 47 .two studies is presented in Table 8, showing that the results are almost identical, and the differences are minor, as seen in the last column of the table.

Component
These findings indicate that the current study is reliable and accurate and that the geothermal and organic Rankine cycle simulations have been executed reasonably accurately.
In order to validate the accuracy of the electrolysis simulation in this investigation, the experimental research conducted by Ioroi et al. (2002) is utilized.The validation of the electrolyzer is presented in Fig. 2, which clearly demonstrates that the voltage gained from the present work is in close agreement (less than 5% discrepancy in the worst case) with the outcomes obtained in the research of Ioroi et al. (2002).Therefore, it can be concluded that the current study is sufficiently accurate in its simulation of electrolysis.

Results and discussion
This section provides a detailed examination of the system, beginning with an assessment of its current status, followed by a comprehensive study.The results of thermodynamic and exergoeconomic evaluations are obtained using the data listed in Table 1.These results are presented in Table 9.According to the findings presented, multigeneration has thermal and exergy efficiencies of 19.6% and 26.6%, respectively, and a unit cost of 9.02 $/GJ.According to the energy efficiency definition (Eq. 5 of the current paper), the cooling rate product ( Q eva = 329 kW) significantly influences energy efficiency more than power ( Ẇnet = 152 kW) and hydrogen production rate ( ṁH2 = 1.10 kg/h).Consid- ering the total harvested geothermal energy, Q geo = 2704 kW, it can be seen that about 6% is converted to electrical power, about 12% is converted to cooling, and about 1% is the share of hydrogen production.Note that the unit cost associated with cooling ( 106Table 6 Inputs for validation of the current study and the investigation of Florides et al. (2003) Parameter Value Solution temperature at the desorber outlet (C) 90 Water vapor temperature at the desorber oulet (C) 85 Condenser pressure (kPa) 9.66 Evaporator temperature (C) 6 Solution temperature at the absorber outlet (C) 34.9 Evaporator heat load (kW) 10 Solution heat exchanger efficiency 0.522 Table 7 Comparison of the results of the current study and the investigation of Florides et al. (2003) a This is the magnitude of difference on a percentage basis, calculated considering the study of Florides et al. (2003)  $/GJ) is higher than the unit costs for electrical power or hydrogen production, which means that cooling is more costly and requires a greater financial investment.Table 10 summarizes the thermodynamic characteristics, unit costs, and cost flow rates associated with various system states under the base case working conditions.
Table 11 displays the economic and exergy parameters for each plant element.The results show that the highest exergy consumption occurs in the ORC and heat exchanger HEX 1, with a value of 454.4 kW.This is mainly because of the high temperature and pressure present in the element as well as the high-temperature difference with the source.Furthermore, the separators and mixers exhibit the lowest destruction rates of exergy compared to the other devices of the proposed system, which have not been reported.In addition, HEX 1 experiences the maximum exergy destruction rate among the plant elements, at 240.9 kW, due to becoming superheated after the phase change of the pure fluid in the ORC side and the high-temperature difference between the cold and hot flows.Furthermore, the maximum annual cost is associated with the high-pressure absorber component, HPA.
Table 8 Comparison of the current study and the study of Shokati and Ranjbar (2015) a CS denotes the current study, and Ref. is the Reference (Shokati and Ranjbar 2015) b This is the magnitude of difference on a percentage basis, calculated considering the study of Shokati and Ranjbar (2015) as the basis Fig. 2 Comparison of the current study and the study of Ioroi et al. (2002) Table 11 also provides information on the relative cost difference for multiple system elements.The table shows that components like condensers (Condenser 1 and 2), pumps (Pump 2 and 3), and heat exchangers in the absorption side (LPA, HPG, HPA, LPG) have significantly high relative cost difference values.This is likely due to their high cost per unit exergy of the product, which is much greater than the cost per unit exergy of the fuel, owing to their high rates of destruction of exergy and low exergy efficiency, as determined in a previous study (Chakyrova 2019;Doseva and Chakyrova 2015).Diverse values have been reported for r in the literature, ranging from negative (Singh and Kaushik 2013) to greater than 100% in references (Balli and Caliskan 2022;Farshi et al. 2013;Toro and Sciubba 2018).
Exergy analysis provides a means to integrate sustainability considerations and assess the environmental influence of energy-consuming systems.A higher exergy efficiency often indicates greater sustainability, which in turn suggests a lower environmental impact, and vice versa.Therefore, exergy analysis is a helpful instrument in evaluating the performance of energy systems from a sustainability perspective (Aygun 2021).The exergy efficiencies of various system components are presented in Fig. 3.The maximum η e is associated with the turbines and the lowest with the pumps.Devices with low exergy efficiencies, such as the mentioned pump, should be redesigned to improve the total efficiencies.

Parametric study
The impact of the heat source temperature (T 7 or T HS ) on various parameters is shown in Fig. 4. At a geothermal heat source temperature of 100 °C, the flow delivered to the high-pressure generator of the absorption side has a low temperature of 50 °C, while the flow delivered to the low-pressure absorber is at 70 °C.As the temperature of HPG rises, QHPG and the temperature of vaporized water at line 35 also increases.However, there is a significant increase in h 35 , which leads to a decrease in ṁ5 to maintain energy balance, resulting in a decrease in Qev .The decrease is about 10% at the end of the range.This behavior for half-effect absorption chillers is also reported in the literature for low generator temperatures (Gomri 2010).On the other hand, when the geothermal fluid temperature rises, the inlet enthalpy of turbine two also increases, resulting in a significant improvement in work output.In fact, by the end of the temperature range, the work output of turbine 2 becomes four times better than it was initially.A similar trend can be observed for hydrogen production, which utilizes the electricity generated by Fig. 3 Exergy efficiencies of components in the plant turbine 1.As the geothermal fluid temperature increases, the hydrogen production rate also improves, and by the end of the temperature range, it becomes approximately 2.5 times greater than its initial value.With a rise in the hot water temperature, the UPGC decreases significantly, reaching one-third of its initial value by the end of the temperature range.Furthermore, both the exergy and thermodynamic efficiencies rise due to the hydrogen production rate and the work output from turbine 2.
The system is robust and can be easily adapted to operate with low-temperature resources.With a minor adjustment in the boundary conditions, it can be seen that according to Fig. 5, the system can effectively utilize resources with temperatures as low as 80 °C.It is important to note that during the energy transfer process to either turbine number one or the Rankine cycle, the temperature of the fluid decreases.For instance, when the resource temperature is 85 °C, the fluid temperature prior to the absorption chiller drops below 60 °C.In this temperature range, only a half-effect absorption chiller is capable of operating efficiently (Jayasekara and Halgamuge 2014).
The outlet pressure of turbine 1 is another significant parameter, as it impacts various system parameters (Fig. 6).As the outlet pressure increases, the work output delivered by turbine one decreases.Specifically, when the pressure is increased from 10 to 50 kPa, the hydrogen production rate decreases by approximately 12 times.This is anticipated because the power produced by this turbine is totally consumed by the hydrogen The intermediate pressure of the HEAC can affect the cooling process.It was the topic of some studies in the literature as researchers tried to find an optimal value for this parameter (Gomri 2011).The intermediate pressure in this study is defined as follows to investigate its influence on the performance of the system: Here, "a" is a dimensionless parameter between 0 and 1.In extreme conditions, when it is zero or one, P 26 becomes P 38 or P 35 , respectively, and the absorption section becomes a single-effect absorption chiller (which is not the purpose of the current study).In other cases, P 26 takes on a value between P 38 and P 35, and a half-effect absorption chiller exists.
Figure 7 illustrates the relationship between various parameters and the variable "a".Although there is an optimal value for both energy and exergy efficiencies at a specific "a" value, their variations with respect to "a" are not significant.Furthermore, the heat transfer rate ( Qev ) is nearly 10% higher at the optimal "a" value.However, altering "a" does not significantly affect UPGC, indicating that improving the cycle through this variation does not impose a significant extra expense.
The amount of water absorbed in the HPA may be affected by the temperature of the cooling water and the HPA itself.Figure 8 illustrates the impact of these parameters on UPGC and the evaporator heat transfer rate.The figure shows that there is an optimal P 26 = P 38 + a × (P 35 − P 38 ).value for both UPGC and Qev , but the variations in their values are only around 2%, which is not considered significant.
The solution circulation ratio (also known as "f") is a fixed parameter in absorption chiller simulations that indicates the discrepancy between the concentration of the outlet and inlet flows from/to the vapor generators.It reflects the ability of the absorber and generators to absorb or generate vapor from brine effectively.This study considered a 5% difference in the beginning for this parameter.Figure 9 illustrates the influence of this parameter on the rate of heat transfer ( Qev ) and UPGC on the high- pressure side (Δx H ). The figure shows that the solution circulation ratio significantly affects Qev , while its impact on UPGC is not significant.This is because the element on that side mainly determines the concentration on the high-pressure side, and the concentration on the low-pressure side of the absorption chiller does not influence the overall performance significantly.Increasing the value of the solution circulation ratio decreases only UPGC because the need for a larger pump and heat exchanger on the low-pressure side is eliminated.
Improving the condensers as heat exchangers influences the overall efficiency and effectiveness of the plant.Figure 10 shows that increasing the temperature difference between the cooling fluid and the main flow in condenser two results in a decrease of approximately 5% in primary UPGC, while other parameters do not exhibit significant changes.However, the conditions differ in Condenser 1, where a 12 °C increase in temperature reduces values of all parameters other than UPGC by about 20%.The work delivered by turbine 2 decreases because of a higher exiting pressure.This directly affects the energy efficiency.Conversely, UPGC increases by about 18%.
The primary cause of exergy destruction in heat exchanger 1 of the ORC is the temperature difference between the working and cooling fluids.However, the mentioned temperature difference is intentionally set to obtain a higher temperature source for utilization in the cooling section.Figure 11 illustrates how this temperature difference affects various parameters.The data indicate that when the temperature difference in heat exchanger one rises, there is a corresponding increase in unit cost and a decrease in other parameters.Additionally, η e decreases as the temperature difference increases.This suggests that it may be more beneficial to prioritize generating higher levels of electricity from turbine two instead of using the excess heat for cooling in the absorption chiller.
The system's performance can vary with different geothermal fluid mass flow rates (according to Fig. 12).The results show that the system's exergy and thermal efficiencies decrease slightly as the flow rate rises while the hydrogen production rate improves.If all the generated electricity is consumed for producing hydrogen, a significant increase can be observed when the hot flow rate ( ṁ7 ) is increased to around 10 kg/s.However, the increase in hydrogen production becomes insignificant for further increases in the mass flow rate, indicating that exceeding this value is not economically feasible.Meanwhile, the heat transfer rate ( Qev ) increases linearly with the mass flow rate, implying that the system has better cooling performance at higher geothermal mass flow rates.If hydrogen production is not considered, the system's exergy and thermal efficiencies remain constant regardless of the mass flow rate of the geothermal fluid (Fig. 12).

Optimization
So far, it has been determined how much each factor contributes to the system's overall performance.An optimization process is required to achieve the best performance for the current system.Optimization typically involves identifying a problem's best solution while considering relevant conditions or limitations.In multi-objective problems, the objective function is a vector and a solution rarely optimizes all objectives simultaneously.Instead, there is a set of solution points, and trade-off answers are required.The NSGA-II method is faster than other ranking methods and uses a crowding distance to obtain a more uniform solution front.The crowding distance factor is used better to select solutions in terms of dispersion on one front (Thu Bui and Alam 2008).This algorithm is employed to optimize the current problem.The objective functions are UPGC and η e .The decision factors and corresponding bounds are given in Table 12.There are ten decision variables.The Pareto front of the two objective functions is given in Fig. 13.All the points are optimal.The best point is A, which cannot be accessed practically.That is, the conflict between objective functions and the simultaneous finding of the minimum (optimum) values for both functions is impractical.When one objective function becomes a minimum, the other becomes a maximum, and vice versa.
There are two extreme conditions, points B and D. Exergy efficiency has the highest value at point D. It is about 50%, while UPGC is also high, which is undesirable.The exergy efficiency is about 30% at point B, but UPGC is as low as 3.A trade-off can be made.Assuming that both objective functions have the same weight, the Pareto front can be normalized to the range of 0 and 1.Then, the nearest point to point A can be found, which is point C. At this point, UPGC is about 4, and energy efficiency is 40%.
In Table 13, the current system configuration is compared with previously published designs, taking into account various performance parameters.Note that the compared designs have different layouts, working fluids, and overall purposes, which may influence their overall performances.However, by considering the available data, valuable insights can still be obtained.The current design (row 3 in the table) exhibits good performance in terms of hydrogen production and net power generation compared to the other designs.Note that while the study of Feili et al. (2020) achieves a higher thermal efficiency due to the inclusion of Qev in the numerator, the current study attains a higher overall exergy efficiency ( η e ).Furthermore, it is worth considering the poten- tial variations in system operation.If all electricity produced by the current study is utilized for hydrogen generation (row 4 in Table 13, Current study #2), the exergy efficiency decreases to 21%, but the hydrogen production rate increases significantly (by approximately 3.5 times).On the other hand, if all power is dedicated to electricity production (row 5 in Table 13, Current study #3) and the PEME is omitted, the thermal efficiency remains relatively unaffected, while the exergy efficiency rises to over 40%.Table 13 Comparison of results from present work with those in the literature a In #2, all of the power is used for hydrogen production.In #3, all of the power is delivered as electricity ṁHS (kg/s) T HS (K) T 0 (K) ṁH2 (kg/h) Qev (kW) Ẇnet (kW) η t (%) η e (%)

Conclusion
Geothermal resources are available in various regions worldwide and offer a more consistent energy source than wind and solar energies.However, their relatively low temperature in many locations poses challenges for efficient utilization.This study explores implementing two systems, an ORC and a HERC, in conjunction with a PEME, to simultaneously generate electricity, cooling, and hydrogen from low-exergy thermal resources.The initial step involved a thermoeconomic evaluation of the system based on preliminary information and assumptions.The assessment demonstrated that the system can operate effectively even at low source temperatures.Under baseline conditions, the system yields 151.8 kW of power, 1.09 kg/h of hydrogen, and 328.6 kW of cooling.The system's energy and exergy energy efficiencies are approximately 19.5% and 26.5%, respectively.Next, the impact of several parameters on plant performance is assessed.An optimization process was then implemented to determine the optimal system performance.The optimization involved ten decision variables and utilized the NSGA-II algorithm to optimize conflicting parameters: unit polygeneration cost and exergy efficiency.
The optimization results indicate that the system could achieve an exergy efficiency as high as 48.4%, with a thermal efficiency of 26.0% and a hydrogen production rate of 0.61 kg/h.In an alternative scenario, the system could produce 1.1 kg/h of hydrogen with an exergy efficiency of 32.0% and a thermal efficiency of 26.0%.The unit polygeneration cost for the first case is 6.76 $/GJ, and for the latter case is 2.8 $/GJ.Finally, a comparison was made between the performance of the base system and a similar plant discussed in the literature.The analysis indicated that the current system exhibits acceptable efficiency from a second-law perspective.

Fig. 4
Fig. 4 Changes in several parameters with respect to geothermal flow temperature

Fig. 8
Fig. 8 Effects of temperature difference in HPA on the system performance

Fig. 10
Fig. 10 Impacts of temperature difference in the condensers on the system's performance

Table 4
Extra cost and exergy equations of the multigeneration plant components

Table 5
Maryami and Dehghan (2017)study and the study ofMaryami and Dehghan (2017)a CS denotes the current study, and Ref. is the study ofMaryami and Dehghan (2017) as the basis

Table 9
Results of exergoeconomic and thermodynamic analyses

Table 10
Thermodynamic characteristics and costs of different states for the system under base case working conditions

Table 11
Economic and exergy parameters of components of the plant

Table 12
Decision variables and their bounds and optimal conditions