Introduction

Turboexpanders are devices for converting the compressed gas energy to mechanical power through a pressure reduction process. These devices are employed to prevent energy loss in natural gas pressure reduction stations and are proposed as an alternative to pressure relief valves (PRVs) used in these stations. Turboexpanders convert the gas pressure energy to mechanical or electrical power using a generator by reducing the gas pressure to the desired value for delivery to the consumer. Process integration increases efficiency and decreases the number of equipment applied in the integrated system. Therefore, many researchers have focused on the integrated structures to exploit the waste energy in pressure reduction stations [1]. Deymi-Dashtebayaz et al. [2] developed and analyzed a novel integrated system for cogeneration of power and freshwater in city gate stations (CGSs). They used a turboexpander to recover the energy of the pressure drop at the station and a multi-effect distillation-thermal vapor compression (MED-TVC) system to produce freshwater. The heat required for the turboexpander and desalination system was supplied by the waste heat of the pressure reduction station. A model was developed to evaluate the system efficiency of three stations with different capacities and the effective thermodynamic and performance parameters were optimized using a multiobjective optimization method. Yao et al. [3] investigated the pressure loss recovery in gas pressure reduction stations by a power generation system. They also examined the turbine inlet flow rate and isentropic efficiency. The results illustrated that the novel hybrid system generated 147 kWh of power in a typical day. The system energy and exergy efficiencies were calculated as 96.09% and 66%, respectively. Lo Casio et al. [4] presented a new structured retrofitting approach (SRA) to be used in gas pressure reduction stations by a turboexpander. A mathematical model was developed to minimize the levelized cost of energy (LCOE). The model was solved by different methods and tested for different thermal loads, fuel costs, and gas flow rates. The proposed optimization technique in gas pressure reduction stations provided the best integrated structure in turboexpander technology. Li et al. [5] proposed a hybrid system to exploit the energy of the natural gas pressure reduction and low-grade waste heat by the Rankine cycle. They optimized the thermodynamic and economic parameters of the system by modeling and using a multiobjective optimization method. By comparing the proposed hybrid system with the non-hybrid system, they found that energy and exergy efficiencies increased by about 17% and 22%, respectively, and the cost of electrical energy was reduced by about 42%. Pajączek et al. [6] investigated the natural gas liquefaction using pressure changes in gas pressure reduction stations. They developed and tested a novel hybrid structure that supplied energy to the natural gas liquefaction unit using a turboexpander in the gas pressure reduction station. The analyses were performed on a specific gas pressure reduction station with three configurations and two types of turboexpanders integrated with natural gas liquefaction units with 6 different sizes. Energy and exergy efficiencies of the hybrid systems varied from 35.40% to 66.64% and 15.75% to 46.33%, respectively, based on the size and gas liquefaction method, which indicated the thermo-ecological costs of LNG production reduced by 8.2%. Golchoobian et al. [7] developed a novel hybrid unit of turboexpander and compression refrigeration cycle for the gas pressure reduction station of a power plant. They examined the system’s potential for generating electric and cooling power over a period of several months, taking into account changes in station performance parameters and environmental conditions. The generated net power output and cooling were about 950 kW and 2700–5300 kW, respectively. Diao et al. [8] designed and applied a two-stage oil-free screw expander in a CGS. The critical speeds of the rotors, seals, and bearings were investigated. The results depicted that the designed system was much simpler than the conventional expanders used in CGSs and lacked their sealing and bearing selection challenges. Also, the stable performance of this type of expanders proved the feasibility and ease of using them for energy recovery from high natural gas pressure and power generation in CGSs. Lo Cascio et al. [9] analyzed energy recovery systems in gas pressure reduction stations. They argued that the lack of performance indicators to highlight the importance and benefits of these systems was the reason for their lack of proper development. They provided a suitable indicator for energy recovery and reducing greenhouse gas emissions and environmental pollution. A model was also presented to predict key performance indicators based on system specifications. The obtained results were compared with the modeling performed for a station with a pressure ratio of 4.8 using UniSim software. Andrei et al. [10] examined the use of turboexpanders to recover energy in CGSs in Romania. The experiment was performed at an actual airflow rate of 26% and inlet pressure of 5.5 bar and the results were recorded and evaluated. Ashouri et al. [11] proposed a procedure for computation of Joule–Thomson coefficient using thermodynamic equations and AGA-8 equation of state to reduce the energy consumption of preheaters in gas pressure reduction stations and calculated the minimum inlet gas temperature to pressure relief valves without the formation of gas hydrates. The procedure was applied to a gas pressure reduction station with a capacity of 20,000 SCMH. The results showed the energy consumption reduced by 43% and the period of return was estimated to be less than a year for this project.

