Conventional and Advanced Exergoeconomic Analysis of a Compound Ejector-Heat Pump for Simultaneous Cooling and Heating

: This work focused on a compound PV/T waste heat driven ejector-heat pump system for simultaneous data centre cooling and waste heat recovery for district heating. The system uses PV/T waste heat as the generator’s heat source, acting with the vapour generated in an evaporative condenser as the ejector drive force. Conventional and advanced exergy and advanced exergoeconomic analyses are used to determine the cause and avoidable degree of the components’ exergy destruction rate and cost rates. Regarding the conventional exergy analysis for the whole system, the compressor represents the largest exergy destruction source of 26%. On the other hand, the generator shows the lowest sources (2%). The advanced exergy analysis indicates that 59.4% of the whole system thermodynamical inefﬁciencies can be avoided by further design optimisation. The compressor has the highest contribution to the destruction in the avoidable exergy destruction rate (21%), followed by the ejector (18%) and condenser (8%). Moreover, the advanced exergoeconomic results prove that 51% of the system costs are unavoidable. In system components cost comparison, the highest cost comes from the condenser, 30%. In the same context, the ejector has the lowest exergoeconomic factor, and it should be getting more attention to reduce the irreversibility by design improving. On the contrary, the evaporator has the highest exergoeconomic factor (94%).


Introduction
By 2050, the European Union's target is to become climate neutral by increasing renewable energy dependence and improving energy efficiency by recovering waste heat [1,2]. Information and communications technology (ICT) represents an emerging sector because its energy consumption value is 2.5% of European Union electricity consumption [3].
The Internet of Things (IoT) provides various services to its users, such as data management, storage, and usage. However, IoT often requires data centres, increasing power demand between 15% and 20% [4]. Reducing energy consumption and costs in a data centre is a challenging issue because the performance and lifetime of electronic components are susceptible to indoor conditions. The data centre cooling system represents 40% of the total consumption [5].
Conventional heat pumps are considered a flexible option in data centres because they can regulate the cooling capacity according to the load demand. Furthermore, they can be combined with other promising green technologies. plant operated by a geothermal cascade arrangement. The results indicate that the exergy destruction in the heat exchanger and in the ORC can be avoided by improving these design variables. Hepbasli et al. [23] studied a pilot-scale air-source heat pump for food drying. They concluded that the advanced exergoeconomic analysis gives a more sensitive evaluation of inefficient components to system modification and efficiency improvement. On the other hand, cost-reducing for both heat recovery and condenser units should be improved.
According to the state-of-art revision, none of the previous studies focused on the advanced exergy and exergoeconomic analyses for advanced heat pumps, neither for these systems combined with other technologies. This work presents an advanced exergoeconomic evaluation for a new arrangement of combined ejector-solar assisted heat pump system to give a complete overview of the system's potential. The new system arrangement is applied to data centre cooling and district heating simultaneously. It combines four promising technologies: a heat pump, ejector, PV/T panels, and waste heat recovery. The proposed system presents the novelty of employing PV/T waste heat with the evaporative condenser as a full ejector driving force, avoiding a pump's need. The surplus PV/T generated electricity can be used to operate the heat pump, which is cooling a data centre and injecting heat in a district heating network at the same time.
The current study's objective is to perform conventional and advanced exergoeconomic analyses for the investigated combined ejector-solar assisted heat pump system. The exergetic destruction values and unitary exergoeconomic costs for each component were determined and discussed. This will allow us to identify the magnitude and location of the most relevant thermodynamic cost losses and provide critical insights to improve the inefficient components to be more effective and reliable.

