Thermodynamic and Economic Analysis of Trigeneration System Comprising a Hierarchical Gas-Gas Engine for Production of Electricity, Heat and Cold

: This paper presents the results of analysis of energy and economic e ﬃ ciency of the hierarchical gas-gas engine, with a note that a trigeneration system was analyzed, in which the production of electricity, heat and cold are combined. This solution signiﬁcantly increases the energy e ﬃ ciency of the gas and gas system compared to a system without cold production. The analysis includes a system comprising a compressor chiller which is driven by an electric motor in the system, as well as a system applying the mechanical work that is carried out via a rotating shaft of rotor-based machines, i.e., a gas turbine and a turboexpander. The comfort of the regulation of the refrigerating power rather promotes the use of a solution including an electric motor. Analysis contains also a schematic diagram of the system with a absorption chiller, which is driven by low-temperature enthalpy of exhaust gases extracted from a hierarchical gas-gas engine. Application of turboexpander with heat regeneration in the trigeneration system is also analyzed. Based on the multi-variant economic and thermodynamic calculations, the most favorable system variant was determined using, among others, the speciﬁc cost of cold production.


Introduction
In view of the growing demand for electricity, it is important to use effective energy systems.Separate electricity and heat generation is energy inefficient because it requires more fuel to be consumed than when produced simultaneously.An even better solution in terms of fuel saving is the simultaneous production of electricity, heat and cold, which is the subject of this article.
The energy and economic efficiency of two alternatives involving an innovative, hierarchical two-cycle gas-gas engine operation were analyzed in [1].In this design, two Joule circulations were combined and implemented, i.e., a high-temperature Joule cycle of a gas turbine and a low-temperature Joule turboexpander cycle.The coupling of the circulations takes place as a result of the use of a flue gas-air system in the air heater N-Figures 1-3.In one alternative, only electricity is produced, in the other, combined electricity and heat generation is conducted.The energy efficiency of both designs is lower than the efficiency of a hierarchical gas-steam engine with two circulation systems, in which the Joule cycle of a gas turbine operating in a high temperature range is coupled with the circulation of a Clausius-Rankine steam turbine, operating in the low temperature range.As a result of coupling Energies 2020, 13, 1006 2 of 33 the Joule and Clausius-Rankine through a gas-steam-water system in a heat recovery steam generator, which uses a low-temperature enthalpy of exhaust gases extracted from a gas turbine to produce steam to feed the steam turbine [2].The higher efficiency of a gas-steam engine is determined by the steam condensing isotherm (which of course also forms an isobar), during which heat is released into the environment from the Clausius-Rankine cycle.This isotherm nearly overlaps with the isotherm of the most thermodynamically ideal, theoretical circuit of the Carnot engine characterized by the highest thermal efficiency that mechanical engines can achieve [3].However, the circulating medium in the isobaric transformation of the "lower" Joule cycle in a hierarchical gas-gas engine, during which heat is released from the engine to the environment, has a significantly higher temperature compared to the entropy-averaged temperature T amb [2,4].As a consequence, the ratio of the power of the turboexpander to the one of the gas turbine N TE /N GT in a gas-gas system for the case of production of only electricity in both systems is even more than three times smaller than the ratio of steam turbine power to gas turbine power N ST /N GT in a gas-steam system.In the case of operation of both systems in a combined cycle, the ratio N TE /N GT is about two times smaller than N ST /N GT [1].Higher electricity production in the gas-steam system results from the built-in heat recovery steam generator, which makes it possible to apply the low-temperature enthalpy of exhaust gases from the turbine throughout the year for steam production applied to feed the steam turbine [2].The temperature of the gas extracted from the heat-recovery steam generator and released the environment, both for the combined cycle and the purely condensing operation of the gas-steam system, is low all year, as it is in the range from 70 to 90 • C, whereas in the gas-gas system the temperature of the exhaust gas to the environment is relatively high.In the case of a system applied for the production of only electricity (this system does not contain the heat exchanger (HE) in Figures 1 and 2), the temperature of the exhaust gas fed into the stack is in the range of about 180 to 250 • C (this temperature depends on the temperature of the gas entering the gas turbine [1]), and in the case of combined operation in the heating season in the range of about 130 to 160 • C, and in the non-heating season in the range of about 170 to 240 • C [1].Of course, these are then the flue gas temperatures behind the heat exchanger (HE), Figures 1 and 2.
Energies 2020, 1, x FOR PEER REVIEW 4 of 37 In the system presented in Figure 1, a compressor chiller is installed, which is driven by an electric motor, in the system in Figure 2, applying the mechanical work that is carried out via a rotating shaft of rotor-based machines, i.e., a gas turbine and a turboexpander.The comfort of the regulation of the refrigerating power rather promotes the use of a solution including an electric motor.As a result, the revenue from the sale of electricity produced in the system is not depleted compared to the systems presented in Figures 1 and 2. For the drive of compressor chillers, as already noted above, we apply the electricity (mechanical work, Figure 2), which is generated in the system, which decreases the revenue from its sale.On the other hand, one of the advantages of compressor chillers is associated with their high cooling power, and therefore considerable value of sales of cold, whereas in the system comprising an absorption chiller, its production is relatively small.This is due to the limited range of temperature of the flue gas applied to drive the chiller.The production of heat is also relatively low due to the use of flue gas enthalpy not only for its production, but also, as already noted above, for the production of cold, Figure 3. .Schematic diagram of a trigeneration hierarchical gas-gas system with a gas turbine and turboexpander in a single-shaft configuration designed for the production of electricity, heat and cold in an absorption chiller (G-electric generator, K-combustion chamber of the gas turbine, N-air preheater; preheater is a device that combines the circulation of the gas turbine and that of the turboexpander, C TE -low-pressure compressor, C GT -high-pressure compressor of the gas turbine, GT-turbine section of the gas turbine, TE-turboexpander, HE-heat exchanger, Z-absorption chiller, 1÷9-points along the system).
However, what is important is that the economic effectiveness of the hierarchical gas-gas engine operating in the combined cycle is greater than the effectiveness of the hierarchical gas-steam system operating according to a combined cycle, and the economic effectiveness of gas-gas and gas-steam systems applied for the production of only electricity are comparable, despite lower electricity production in the gas-gas system [2].The better economic effectiveness of gas-gas engines is associated with the significantly lower specific expenditure associated with the investment in the system (calculated per unit of the installed electrical capacity).This ratio is around 45% of the specific expenditure needed on gas-steam systems [2,4].
In [5] the processes of power, heating and cooling production, called CHP (combined heat and power) and CCHP (combined cooling heat and power) systems are elaborated.The overall structure of the units and likewise the inputs and outputs of them for a better understanding and comparison are the main features of this paper.Also, consumed fuels, applied oxygen carriers, the main conditions in chemical looping units, the chemical reactions and the resulting efficiencies are considered and discussed.A novel cascade trigeneration system driven by a biofuel production source (BPS) from the textile wastewater is introduced in [6] and modeled energetically and economically.The CCHP system comprises a Brayton top power cycle (BC) and three bottoming sub-systems, including the Rankine power cycle (RC), modified Kalina/vapor-compression refrigeration system (KVC34), and water-heating unit (WHU).The feasibility demonstration and parametrical optimization of the proposed system were conducted from thermal, technical, and economic points of view.
The study [7] investigates the feasibility of utilizing waste heat from industrial processes for the purpose of generating chilled water and hot water to be used for space conditioning and/or process heating applications.Some potential strategies to enhance heat source temperature are pointed out in this study, along with the anticipated outcomes of such temperature increases.Also, systems specifically tailored to chilling-only or water heating-only applications may hold potential for improved system performance.
The results of a thermodynamic-economic-environmental analysis of conventional and integrated solar gas turbine trigeneration power plants based on parabolic trough collectors are presented in [8].The hourly and yearly performance of the plants considered with different gas turbine and solar field sizes have been examined and presented.In addition, a conceptual procedure to identify the optimal solar integration configuration has been developed and presented.
Paper [9] discusses the possibilities of integrating the adsorption aggregate with a combined cycle gas turbine and its impact on the operation of all devices.The results obtained confirm that the adsorption aggregate, using a low grade of thermal energy, does not affect the operation of the gas and steam cycle, and allows the production of electricity at a constant level.
This manuscript [10] presents a thermo-economic analysis for a trigeneration system integrated by an absorption refrigeration chiller, a gas microturbine, and the heat recovery steam generation subsystem.The effect of the compressor inlet air temperature on the thermo-economic performance of the trigeneration system was studied and analyzed in detail based on a validated model.The critical operating conditions for which the trigeneration system presents the greatest exergy destruction, producing an increase in the costs associated with loss of exergy, relative costs, and operation and maintenance costs were determined.
The paper [11] proposes a novel methodology for developing an insight-based numerical pinch analysis technique to simultaneously target the minimum cooling, heating and power requirements for a total site energy system.It enables the design of an integrated centralised trigeneration system involving several industrial sites generating the same utilities.
The paper [12] presents a case study and simulation calculations of the system composed of molten hydroxide electrolyte (MH-DCFC) that generates electricity, and runs heat exchangers and an absorption chiller, integrated with the fuel cell to generate heating and cooling for improving the efficiency of the whole system.The maximum heat and cool streams that can be obtained during the operation of the cell were also evaluated.The results obtained in the study can be helpful in the design of autonomous buildings equipped with direct carbon fuel cells as sources of electricity integrated with the systems of heat and cool generation.
The objective of the paper [13] is to optimize the daily plant operation of an existing trigeneration plant based on cogeneration engines and to study the optimal cooling load-sharing between different types of absorption chillers using a mixed integer linear programming (MILP) model.
The scheduling of both absorption cycle and vapour compression cycle chillers in trigeneration plants is investigated in [14].
In [15] a thermodynamic study was conducted on the energetic and exergy performance of a new configuration of a liquid chemical looping gasification (LCLG) plant integrated with a power block to assess the overall performance of the system including exergy partitioned in syngas and first law efficiency (FLE).
This paper presents the results of analysis of energy and economic efficiency of the above hierarchical gas-gas engine, with a note that a trigeneration system was analyzed, in which the production of electricity, heat and cold are combined, Figures 1-3.This solution significantly increases the energy efficiency of the gas and gas system compared to a system without cold production.Development of trigeneration schemes is a promising solution to energy and environmental problems by increasing energy efficiency and minimizing energy losses [16][17][18][19].
In the system presented in Figure 1, a compressor chiller is installed, which is driven by an electric motor, in the system in Figure 2, applying the mechanical work that is carried out via a rotating shaft of rotor-based machines, i.e., a gas turbine and a turboexpander.The comfort of the regulation of the refrigerating power rather promotes the use of a solution including an electric motor.
Figure 3 contains a schematic diagram of the system with a absorption chiller, which is driven by low-temperature enthalpy of exhaust gases extracted from a hierarchical gas-gas engine.
As a result, the revenue from the sale of electricity produced in the system is not depleted compared to the systems presented in Figures 1 and 2. For the drive of compressor chillers, as already noted above, we apply the electricity (mechanical work, Figure 2), which is generated in the system, which decreases the revenue from its sale.On the other hand, one of the advantages of compressor chillers is associated with their high cooling power, and therefore considerable value of sales of cold, whereas in the system comprising an absorption chiller, its production is relatively small.This is due to the limited range of temperature of the flue gas applied to drive the chiller.The production of heat is also relatively low due to the use of flue gas enthalpy not only for its production, but also, as already noted above, for the production of cold, Figure 3.
In the analyzed trigeneration system, as in the systems in [1], it is beneficial to install a turboexpander and a low-pressure compressor in a single installation and on a common shaft, which is presented by symbols in Figures 1-3 using dashed squares, identically, as is the case for the turbine part and gas turbine compressor.Such a solution reduces the necessary investment in a gas-gas engine.
On the basis of the analysis of the performance of the hierarchical, trigeneration gas-gas system, it is also reasonable to find the answer to the question: to what extent does the use of heat regeneration in the turboexpander-Figure 4-as well as in the gas turbine [1] increase its capacity, i.e., electric, thermal and cooling power.A significant increase in any of them would be converted into greater economic feasibility of their operation.We can note here that the use of regeneration does not increase the stream of the chemical energy .E ch of gas combustion in the gas turbine and, therefore, does not increase the cost of fuel.In a hierarchical system, the fuel is supplied only to the circulation that performs operations in the highest temperature ranges.For each of the subsequent circulations in the hierarchical system that operate in the lower temperature ranges, the heat that is routed to drive them comes from heat derived from the circulation in the hierarchy located just above them.therefore, does not increase the cost of fuel.In a hierarchical system, the fuel is supplied only to the 187 circulation that performs operations in the highest temperature ranges.For each of the subsequent 188 circulations in the hierarchical system that operate in the lower temperature ranges, the heat that is 189 routed to drive them comes from heat derived from the circulation in the hierarchy located just