Jedlikowski et al. [12] studied energy consumption in gas pressure reduction stations in Poland. They examined a variety of renewable electric heating technologies for gas preheating and performed their analyses for three different weather conditions and two types of gas pressure reduction stations. The results showed that electric preheating by renewable sources reduced energy consumption by more than half as well as environmental pollution. Lo Cascio et al. [13] proposed a hybrid system, equipped with turboexpanders, linear parabolic solar collectors, and thermal energy storage, for preheating of gas pressure reduction stations using renewable energy to reduce energy consumption. The system performance was evaluated from energy and environmental perspectives by a dynamic model in MATLAB-Simulink programming and the rate of energy consumption was examined in three cities, namely Genoa, Naples, and Amsterdam. The results illustrated that the system could operate by only solar energy in the southern regions. Neseli et al. [14] studied a gas pressure reduction station equipped with turboexpanders in Marmara, Turkey. They analyzed energy and exergy efficiencies of the inlet and outlet flow of the station and its equipment over a period of time and calculated exergy efficiency and exergy degradation in turbines and heat exchangers. The mean energy and exergy efficiencies of the station were 71.96% and 78.25%, respectively. Ghorbani et al. developed a hybrid solar-based multi-generation plant using a Kalina power generation cycle, flat plate collectors, and multi-effect desalination unit. The total energy and exergy efficiencies of the integrated structure were 44.04% and 90.04%, respectively.

Nami et al. [15] developed a hybrid power generation system consisting of a gas turbine, heat recovery system generator (HRSG), supercritical CO2 recompression Brayton cycle, and organic Rankine cycle (ORC) and performed exergoeconomic and environmental analyses. The parameters affecting the exergoeconomic efficiency of the cycle were investigated. The optimization results showed the cost reduced by 0.56 $/GJ compared to the base conditions. El Saie et al. [16] investigated a novel hybrid system consisting of a gas turbine, Rankine power cycle, and multistage desalination for a specific demand thermodynamically and economically. They examined three combinations of different component sizes and then selected the optimal model based on technical and economic parameters. Shakib et al. [17, 18] simulated a system consisting of a gas turbine, HRSG, and multistage evaporation desalination and analyzed it thermo-economically. They used an innovative optimization algorithm to optimize the system. The results revealed that the prime cost of the product reduced by 19% and the system exergy efficiency increased by 19%. Ghorbani et al. [19] developed novel integrated structures for the simultaneous production of liquefied natural gas, liquid CO2, and freshwater using oxy-fuel power plant, multiple-effect distillation and two-stage refrigeration system. They used HYSYS software and MATLAB programming language for exergy analysis. Ghorbani et al. [20] investigated a novel integrated structure for trigeneration of power (309.1 MW), water (17.36 kg s−1), and liquid carbon dioxide (88.4 kg s−1) using oxy-fuel power plant, air separation unit, organic Rankine plant, regasification operation, and water desalination. The results illustrated the prime cost of the product and return period were 0.148 $ kWh−1 and 3.1 years.

Calise et al. [21] examined a solar trigeneration (combined cooling, heat, and power) system consisting of an absorption chiller and multistage desalination. The system was simulated by TRNSYS software and the optimal values of the main parameters were calculated. Vakilabadi et al. [22] used parabolic trough collectors to supply inlet heat to the multistage Rankine cycle in California’s the Mojave Desert. The results showed that the maximum exergy efficiency (32.7%) and maximum energy efficiency (23%) occurred at 12 noon.