System Description
The system components layouts and pressure-enthalpy diagrams of the compound PV/T waste heat-driven ejector-heat pump system are shown in Figure 1a,b, respectively. The compound PV/T waste heat-driven ejector-heat pump system comprises a compressor, condenser, flash tank, high-pressure expansion valves, evaporative-condenser, PV/T waste heat exchanger-generator, ejector, low-pressure expansion valve, evaporator, as well as three brine side fluid paths for PV/T-generator, evaporator, and condenser. The refrigerant has the transformations as exposed in the following paragraphs.
Superheated refrigerant enters the compressor at the intermediate pressure (State 1), and is compressed and delivered at condenser pressure. The high-pressure superheated refrigerant enters the condenser. The condensation process occurs by rejecting heat to the district heating system's heat sink (State 3); in the next stage, the cold liquid-gas mixture goes through the flash tank to undergo an adiabatic phase separation at the condenser pressure. The refrigerant leaves the flash tank from the bottom as saturated liquid (State 5) (primary flow) and from the upper side as saturated vapour (State 4) (secondary flow). Then, the high-pressure liquid refrigerant expands through the high-pressure expansion valve in the next stage, resulting in a mixture of liquid and gas at lower pressure and lower temperatures (State 5 ).
After that, the two streams of refrigerant pass through an evaporative-condenser, which is used to condense the vapour stream from the flash tank separator (secondary flow), exchanging heat with a low-temperature stream (primary flow) after the first throttling process (Expansion Valve I). The primary stream leaves the evaporative condenser in a mixture state at generator pressure (State 6). It then enters the generator, where it is evaporated by exchanging heat from the cooling water of the PV/T waste heat recovery coil. Furthermore, the bypass vapour stream's cooling effect could be utilised at the evaporative condenser and delivered as a liquid refrigerant to the second expansion valve (the secondary flow), expanding through the low-pressure expansion valve. From this, a mixture exits at evaporator pressure (State 8 ). It removes heat load from the data centre using the evaporator cooling water. It is wholly evaporated in the final stage before returning to the ejector suction nozzle (State 9) and exits superheated.
heat generated and maintain the indoor air conditions in the ASHRAE comfort zone. Finally, this heat is upgraded to the compressor's functional temperature levels, specifically for district heating.
The arrangement yields high system performance due to overall exergy destruction optimisation by the ejector's arrangement, allowing electricity saving by reducing the compressor's pressure ratio and its irreversibility. Combining an evaporative-condenser leads to improving the system overall exergy destruction by removing the ejector's pump (absence of pump exergy destruction). Moreover, the condenser waste heat is used in the auxiliary heat exchanger to compensate for the absence of solar intensity (overcast day conditions).  On the other hand, the refrigerant leaves the generator. After being superheated (State 7) it is shunted to the ejector's primary nozzle, representing the most considerable refrigerant mass flow rate of the motive flow entering the nozzle and enhancing the pressure lift effect. The primary stream expands through the nozzle and exits at low pressure. It creates an evacuation force for the low-pressure vapour (secondary flow). The two streams undergo a constant pressure mixing process (State M) and introduce normal shock trains in the mixing section. Meanwhile, the pressure recovery process takes place in the diffuser section of the ejector. The mixed stream enters the compressor (State 1), where the cycle starts again.
The system is designed to cover three functions. First, the PV/T operating temperature is decreased, and the generated electric power is maximised. This waste heat is used as the generator's heat source, acting with the vapour generated in an evaporative condenser as the ejector drive force. The second function is to absorb the data centre's waste heat generated and maintain the indoor air conditions in the ASHRAE comfort zone. Finally, this heat is upgraded to the compressor's functional temperature levels, specifically for district heating.
The arrangement yields high system performance due to overall exergy destruction optimisation by the ejector's arrangement, allowing electricity saving by reducing the compressor's pressure ratio and its irreversibility. Combining an evaporative-condenser leads to improving the system overall exergy destruction by removing the ejector's pump (absence of pump exergy destruction). Moreover, the condenser waste heat is used in the auxiliary heat exchanger to compensate for the absence of solar intensity (overcast day conditions).

System Modelling
The flow chart indicating the methodology employed for calculating energetic performances, conventional exergy, and advanced exergoeconomic analysis for the compound ejector heat pump is shown in Figure 2. The real, ideal, and unavoidable cycles conditions  Table 1. Then, the thermodynamic system parameters are obtained using the energetic system model.    Table 1. Parameters for real, ideal, and unavoidable cycle conditions [9,20].

Components Parameters Real Ideal Unavoidable
Compressor The energetic system model includes all the energy, exergy, economical, and advanced exergy and exergoeconomic equations required. Moreover, four sub-models are employed, so the ejector, evaporative-condenser, PV/T, and heat exchangers area model are connected to the primary model to complete the entire system evaluation. An iteration loop's ejector outlet's pressure is evaluated with a relative convergence tolerance of 0.1% in the ejector model. Moreover, in the evaporative-condenser heat exchange model, an iteration loop is adopted with a relative convergence tolerance of 0.1%, while for the PV/T, the relative convergence tolerance is 0.5%.
The system performance parameters for real, ideal, and unavoidable conditions could be obtained to perform the advanced energy-exergy cycle performance evaluation by knowing the system energy parameters like mass flow rate and the specific enthalpy, specific entropy, and exergy destruction. What is more, endogenous/exogenous and avoidable/unavoidable exergy destruction can be gained by further calculation.
Finally, by evaluating the components' sizing in real and unavoidable conditions, advanced exergoeconomic evaluations are adopted for all system components. The exergoeconomic analysis requires several thermodynamic and transport properties, which still have not been included for recently commercialised refrigerants (such as R1234ze (E)) in the most used software (EES [24] and REFPROP [25]). However, these properties are available for R134a, which is the most representative refrigerant for chillers. Therefore, R-134a is selected as the heat pump working fluid. The Engineering Equation Solver (EES) software [24] is used to model the proposed system and introduce all assumptions, boundary conditions, and inputs.