Thermodynamic and Economic Analysis of the System for Combined Production of Electricity, Heat and Cold
Thermodynamic analysis provides a way to search for opportunities to improve technological processes and design solutions of machines and equipment.However, in a market economy the economic criterion and the desire to gain a profit and its maximization ultimately determines the feasibility of using specific technical solutions, and economic effectiveness analysis forms the basis for taking decisions regarding investments.The economic criterion is superior to the technical criterion.However, it should be strongly emphasized that economic analysis is only possible after previous thermodynamic analysis.Its results offer the input values for the subsequent economic analysis.

Analysis of Exergy of the Hierarchy System of Gas-Gas Engine Driving the Compressor Chiller
The balance of exergy of the hierarchy system of gas-gas engine driving the compressor chiller has been presented below -Figure 5.
Energies 2020, 1, x FOR PEER REVIEW 6 of 37 therefore, does not increase the cost of fuel.In a hierarchical system, the fuel is supplied only to the circulation that performs operations in the highest temperature ranges.For each of the subsequent circulations in the hierarchical system that operate in the lower temperature ranges, the heat that is routed to drive them comes from heat derived from the circulation in the hierarchy located just above them.

Heat and Cold
Thermodynamic analysis provides a way to search for opportunities to improve technological processes and design solutions of machines and equipment.However, in a market economy the economic criterion and the desire to gain a profit and its maximization ultimately determines the feasibility of using specific technical solutions, and economic effectiveness analysis forms the basis for taking decisions regarding investments.The economic criterion is superior to the technical criterion.However, it should be strongly emphasized that economic analysis is only possible after previous thermodynamic analysis.Its results offer the input values for the subsequent economic analysis.

Analysis of Exergy of the Hierarchy System of Gas-Gas Engine Driving the Compressor Chiller
The balance of exergy of the hierarchy system of gas-gas engine driving the compressor chiller has been presented below -Figure 5. Exergy balance of the system (engine + chiller) for its preset operation can be reflected by the following relationship: 0 where: ∆ .B S -increase of exergy of an external source of heat delivered to the system, Energies 2020, 13, 1006 N en -power of the hierarchic gas-gas engine; the engine power is the sum of gas turbine and turboexpander power, N en = N GT + N TE , N Z -chiller driving power.The increase of exergy of external sources of heat delivered to the system can be reflected by the following relationship: As follows from Equation (2), exergy of heat source with a temperature of T g , from which a stream of powering heat Loss of exergy in the system can be reflected by the following relationship: where the heat stream .
Q g is identical to the stream of chemical energy of fuel burned in the combustion chamber of the gas turbine, .
The fuel combustion temperature is T g .The power derived from the system can, for instance, be determined by use of exergy balance formula (1), by substituting Equations ( 2) and (3): Equation ( 4), its final form, can be also calculated directly from the system energy balance.It is demonstrated by the left and right side of the equation. .
where efficiency of the chiller is reflected by the following equation: A detailed analysis of thermodynamics and efficiency of trigeneration system with hierarchic gas-gas engine for cogeneration of electricity, heat and cold has been presented below.