Shaygan et al. [23] developed a novel integrated system for cogeneration of power and hydrogen using polymer electrolyte membrane fuel cell and photovoltaic cells. The results showed that the highest and lowest exergy destruction occurred in the photovoltaic cells (37.67 kW) and compressor (3.7 kW), respectively. Ahmadi et al. [24] investigated a novel hybrid structure for cogeneration of power and hydrogen using a gas turbine, air bottoming cycle, and a reformer unit. the results illustrated that adding a heat recovery steam generator to the integrated structure improved the energy efficiency to 67.6% and the period of return to 0.41 years. Ehyaei et al. [25] used geothermal energy to supply inlet heat to a system combining an organic Rankine unit and an absorption chiller. Exergy and economic analyses were used to evaluate the integrated structure and the multiobjective particle swarm algorithm for optimization.

So far, many studies have been conducted to recover energy from natural gas pressure reduction stations for cogeneration of power and refrigeration. However, according to the literature review, no study has ever been performed on energy recovery from natural gas pressure reduction stations using integrated cogeneration structures exploiting natural gas with high efficiency and thermal integration. The present study focuses on energy recovery from natural gas pressure reduction stations to generate refrigeration using turboexpanders and compression refrigeration cycle. Also, the natural gas and compressed air combustion are carried out to generate power and freshwater using the integrated structures of Brayton power generation system, CO2 power generation plant, Rankine power generation cycle, and multi-effect thermal desalination unit. Thermal integration is employed to increase the efficiency of the integrated structure. Exergy and economic analyses are performed to investigate the second law of thermodynamics and the feasibility of the developed structure.

Process description

Normally, high-pressure natural gas (4–7 MPa) should reach a much lower pressure at points of the transmission pipeline in pressure reduction stations before being used by consumers. The pressure is usually dropped by expansion valves. As the gas passes through them, the pressure and temperature of the gas decrease at constant enthalpy by the Joule–Thomson effect. Therefore, most of the gas energy, which is compressed, is wasted. The use of turboexpanders, like expansion valves at the station, is a useful and reliable way to convert this huge amount of energy into electrical energy and refrigeration. Low-pressure natural gas can also be used to supply fuel in an integrated structure. Figure 1 shows the block diagram of the integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations. This integrated structure generates 105.6 MW of power and 34.73 kg s−1 of freshwater by reducing the gas pressure by 2.960 MW, burning natural gas and air in the combustion chamber, and applying waste heat. The HYSYS v10.0 software and MATLAB v10.0 programming language are used to simulate the developed integrated structure. Figure 2 presents the process diagram of turboexpanders, compression refrigeration cycle, Bryton power generation system, CO2 power generation plant, multistage Rankine cycle, and multi-effect thermal desalination unit. Natural gas with a pressure of 44.82 bar, the temperature of 29 °C, and flow rate of 1,000 kmol h−1 is the system fuel input. Table 1 shows the characteristics of the flows used in the integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations.

Fig. 1
figure 1

Block diagram of the integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations

Fig. 2
figure 2

Process diagram of the developed integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations

Table 1 Characteristics of the streams used in the integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations

After the temperature increased in the return flow, high-pressure natural gas flow (stream R40) with a temperature of 29 °C and pressure of 40 bar enters the T1 and T2 expanders, respectively, and its pressure decreases by 7 bar. The power generated by the expanders is used to supply the power of compressors in two compression refrigeration cycles. The waste energy of the natural gas pressure drop generates 2.960 MW of refrigeration. Then, natural gas and compressed airflow enter the constant pressure combustion chamber and the resulting combustion flow (stream R65) with a temperature of 1287 °C and pressure of 4 bar enters the T3 gas turbine and generates 82.86 MW of power. The output flow of the gas turbine enters the CO2 power generation plant, Rankine power generation cycle, and thermal desalination unit, respectively. The carbon dioxide gas (stream R79) with a temperature of 558 °C and pressure of 250 bar increase up to 835 °C with heat absorption in the HX25 exchanger. High-temperature and high-pressure gas (stream R80) enters the T4 turbine and generates 45.23 MW of power. The output flow (stream R126) of the gas turbine enters The HX23 and HX22 exchangers to recover energy and is used to preheat the input flow to the boiler.