Boundary Conditions and Assumptions
The ambient air temperatures and hourly solar intensity are based on Valencia (Spain) actual data [26] and considered input parameters. The evaporator's temperature difference and cooling load for the data centre cooling system are 5 • C and 90 kW, respectively. The refrigerant quality at the condenser outlet (x 3 ) is fixed at 0.3 to achieve relatively high system performance and avoid the two-phase flow at the compressor inlet at very low solar intensity. The refrigerant state leaving the flash tank is a saturated vapour and liquid from the upper and bottom parts, respectively. Besides that, the saturated liquid is delivered to the first and second expansion valve. Pressure drops and heat transfer to the surrounding through the connection pipes and compressor are neglected. In the advanced exergy analysis, hypered condition requires a match in cooling and heating capacity. Therefore, the water's inlet and outlet temperatures at the evaporator and condenser are kept at 12 • C-7 • C (∆T Ew = 5 • C) and 35 • C-55 • C (∆T Kw = 20 • C), respectively. The quantitative sensitivity study varies one parameter while keeping constant the remaining. Therefore, the condensing and evaporator glide is varied from 4.5 to 9 • C and 3 to 7.5 • C, respectively. On the other hand, the compressor mechanical efficiency is varied from 0.7 to 0.88 and finally, the ejector efficiencies (η D , η pn , η MX , η sn ) go from 0.78 to 0.85. Table 1 summarises parameters for real, ideal, and unavoidable cycle conditions. Table 2 summarises the main assumptions and boundary condition.

Model Equations
The advanced exergy analysis provides additional helpful information that cannot be obtained through conventional energy-exergy analysis and economic analysis [27]. The source of thermodynamic inefficiencies, irreversibility of the components, system cost, and exergoeconomic analysis are calculated. It identifies the most present cost-effective ways to improve the system performance.

Energetic Model
The compressor power consumption can be obtained using Equation (1).
The delivered refrigerant's mass flow rate is evaluated by Equation (2). .
From multiplying the refrigerant specific enthalpy difference across the condenser by the refrigerant mass flow rate, the condenser heating capacity can be calculated, Equation (5). The evaporative-condenser effectiveness can be obtained as indicated in Equation (6).
The ejector is a crucial component in the compound ejector compression cycle; hence, the ejector performance prediction model's accuracy severely affects the overall system performance. Up to this day, the constant pressure model was widely accepted [29][30][31]. Therefore, this model is adopted in thermodynamic performance evaluation.
In the ejector analysis, the most critical factor is the entrainment ratio, which can be calculated employing Equation (7).
The primary nozzle refrigerant exit velocity can be obtained using Equation (8) based on the energy conservation law.
Similarly, the secondary nozzle refrigerant exit velocity can be obtained following Equation (9).
By applying momentum and energy conservation equations on the mixing section, refrigerant conditions at the nozzle mixing section can be obtained by Equations (10) and (11), respectively.
The ejector outlet enthalpy can be obtained from Equation (12).
Finally, the nozzle and diffuser efficiency can be calculated through Equations (13) and (14), respectively.
The system energy efficiency ratio (EER) and coefficient of performance (COP) results from Equations (15)

Conventional Exergy Model
In the conventional exergy analysis, the concept of "fuel exergy-product exergy" is used. It is noted that the fuel exergy is the exergy expended on a component (such as compressor work exergy in heat pump compressor). Besides that, the product exergy indicates the system's required exergy (such as heat supply exergy by the condenser in the heat pump). A control volume is adopted without accounting for the PV/T panels and data centre room. Ambient temperature and pressure are taken as dead state conditions. The general exergy balance equation applied to the term "fuel exergy-product exergy and exergy destruction" can be expressed as indicated in Equations (17) and (18) [32]. .
The detailed definition equations of the fuel exergy, product exergy, and the exergy destruction rate for each component are listed in Table 3. The system's total exergy destruction is the summation of all components, Equation (19). Table 3. Definition of fuel, production, and exergy destruction rates of the system components [32].

Component Exergy of Fuel Exergy of Product Exergy Destruction
Compressor .

EX P,ex2
The exergy efficiency is presented in Equation (20).