Analysis of System Comprising Compressor Chiller
The economic analysis of trigeneration system-Figures 1-3-accounts for the input quantities: gas turbine power N GT , turboexpander power N TE , thermal power .Q c of the heat exchanger, cooling power .Q z of either the compressor or absorption chiller, as well as the stream of the chemical energy of E ch burned in the gas turbine.We can emphasize at this point that the power of the gas turbine N GT determines the remaining quantities: Hence, the power of the gas turbine N GT and the temperatures of the flue gas T 2 fed into it determine the capacity of the examined trigeneration system.Another important matter is associated with the development of a mathematical model that can provide the account of the economic profitability of the trigeneration system in such a way that it can be employed to generalize the results of the study, so that the resulting calculations can be applied with regard to any power of the gas turbine, and thus apply to any alternative of the power of the trigeneration system.For this purpose, only dimensionless quantities were applied in the model: E ch /N GT .This is due to the fact that only dimensionless approach can be applied to generalize the considerations, i.e., it offers the assessment of the economic effectiveness of the performance of the trigeneration system with any electrical, heat and cooling power.
As a consequence, the comprehensive figures are employed in this study, in other words they can be applied to any power of the investigated system.These powers, as we already noted and we can emphasize once again, are determined only by the power of the gas turbine N GT and the temperature T 2 of the gases extracted from the combustion chamber K of the gas turbine.This temperature T 2 forms the basic characteristic of a turbine and is always given as part of the manufacturer's data.As a last resort, to know the specific cost of cold generation in the trigeneration systems discussed in this paper, it is sufficient to know the temperature T 2 of the gas extracted to feed to the gas turbine as well as the current prices of gas, electricity and heat-  The fundamental quantities that determine the economic feasibility of gas-gas trigeneration systems include the energy efficiency of a gas turbine η GT and turbo-expander η TE operating according to Joule's cycles.They are determined using energy balances.
On the basis of the Joule's circulation of the gas turbine, we obtain (Equations ( 8)-( 18) [20]): The efficiency η GT is the greater along with the bigger temperature T 2 .This temperature is limited only by the heat resistance ability of the blading system in a turbine.
The final form of Equation ( 1) can be derived after we substitute the irreversible adiabates amb-1 and 2-3 into it-Figure 6: where: From the formula (8), we can derived the optimum ratio of the pressure z opt GT , for which the circulation assumes its maximum efficiency η max GT , hence, when its maximum power is achieved (an identical procedure is followed when we need to establish the maximum efficiency η max TE of the turboexpander).The ratio z opt GT forms the function of the temperatures T amb , T 2 and the mechanical efficiency η m of the compressor and turbine (in the analysis we assumed that the mechanical efficiency Energies 2020, 13, 1006 9 of 33 of the compressor and turbine are the same) and the internal efficiency of the compressor η C i and turbine η GT i : where: κ -isentropic exponent of the circulating medium (in the calculations it was assumed that κ = 1.4), p 1 = p 2 , p amb -pressure of the circulating medium accompanying the heat absorption and emission (in the calculations we assumed that p amb = 0.1 MPa).
Energies 2020, 1, x FOR PEER REVIEW 9 of 37 The efficiency GT  is the greater along with the bigger temperature 2 T .This temperature is limited only by the heat resistance ability of the blading system in a turbine.
The final form of Equation ( 1) can be derived after we substitute the irreversible adiabates amb-1 and 2-3 into it-Figure 6:

( )
( ) where: From the formula (8), we can derived the optimum ratio of the pressure opt GT z ,for which the circulation assumes its maximum efficiency max GT  , hence, when its maximum power is achieved (an identical procedure is followed when we need to establish the maximum efficiency Following the differentiation of Equation ( 8) and application of the condition (13), we obtain: Hence where: The square root of Equation ( 14) is unfeasible, since the temperature T 1 would then be greater than temperature T 2 .
The maximum value of η max GT is derived from Equation (8) after the value z opt GT is applied to replace z GT .As a consequence, for η max GT and a given value of .
E ch we can derive the maximum power of the gas turbine that is applied in the economic analysis.In the manufactured gas turbines, z GT assumes the value of z opt GT .
Energies 2020, 13, 1006 10 of 33 The temperatures of the circulating medium behind the compressor T 1 and behind the turbine T 3 are derived on the basis of irreversible adiabatic processes: As noted already, an identical procedure is applied to obtain z opt TE and η max TE with a note that in the place of the temperatures T 1 , T 2 and T 3 in Formulae ( 8), ( 12), ( 16), ( 17) and ( 18), we need to substitute temperatures: T 5 , T 6 and T 7 , and the pressure p 5 is applied to replace the value of p 1 in Formula (12).The maximum capacities expressed by N GT , N TE that are derived on the basis of values η max GT , η max TE form the input quantities for the economic calculations (Formula ( 19)).The results of thermodynamic calculations for the gas turbine set and turboexpander are presented in Figures 24-26.As indicated above, the capacities N GT , N TE derived from thermodynamic analysis form the input for the further economic analysis.Its purpose involves the determination of the specific cost of the production of cold.It is calculated using the formula for the discounted value of NPV that is obtained throughout T years of operation of the trigeneration gas and gas system applied for combined production of electricity, heat and cold [21][22][23]: [24].
Where the annual production of heat and cold is expressed by the respective formulae (Equations ( 20)-( 22) [20]): and the driving power of the compressor chiller is given the relation: where: in the gas-gas system and chiller, P CO 2 , P CO , P NO , P SO 2 , p dust -specific charges on CO 2 , CO, NO x , SO 2 , particulate matter emissions, rinterest rate of capital investment, x sal,t,ins -factor applied to account for the cost of remuneration, taxes, insurance, etc. (usually the value x sal,t,ins is equal to around 0.25), z-discount coefficient (freezing coefficient) on investment J at the instant when the investment is completed, δ serv -annual rate of fixed cost relative to the investment (cost of maintenance and overhaul of equipment), ε z = .Q z /N z -thermal efficiency of chiller (in this analysis we adopted the use of a steam compressor chiller operating according to the Linde circulation; the ammonia forms the circulating medium in the system; in the calculations we adopted ε z = 3.2), ε el -internal electric load of the system, η G -efficiency of the electric generator, ρ CO 2 , ρ CO , ρ NO x , ρ SO 2 , ρ dust -CO 2 , CO, NO x , SO 2 , particulate matter emissions per specific value of the chemical energy of fuel, σ R = E el,R /Q Rc -ratio of annual electricity production to annual heat production, τ R -annual duration of the operation of the trigeneration system (in the calculations, we assumed a value of 8424 h; this accounts for the two-week downtime period projected within an annual operating schedule), τ z -annual operating time of a chiller expressed in hours.
From the conditions NPV = 0 and a z = 0, we can derive the formula to represent the specific cost of cold production over the period of T years: where: i G−G -specific investment in the gas-gas engine (calculated per unit of electric capacity, i G−G = J G−G / N GT + N TE η G , i z -specific investment in the chiller (calculated per unit of electric capacity), i z = J z /N z (the calculations account for two alternatives of this investment; The revenues from the sales of electricity and heat (Formulae ( 19) and ( 23)) form the avoided cost of cold production.
In addition to capital expenditure, the energy efficiency of the gas turbine, chiller power and its operating times, prices of electricity, fuel and heat, one of the factors that has a significant impact on the unit cost of production of cold k z av is associated with the price of carbon dioxide emission allowances e CO 2 . It fluctuates to a considerable degree, even on a week to week basis, as it is often a speculative price.In the calculations, for its comparative purposes, its dual alternative value was adopted.In one of the alternatives, it was assumed to be equal to the so-called reference settlement price e = 20 PLN/Mg CO2 .The formula in (23) also determines the specific costs of the production of cold in all three alternatives of the systems operating with heat regeneration, i.e., for systems with an applied regenerative heat exchanger: (1) only in a gas turbine, (2) only in a turboexpander and (3) in a system in which regenerative heat exchangers are employed simultaneously in the gas turbine and in the turboexpander.As a result, in Formula (23), higher values of the specific values of investment are obtained for the various power ratios N TE /N GT in the particular alternatives of the system design derived from thermodynamic analysis.Figures 7-12 present the results of the calculations of the specific cost of cold production in a system with a compressor chiller involving a variety of alternative designs.Table 1 contains a summary of the input data adopted for calculations for individual curves presented in Figures 7-12.
where: e c -prices of heat in PLN (Polish Zloty) per GJ, e fuel -prices of fuel in PLN (Polish Zloty) per GJ, i z -specific investment in the chiller (calculated per unit of electric capacity) in PLN (Polish Zloty) per MW, τ z -annual operating time of a chiller expressed in hours per year.
As we can see from Figures 7-12, the specific cost of cold production k z,av gets higher as a consequence of the decrease in the price of electricity and the higher prices of fuel and CO 2 emission allowances, and along with the greater cost of investment.As a result of increasing the value of x, and thus increasing the production of cold in the system (Formulae ( 21), ( 22)), this cost increases as well.As a consequence, the electricity production decreases, and thus the revenues from its sale decreases as well, which forms the avoided cost associated with the production of cold.
On the basis of the analysis of the performance of the system, it is also feasible to establish an answer to the question: to what extent does the use of heat regeneration in the turboexpander in Figure 4, leading to an increase in the electricity production, affect the value of specific cost of production of cold?Under the assumption of the fact that the investment associated with a system comprising regeneration is the same as the cost for a system excluding a regenerative heat exchanger, it appears that the decrease of this cost is negligible, as it does not exceed 0.5 PLN/GJ in the whole range of variations in temperature T 2 .Therefore, the curves representing the specific cost presented in Figures 7-12 for a system without regeneration overlap with the curves representing a system with regenerative heat exchanger.Therefore, we can conclude that the design of a gas-gas system including a turboexpander including a regenerative heat exchanger leads to a zero value of the increase in the specific cost of cold production in the best case, for the case when we take into account the increase in expenditures in the economic calculation associated with the capital costs (depreciation and financial cost) as well as cost of the normal operation (repairs and maintenance).Therefore, the construction of a system with heat regeneration is completely economically unfeasible.
The analysis of the specific cost of cold production presented in Figures 7-12 also demonstrates, as already noted above, that it is more profitable to produce only electricity and heat in the system [1] than combine this production with additional production of cold.Therefore, it is important to answer the question: what should be the price of cold so that it would be profitable to produce it.

Condition of Economic Profitability of Application of Compressor Chiller in the Trigeneration System comprising Gas-Gas Engine
A necessary condition for the economic feasibility of using a compressor chiller in the trigeneration system is related to the fact that the value of NPV derived from its operation (Formula ( 19)) is greater than the profit gained from the operation of the system in which only electricity and heat is produced (in Formulae (19) and ( 22) zero need to then substitute N z and J z ).This condition is therefore expressed by the relation: By application of Equation ( 15), we can derive the final form of the condition from (24) to represent the mean price (a z = 0) of the sales of cold over a period of T years: where the mean price e elav of the sales of electricity over the period of T years is expressed by the formula: However, it should be very strongly emphasized that the condition of the economic feasibility of the application of the trigeneration system is not related to fulfilling of the relationship (25), but to the fact that the following relation is fulfilled: which means that the sales price of the production of cold should be at least not lower from the specific cost associated with its production.This is due to the possible condition in which the price e min zav (Formula (25)) is lower than the cost k z av (Formula( 26)).This can occur when the electricity price assumes a relatively low price, generally associated with the large cost k z av -Figure 13.The price e min zav is, in contrast to the cost k z av , derived on the basis of excluding the cost of fuel and environmental charges, which are removed in the process of subtracting profit expressed by NPV, i.e., when the profit NPV derived from the operation of the trigeneration system we subtract the value of NPV gained from the cogeneration system (Formula (25)).
However, it should be very strongly emphasized that the condition of the economic feasibility of the application of the trigeneration system is not related to fulfilling of the relationship (25), but to the fact that the following relation is fulfilled: which means that the sales price of the production of cold should be at least not lower from the specific cost associated with its production.This is due to the possible condition in which the price min z av e (Formula (25)) is lower than the cost z av k (formula( 26)).This can occur when the electricity price assumes a relatively low price, generally associated with the large cost z av k -Figure 13 .The price min z av e is, in contrast to the cost z av k ,derived on the basis of excluding the cost of fuel and environmental charges, which are removed in the process of subtracting profit expressed by NPV, i.e., when the profit NPV derived from the operation of the trigeneration system we subtract the value of NPV gained from the cogeneration system (Formula (25)).k are presented in Figure 13 .Table 2.

The courses of the exemplary curves
contains a summary of the data taken for its calculations.The courses of the exemplary curves e min zav and k z av are presented in Figure 13.Table 2 contains a summary of the data taken for its calculations.

Analysis of System Comprising an Absorption Chiller
The basic advantage of the absorption chiller is associated with the fact that such a system does not include a compressor, and therefore electric power is not applied for the purposes of driving it, while its operating principle is based on the use of the waste enthalpy of the flue gas from a gas-gas engine, Figure 1c.As a result of this, in comparison to the system comprising a compressor chiller, a greater volume of electricity is produced, i.e., the noblest, and thus the most valuable, and the most expensive form of energy, and the revenue from its sale is related to the cost of avoided cold production.The disadvantage of the system comprising an absorption chiller is its low refrigerating power.The temperature of the flue gas which constitutes the source of heat in the desorber of the absorption chiller needs to be higher than the temperature of the ammonia solution that is fed into it.This temperature is equal to around T 8 = 395 K, whereas the temperature T 8 of the flue gas fed into the desorber is in the range from around 458 to 524 K (this temperature increases along with the temperature of the combustion of gas T 2 in the combustion chamber K of the gas turbine; value T 8 = 458 K corresponds to the temperature T 2 = 1100 K, whereas the temperature T 8 = 524 K corresponds to T 2 = 1800 K [1]).The disposable span of the temperatures, i.e., the range that is feasible for application to drive the chiller exhaust, is therefore relatively small and is found from about 63 to about 130 K, which involves a relatively small value of the heat flux .Q z extracted from the cooling elements in the system in comparison to the case when the compressor chiller is applied.The refrigerating power .Q z of the absorption chiller is therefore expressed by the equation: .
and the annual production of cold is expressed by the relation: where the energy balances of the circulations of the gas turbine and turboexpander can be applied to the fluxes of thermal capacities .
C f g , .
C air of the circulating medium flow in the Joule circulation through the gas turbine GT and turboexpander TE: where: N GT , N TE -powers of the gas turbine GT and turboexpander TE, Figure 3, T 1 -temperature of circulating medium behind the compressor C GT , Figure 3, T 2 -temperature of circulating medium fed at the inlet to GT, Figure 3, T 3 -temperature of circulating medium extracted from GT, Figure 3, T 5 -temperature of circulating medium behind the compressor C TE , Figure 3, T 6 -temperature of circulating medium fed at the inlet to TE, Figure 3, T 7 -temperature of circulating medium extracted from turboexpander TE, Figure 3, T 8 -temperature of heating medium fed at the inlet to the chiller, Figure 3, ε z abs -thermal efficiency of cooling process of the absorption chiller; it was assumed to be equal to ε z abs = 0.37, τ z -annual operating time of the chiller expressed in hours.
Figure 14 contains the results of thermodynamic calculations concerned with the value of the ratio of annual heat production to annual production of electricity Q Rc /E el,R and the value of the ratio of annual cold production to annual production of electricity Q Rz /E el,R in the system with a thermal chiller.We can note here that the ratio Q Rc /E el,R in the system with the compressor chiller is about three times higher, as the enthalpy of flue gas extracted from the engine is applied only for heat production, Figures 1 and 2. This ratio, just as for the system with an thermal chiller, it also depends on the temperature T 2 and decreases from 1/2.16 to 1/3.77 in the range T 2 ∈ 1100; 1800K .In addition, the cooling power of the system comprising the compressor chiller, which is relative to the value of x (Formula ( 22)), is significantly higher as a result of the driving of the chiller by electricity (formula ( 21)).In addition, its thermal efficiency is equal to ε z = 3.2 whereas for the absorption chiller, this is ε z abs = 0.37.For x ≈ 0.1, the cooling power of the compressor chiller is already equal to the capacity of the absorption chiller.As a consequence, the revenues gained from the sales of heat in the system with the compressor chiller-Figures 1 and 2-is about three times larger than the revenues resulting from the application of the system comprising an absorption chiller.However, in a system comprising a compressor chiller, the revenues from the sales of electricity are decreased to the same extent that the value of x increases to meet the demand of the power to drive the chiller.
Energies 2020, 1, x FOR PEER REVIEW 20 of 37 medium fed at the inlet to the chiller, Figure 3, abs z  -thermal efficiency of cooling process of the absorption chiller; it was assumed to be equal to  Q , in the system with a thermal chiller.We can note here that the ratio R el Rc E Q , in the system with the compressor chiller is about three times higher, as the enthalpy of flue gas extracted from the engine is applied only for heat production, Figure 1, 2. This ratio, just as for the system with an thermal chiller, it also depends on the temperature 2 T and decreases from 1/2.16 to 1/3.77 in the range K 1800 ; 1100 2  T .In addition, the cooling power of the system comprising the compressor chiller, which is relative to the value of x (Formula ( 22)), is significantly higher as a result of the driving of the chiller by electricity (formula ( 21)).In addition, its thermal efficiency is equal to z  = 3.2 whereas for the absorption chiller, this is 37 , 0  abs z  .For x ≈ 0.1, the cooling power of the compressor chiller is already equal to the capacity of the absorption chiller.As a consequence, the revenues gained from the sales of heat in the system with the compressor chiller-Figure 1, 2-is about three times larger than the revenues resulting from the application of the system comprising an absorption chiller.However, in a system comprising a compressor chiller, the revenues from the sales of electricity are decreased to the same extent that the value of x increases to meet the demand of the power to drive the chiller. . 1 : The total discounted NPV gained from the operation of the trigeneration system comprising an thermal absorption chiller is expressed by the relation [23,24]: whereas the specific cost of production of cold based on the conditions that NPV = 0 and a z = 0 is given by the formula: where: Figures 15-20 contain the results of thermodynamic calculations concerned with the specific cost of production of cold k z,av for the gas-gas system comprising a turboexpander excluding a regenerative heat exchanger.Table 3 contains a summary of the input data adopted for calculations for individual curves presented in Figures 15-20.As we can see from the results of calculations presented in Figures 15-20 , the specific cost of production of cold depends to the greatest extent on the price of electricity.We should note that when the specific cost associated with production of cold is compared in the system with the compressor chiller for the value x = 0.1, i.e., for the same production of cold in both systems, the specific cost is lower in the compressor chiller.
When we calculate the cost in the system including a regenerative heat exchanger in the turboexpander in Figure 4, and under the assumption that the investment in the system comprising regeneration is the same as for the system without regeneration, it can be concluded that this cost decreases to a negligible extent and does not exceed 1 PLN/GJ in the entire range of variations in the temperature 2 T , which is apparent in the system comprising a compressor chiller.
As we can see from the results of calculations presented in Figures 15-20, the specific cost of production of cold depends to the greatest extent on the price of electricity.We should note that when the specific cost associated with production of cold is compared in the system with the compressor chiller for the value x = 0.1, i.e., for the same production of cold in both systems, the specific cost is lower in the compressor chiller.
When we calculate the cost in the system including a regenerative heat exchanger in the turboexpander in Figure 4, and under the assumption that the investment in the system comprising regeneration is the same as for the system without regeneration, it can be concluded that this cost decreases to a negligible extent and does not exceed 1 PLN/GJ in the entire range of variations in the temperature T 2 , which is apparent in the system comprising a compressor chiller.
In order to achieve an increases cooling power of the absorption chiller (Formula (28)), the range of the temperatures of the flue gas ∆T = T 8 − 395 applied to drive this chiller should be increased.The temperature span in this range, as already noted above, is relatively small and depends on the temperature of the gas fed into the gas turbine, as it ranges from around 63 to around 130 K. To increase this range, it would be necessary to supplementary firing gas in the turboexpander in the channel which routes air from the preheater N to the turboexpander TE (this is known from the literature on gas-steam systems as the concept of so-called supplementary firing [2]), Figure 3.
As a result, the temperature T 6 and, consequently, the temperature T 8 will be increased.We should note, however, that combustion of fuel using burners located in the firing chamber located in the turboexpander channel N-TE leads to the conversion of a hierarchical engine-Figures 1-4-into a quasi-hierarchical engine, i.e., a dual-fuel engine.In general, the energy efficiencies of quasi-hierarchical systems are lower compared to those in hierarchical systems.
As a result of increasing the value T 6 by ∆T 6 = 100 K as a result of the combustion of gas in the channel N-TE, the temperature T 8 increases to T As a result of the increase of temperature T 6 by the value equal to ∆T 6 , we have to do with an increase of the efficiency η max TE to η max,sup TE . The values of these efficiencies are derived from the formula (50) after the value of zero substitutes η R and temperatures T 6 and T sup 6 are used in the place of the temperature T 6R .The values of η max TE (η max TE is derived for the value of ∆T 6 = 0) and η max,sup TE are presented in Figure 22.
The combustion of extra fuel in the turboexpander changes the efficiency of the generation of electricity in it.It is derived from the energy balance -Figure 21: The combustion of extra fuel in the turboexpander changes the efficiency of the generation of electricity in it.It is derived from the energy balance -Figure 21: Energy balance of a hierarchical gas-gas engine with supplementary firing. where: I -enthalpy of flue gas fed into the chiller following supplementary firing of the fuel, q -level of supplementary firing in the engine, ,on the basis of which we can derive the formula that represents the efficiency of electricity generation in a gas-gas engine in a system with supplementary firing: and if we assume that q = 0, the equation in (30) represents the efficiency of the gas-gas engine without supplementary firing: The values of the efficiencies  where: .I sup 8 -enthalpy of flue gas fed into the chiller following supplementary firing of the fuel, q-level of supplementary firing in the engine, q = .Q sup / .E ch , on the basis of which we can derive the formula that represents the efficiency of electricity generation in a gas-gas engine in a system with supplementary firing: and if we assume that q = 0, the equation in (30) represents the efficiency of the gas-gas engine without supplementary firing: The values of the efficiencies η G−G and η sup G−G in the function of the temperatures of the flue gas fed into the gas turbine T 2 and value of ∆T 6 are presented in Figure 22.  (1 ) 1 1 1 The stream of the chemical energy associated with extra fuel combustion is derived from the equation: ( ) As a result of dividing the relations (37) by (38), we derive the following: The stream of the chemical energy associated with extra fuel combustion is derived from the equation: .
. P sup -mass stream of supplementary fired gas, W d -gross calorific value of gas, where the stream corresponding to the heat capacity of flue gas .
C TE routed into turboexpander is equal to approximately to heat capacity of air prior to supplementary firing, which in turn results from the energy balance in the air preheater N [1] and it equal to the stream of heat capacity of flue gas .C GT extracted from the gas turbine.The stream of heat capacity of flue gas .C TG results from the energy balance of the turbine, Figure 21: . where: . I 3 -flux of enthalpy of the flue gas at the exhaust of the gas turbine.By application of Equations ( 40) and (41) and on the basis of the relation that .
C GT , we can derive the level of supplementary firing: Despite the increase of the value η max TE to the value equal to η max,sup TE -Figure 21-this supplementary firing leads to the decrease of the efficiency of electricity generation in the engine.This is due to the fact that the ratio 22.We can note at this point that the revenue from the sale of electricity has a decisive effect on the economic profitability of the trigeneration system.Therefore, the additional gas combustion in the N-TE channel is not only unfeasible from the thermodynamic perspective, but in addition, due to the small increase in the cooling power of the system and the increase in investment associated with the supplementary firing and supplementary firing chamber in the N-TE channel, this option is economically unprofitable.The condition of profitability could then be a relatively high cold price and a low gas price.In such a case, only for the relatively large values of the temperature T sup 6 , i.e., for the high values of ∆T 6 , accompanied by the conditions when the temperatures T sup 6 assume values in the range of 1100 ÷ 1400 K that are equal to the values of the temperatures T 2 of the flue gas fed into several year-old designs of gas turbines characterized by low efficiencies η GT , the ratio η sup G−G /η G−G is only higher than one.The low efficiency of old designs of gas turbines results from the low heat resistance of the turbine blades, which leads to low values of permissible temperatures.Current designs include temperatures in the range of even above 1800 K.However, the considerable role taken on by afterburning in the turboexpander means that the hierarchical turboexpander engine does not make any sense in terms of its technical aspects.In such a case, the turboexpander then takes on the function of a gas turbine.
The same characteristics of the courses as the ones that are contained in Figure 22 are assumed by the curves η max TE,R , η max,sup TE,R for the engine including heat regeneration in the turboexpander-Figure 4-for the alternative when gas afterburning is applied in the N-TE channel in it.

Application of Turboexpander with Heat Regeneration in the Trigeneration System
By performing the energy balance of the Joule's circulation of the turboexpander operating jointly with the regenerative heat exchanger R-Figures 4 and 23-we can obtain the formula representing its energy efficiency: Energies 2020, 1, x FOR PEER REVIEW 29 of 37 After substituting the temperature of the circulating medium into Formula (43): where: we can obtain the final form of this formula (for the value of opt R TE z , derived from Formula (53)):  After substituting the temperature of the circulating medium into Formula (43): where: we can obtain the final form of this formula (for the value of z opt TE,R derived from Formula (53)): Energies 2020, 13,1006 By substituting the value equal to zero η R = 0 in the place of η R in formula (43), we can obtain the formula representing the energy efficiency of the Joule circulation of the turboexpander excluding heat regeneration (Formula ( 8)).
The temperature of the air at the inlet to the turboexpander T 6R can be determined for the known value T 3 (Formula ( 18)) and an adopted value of ∆T 1 : The efficiency η R of the heat exchanger R, Figure 2, is defined by the relation: where: T NR -air temperature before the air pre-heater, T RR -temperature of exhaust air fed from the regenerative heat exchanger into the stack, T 5R -air temperature behind the compressor, T 7R -temperature of the air at the exhaust from the turboexpander.The optimum value of the ratio of the pressure z opt TE,R can be obtained on the basis of the equation below (we can derive it by adopting the condition that dη TE /dz TE,R = 0): where: e = η R η TE i T 6R .The negative root of the Equation (53) does not make any physical sense.When we know the value z opt TE,R derived from the equation: we can determine the value p opt 5R , and by means of irreversible adiabates, and we can calculate the air temperatures behind the compressor T 5R and behind the turboexpander T 7R : If we have the temperatures T 5R and T 7R as input, we can derive the temperatures T NR , T RR from the equations (52).
Figures 24-26 contains the results of thermodynamic calculations for a gas-gas system working with a turboexpander with a regenerative heat exchanger-Figures 4 and 21-and for comparison purposes, for a system without regeneration [1].
Figures 24-26 contains the results of thermodynamic calculations for a gas-gas system working with a turboexpander with a regenerative heat exchanger-Figures 4, 21 -and for comparison purposes, for a system without regeneration [1].Figures 24-26 contains the results of thermodynamic calculations for a gas-gas system working with a turboexpander with a regenerative heat exchanger-Figures 4, 21 -and for comparison purposes, for a system without regeneration [1].T (these temperature overlap in Figure 24), which nevertheless slightly increases of the cooling power of the thermal absorption chiller (Formula (28)).
It is important to establish an answer to the question regarding the economic feasibility of the gas-gas system with a turboexpander with a regenerative heat exchanger side by side with the conclusion concerning its mere better parameters from a thermodynamic point of view.A necessary condition for this needs to involve an increase in the revenue gained from the sale of additional electricity generated in the turboexpander, as well as the cold production in the gas-gas system that needs to be not smaller than the increase in annual capital (depreciation and finance costs) and operating costs (maintenance and renovations) related to the increase of capital expenditure related to the development and building of a regenerative heat exchanger.Even on the assumption, as already noted above, that the increase in the necessary investment is zero, i.e., when the cost of the investment is identical as for the system excluding regenerative heat exchanger, the decrease in the specific cost of cold production is negligible, as it does not exceed the value of 1 PLN/ GJ.If the As we can see from the results of calculations presented in Figures 21-26, the application of heat regeneration in the turboexpander, Figure 4, is feasible from the thermodynamic perspective.This is due to the fact that this leads to the increase of the efficiency η max TE,R accompanied by η G−G,R ; hence, the power of the turboexpander increases as well, coupled with the electrical power of the entire system.In such a case, the ratio of the power of the turboexpander to the power of the gas turbine is equal to around N TE R /N GT ≈ 15, 5%, whereas in a system excluding regeneration-Figures 1-3-this ratio is equal to around N TE /N GT ≈ 15% [1].As a result, the temperature of the flue gas T 8R increases slightly, i.e., by about 1 • C above T 8 (these temperature overlap in Figure 24), which nevertheless slightly increases of the cooling power of the thermal absorption chiller (Formula (28)).
It is important to establish an answer to the question regarding the economic feasibility of the gas-gas system with a turboexpander with a regenerative heat exchanger side by side with the conclusion concerning its mere better parameters from a thermodynamic point of view.A necessary condition for this needs to involve an increase in the revenue gained from the sale of additional electricity generated in the turboexpander, as well as the cold production in the gas-gas system that needs to be not smaller than the increase in annual capital (depreciation and finance costs) and operating costs (maintenance and renovations) related to the increase of capital expenditure related to the development and building of a regenerative heat exchanger.Even on the assumption, as already noted above, that the increase in the necessary investment is zero, i.e., when the cost of the investment is identical as for the system excluding regenerative heat exchanger, the decrease in the specific cost of cold production is negligible, as it does not exceed the value of 1 PLN/ GJ.If the increase in this cost was accounted for in the calculations, the reduction in specific cost would be at best equal to zero.Therefore, the use of the regenerative heat exchanger does not make any economic sense.Therefore, it can be concluded that the design of a gas-gas system with a turboexpander operating for the purpose of heat regeneration, both in a system with a compressor and thermal absorption chiller, is completely economically unfeasible.
In addition, the application of regenerative heat exchanger in a gas turbine does not have any economic justification.The temperature of the gas extracted from the gas turbine regeneration exchanger is relatively low, i.e., around 100 K lower than the temperature of the gas extracted from the turbine operating without regenerative heat exchanger, Figures 1 and 4 [1].Consequently, the air in the N pre-heater, which drives the turboexpander, heated by these flue gases, results in a relatively low turboexpander power equal to only 5.5%-8% of the power of the gas turbine set (5.5% and 8% correspond in turn to the T 2 flue gas temperatures inlet to gas turbine of 1100 and 1800 K).Hence, the production of electricity in the turboexpander will not balance the capital costs incurred in its construction and the costs of its operation.The power ratio N TE /N GT in the system in which heat regeneration would be used both in the gas turbine and in the turboexpander is almost identical.Therefore, the use of regeneration, which should be emphasized once again, has no economic justification.

Conclusions and Final Remarks
The article analyzes the specific costs of cold production in the compressor chiller.What is more, they were compared with the costs in an absorption chiller.The work is, therefore, highly innovative.Just as innovative as the subject of unit costs of cold production combined with the production of electricity and heat, bringing great practical knowledge about their amount and allowing investors to make rational investment decisions, the equally innovative is the hierarchical gas-gas system of this trigeneration production process.
Among the variety of trigeneration systems applied for combined production of electricity, heat and cold and analyzed in this paper, the system with a compressor chiller is more economically feasible.The specific cost of cold production in it-combined with the constant production as in the system with an absorption chiller-is lower than the cost of production in a system comprising an absorption chiller.The advantage of this system is associated with the fact that that the chiller is driven with electricity; hence, its refrigerating power can be arbitrarily large.On the other hand, in an absorption chiller, it is very much limited by the temperature range of the enthalpy of the flue gas from the engine and applied to feed it.In a system with a compressor chiller, heat production is also considerable, i.e., over 3 times higher compared to the system comprising an absorption chiller, and the revenue from its sales is formed by the cost of avoiding cold production.This is due to the use of the total range of the available temperature corresponding to the enthalpy of flue gases from the engine for heat production, whereas in the system with an absorption chiller it, for the same temperature range-Figures 1 and 3-this enthalpy also serves for the purposes of the production of cold.
We can also note that the production of electricity in systems with both a compressor and absorption chillers increases along with the higher efficiency of its production in the gas turbine set and in the turboexpander and, therefore, it increases with the higher temperatures T 2 of the flue gas extracted from the gas turbine set.In addition, the revenue from the sale of electricity is, similar to the revenue from the sale of heat, equal to the cost of avoided cold production.Thus, as the temperature increases, the specific cost of cold production decreases significantly.We should note, however, that the revenue from the sale of electricity in the system with a compressor chiller decreases as its refrigerating power increases.The compressor chiller is, as has already been pointed out, driven by electricity generated in the system.
It is also important to find the answer to the question: does the use of regenerative heat exchangers in a hierarchical gas-gas engine, both in the turboexpander and gas turbine cycle, increase the efficiency of electricity production in it and make it economically profitable?The answer is clearly no.Heat exchangers increase the investment in the engine, and thus increase capital costs (both its depreciation and cost of finance) and the costs of operating the engine (maintenance and repair), and at the same time the increase in electricity production is so small that the reduction in the specific cost of cold production as a consequence in the system with a heat chiller and compressor is zero in the best circumstances.
Finally, it should be stated explicitly that the great advantage of hierarchical gas-gas engines that is impossible to overestimate, both in terms of the production of only electricity and for cogeneration and trigeneration systems, is associated with the potential to build them in the areas where there is a lack of water.

Figure 1 .
Figure 1.Schematic diagram of a system including compressor chiller driven by an electric motor.

Figure 1 .Figure 1 .
Figure 1.Schematic diagram of a system including compressor chiller driven by an electric motor.

Figure 2 .
Figure 2. Schematic diagram of a system including compressor chiller located on a common shaft with a gas turbine and turboexpander.

Figure 2 .Figure 3 .
Figure 2. Schematic diagram of a system including compressor chiller located on a common shaft with a gas turbine and turboexpander.Energies 2020, 1, x FOR PEER REVIEW 5 of 37 Figure 3. contains a schematic diagram of the system with a absorption chiller, which is driven by low-temperature enthalpy of exhaust gases extracted from a hierarchical gas-gas engine.

Figure 3 .
Figure 3. Schematic diagram of a trigeneration hierarchical gas-gas system with a gas turbine and turboexpander in a single-shaft configuration designed for the production of electricity, heat and cold in an absorption chiller (G-electric generator, K-combustion chamber of the gas turbine, N-air preheater; preheater is a device that combines the circulation of the gas turbine and that of the turboexpander, TE C -low-pressure compressor,

Figure 3
Figure 3. Schematic diagram of a trigeneration hierarchical gas-gas system with a gas turbine and turboexpander in a single-shaft configuration designed for the production of electricity, heat and cold in an absorption chiller (G-electric generator, K-combustion chamber of the gas turbine, N-air preheater; preheater is a device that combines the circulation of the gas turbine and that of the turboexpander, C TE -low-pressure compressor, C GT -high-pressure compressor of the gas turbine, GT-turbine section of the gas turbine, TE-turboexpander, HE-heat exchanger, Z-absorption chiller, 1÷9-points along the system).

Figure 4 .
Figure 4. Schematic diagram of a hierarchical gas-gas engine with turboexpander operating with

194 2 .
Thermodynamic and Economic Analysis of the System for Combined Production of Electricity, 195 Heat and Cold 196 Thermodynamic analysis provides a way to search for opportunities to improve technological 197 processes and design solutions of machines and equipment.However, in a market economy the 198 economic criterion and the desire to gain a profit and its maximization ultimately determines the 199 feasibility of using specific technical solutions, and economic effectiveness analysis forms the basis 200 for taking decisions regarding investments.The economic criterion is superior to the technical 201 criterion.However, it should be strongly emphasized that economic analysis is only possible after 202 previous thermodynamic analysis.Its results offer the input values for the subsequent economic 203 analysis.

204 2 . 1 .
Analysis of Exergy of the Hierarchy System of Gas-Gas Engine Driving the Compressor Chiller205The balance of exergy of the hierarchy system of gas-gas engine driving the compressor chiller 206 has been presented below -Figure5.

Figure 4 .
Figure 4. Schematic diagram of a hierarchical gas-gas engine with turboexpander operating with heat regeneration (R-regenerative heat exchanger).

Figure 4 .
Figure 4. Schematic diagram of a hierarchical gas-gas engine with turboexpander operating with heat regeneration (R-regenerative heat exchanger).

Figure 5 .
Figure 5. Schematic diagram of the hierarchy system of gas-gas engine driving the compressor chiller Z for illustration of the exergy balance.
Heat streams transmitted to the environment from the hierarchic two-cycle engine .Q en amb and the most efficient one-cycle chiller with best thermodynamic features .Q Z amb are reflected by the following equations, respectively:.

Figure 6 .
Figure 6.Joule's cycle in a gas turbine.


of the compressor and turbine (in the analysis we assumed that the mechanical

Figure 6 .
Figure 6.Joule's cycle in a gas turbine.The thermodynamic calculations assumed an ambient temperature of T amb = 288 K and the mechanical efficiency of the compressor and gas turbine are the same and equal to η C m = η GT m = η m = 0.97, and the internal efficiencies are equal to η GT i = 0.87, η C i = 0.85.The optimum value of z opt GT results from the condition that:

re f CO 2 =
20.38 €/Mg CO2 (~90 PLN/Mg CO2 ), which are derived on the basis of the Directive 2003/87/EC and later 2009/29/EC imposes the EU ETS (European Union Emission Trading Scheme) emissions trading system, and in the other e CO 2

Figure 7 .Figure 8 .
Figure 7. Specific values of production of cold , z av k in a gas-gas system comprising a turboexpander 373 excluding heat regeneration in the compressor chiller in the function of the temperature 2 T of flue 374 gas fed into gas turbine.

Figure 7 . 37 Figure 7 .
Figure 7. Specific values of production of cold k z,av in a gas-gas system comprising a turboexpander excluding heat regeneration in the compressor chiller in the function of the temperature T 2 of flue gas fed into gas turbine.

Figure 8 .
Figure 8. Specific values of production of cold , z av k in a gas-gas system comprising a turboexpander excluding heat regeneration in the function of the temperature 2 T of flue gas fed into gas turbine.

Figure 8 .
Figure 8. Specific values of production of cold k z,av in a gas-gas system comprising a turboexpander excluding heat regeneration in the function of the temperature T 2 of flue gas fed into gas turbine.

Figure 9 . 2 T
Figure 9. Specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and a compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 10 .
Figure 10.Values of specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 9 .Figure 9 . 2 T
Figure 9. Specific values of production of cold k z,av in a gas-gas system comprising a turboexpander and a compressor chiller excluding heat regeneration in the function of the temperature of flue gas T 2 fed into gas turbine.

Figure 10 .
Figure 10.Values of specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 10 .
Figure 10.Values of specific values of production of cold k z,av in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas T 2 fed into gas turbine.

Figure 11 .
Figure 11.Values of specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 12 .
Figure 12.Values of specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 11 .Figure 11 .
Figure 11.Values of specific values of production of cold k z,av in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas T 2 fed into gas turbine.

Figure 12 .
Figure 12.Values of specific values of production of cold , z av k in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas 2 T fed into gas turbine.

Figure 12 .
Figure 12.Values of specific values of production of cold k z,av in a gas-gas system comprising a turboexpander and compressor chiller excluding heat regeneration in the function of the temperature of flue gas T 2 fed into gas turbine.

Table 2 .Figure 13 .
Figure 13.Values of e min z av , k z av in the function of the temperatures of the gas fed into the gas turbine T 2 .


-annual operating time of the chiller expressed in hours.

Figure 14 ,
Figure 14 contains the results of thermodynamic calculations concerned with the value of the ratio of annual heat production to annual production of electricity

Figure 14 .Figure 14 .
Figure 14.Ratios of annual production of heat and cold to the annual production of electricity in the gas-gas system comprising a absorption chiller in the function of temperature of flue gas fed into gas turbine 2 T .

Figure 15 .
Figure 15 .Specific value of cost of cold production , z av k in the gas-gas system with turboexpander excluding regenerative heat exchanger with absorption chiller in the function of the temperature of gas fed into the gas turbine 2 T .

Figure 15 .Figure 16 . 520 Figure 16 .
Figure 15.Specific value of cost of cold production k z,av in the gas-gas system with turboexpander excluding regenerative heat exchanger with absorption chiller in the function of the temperature of gas fed into the gas turbine T 2 .Energies 2020, 1, x FOR PEER REVIEW 23 of 37

Figure 16 .
Figure 16 .Values of specific cost of production of cold , z av k in the gas-gas system comprising an absorption chiller and a turboexpander without regenerative heat exchanger in the function of the temperature of flue gas fed into gas turbine 2 T .

Figure 17 .
Figure 17 .Values of specific cost of production of cold , z av k

Figure 17 .
Figure 17.Values of specific cost of production of cold k z,av in the gas-gas system comprising an absorption chiller and turboexpander excluding regenerative heat exchanger in the function of the temperature of flue gas fed into gas turbine T 2 .Energies 2020, 1, x FOR PEER REVIEW 24 of 37

Figure 18 .
Figure 18.Values of specific cost of production of cold , z av k

Figure 18 .
Figure 18.Values of specific cost of production of cold k z,av in the gas-gas system comprising a turboexpander and absorption chiller excluding regenerative heat exchanger in the function of the temperature of flue gas fed into gas turbine T 2 .

Figure 18 .
Figure 18.Values of specific cost of production of cold , z av k

Figure 19 .
Figure 19 .Values of specific cost of production of cold , z av k

Figure 19 .
Figure 19.Values of specific cost of production of cold k z,av in the gas-gas system comprising a turboexpander and absorption chiller excluding regenerative heat exchanger in the function of the temperature of flue gas fed into gas turbine T 2 .Energies 2020, 1, x FOR PEER REVIEW 25 of 37

Figure 20 .
Figure 20 .Values of specific cost of production of cold , z av k

Figure 20 .
Figure 20.Values of specific cost of production of cold k z,av in the gas-gas system comprising an absorption chiller and turboexpander excluding regenerative heat exchanger in the function of the temperature of flue gas fed into gas turbine T 2 .

sup 8 . 8 ∈ 8 ∈
Depending on the temperature T 2 ∈ 1100; 1800K , the temperature T 8 increases from the value T 8 ∈ 458; 524K to the value of T sup 487; 555K .As a consequence of increasing T 6 by ∆T 6 = 200 K, this temperature assumes the value of T sup 517; 586K .The ratio of the cooling power to the electrical capacity of the system in this case increases without gas combustion from the value .Q z /N G−G el = 0.32; 0.23 , Figure 11, to .Q sup z /N G−G el = 0.38; 0.25 , accompanied by the increase of the temperature T 6 by the value of ∆T 6 = 100 K and to the value .Q sup z /N G−G el = 0.43; 0.26 and is accompanied by the increase of the temperature T 6 by the value ∆T 6 = 200 K.

. and temperatures 6 T and sup 6 T
The values of these efficiencies are derived from the formula (50) after the value of zero substitutes R

2 T and value of 6 T
the function of the temperatures of the flue gas fed into the gas turbine are presented inFigure 22.

Figure 21 .
Figure 21.Energy balance of a hierarchical gas-gas engine with supplementary firing.

Figure 22 . 2 T
Figure 22.Values of efficiencies max TE 

Figure 22 .
Figure 22.Values of efficiencies η max TE , η max,sup TE , η max GT , η G−G , η sup G−G in the function of the temperature T 2 of gas fed into gas turbine corresponding to temperature increase steps ∆T 6 = T sup 6 − T 6 equal to ∆T 6 = 0, 100, 200, 400K.

Figure 23 . 5 
Figure 23.Joule's circulation in a turboexpander with heat regeneration (regeneration heat is equal to the area of the field below the RR-7R isobar and the entropy axis; the area is equal to the field below the section of the 5R-NR isobar (obvious, the relations: NR R T T  7 50) By substituting the value equal to zero 0  R  in the place of R  in formula (43, we can obtain

Figure 23 .
Figure 23.Joule's circulation in a turboexpander with heat regeneration (regeneration heat is equal to the area of the field below the RR-7R isobar and the entropy axis; the area is equal to the field below the section of the 5R-NR isobar (obvious, the relations: T 7R > T NR , T RR > T 5R apply here as well).

Figure 24 .
Figure 24.Temperatures T 1 , T 3 , T 4 , T 5 , T 6 , T 7 , T 8 and T NR , T RR , T 3R , T 5R , T 6R , T 7R , T 8R in the function of the temperatures of the flue gas fed into the gas turbine T 2 .
the function of the temperatures of the flue gas fed into the gas turbine 2T .

Figure 25 .
Figure 25.Values of optimal pressure p opt 1 , p opt 5 , p opt 5R and optimum compression ratios z opt TE , z opt TE,R , z opt TG in the function of the temperatures of the flue gas fed into the gas turbine T 2 .

Figure 25 . 1 Figure 26 .
Figure 25.Values of optimal pressure opt p 1 , opt p 5 , opt R p 5 and optimum compression ratios opt TE z , opt R TE z ,

Figure 26 .
Figure 26.Values of efficiency η G−G , η G−G,R , η max TE , η max TE,R , η max GT in the function of the temperatures of the flue gas fed into the gas turbine T 2 .
a dust , b CO 2 -terms of the exponents representing the changes in time of electricity, heat, cold, fuel prices, tariff charges on the environmental emissions, CO 2 , etc.− initial prices of electricity, fuel, heat, cold, CO 2 emission allowances, etc., .E ch -stream of the chemical energy of fuel combustion in the gas turbine ( .

Table 1 .
Input data for analysis.

Table 2 .
Summary of input data.

Table 3 .
Summary of input data.

Table 3 .
Summary of input data.