The output flow (stream R129) of the HX22 exchanger is divided into two parts. The two divided flows are mixed after the pressure increase in the compressors and enter the boiler (the HX25 exchanger) as stream R79 after heat recovery in the HX23 exchanger. The net power output and efficiency of the CO2 power generation cycle are 20.64 MW and 41.20%, respectively. Then, the output gas flow (stream R78) of the CO2 power generation cycle boiler with a temperature 598.1 °C and pressure of 1 bar is divided into two parts and enters the Rankine power cycle. Streams R82 and R81 enter the HX12 and HX13 exchangers, respectively, and are supplied the required heat by the Rankine power generation cycle. After increasing the pressure in the P2 pump by 186.3 bar and heat temperature in the return flow up to 196.5 °C, the water flow enters the HX13 exchanger, and its temperature increases to 542 °C. Then, high-pressure and high-temperature flow (stream R2) enters the T5 and T6 turbines, respectively, and its pressure reduces by 36 bar. A portion of the output flow of the T6 turbine enters the boiler as the return flow to supply heat and the rest goes to the second boiler (HX13 exchanger) and its output temperature increase to 536 °C and then enters other turbines. The net power output and efficiency of the CO2 power generation cycle are 29.50 and 41.01%, respectively. A portion of the output flow (stream R86) of the Rankine power generation cycle enters the four-stage thermal desalination system. The studied thermal desalination procedure is the MED-TVC system. The hot gas flow (stream R86) with a temperature of 231.2 °C and pressure of 1 bar enters the HX25 exchanger and is provided the required heat of the input flow to the ejector.

Then, R89 vapor flow together with the vapor flow exiting from the last stage (stream R115) enter the ejector. The vapor flow exiting from the ejector enters the HX26 exchanger to supply heat to the first stage of the four-stage desalination. The temperature of seawater flow increase after increasing the temperature in the desalination condenser (HX30 exchanger) and after being divided by the number of stages, the pressure of desalination water, as feedwater, is regulated by throttling valves and sprayed on the evaporator tubes in each stage and, then, a portion of it evaporates when it reaches the boiling point. This four-stage thermal desalination structure generates 6940 kmol h−1 of freshwater by receiving 29.30 MW of heat. The energy balance equations for each of the equipment used in the integrated structure are obtained by a specific enthalpy value [20, 26]:

$$ \sum\limits_{{\text{in}}} {\dot{m}_{{\text{in}}} } h_{{\text{in}}} - \sum\limits_{{\text{out}}} {\dot{m}_{{\text{out}}} } h_{{\text{out}}} - \dot{W} + \dot{Q} = 0 $$
(1)

Irrespective of the amount of heat loss in heat exchangers, the energy balance equations can be considered as follows [27]:

$$ \begin{aligned} & \dot{m}_{{\text{in,i}}} (h_{{\text{in1,i}}} - h_{{\text{in2,i}}} ) = \dot{m}_{{\text{out,i}}} (h_{{\text{out1,i}}} - h_{{\text{out2,i}}} ) \\ & T_{{\text{in1,i}}} = T_{{\text{out1,i}}} + \Delta \;T_{{\text{in,HXi}}} \\ \end{aligned} $$
(2)

Isentropic efficiency is used to provide energy balance equations for equipment that consumes or generates power, such as pumps and turbines, which are presented in Eqs. (3) and (4), respectively [27]:

$$ h_{{{\text{out}}}} = \frac{{h_{{{\text{out}}}}^{\text{S}} - h_{{{\text{in}}}} }}{{\eta_{{\text{s}}} }} + h_{{{\text{in}}}} $$
(3)
$$ h_{{{\text{out}}}} = (h_{{{\text{out}}}}^{{\text{S}}} - h_{{{\text{in}}}} )\eta_{{\text{s}}} + h_{{{\text{in}}}} $$
(4)