Economic Model
A detailed economic analysis based on the construction-maintenance cost and annual operating cost is adopted in this section. The levelisation cost method is utilised to convert the annual variable costs to equivalent constant expenses. The plant cost rate ( . Z CR ) parameter can be evaluated using Equation (21) [33,34].
The construction and maintenance cost rate ( . Z CM ) is calculated as shown in Equation (22).
Moreover, the capital construction cost functions of each component (Z) are listed in Table 4. Table 4. Cost functions of various equipment [35,36].

System Component Capital Cost Function
Compressor The equation for the operational cost rate is provided in Equation (23).
The models mentioned in Duffie et al. [37], Al-Sayyab et al. [38], Bahaidarah et al. [39], and Tiwari et al. [40] are used to evaluate the effect of hourly variations of solar intensity and ambient temperatures on PV/T performance. Besides, the models mentioned in Lee [41], Thulukkanam [42], and Khosravi et al. [43] are used to predict the heat transfer coefficient's overall heat exchangers area's evaluation.

Conventional Exergoeconomic Model
The exergoeconomic analysis is a combination of exergy principles with economic concepts. Exergoeconomic analysis represents a powerful tool capable of estimating each exergy stream's cost in each component by considering both capital investment costs and operation-maintenance costs [44].
By the exergoeconomic aspects, the cost balance equation is written as Equation (24) indicates [44].
The equation of cost rate balance for each system component is listed in Table 5.
The cost rate of exergy destruction can be expressed by following Equation (25).
Finally, the total cost is calculated through Equation (26). The exergoeconomic factor is the ratio of the component to total component cost, taking into account the exergy destruction cost [43], Equation (27).

Advanced Exergy Analysis
The conventional exergetic analysis does not indicate the reasons that caused exergy destruction. A recently developed technique, 'advanced exergetic analysis', can evaluate the system components' mutual interdependencies, providing helpful information for improving the system components [14].
The exergy destruction in the system components splits into two approaches, endogenous/exogenous or unavoidable/avoidable parts.
The exogenous/endogenous exergy splitting can be adopted by using the hypered cycle to the kth component. The specific component undergoes the consideration functions with its actual conditions; meanwhile, the rest of the components work in ideal conditions [19], Figure 3 shows the adopted system under the three operating conditions (Ideal, Real, and unavoidable). It allows evaluating the influence of the rest components on the exergy destruction of a specific component. The component exergy destruction depends not only on the irreversibility of a specific component, but also on the interconnections among the rest of the components [45]. The exogenous/endogenous exergy splitting can be written as shown in Equation (28). Unavoidable exergy evaluation can be adopted using an unavoidable cycle that operates under best-operating conditions with zero irreversibility or minimum exergy destruction as possible (unavoidable conditions), as shown in Figure 3c, which can be expressed as indicated in Equation (29).
The value of the unavoidable exergy destruction with the kth component follows Equation (30). The unavoidable exergy destruction ( , ) represents the part of the irreversibility that cannot be reduced due to the component's economic, technological and manufacturing limitations. On the contrary, the avoidable exergy destruction ( , ) is a recoverable part of the irreversibility that design modifications and optimisation can reduce.
Four categories for the exergy destruction of the kth components were considered unavoidable-endogenous, unavoidable-exogenous, avoidable-endogenous, and avoidable-exogenous components. The way of component exergy splitting connection is shown in Figure 4 and Equation (31) [19].  Unavoidable exergy evaluation can be adopted using an unavoidable cycle that operates under best-operating conditions with zero irreversibility or minimum exergy destruction as possible (unavoidable conditions), as shown in Figure 3c, which can be expressed as indicated in Equation (29). The value of the unavoidable exergy destruction with the kth component follows Equation (30).
The unavoidable exergy destruction ( . Ex UN D,k ) represents the part of the irreversibility that cannot be reduced due to the component's economic, technological and manufacturing limitations. On the contrary, the avoidable exergy destruction ( . Ex AV D,k ) is a recoverable part of the irreversibility that design modifications and optimisation can reduce.
Four categories for the exergy destruction of the kth components were considered unavoidable-endogenous, unavoidable-exogenous, avoidable-endogenous, and avoidableexogenous components. The way of component exergy splitting connection is shown in Figure 4 and Equation (31)  The unavoidable exergy destruction ( , ) represents the part of the irreversibility that cannot be reduced due to the component's economic, technological and manufacturing limitations. On the contrary, the avoidable exergy destruction ( , ) is a recoverable part of the irreversibility that design modifications and optimisation can reduce.
Four categories for the exergy destruction of the kth components were considered unavoidable-endogenous, unavoidable-exogenous, avoidable-endogenous, and avoidable-exogenous components. The way of component exergy splitting connection is shown in Figure 4 and Equation (31) [19]. . . .

Advanced Exergoeconomic Analysis
The advanced exergoeconomic analysis splits components of investment and exergy destruction costs into two unavoidable/avoidable and exogenous/endogenous parts; the combinations of component exergy cost splitting with the component cost are shown in Figure 5 [14].
In the same way, the costs of the avoidable-exogenous part of the exergy destruction and investment related to each component (can be reduced by improving the performance of the rest component) are computed by Equations (50)

Conventional Exergoeconomic Analysis
This section analyses the system exergy performance with fixed condensing and evaporating temperatures, and solar intensity, Figure 6a. It states that the compressor represents the largest source of exergy destruction of the whole system's exergy destruction condenser and then ejector. On the other hand, the generator presents the lowest exergy destruction source. Figure 6b quantifies in detail the percentage of exergy destruction, compressor, 26%, followed by the condenser, 24%, and ejector exergy destruction represents 18% of the total system exergy destruction, which should be further investigated for accounting the source of irreversibility to improve in future designs. Meanwhile, both the second expansion valve and generator comprise the lowest exergy destruction percentage, 3% and 2%, respectively.  (36) and (37) [46].
In the same way, the cost of the exogenous part is presented in Equations (38) and (39).
According to [46], the costs of the unavoidable part of the exergy destruction and investment related to each component that cannot be reduced due to the component's economic and manufacturing methods limitations can be calculated by Equations (40) and (41).
Likewise, the costs of the recoverable part are expressed as follows by Equations (42) and (43).
The costs of the unavoidable-endogenous part of the exergy destruction and investment related to each component (cannot be reduced due to the component's economic and manufacturing methods limitations) can be obtained by Equations (44) and (45). Besides, the costs of the unavoidable-exogenous part of the exergy destruction and investment related to each component (can be reduced by improving the performance of the rest component) can be calculated by Equations (46) and (47).
Similarly, the costs of the avoidable-endogenous part of the exergy destruction and investment related to each component (can be reduced by improving the performance of the investigated component) are expressed by Equations (48) and (49).
In the same way, the costs of the avoidable-exogenous part of the exergy destruction and investment related to each component (can be reduced by improving the performance of the rest component) are computed by Equations (50) and (51).

Conventional Exergoeconomic Analysis
This section analyses the system exergy performance with fixed condensing and evaporating temperatures, and solar intensity, Figure 6a. It states that the compressor represents the largest source of exergy destruction of the whole system's exergy destruction condenser and then ejector. On the other hand, the generator presents the lowest exergy destruction source. Then, the highest investment cost was for the condenser, followed by the generator, the evaporator, the compressor, and the evaporative condenser. According to the investment costs, the second expansion valve and the ejector have the lost system components cost, Table 6.
On the other side, the compressor represents the highest cost of exergy destructions, followed by the ejector and condenser, whilst the second expansion valve had the lowest destruction costs in the system. The conventional exergoeconomic analysis showed that the second expansion valve and the generator were not significant system components concerning lowering the costs. In contrast, the compressor, the ejector, and the condenser  Figure 6b quantifies in detail the percentage of exergy destruction, compressor, 26%, followed by the condenser, 24%, and ejector exergy destruction represents 18% of the total system exergy destruction, which should be further investigated for accounting the source of irreversibility to improve in future designs. Meanwhile, both the second expansion valve and generator comprise the lowest exergy destruction percentage, 3% and 2%, respectively.
Then, the highest investment cost was for the condenser, followed by the generator, the evaporator, the compressor, and the evaporative condenser. According to the investment costs, the second expansion valve and the ejector have the lost system components cost, Table 6. On the other side, the compressor represents the highest cost of exergy destructions, followed by the ejector and condenser, whilst the second expansion valve had the lowest destruction costs in the system. The conventional exergoeconomic analysis showed that the second expansion valve and the generator were not significant system components concerning lowering the costs. In contrast, the compressor, the ejector, and the condenser were essential components.

Advanced Exergy Analysis
The advanced exergy analysis results are summarised in Table 7. As a result of the endogenous exergy destruction evaluation, the condenser has the more significant exergy destruction (9.407 kW, 22% of the total) followed by evaporative-condenser (6.685 kW, 15%), and compressor (1.943 kW, 4%), meanwhile the second expansion valve represent the lowest endogenous exergy destruction of (0.4435 kW, 1%). Besides, the exogenous exergy destruction evaluation result shows that the compressor represents the highest source of exergy destruction (9.218 kW, 21% of total system exergy destruction). In comparison, the evaporator represents the lowest (0.0334 kW, 0.08%). Meanwhile, the total system endogenous exergy destruction and exogenous exergy destruction represent 53% and 47% of the total system exergy destruction, respectively. This indicates that these components' exergy destruction is mainly due to their irreversible losses rather than the rest of the components associated with them. Therefore, priority should be given to improve each component when system optimisation is carried out. This also implies that the influence of the interactions between components is not very strong. On the other hand, from the avoidable-unavoidable exergy destruction evaluation, the compressor represents the highest source of irreversibility, 21% of the whole system thermodynamic inefficiencies that can be avoided by further design, followed by ejector and condenser, 17% and 8%, respectively.
Finally, by combining the two splitting approaches, the results of this combination show that the avoidable exogenous part represents the highest exergy destruction, 37% of the total system exergy destruction, Figure 7. Hence, the compressor represents the highest source of avoidable exogenous destruction (9.176 kW, 21% of the total system exergy destruction), followed by the ejector (6.013 kW, 14%). Meanwhile, the unavoidable endogenous part represents the second-highest exergy destruction, 33% of total system exergy destruction (Figure 7). Hence, the condenser represents the highest source of the unavoidable endogenous part (6.3 kW, 14% of total system exergy destruction). On the other hand, the evaporator represents the lowest source of unavoidable exergy destruction. Figure 8 shows the exergy flow for the proposed system; the compressor, condenser, and ejector represent the highest avoidable exergy destruction parts for the whole system. It should give more attention by improving these components; the exergy destruction in these components can effectively decrease, leading to increased overall system COP and exergy efficiency.

Sensitivity Analysis
To better understand the components' internal condition influences on exergy destruction, a sensitive analysis study is adopted by varying each component's operating characteristic, setting the others. This section focuses on system avoidable exergy destruction sources because it represents a potential for improvement. According to the above previous exergy analysis, all compressors, condensers, and ejectors possess the highest performance improvement priority (represent the highest source of avoidable exergy destruction Figure 8). So that the study focused on these components only, the rest of the components were excluded. Figure 9 illustrates the effect of compressor efficiency variation on the exogenous exergy destruction of system components. The compressor exogenous exergy destruction shows a remarkable reduction with compressor efficiency increasing. Besides, none of the other components show any influences with compressor efficiency variation, just a slight reduction with condenser due to the corresponding decrease in the condenser inlet temperature (Figure 9c).

Sensitivity Analysis
To better understand the components' internal condition influences on exergy destruction, a sensitive analysis study is adopted by varying each component's operating characteristic, setting the others. This section focuses on system avoidable exergy destruction sources because it represents a potential for improvement. According to the above previous exergy analysis, all compressors, condensers, and ejectors possess the highest performance improvement priority (represent the highest source of avoidable exergy destruction Figure 8). So that the study focused on these components only, the rest of the components were excluded. Figure 9 illustrates the effect of compressor efficiency variation on the exogenous exergy destruction of system components. The compressor exogenous exergy destruction shows a remarkable reduction with compressor efficiency increasing. Besides, none of the other components show any influences with compressor efficiency variation, just a slight reduction with condenser due to the corresponding decrease in the condenser inlet temperature (Figure 9c). Figure 9b evidence that the compressor avoidable exogenous exergy destruction is inversely proportional to the compressor efficiency. Meanwhile, the compressor total and system exergy destruction decrease with a compressor efficiency increase; this enhances compressor consumption power (Figure 9c) to system exergy efficiency and COP ( Figure  9d), owing to compressor irreversibility and system reduction.    (Figure 9d), owing to compressor irreversibility and system reduction. Figure 10 shows the effect of condenser glide temperature variation on system components exogenous exergy destruction. The condenser exogenous exergy destruction increases with higher glide temperature due to condenser temperature augmentation. Meanwhile, the other components are slightly increased with glide temperature variation. At constant inlet and outlet conditions of condenser cooling water, this causes the heat transfer between the condenser and its condensing medium to decrease and increase the cycle's irreversibility. Figure 10 shows the effect of condenser glide temperature variation on system components exogenous exergy destruction. The condenser exogenous exergy destruction increases with higher glide temperature due to condenser temperature augmentation. Meanwhile, the other components are slightly increased with glide temperature variation. At constant inlet and outlet conditions of condenser cooling water, this causes the heat transfer between the condenser and its condensing medium to decrease and increase the cycle's irreversibility. Figure 10b shows the influence of condenser glide temperature variations on the condenser exergy destruction. The avoidable exogenous part of condenser exergy destruction is directly proportional with condenser glide temperature increasing; meanwhile, none of the other parts is influenced. Additionally, condenser glide temperature increase has the worst effect on compressor power (Figure 10c), system exergy efficiency and system COP. As a result, the overall system exergy destruction increases at a higher condenser glide temperature (Figure 10d). Finally, Figure 11a illustrates the influence of ejector efficiency variation on system components exogenous exergy destruction. The ejector efficiency increasing diminishes the ejector exogenous exergy destruction. Meanwhile, the rest of the components have a negligible variation. The ejector has varied irreversibility sources, such as the nozzles flow friction irreversibility, two streams mixing irreversibility (primary and secondary flow), and compression shock waves irreversibility [47].  Figure 10b shows the influence of condenser glide temperature variations on the condenser exergy destruction. The avoidable exogenous part of condenser exergy destruction is directly proportional with condenser glide temperature increasing; meanwhile, none of the other parts is influenced. Additionally, condenser glide temperature increase has the worst effect on compressor power (Figure 10c), system exergy efficiency and system COP. As a result, the overall system exergy destruction increases at a higher condenser glide temperature (Figure 10d).
Finally, Figure 11a illustrates the influence of ejector efficiency variation on system components exogenous exergy destruction. The ejector efficiency increasing diminishes the ejector exogenous exergy destruction. Meanwhile, the rest of the components have a negligible variation. The ejector has varied irreversibility sources, such as the nozzles flow friction irreversibility, two streams mixing irreversibility (primary and secondary flow), and compression shock waves irreversibility [47].
On the other hand, Figure 11b shows the influences of ejector efficiency variations on the ejector exergy destruction. The avoidable exogenous part of ejector exergy destruction decreases with ejector efficiency increasing; meanwhile, it shows a lower influence on the rest of the ejector exergy destruction. An ejector efficiency increase enhances condenser heat capacity due to a higher refrigerant mass flow rate (Figure 11c). Meanwhile, despite the overall exergy destruction increase, both the system exergy efficiency and COP are less enhanced, increasing ejector efficiency. The overall system exergy developed increasing; the factor takes a dominant role Figure 11d, attributed to overall system mass flow rate increases.

Advanced Exergoeconomic Analysis
From the advanced exogenous analysis, Table 8, a significant proportion of investment destruction costs in the system are detected as exogenous (71%). Meanwhile, the avoidable destruction cost represents 62% of the overall destruction costs and avoidable-exogenous cost, 58%. In contrast, unavoidable-exogenous destruction cost was relatively low.
The highest exergy destruction costs are accumulated in the compressor, 41.9% of the total exergy destruction in avoidable exogenous. The generator follows it. A substantial proportion of the exergy destruction cost is avoidable-exogenous, 15.1% of the overall system investment costs (approximately 79% of the generator exergy destruction cost, Figure  12). The third significant exergy destruction cost is accumulated in a condenser. Still, in this case, it is unavoidable-endogenous, 8.4% of the overall system investment costs (approximately 60% of the condenser exergy destruction cost, Figure 12). The two parts of On the other hand, Figure 11b shows the influences of ejector efficiency variations on the ejector exergy destruction. The avoidable exogenous part of ejector exergy destruction decreases with ejector efficiency increasing; meanwhile, it shows a lower influence on the rest of the ejector exergy destruction. An ejector efficiency increase enhances condenser heat capacity due to a higher refrigerant mass flow rate (Figure 11c). Meanwhile, despite the overall exergy destruction increase, both the system exergy efficiency and COP are less enhanced, increasing ejector efficiency. The overall system exergy developed increasing; the factor takes a dominant role Figure 11d, attributed to overall system mass flow rate increases.

Advanced Exergoeconomic Analysis
From the advanced exogenous analysis, Table 8, a significant proportion of investment destruction costs in the system are detected as exogenous (71%). Meanwhile, the avoidable destruction cost represents 62% of the overall destruction costs and avoidable-exogenous cost, 58%. In contrast, unavoidable-exogenous destruction cost was relatively low.   The highest exergy destruction costs are accumulated in the compressor, 41.9% of the total exergy destruction in avoidable exogenous. The generator follows it. A substantial proportion of the exergy destruction cost is avoidable-exogenous, 15.1% of the overall system investment costs (approximately 79% of the generator exergy destruction cost, Figure 12). The third significant exergy destruction cost is accumulated in a condenser. Still, in this case, it is unavoidable-endogenous, 8.4% of the overall system investment costs (approximately 60% of the condenser exergy destruction cost, Figure 12). The two parts of avoidable exergy cost (AVEN and AVEX) components are 3.9% and 0.2% of overall system investment costs. Consequently, the second expansion valve exergy destruction costs represent a narrow share of the destruction costs (0.7%). Therefore, improvements concentrated on the second expansion valve destructions would have limited importance and investment costs.
From Table 9, 51% of the system costs are unavoidable; meanwhile, 29% is avoidable exogenous and 20% is avoidable endogenous. In system components cost comparison, the highest cost comes from the condenser (30%), followed by the compressor (26.4%) and generator (24%), and both expansion valve represents the lowest components cost (below 1%).
From Figure 13, 68% of compressor cost is avoidable, and according to Table 9, the compressor has an exergoeconomic factor (f) of 19%. It indicates that the exergy destruction cost has a marked influence on total compressor cost; therefore, it should improve the compressor performance. For the generator, 43% of the investigated cost is avoidable with an exergoeconomic factor of 67%; this indicates that the construction cost significantly influences total generator cost. The same conclusion as the compressor can be drafted.    Table 9. Investment cost rate of the system components.   Figure 13. Percentage of components cost rate.

Conclusions
Conventional and advanced exergoeconomic analyses are performed to compou the ejector-heat pump for simultaneous data centre cooling and district heating. The co clusions obtained from the current study are summarised as follows.

•
The compressor represents the largest exergy destruction source of the whole syste with 26% coming from the conventional exergy analysis, followed by the conden ejector, 24% and 18%. On the other hand, the generator shows the lowest exergy struction source, 2%. • Moreover, the advanced exergy analysis indicates that 59.4% of the whole syst exergy destruction can be avoided by further design optimisation. Among them, ducing the refrigerant side pressure drop across the heat exchangers by rearrang refrigerant circuiting [48], decreasing the amount of flashing gas at the evapora inlet by nozzle [49], or by using a flash tank with a vapour injection scroll compres [50], and reducing the pressure drop in the suction nozzle. The compressor contr utes the highest share (21%) of the exergy destruction rate in an avoidable exogeno form, followed by the ejector (14%) and condenser (7%).

•
The quantitative analysis suggests that the compressor efficiency increase positiv influences the system COP by reducing the consumption power. The compressor ficiency increase has a reduced effect on compressor avoidable exogenous exergy struction and total system exergy destruction. In the same context, condenser gl In the same context, the ejector has the lowest exergoeconomic factor (0.1%), and it should be getting more attention to reduce the irreversibility by design improvement. On the contrary, the evaporator has the highest exergoeconomic factor (94%), giving more about evaporator construction for improving.
On the other hand, approximately half of the total investment costs (49%) were avoidable, and 29% of the system exergy destruction is exogenous avoidable, larger than endogenous avoidable exergy destruction. It indicates that the interaction between components is strong, and the exergy destruction of these components are mainly due to irreversible losses of components associated with them.

Conclusions
Conventional and advanced exergoeconomic analyses are performed to compound the ejector-heat pump for simultaneous data centre cooling and district heating. The conclusions obtained from the current study are summarised as follows.

•
The compressor represents the largest exergy destruction source of the whole system, with 26% coming from the conventional exergy analysis, followed by the condenser ejector, 24% and 18%. On the other hand, the generator shows the lowest exergy destruction source, 2%. • Moreover, the advanced exergy analysis indicates that 59.4% of the whole system exergy destruction can be avoided by further design optimisation. Among them, reducing the refrigerant side pressure drop across the heat exchangers by rearranging refrigerant circuiting [48], decreasing the amount of flashing gas at the evaporator inlet by nozzle [49], or by using a flash tank with a vapour injection scroll compressor [50], and reducing the pressure drop in the suction nozzle. The compressor contributes the highest share (21%) of the exergy destruction rate in an avoidable exogenous form, followed by the ejector (14%) and condenser (7%).

•
The quantitative analysis suggests that the compressor efficiency increase positively influences the system COP by reducing the consumption power. The compressor efficiency increase has a reduced effect on compressor avoidable exogenous exergy destruction and total system exergy destruction. In the same context, condenser glide temperature increasing has the worst effect on the avoidable exogenous part of condenser exergy destruction, system exergy performance and system COP. Finally, the ejector efficiency increase slightly enhances the system COP, as does the avoidable exogenous part of ejector exergy destruction.

•
The condenser represents the highest cost for the system economic comparison, followed by the compressor and generator (30%, 26.4%, and 24%), and both expansion valves represent the lowest components cost (lower than 1%). Moreover, the advanced exergoeconomic results show that 51% of the system costs are unavoidable.

•
The ejector has the lowest exergoeconomic factor, 0.1%, and it should be getting more attention to reduce the irreversibility by design improvement. On the contrary, the evaporator has the highest exergoeconomic factor, 94%, and its construction is quite relevant.

Conflicts of Interest:
The authors declare there is no conflict of interest.