Equations (5) and (6) indicate energy balance and mass conservation in the mixer [28]:

$$ \mathop {\dot{m}_{{\text{in,1}}} }\limits^{{}} h_{in,1} + \mathop {\dot{m}_{{\text{in,2}}} }\limits^{{}} h_{{\text{in,2}}} = \mathop {\dot{m}_{{{\text{out}}}} }\limits^{{}} h_{{{\text{out}}}} $$
(5)
$$ \mathop {\dot{m}_{{\text{in,1}}} }\limits^{{}} + \mathop {\dot{m}_{{\text{in,2}}} = }\limits^{{}} \mathop {\dot{m}_{{{\text{out}}}} }\limits^{{}} $$
(6)

By combining Eqs. (5) and (6), the refrigerant enthalpy is obtained at the output [28]:

$$ h_{{{\text{out}}}} = \frac{{\mathop {\dot{m}_{{\text{in,1}}} }\limits^{{}} h_{{\text{in,1}}} + \mathop {\dot{m}_{{\text{in,2}}} }\limits^{{}} h_{{\text{in,2}}} }}{{\mathop {\dot{m}_{{\text{in,1}}} }\limits^{{}} + \mathop {\dot{m}_{{\text{in,2}}} }\limits^{{}} }} $$
(7)

Equations (8) and (9) can also be used as energy balance and mass conservation in flash drums and separators [27]:

$$ \mathop {\dot{m}_{{{\text{in}}}} }\limits^{{}} h_{{{\text{in}}}} = \mathop {\dot{m}_{{\text{out,1}}} }\limits^{{}} h_{{\text{out,1}}} + \mathop {\dot{m}_{{\text{out,2}}} }\limits^{{}} h_{{\text{out,2}}} $$
(8)
$$ \mathop {\dot{m}_{{{\text{in}}}} }\limits^{{}} = \mathop {\dot{m}_{{\text{out,1}}} }\limits^{{}} + + \mathop {\dot{m}_{{\text{out,2}}} }\limits^{{}} $$
(9)

According to the first law of thermodynamics, the throttling process in throttling valves is a constant enthalpy process, so [27]:

$$ h_{{{\text{in}}}} = h_{{{\text{out}}}} $$
(10)

Exergy analysis

Exergy analysis is an engineering tool used to study the thermodynamic properties of a process and determine the maximum efficiency that can be achieved from a given amount of input energy [29]. Exergy of an energy source is the maximum amount of work that can be obtained when the source reaches a dead state (at 25 °C and 1 atm) from its specific thermodynamic state during a process. In the absence of kinetic, potential, nuclear, electrical, and magnetic energies and surface tension effects, the total exergy rate of each flow is calculated as follows [30, 31]:

$$ e = e^{{{\text{ph}}}} + e^{{{\text{ch}}}} $$
(11)

The physical exergy of the flow of a matter is obtained by the following equation [32]:

$$ e^{{{\text{ph}}}} = \left( {h - h{}_{{\text{o}}}} \right) - T_{{\text{o}}} \left( {s - s_{{\text{o}}} } \right) $$
(12)

where \(h{}_{ \circ }\) and \(s_{ \circ }\) are the enthalpy and the entropy of the flow at ambient temperature and pressure.

The chemical exergy of the non-ideal mixture flow is obtained by the following equation [33, 34]:

$$ e^{{{\text{ch}}}} = \sum {(x_{{\text{i}}} e_{{\text{i}}}^{ \circ } ) + RT_{ \circ } } \sum {x_{{\text{i}}} } Lnx_{{\text{i}}} = \sum {(x_{{\text{i}}} e_{{\text{i}}}^{ \circ } ) + G - } \sum {x_{{\text{i}}} } G_{{\text{i}}} $$
(13)

The HYSYS software and MATLAB programming language are used to calculate the physical and chemical exergies of the flow. The exergy balance of each equipment can be presented as follows [35]:

$$ Ex_{{\text{i}}} + Ex_{{{\text{Qi}}}} = Ex_{{\text{o}}} + Ex_{{{\text{Qo}}}} + W_{{{\text{sh}}}} + I $$
(14)

The latter equation is used to calculate the irreversibility or lost exergy, where \(Ex_{{\text{i}}}\) and \(Ex_{{\text{o}}}\) are the exergies of the input and output material flow, respectively, \(Ex_{\text{Qi}}\) and \(Ex_{\text{Qo}}\) are the exergies of the input and output energy flow, respectively, \(W_{\text{sh}}\) is the axial work done on/by the system and \(I\) is the irreversibility or lost exergy.

Table 2 illustretes equations needed for the exergy analysis of the equipment employed in developed integrated process.

Table 2 Equations applied for the exergy analysis of the equipment employed in the hybrid system

Economic analysis of the annualized cost of system (ACS)

The annualized cost of system is selected as a method to assess the feasibility of the integrated structure and economic analysis. This method covers all the costs of a system including the annualized capital cost (Cacap), annualized replacement cost (Carep), annualized maintenance cost (Camain), and annualized operating cost (Caope) [30, 36]. Equations of equipment cost are updated using the Marshal and Swift cost index. In the economic analysis of the proposed integrated structures, the annual inflation rate, the bank nominal interest rate, and the useful life of the project are assumed to be 17%, 20%, and 20 years, respectively, and the replacement cost is excluded.

$$ {\text{Cost}}_{{{\text{refrence}}\,^{{}} {\text{year}}}} = {\text{Cost}}\,_{{{\text{orginal}}\,^{{}} \,{\text{year}}}} \frac{{{\text{Cos}} t_{{}} {\text{index}}_{{{\text{refrence}}^{{}} \,{\text{cost}}^{{}}\, {\text{year}}}} }}{{{\text{Cos}} \,{\text{t}}_{{}} {\text{index}}_{{{\text{orginal}}^{{}} \,{\text{cost}}_{{}} {\text{year}}}} }} $$
(15)

Results of energy, exergy, and economic analyses

Figure 3 illustrates the validity of the developed thermal desalination system based on the conditions mentioned in the reference papers [33, 37, 38]. The results of the validation of the developed desalination system show that increase compression ratio and the number of stages of thermal desalination increase the gain output ratio. After validation, the necessary changes are applied to observe industrial considerations in the cycle. Figure 4 shows the validation of the developed Rankine power generation cycle based on the reference papers [39,40,41]. The relative errors of the energy efficiency of the simulated cycle based on the reference papers of Piaderouhi et al. [39], and Ahmadi et al. [41] are 1.56% and 7.24%, respectively. This difference in relative error is due to the difference in input temperature to the power generation system reboiler.

Fig. 3
figure 3

Validating the developed thermal desalination system based on reference [33, 37, 38]

Fig. 4
figure 4

Validating the developed Rankine power generation cycle based on reference papers [39,40,41]

Table 3 indicates the characteristics of input and output exergies, exergy degradation, and efficiency of each equipment used in the developed integrated structure. Among the heat exchangers used in the integrated structure, the HX5 exchanger with 99.66% has the highest exergy efficiency, and the HX25 exchanger with 85.81% has the lowest exergy efficiency. Also, the HX25 exchanger with 4156.3 kW has the highest rate of exergy degradation, and the HX17 exchanger with 4.127 kW has the lowest rate of degradation. Among the compressors of the integrated structure, the C3 compressor with 91.90% has the highest exergy efficiency, and the C1 and C2 compressors with 78.76% have the lowest exergy efficiency. Also, the C4 and C1 compressors with 15,389 kW and 107.07 kW have the highest and lowest rates of exergy degradation, respectively. Among the throttling valves of the integrated structure, the V6 valve with 86.31% has the highest exergy efficiency, and the V2 valve with 51.20% has the lowest exergy efficiency. Also, the V2 and V4 throttling valves with 105.03 kW and 1.867 kW have the highest and lowest rates of exergy degradation, respectively. Among the integrated structure turbines, the T3 turbine with 97.21% has the highest exergy efficiency, and the T1 turbine with 74.53% has the lowest exergy efficiency. Also, the T9 and T4 turbines with 35.68 kW and 5573 kW have the highest and lowest rates of exergy degradation, respectively. This integrated structure has an exergy efficiency and exergy degradation of 60.59% and 125,763.04 kW, respectively.

Table 3 Exergy analysis of the equipment used in the integrated structure for trigeneration of power, refrigeration, and freshwater in natural gas pressure reduction stations

Figure 5 shows the exergy degradation rate of each equipment used in the integrated system for trigeneration of power, refrigeration, and freshwater. According to exergy analysis, the highest rates of exergy degradation are observed in the combustion chamber (59.67%), heat exchangers (14.70%), and compressors (14.45%), respectively. The two parameters of exergy degradation and efficiency of each equipment should be examined simultaneously to evaluate the exergy analysis of the integrated structure. Some equipment such as flash drums and valves may have lower exergy efficiency than other equipment, but their exergy degradation is relatively low. On the other hand, some equipment such as reactors and heat exchangers may have higher exergy degradation than other equipment, but instead, their exergy efficiency is high. Investigating the correlation between exergy efficiency and degradation of equipment allows the designer to re-examine the equipment. Given that the exergy degradation in compressors and turbines are directly associated with their power consumption and power output, respectively, this parameter in these components should be reduced as much as possible. Among the reasons for the high total exergy efficiency (60.59%) is the observance of the above points, so there is no need to reconsider the design of the integrated structure. Figure 6 shows the exergy degradation of heat exchangers used in the developed integrated structure. According to exergy analysis, the highest and lowest rates of exergy degradation in heat exchangers are observed in the HX25 and HX8 exchangers, respectively. The exergy efficiencies of the HX25 and HX8 exchangers are 85.81% and 99.59%, respectively.

Fig. 5
figure 5

Exergy degradation rate of the equipment used in the developed integrated structure

Fig. 6
figure 6

Exergy degradation rate of heat exchangers used in the developed integrated structure

Table 4 presents the cost analysis of the equipment used in the integrated trigeneration structure. Table 5 shows the economic analysis of the developed trigeneration structure. Table 6 indicates the results of the economic analysis using the ACS method to evaluate the developed integrated structure. The economic analysis of the integrated structure reveals that the period of return, additive value of product, the prime cost of product, and initial investment cost were 2.565 years, 0.1069 US$ kWh−1, 0.0430 US$ kWh−1, and 372.3 MMUS$, respectively.

Table 4 Cost analysis of the equipment used in the integrated trigeneration structure [46,47,48]
Table 5 Economic analysis of the integrated trigeneration structure
Table 6 Results of economic analysis of the integrated trigeneration structure

Figure 7 shows the changes in the prime cost of product and period of return with regard to the changes in electricity price in the developed integrated structure. With increasing electricity price, the period of return decrease, and the prime cost increase. The results show that the period of return in the developed integrated structure is less than 5 years and the prime cost is more than 0.038 US$ kWh−1 for the electricity price of 0.092 US$ kWh−1 and more.

Fig. 7
figure 7

Changes in prime cost and payback period with regard to changes in electricity price

Figure 8 shows the changes in the additive value of the product and annual net profit with regard to changes in electricity price in the developed integrated structure. With increasing electricity price, the additive value of the product and net annual benefit increase. The results indicate the additive value of the product and net annual benefit increase from 0.0167 to 0.3236 US$ kWh−1 and 26.56 to 412.7 MMUS$ Year−1, respectively, by increasing electricity price from 0.05 to 0.039 US$ kWh−1.

Fig. 8
figure 8

The variation of the net annual benefit and the additive value versus the changes in electrical energy price

Figure 9 illustrates the changes in the net annual benefit and period of return with regard to changes in the generated refrigeration cost in the developed integrated structure. As the generated refrigeration cost increased, the period of return decreases, and the net annual benefit increases. The results indicate the period of return is less than 2.68 years for different refrigeration costs, suggesting that refrigeration cost changes have no significant impact on the cost-effectiveness of the developed integrated structure compared to the electricity price.

Fig. 9
figure 9

Changes in net annual benefit and period of return with regard to changes in the generated refrigeration cost

Figure 10 shows the changes in annual net profit and period of return with regard to changes in freshwater production cost in the developed integrated structure. As the freshwater production cost increases, the payback period decreases, and the annual net profit increases. The results indicated the period of return decrease from 2.65 to 2.45 years and the annual net profit increase from 140.3 to 149.7 MMUS$ Year−1 by an increase in the freshwater production cost from 0.05 to 10 US$ m−3.

Fig. 10
figure 10

Changes of the net annual benefit and the period of return by increasing the freshwater production cost

Figure 11 presents the changes in prime cost and payback period with regard to changes in investment cost in the developed integrated structure. With increasing investment cost, the prime cost of product and period of return increase. The results indicate the period of return is less than 5 years for the initial investment cost of 632.9 MMUS$ and less, which was economically viable.

Fig. 11
figure 11

Changes of the prime cost and the period of return with regard to changes in capital cost

Figure 12 shows the changes in the additive value of product and net annual benefit with regard to changes in investment cost in the developed integrated structure. With increasing investment cost, the additive value of product and net annual benefit decrease. The results indicate the additive value of product and net annual benefit decrease from 0.1069 to 0.0324 US$ kWh−1 and 140.3 to 46.55 MMUS$ Year−1, respectively, for an increase in the investment cost from 372.3 to 1861.5 US$ kWh−1.

Fig. 12
figure 12

Variation of the net annual benefit and additive value by increasing the Capital Cost

Conclusions

Exploiting gas pressure energy in transmission pipelines manifests the procedure of energy recovery. It is possible to prevent energy loss during the pressure regulation and reduction process by using turboexpanders at the end of the main gas pipelines in gas pressure reduction stations. These turbines are placed in the path of high-pressure gas flows to generate electrical power during the pressure reduction process. This study presented an integrated structure for the trigeneration of refrigeration, power, and freshwater through energy recovery from pressure reduction stations using the compression refrigeration cycle, Brayton power generation system, CO2 power generation plant, Rankine power generation cycle, and multistage thermal desalination unit. The simulation results indicated the electrical and thermal efficiencies of the whole integrated structure were 47.04% and 61.42%, respectively. According to the exergy analysis of the integrated structure, the highest rates of exergy degradation were observed in the combustion chamber (59.68%), heat exchangers (14.70%), and compressors (14.46%), respectively. The two parameters of exergy degradation and efficiency should be examined simultaneously to better compare the performance of different equipment in each process. As it is the purpose of exergy analysis, by comparing the exergy degradation and efficiency of various equipment in a process, the points at which the energy is not used efficiently can be found. Given that heat exchangers, turbines, and compressors had higher exergy efficiencies than other equipment, re-simulation is not required to modify the structure. Among the reasons for the high total exergy efficiency of the integrated structure (60.59%) was the proper design of the developed integrated structure. The results of the economic analysis using ACS revealed that the period of return, additive value, and annual benefit were 2.565 years, 0.1069 US$ kWh−1, and 155.6 MMUS$, respectively. The parameters of electricity price, refrigeration cost, freshwater production cost, and capital cost were considered as the main design parameters in the sensitivity analysis. The sensitivity analysis of economic parameters showed that the period of return and prime cost of the product changed from 2.65 to 39.9 years and 0.043 to 0.1175 US$ kWh−1, respectively, with an increase in the capital cost from 372.3 to 1861.5 MMUS$. Integration of integrated structures reduces equipment but makes the controllability of the integrated structure difficult. Dynamic investigation of the integrated structure can be investigated. It is recommended the advanced exergy and exergoeconomic analyses of the developed integrated structure be performed in future studies. Turboxpanders can also be used at the pressure reducing station to liquefy natural gas for peak shaving.