1 Introduction

Researchers try to find ways to reduce harmful emissions from industrial and commercial activities. Environmental pollution and decreased resources available are the results of poor management in using energy resources for a long time. Concerns about environmental problems have increased due to the general rise in world temperature as a greenhouse effect. It is the reason to use a more efficient system as a basic solution provided by researchers [1].

Internal engine combustions (ICEs) consume approximately 60–70% of the total fossil fuel of an industrial country, 40–50% of which is used by automotive ICEs. However, about 75% of the total fuel combustion thermal energy in automotive ICEs will be wasted by the exhaust and engine coolant, which leads to an emission problem [2, 3].

Different thermodynamics cycles are proposed and designed for waste heat recovery (WHR) to increase the efficiency of the power generation cycles, including the Sterling cycle, carbon dioxide cycles (CDC), Kalina cycle (KC), organic Rankine cycle (ORC) (works for medium to low-temperature applications), air bottoming cycles (ABC) (works for high-temperature applications), and absorption refrigeration cycle [4,5,6,7].

The first Kalina cycle was proposed by Leibowitz and Kalina [8]. They designed a 3 MW Kalina cycle and showed that a single-pressure design with the same pick temperature led to more power production, up to 25%, compared to an ORC one. Due to its high potential to recover waste heat, the Kalina cycle has been used in different systems. Such a potential comes from the non-iso-thermal evaporation and condensation processes of the zeotropic ammonia-water mixture, making a tight thermal match between two high and low sources, subsequently, a high thermal efficiency [9]. A waste heat recovery system, including a heating system and a prototype heat-driven ejector refrigeration cycle to recover the waste heat of small and mid-sized maritime combustion engines (100–250 kW) was proposed by Butrymowicz et al. [10] and experimentally investigated. Using such a heat recovery system could produce up to 30 kW of cooling by consuming 75 kW of the refrigeration system from the flue gas heat source.

Ouyang et al. [11] proposed a combined evaluation method based on thermodynamics, economics, and environment to study a dual-pressure ORC as the exhaust gas waste heat recovery system in marine engines. A parametric study with six commonly used working fluids and multi-objective optimization was conducted in their studies. The optimum condition led to obtaining an exergy efficiency of 60.24%, while the production cost of electricity was 0.167 $/kWh. Acikkalp et al. [12] investigated a trigeneration system for an industrial application based on conventional and advanced exergy analyses. They showed that the interconnections among the components were relatively high. Bo et al. [13] designed an auxiliary tri-generation cycle that included a Kalina cycle, an ejector-booster refrigeration cycle, and a desalination unit production to recover the waste heat from a ship engine. They conducted thermodynamic and exergo-economic analyses as well as a parametric analysis and genetic algorithm optimization to evaluate the proposed system.

Singh et al. [14] studied a Brayton-Rankine-Kalina combined cycle, including a natural gas-fired Brayton–Rankine power plant in New Delhi, India, and the geothermal Kalina power plant in Husavik, Iceland. They performed a thermo-economic analysis and optimization using the SPECOFootnote 1 method to calculate each node's cost per unit exergy and thermo-economic variables for different components in the cycle. It was concluded that the exergy loss cost of steam turbines, HRSGs, combustion chambers, compressors, recuperators, and ammonia–water evaporators was higher than others. Therefore, their performances had to be improved. Invernizzi et al. [15] compared waste heat recovery Kalina and ORC systems from two Diesel engines with an electric capacity of 8900 kWe. The maximum net electric power of the two cycles was 1615 kW and 1603 kW for the Kalina and the ORC cycle, respectively. The waste heat of the 8S90ME-C10.2 two-stroke low-speed diesel engine has been recovered by Feng et al. [16]. They performed a thermodynamic analysis using MATLAB-REFPROP to compare the basic diesel system with the proposed combined cycle system coupling SCBCFootnote 2 and KC cycles. It was shown that the combined supercritical carbon dioxide Brayton cycle and Kalina cycle reduced the average annual fuel consumption of marine engines and the EEDI (Energy Efficiency Design Index) factor by 16.62% and 15.01%, respectively.

Hua et al. [17] conducted energy and exergy analyses and optimization of the boiler evaporation process of a waste heat recovery Kalina cycle. They presented that exergy and power recovery efficiencies were 18.32% and 48.32% if high and low-temperature sources were at 300 °C and 25 °C, respectively. Ranjbar et al. [18] performed an exergoeconomic analysis of a power cycle based on the Diesel-Kalina cycle, as well as an assessment of system responses to changes in different parameters. The results showed that 21.74 kW of power was produced from waste heat recovery, which is remarkable compared to 98.9 kW of engine power. Baldi et al. [19] proposed a new method to calculate the available amount of installation of waste heat recovery systems for marine applications. The results showed that such a method leads to a reduction in fuel consumption by up to 4–16% and makes the system profitable in 2 to 5 years. Larsen et al. [20] studied a split-Kalina cycle with and without reheat and compared it with the conventional Kalina cycle. The reheated version was able to produce 11.4% more power. The optimizing procedure shows that the turbine exhaust pressure and the boiler inlet temperature are the most important factors in maximizing cycle efficiency.

The experimenting of a prototype heat recovery system designed for small and medium-sized marine combustion engines with a nominal load of 100–250 kW was provided by Butrymowicz et al. [10]. The refrigeration system was designed to provide up to 30 kW of cold while using 75 kW of heat extracted from flue gases. Additionally, the waste heat recovery system offered around 60 kW of heat collected from the jacket water cooling of the engine block and was used for tap water and space heating. A system that combined cooling, heating, and power generating was suggested by Najafi et al. [21]. For those purposes, the engine-rejected heat recovery system included a domestic water heater (DWH), an organic Rankine cycle (ORC), and an ejector refrigeration cycle (ERC). To power the bottoming cycles, the diesel engine was supplied with various fuels and biofuels. The generated biodiesel was fed into the diesel engine at different engine speeds and loads in order to assess the system's efficiency from an energy and exergy perspective. According to the data, using biodiesel and diesel mixed as fuel instead of pure diesel significantly improved energy efficiency.

The steam Rankine cycle (RC), organic Rankine cycle (ORC), and absorption refrigeration cycle (ARC) were the three sub-cycles proposed as the waste heat recovery system from waste heat from the jacket cooling water and exhaust gas (EG) by He et al. [22] The proposed waste heat recovery system (WHRS) was assessed for the thermodynamic performance. The impact of additional factors, such as evaporation pressure, superheat, and engine load, was also examined. In comparison to WHRSs based on single RC and dual loop ORC, the designed WHRS can output 7620 kW of electricity and 2940 kW of cooling energy under the engine's rated operating conditions. Yu et al. [23] proposed the recovery of waste heat from the engine using a supercritical CO2 (S–CO2) power cycle coupled with a transcritical CO2 (T–CO2) refrigeration cycle to provide a substitute for the vapor absorption cooling system. The S–CO2 in this system absorbed heat from exhaust gases, and the power produced in the expander was utilized to power the compressors in both the S–CO2 power cycle and the T–CO2 refrigeration cycle. According to the findings, the idea of the S–CO2/T–CO2 combined cycle using a single cooler offered comparable performance and was thermodynamically viable.

Zhao et al. [24] used a transcritical-subcritical parallel organic Rankine cycle based on zeotropic mixtures to recover engine waste heat. Three design parameters were examined together with energy and exergy assessments. The findings showed that system performance initially increased and then decreased for each turbine inlet temperature of the high-pressure branch. Also, the net power output initially increased and then decreased with changes in the evaporation temperature of the low-pressure branch. Xiao et al. [25] proposed a cogeneration of electrical power and freshwater to recover the waste heat of a diesel engine. Exhaust gas energy was utilized in the Kalina cycle to produce electricity, while jacket water energy was used in the HDH system to produce freshwater. The multi-objective optimization findings demonstrated an increase in thermal and exergy efficiency of 1.8% and 1.52%, respectively, compared to the base case values. The sum unit cost of the product (SUCP) value was also decreased by 0.94 $/GJ.

A marine engine's waste heat recovery system was modeled by He et al. [26] and its performance was compared to that of WHRSs based on single steam Rankine cycles (SSRC) and dual pressure organic Rankine cycles (DPORC). The findings indicated that the suggested method might increase engine thermal efficiency by 4.42% while reducing fuel consumption by 9322 tonnes annually at a 100% engine load. At the same time, 2.68% and 3.42% more thermal efficiency may be achieved by a WHRS based on an SSRC and DPORC, respectively. Feng et al. [27] suggested a waste heat recovery method that coupled the supercritical carbon dioxide Brayton cycle power generation system with the Kalina cycle power generation system under as bottoming cycles of a low-speed marine diesel engine. The energy efficiency design index for the ship and the multi-objective optimization for improving the diesel engine and the combined power generation system were conducted. The results indicated that the yearly fuel consumption and the Energy Efficiency Design Index decreased to 16.62% and 15.01%, respectively.

Based on the reviewed literature, the proposed system in this study has not been studied before. Because of the higher waste thermal energy, the aim of this study is to fully recover the wasted heat of an exhaust gas source to produce the required power and cooling load of an industrial building. Since using one bottoming cycle may not be enough to recover the entire waste heat, a low-temperature cycle should be coupled to the system as well. Moreover, generating power from a waste heat source is always encouraging to run a utility such as a refrigeration cycle with more freedom. Another important aspect of using a waste heat source to generate power is that it is always associated with saving fuel and releasing pollutants, such as carbon dioxide, into the atmosphere.

To fill these gaps, the novel combined cycle includes a high-temperature Kalina cycle and a low-temperature ORC to generate power from the exhaust gas of a diesel engine, coupled with a two-stage VCR system that provides constant cool air is proposed. Also, to meet the demands of a comprehensive assessment [28, 29], this study investigates the proposed system based on energy, exergy, economic, and environmental viewpoints. A simulation code in MATLAB is developed to model the system to achieve the mentioned goals. Here, NIST23 (REFPROP) [30] is utilized to obtain the thermophysical properties of the streams.

2 System description

To investigate the possibility of generating heat using waste heat sources, the heat source in this study is the exhaust gas that exits from a real diesel engine. The general data of the considered engine, besides the required information, are listed in Table 1 [31]. This engine can produce 400 kVA power with a power factor equal to 0.8, resulting in 320 kW net generated power at its full-load operation. Moreover, the compounds of a diesel engine exhaust gas are obtained from Ref. [32] which is: N2 = 0.7642, O2 = 0.0948, CO2 = 0.0756, and H2O = 0.0654.

Table 1 Model and properties of the used Diesel Engine

The exhaust gas of the engine is then used for further power generation. First, it enters a high-temperature Kalina cycle (KC). Then it is driven into an organic Rankine cycle (ORC), which recovers the remaining available heat in the exhaust gas, decreasing its temperature to the dew point limit. Producing remarkable power from a waste source enables us to use a portion of it for other power–COnsuming facilities. Hence, an industrial refrigeration (air cooling) system based on the two-stage vapor compression refrigeration (VCR) cycle with a flash chamber is coupled to the two cycles above-mentioned to provide the required cooling load. The power needed for the compressors of the refrigeration cycle is provided by the KC and the ORC. This cycle is designed in a way that shares a common condenser with the ORC. This decision leads to a lower capital investment since two heat exchangers merge into one.

A schematic of the proposed configuration is depicted in Fig. 1. Here, the hot exhaust gas from the diesel engine stack (stream 33) enters the KC steam generator, producing high-temperature and high-pressure steam from the water/ammonia mixture (stream 1). After expansion in the KC turbine, the superheated mixture (stream 2) enters the two internal heat exchangers (recuperators 1 and 2) to preheat the mixture in the inlet of the second condenser and the steam generator, respectively. Also, after the low-pressure pump divides into two streams, a portion goes to the high second condenser (stream 8), and the other (stream 9) is first preheated and then enters the flash separator. Saturated liquid from the separator (stream 12) is expanded in a throttling valve and mixed with the outlet stream from the second recuperator (stream 4).

Fig. 1
figure 1

Schematic figure of Kalina-ORC-VCR power and refrigeration combined cycle working with Diesel waste heat

Moreover, saturated steam (stream 11) exits the separator and mixes with low-pressure subcooled liquid. After cooling in the second condenser, the stream is pressurized in the second pump. Its outlet (stream 16) is preheated and driven into the steam generator.

The remaining available heat in the exhaust gas recovers in the ORC steam generator (stream 34) and cools to the dew point limit. This heat exchanger produces a low-temperature and low-pressure steam from the working fluid, which is R134a in the current study. The exiting steam from the ORC turbine (stream 19) is mixed with the VCR compressor outlet (stream 27) to lose the excess heat in the condenser. After the condenser, the stream is again divided into two streams to feed both ORC and VCR. The ORC condensate (stream 22) enters the pump and the ORC steam generator, respectively. The VCR system, as seen, is a dual-stage type containing a flash intercooler between the two pressure stages. The condensed fluid (stream 28) loses its pressure in the throttling valve, then enters the flash intercooler, where the steam and liquid are separated.

The steam (stream 32) combines with the low-pressure compressor outlet (stream 25) and enters the high-pressure compressor (stream 26). The saturated liquid (stream 30), on the other hand, reaches the evaporator pressure through a throttling valve and enters the evaporator (stream 31) to absorb heat from the air that enters the evaporator (stream 36) and deliver cold air to the room (stream 37).

It should be noted that the cooling water streams of the condensers and the electric generators are not shown in Fig. 1 to prevent overcrowding.

3 Methodology

Throughout the study, some parameters are considered constant based on the operating conditions. These parameters are listed in Table 2. To prevent the formation of acid due to the condensation in the exhaust gas side of heat exchangers, the lower limit of its temperature is set to 90 °C [33, 34]. Also, the steam quality at the turbine outlet, both in the KC and the ORC, should not be lower than 0.9 to avoid corrosion in the expander's final stages [35]. Generators coupled to the turbines provide the required power for pumps and compressors.

Table 2 Initial thermodynamic assumption of simulation

Since the VCR provides cold air for industrial refrigeration applications, it is assumed that its working h is equal to that of the power-producing sections. In addition, all components of the considered structure operate in steady-state conditions. Also, the potential and kinetic energies of the streams do not change.

The thermodynamic properties of the streams are obtained from the REFPROP 9 library [30], which is coupled with MATLAB. It should be noted that for heat source streams and water-ammonia mixtures, the concentration (mass fraction) of each component must be taken into account to calculate the unknown parameters of the streams correctly. This is important for calculating the enthalpy and entropy values that are required in energy and exergy analyses.

3.1 Energy and exergy analysis

Each component is supposed to be a control volume for the thermodynamic modeling of the considered structure. The mass and energy balances for each control volume are given as Eqs. (1) and (2) [38]:

$$ \sum \dot{m}_{in} = \sum \dot{m}_{out} $$
(1)
$$ \sum \dot{m}_{in} h_{in} + \dot{Q} = \sum \dot{m}_{out} h_{out} + \dot{W} $$
(2)

The energy efficiency of the KC and the ORC is obtained as follows [38]:

$$ \eta_{KC,ORC} = \frac{{\dot{W}_{net} }}{{\dot{Q}_{in} }} $$
(3)

\({\dot{Q}}_{in}\) is the recovered heat from the exhaust gas in steam generators of Kalina and organic Rankine cycles [39].

$$ \dot{Q}_{in} = \dot{m}_{hf} \left( {h_{hf,in}^{SG} - h_{hf,out}^{SG} } \right) $$
(4)

The produced power for either KC or ORC, \({\dot{W}}_{net}\), is calculated using Eqs. (5)-(8) [40]. It is noteworthy that since the required power of the pump is calculated as a negative value according to Eq. (7), the plus sign is used in Eq. (5)

$$ \dot{W}_{net}^{KC,ORC} = \dot{W}_{G}^{KC,ORC} + \dot{W}_{Pu}^{KC,ORC} $$
(5)
$$ \dot{W}_{G}^{KC,ORC} = \eta_{G} \dot{W}_{Tu} $$
(6)
$$ \dot{W}_{Tu} = \dot{m}_{wf} \left( {h_{wf,in}^{Tu} - h_{wf,out}^{Tu} } \right) $$
(7)
$$ \dot{W}_{Pu} = \dot{m}_{wf} \left( {h_{wf,in}^{Pu} - h_{wf,out}^{Pu} } \right) $$
(8)

Moreover, for the vapor compression refrigeration cycle, the coefficient of performance (COP) is defined as the absorbed heat in the evaporator divided by the required work in the compressors, as shown in Eqs. (9)-(11). Equation (10) is defined in a way that the value of \({\dot{Q}}_{EV}\) remains positive.

$$ COP = \frac{{\dot{Q}_{EV} }}{{\dot{W}_{C} }} $$
(9)
$$ \dot{Q}_{EV} = \dot{m}_{hf} \left( {h_{air,out}^{EV} - h_{air,in}^{EV} } \right) $$
(10)
$$ \dot{W}_{C} = \dot{m}_{wf} \left( {h_{wf,in}^{C} - h_{wf,out}^{C} } \right) $$
(11)

The overall energy efficiency of the three cycles working together is equal to the net power generated and the heat transfer rate in the VCR evaporator divided by the total energy change of the hot fluid in the KC and ORC steam generators, as shown in Eqs. (12) and (13) [38].

$$ \eta_{cyc} = \frac{{\dot{W}_{net,cyc} + \dot{Q}_{EV} }}{{\dot{Q}_{in,cyc} }} $$
(12)
$$ \dot{W}_{net,cyc} = \dot{W}_{net,KC} + \dot{W}_{net,ORC} - \dot{W}_{C} $$
(13)

The pinch point temperature difference is the minimum temperature difference between the hot and cold fluid in heat exchangers. For pure working fluids, the temperature increases or decreases linearly, and their phase changes at a constant temperature. In contrast, for a mixture of water and ammonia, the difference in the temperature when the heat is transferred to or from the fluid is not linear. Also, the phase-changing process does not happen isothermally. Hence, it is important to pinpoint the exact location of the pinch point in the heat exchangers that use a mixture of water and ammonia or any other zeotropic mixture [41, 42]. This needs to apply the discretization method, which means dividing each heat exchanger into finite Sects. (50 segments in this study) and conducting the energy balance in each section. When the pinch point is located, the violation of its minimum temperature difference limit can be checked. The following equations adapted from [43] are applied to perform the stated discretization method:

$$ \dot{Q}_{j, sec} = \dot{Q}/sec $$
(14)
$$ \dot{Q}_{j : j + 1} = \dot{m}\left( {h_{j} \left( {T_{j} } \right) - h_{j + 1} \left( {T_{j + 1} } \right)} \right) $$
(15)

The current paper conducts an exergy analysis to provide helpful insight into the proposed system. The exergy of a material stream includes four different terms: kinetic, potential, chemical, and physical exergies [44, 45]. In this paper, as the general assumptions stated before, the first two terms are neglected. However, since the separation and mixing process in the Kalina cycle, the ammonia concentration in the mixture, thus the chemical exergy, can vary from one stream to another [46]. Thus, the exergy of a material stream of the system is obtained by Eq. (16), which consists of physical and chemical parts of exergy as defined by Eqs. (17) and (18). Equation (19) is used to obtain the chemical exergy of the water-ammonia mixture (streams 1–17) [18].

$$ \dot{E}_{i} = \dot{m}_{i} \times ex_{i} $$
(16)
$$ ex_{i} = ex_{i}^{ph} + ex_{i}^{ch} $$
(17)
$$ ex_{i}^{ph} = \left( {h_{i} - h_{i,0} } \right) - T_{0} \left( {s_{i} - s_{i,0} } \right) $$
(18)
$$ ex_{i}^{ch} = \left( {\frac{x}{{M_{{NH_{3} }} }}} \right)\overline{e}\overline{x}_{{ch,NH_{3} }}^{0} + \left( {\frac{1 - x}{{M_{{H_{2} O}} }}} \right)\overline{e}\overline{x}_{{ch,H_{2} O}}^{0} $$
(19)

The subscripts i and 0 indicate the number of each state and the ambient conditions, respectively. \({\overline{e} }_{N{H}_{3}}^{0}\) and \({\overline{e} }_{{H}_{2}O}^{0}\) denote the standard molar chemical exergy of ammonia and water, equal to 337.9 and 0.9 kJ/mol, respectively [47]. As mentioned, since the chemical exergy only varies within the water-ammonia mixture (and not other streams), for a more straightforward calculation, the chemical exergy of other streams is not required to be found. Hence, this parameter is only calculated for streams 1–17.

Equation (20) shows the exergy balance for each component. This equation shows that for each component, the sum of inlet exergies equals the sum of outlet exergies and exergy destruction, which originated as entropy generation.

$$ \sum \dot{m}_{in} e_{in} + \dot{E}_{Q} = \sum \dot{m}_{out} e_{out} + \dot{E}_{W} + \dot{I} $$
(20)

\({\dot{E}}_{Q}\) and \({\dot{E}}_{W}\) represent the exergy rate of heat and power, respectively. \(\dot{I}\) is the exergy destruction that represents the irreversibility of the component. Table 3 shows the energy and exergy balances for components of the system. Exergy balances can be used to calculate the exergy destruction rate within each component. However, to avoid a crowded table, the repeated components (such as pumps, mixers, or condensers) are only reported once.

Table 3 Energy and exergy balances for the components of the proposed system

The ratio of product exergy to the fuel exergy of the system is defined as Eq. (21). For the KC and the ORC cycles, the exergy of the product is the net produced power, and the exergy of fuel relates to the exergy rate recovered by exhaust gas in the cycles, as written in Eqs. (22) and (23) [48]. Since the exhaust gas components remain the same within the heat recovery process, only its physical exergy needs to be taken into account.

$$ \varepsilon_{KC,ORC} = \frac{{\dot{E}_{P}^{KC,ORC} }}{{\dot{E}_{F}^{KC,ORC} }} $$
(21)
$$ \dot{E}_{P}^{KC,ORC} = \dot{E}_{W}^{KC,ORC} = \dot{W}_{net}^{KC,ORC} $$
(22)
$$ \dot{E}_{F}^{KC,ORC} = \dot{m}_{hf} \left( {\left( {h_{hf,in}^{SG} - h_{hf,0} } \right) - T_{0} \left( {s_{hf,in}^{SG} - s_{hf,0} } \right)} \right) $$
(23)

Moreover, the exergetic COP of the VCR cycle can be obtained from the following equation, and it is defined as an exergy rise in the inlet air to the evaporator divided by the required work in the compressors.

$$ COP_{ex} = \frac{{E_{air,out}^{EV} - E_{air,in}^{EV} }}{{\dot{W}_{C} }} $$
(24)

Finally, for the three cycles working integrated, it is assumed that the fuel exergy is the exergy change in the exhaust gas throughout the two steam generators. Also, the exergy of the product is the net produced power and the change of exergy in the cooling air conditioning. Equations (25) and (23) are used to obtain this parameter.

$$ \varepsilon_{cyc} = \frac{{\dot{E}_{P,cyc} }}{{\dot{E}_{F,cyc} }} $$
(25)
$$ \dot{E}_{P,cyc} = \dot{W}_{net,cyc} + E_{air,out}^{EV} - E_{air,in}^{EV} $$
(26)

The logic algorithm of the simulation code is presented in Fig. 2. As it is shown, the simulation algorithm tries to optimize the cycle from the thermodynamic viewpoint, which maximizes the generated power. The decision variables are X10, T10, and P2 for the Kalina cycle [35]. Also, there are three other parameters that need to be solved in an iterative manner to guarantee that the pinch point rule is not violated within the heat exchangers. There parameters are T17 and T15 and T23. In this study, for a faster solution, these two parameters are selected as decision variables as well. Hence, they will be found using the optimization program in a way shorter time. The validity of this modification will be seen in the validation section later.

Fig. 2
figure 2

Flowchart of the methodology

The optimization method used in this study is fmincon function of the MATLAB optimization toolbox. This solver tries to solve the constrained optimization problems. The main constraints in this problem are the pinch point criteria within the heat exchangers discussed earlier and the stream quality in the turbine outlet. So, the optimization code starts from some input parameters and decision variables, then continues to simulate the cycles and calculate all state points’ thermophysical properties. Also, the constraints are checked simultaneously.

After each iteration, the results are checked, and when the objective function reaches the global maximum, the solver stops. Next, these results are used to carry out the exergy, economic, and environmental assessments.

3.2 Economic analysis

The economic evaluation is performed to understand the systems' practicality better. Thermo-economic analysis can combine thermodynamics and economics by employing the Second Law of Thermodynamics [45]. However, such an assessment does not give information regarding the system's economic feasibility. As a result, a techno-economic analysis is also undertaken to evaluate a system from a more significant and applicable perspective. It takes actual economic characteristics into account when calculating words like present money value and payback period.

In this section, first, a thermo-economic analysis is formulated to calculate the cost price of the generated electricity (LCOE). Then, a techno-economic approach is introduced that contains more insightful indices, such as NPV and payback period. Conducting both these analyses can help to determine their differences. Thermo-economic assessment usually deals with the cost of the system’s product, while techno-economic assessment evaluates its economic performance in a specific market. For the current paper's economic analysis, it is assumed that no loan or subsidy has been obtained. A cost balance can be calculated for any component as follows [49]:

$$ \dot{C}_{P} = \dot{C}_{F} + \sum (\dot{C}_{CI} + \dot{C}_{OM} )_{k} $$
(27)
$$ \dot{C}_{F} = c_{F} \dot{E}_{F} $$
(28)

In Eq. (27), \({\dot{C}}_{P}\) and \({\dot{C}}_{F}\) denote the rates of product and fuel costs (in \(\$/h)\), respectively. \({c}_{F}\) is the unit cost of the fuel exergy (in \(\$/{kWh}_{ex})\). In the overall system, containing the KC, ORC, and VCR cycles, the fuel stream is the exhaust gas stream at the entrance of the steam generator of KC (stream 33). All expenses related to the discharge of exhaust gas into the environment are already considered in the cost balances for producing electricity in the diesel engine. As a result, it is reasonable to conclude that the exhaust gases emitted by the diesel engine have no economic value when it enters the proposed system. Hence, for the proposed configuration of cycles, coupled with the exhaust gas of a diesel engine as the heat source, \({c}_{F}\), and subsequently, \({\dot{C}}_{F}\) is considered zero.

Moreover, \({\dot{C}}_{CI, k}\) and \({\dot{C}}_{OM, k}\) indicate the rates of capital investment cost and operation and maintenance cost (in \(\$/h)\) for kth component, respectively. The sum of these two terms for the overall system is estimated as follows [44]:

$$ \sum (\dot{C}_{CI} + \dot{C}_{OM} )_{k} = \frac{TCI \times CRF \times \phi }{\tau } $$
(29)

In this study, the annual operation and maintenance costs are considered as 3% of the Fixed Capital Investment (FCI). So, the factor \(\phi \) is equal to 1.03 [50]. Moreover, τ is the system’s annual operating hrs, which is considered 8000 h.

The capital recovery factor (CRF) is a ratio to calculate the present value of successive payments over a fixed amount of time. Its value can be estimated using Eq. (30) [44].

$$ CRF = \frac{{\left[ {i(1 + i)^{n} } \right]}}{{\left[ {(1 + i)^{n} - 1} \right]}} $$
(30)

Here, \(i\) is the interest rate and is assumed to be 8%, and n represents the project lifetime, which is considered 20 years [50].

In Eq. (29), TCI is the total capital investment obtained by the sum of the purchased equipment costs (PEC) and other costs such as investments for startup, land, labor, and contingencies. They are usually expressed as a percentage of the PEC. According to the information provided in [32], the overall mentioned costs can be considered equal to 43% of the PEC, as shown in Eq. (31):

$$ TCI = 1.43 \times PEC_{tot} $$
(31)
$$ PEC_{tot} = C_{CI,SG} + C_{{CI,{\text{Re}}}} + C_{CI,EV} + C_{CI,CD} + C_{CI,TV} + C_{CI,Pu} + C_{CI,T} + C_{CI,C} + C_{CI,G} $$
(32)

where PECtot is the total purchased equipment cost, which is defined as the sum of the capital investment cost of system components. As seen, the costs associated with the flash separators and mixing chambers are neglected due to their relatively negligible cost compared to the other components. The capital investment cost of the compressor, pump, turbine, and generator is commonly defined as a function of the consumed or produced power in kW, as given in Table 4. The cost function of the turbine and the pump is acquired from [51], while this function for the compressor and the generator is obtained from [52] and [53].

Table 4 Component cost functions of the system

\({C}_{CI, k}\) is the cost of investment for the kth component (in $). The cost of a heat exchanger depends remarkably on the area of the heat transfer surface \({(A}_{HX})\) and the phase of fluids that are exchanging heat. For instance, the cost of a heat exchanger rises when the phase change process is to happen within it.

The heat transfer rate can be designed using the heat transfer coefficient, the total area, and the logarithmic mean temperature difference \({(\Delta T}_{\mathrm{ln}})\). In this system, Counter flow heat exchangers are considered. For obtaining \({\Delta T}_{\mathrm{ln}}\) in the LMTD method, Eq. (33) can be applied.

$$ \Delta T_{{{\text{ln}}}} = \frac{{\left( {T_{hf,in} - T_{{cf,{\text{out}}}} } \right) - \left( {T_{{hf,{\text{out}}}} - T_{cf,in} } \right)}}{{{\text{ln}}\left[ {\left( {T_{hf,in} - T_{{cf,{\text{out}}}} } \right)/\left( {T_{{hf,{\text{out}}}} - T_{cf,in} } \right)} \right]}} $$
(33)

The values of Y1, Y2, and Y3 are presented in Table 5 for different heat exchangers used in the proposed structure.

Table 5 Heat exchanger cost functions Coefficients

The overall cost of the system consists of a summation of the purchase equipment costs for each component.

The levelized cost of energy (LCOE) in \(\$/GJ\), also known as the levelized cost of electricity, is a quantity used to evaluate and compare alternative energy generation methods. LCOE is expressed as the average total cost of capital investment and operating and maintenance costs. It is the cost rate per unit of total electricity generated over a specified lifetime and is estimated in Eq. (34).

$$ LCOE = \frac{{\dot{C}_{P} }}{{\dot{W}_{{{\text{net}},KC}} + \dot{W}_{{{\text{net}},ORC}} }} $$
(34)

In addition to thermo-economic analysis, there are other meaningful economic methods, such as the net present value (NPV). The NPV is a popular economic measure that shows the present value of all costs and benefits cash flows over the plant's lifetime. The following equation is used to determine this parameter.

$$ {\text{NPV}} = - {\text{TCI}} + \mathop \sum \limits_{t = 1}^{n} \frac{{{\text{AP}}}}{{{\text{(1 + i)}}^{{\text{t}}} }} $$
(35)

n and i are the plant’s lifetime and nominal interest rate, respectively. AP is the plant’s annual benefit and can be obtained by Eq. (36) [50].

$$ AP = \left( {\left( {\dot{W}_{net} \times \tau \times c_{se} } \right) - \left( {C_{OM} } \right)} \right) $$
(36)

\({c}_{se}\) is the unit price of electricity that is sold to the grid and is considered 0.1 \(\$/kWh\) (or 10 \(cent/kWh\)) [32]. Equation (36) shows that the plant’s annual benefit is obtained by subtracting the current annual outgoings from the yearly sales of power.

Other economic metrics, such as discounted (dynamic) payback period (DPP), the internal rate of return (IRR), and multiple of invested capital (MOIC) can be estimated to quantify the profitability proposed system. DPP is the time it will take for a project to “break-even.” In other terms, it is the amount of time required for the NPV to reach zero. The IRR introduces a discount rate that results in a zero NPV after the lifetime operation of the system. Equations (37)–(39) can be used to calculate DPP, IRR, and MOIC values [57]. To find the value of IRR, the iterative method should be applied since it cannot be found using direct calculations.

$$ DPP = \frac{{\ln \left( {\frac{{TCI \times \left( { - i} \right)}}{AP} + 1} \right)}}{{\ln \left( {\frac{1}{1 + i}} \right)}} $$
(37)
$$ 0 = - TCI + \mathop \sum \limits_{t = 1}^{n} \frac{AP}{{(1 + IRR)^{t} }} $$
(38)
$$ MOIC = \frac{{\mathop \sum \nolimits_{t = 1}^{n} \frac{AP}{{(1 + i)^{t} }}}}{TCI} $$
(39)

3.3 Environmental analysis

In addition to thermodynamic and economic assessment of the systems, environmental issues are highly important today. Environmental assessments are also important for systems that provide a way to reduce emissions of air pollutants and conserve fuels. According to Ref. [58], increased carbon dioxide emission in a system that works based on waste heat recovery is equal to the carbon dioxide that would have been emitted if the generated power from waste heat recovery was to be produced by the gas turbine or diesel engine. Based on mass analysis of the exhaust gas, the considered diesel engine produces 0.051 kg/s carbon dioxide when it produces 320 kW of power. Hence it can be concluded that to produce one kW of power using this engine, 1.61 × 10−4 kg of carbon dioxide will be released into the atmosphere. Moreover, the required fuel in this diesel engine is calculated as 0.261 L/kWh [59]. Finally, the values of avoided carbon dioxide and saved fuel are calculated using Eqs. (40) and (41), respectively [60].

$$ CO_{2,AV} = 1.61 \times 10^{ - 4} \times \left( {\dot{W}_{net,KC} + \dot{W}_{net,ORC} } \right) $$
(40)
$$ fuel_{AV} = 0.261 \times \left( {\dot{W}_{net,KC} + \dot{W}_{net,ORC} } \right) $$
(41)

4 Results and discussion

To ensure the validity of the results presented in this study, the ability of the developed MATLAB code to generate the results of a similar study, a simple KC12 from [35], is tested. The same inputs as the reference paper were chosen to simulate the system and conduct the simulation. As shown in Table 6, the energy efficiency and some operating parameters are compared to validate the results. There is a good fit between the results of the study and the base reference.

Table 6 validation results compared to the base reference

The results of the thermodynamic, economic, and environmental analyses will be shown in this section. Table 7 contains thermophysical properties of combined cycle state points, as shown in a schematic figure in Fig. 1. The cycle works based on the initial working condition referred to in Table 2. Since the chemical exergy is only important in the streams with a non–COnstant composition, this value is only reported for the water-ammonia mixture, and it is neglected for the other streams.

Table 7 Thermodynamic properties of combined cycle state points

The complete results of the thermodynamic assessment are presented in Table 8. As seen, The Kalina cycle can produce 58 kW of power from the waste exhaust gas of the diesel engine. This value is escalated by 3 kW that is generated in the ORC. This shows that coupling Kalina and organic Rankine cycles to a diesel engine that produces 320 kW power can generate 60 kW more power (18.8%) without combusting any fuel. Moreover, the VCR system demands 5.6 kW of electricity to fulfill the refrigeration demand. The energy efficiencies of the KC and ORC are 30.1% and 12.5%, respectively. Also, the VCR has a coefficient of performance equal to 3.8, and the overall system reveals an energy efficiency equal to 35.3%.

Table 8 Thermodynamic results of the combined cycle based on the working condition referred to in Table 2

As the results of the exergy analysis show, 41.6 kW exergy is destructed due to the irreversibilities that occur within the entire system. Furthermore, the exergy efficiencies of the KC and the ORC and the exergetic COP of the VCR are 62%, 57.1%, and 0.6, respectively. The exergy efficiency of the combined cycle is 58.31%, which is quite acceptable for an energy conversion system.

Table 9 lists the results of the economic assessment. The project needs 258.5 thousand dollars as the total capital investment. Additionally, to generate one kWh of electricity in this combined cycle, $0.06 (6.12 cents) needs to be invested, as the LCOE suggests. With the aid of the techno-economic assessment, it is revealed that after 20 years of operation, the net present value of the system is equal to 100.3 thousand dollars. Also, the invested money is returned in 10.8 years.

Table 9 Techno-Economic results of the combined cycle based on the working condition referred to in Table 2

Finally, the results of the environmental assessment, as shown in Table 10, indicate that integrating the proposed structure with the mentioned diesel engine saves diesel fuel at a rate of 15.92 l/hr. Thus, the emission of 35.3 kg of carbon dioxide per h can be prevented.

Table 10 Environmental results of the combined cycle based on the working condition referred to in Table 2

As mentioned before, every heat exchanger in the system is considered with a minimum accepted pinch temperature limitation. In heat exchangers that use water and ammonia mixtures, the pinch point may occur within the component, so its location must be found accurately. In Fig. 3, the temperature profile of the Kalina steam generator is drawn. The horizontal axis indicates the number of the investigated nod. The nonlinear profile is an obvious behavior of the Ammonia-Water mixture in all Kalina cycles, which is clearly shown in the mentioned figure.

Fig. 3
figure 3

Temperature profile of the Kalina steam generator

In Fig. 4a, b, exergy destruction of each component in the Kalina and ORC-VCR sections is presented, respectively. The highest destruction values belong to the steam generator, the Kalina turbine, and the Kalina second recuperator, with 14.18 kW, 8.01 kW, and 4.37 kW exergy destruction rates, respectively. Between the ORC-VCR components, the ORC steam generator destructed the highest exergy amount. As seen, irreversibilities in the ORC-VCR system are not comparable with those in the Kalina cycle. This is because the Kalina cycle works at a relatively high temperature and, accordingly, produces much more power. In the ORC-VCR sub-system, the heat exchangers, including the ORC SG and the VCR evaporator, cause the most exergy destruction within the mentioned system, followed by compressors and the turbine.

Fig. 4
figure 4

Component exergy destruction rate of a Kalina section and b ORC-VCR section

In the parametric study, five parameters are considered to investigate, and their effects on the results have been studied. The investigated parameters include the ammonia concentration of the Kalina turbine inlet, the inlet pressure of the ORC turbine, the VCR flash pressure, and the inlet temperature of cooling air. The effects of the mentioned parameters are shown on produced power, energy efficiency, and exergy destruction as thermodynamic results, and total cost rate, LCOE, NPV, Payback period, internal rate of return, and multiple of invested capital, as the economic results.

Figure 5 shows the variation of the results when the ammonia concentration in the turbine inlet increases from 0.65 to 0.8. With more ammonia mass fraction at the inlet of the turbine, there will be more molar mass flow rate to the turbine. As a result, the power production, as well as the energy efficiency of the Kalina cycle, will escalate by 2.62% and 1.88%, respectively, while Exergy destruction decreases by 3.5%, as shown in Fig. 5a. As shown in Fig. 5b, c for the economic parameters, the total cost rate, LCOE, and period payback PP increased by 4.4%, 1.7%, and 3.24%. Thus, the NPV of the system declines by 2.85%. However, when the ammonia mass fraction reaches 0.8, the NPV tends to increase because its value depends on the total capital investment and the annual profit simultaneously. Here, the value of the TCI, which has a minus sign in Eq. (40), increases more; therefore, the NPV will decrease.

Fig. 5
figure 5

Parameters variation versus Kalina turbine inlet ammonia concentration a: Overall generated power, energy, and exergy efficiencies, b: \(\dot{\mathrm{C}},\mathrm{ LCOE}, \left(\mathrm{c}\right):\mathrm{ PP},\mathrm{ NPV}\)

In Fig. 6a–d, the results versus the inlet pressure of the ORC turbine are shown. Higher pressure leads to higher power production, energy efficiency, and lower exergy destruction. Subsequently, a higher cost rate, LCOE, NPV, and lower MOIC is expected. With increasing the inlet pressure, the enthalpy of stream 18 increases, which results in higher turbine power production and higher ORC pump work. However, increasing turbine power production dominates the increasing pump work, resulting in a higher net power production within the ORC. Moreover, energy efficiency increases as net power production escalates. It also leads to lower exergy destruction, which is shown in Fig. 6a, b. Due to the direct relationship between the total cost rate and power production, the total cost rate will increase with higher ORC turbine inlet pressures. In addition, as referred into Eq. (40), the value of the LCOE depends on the total capital investment and net power production. Increased total cost rate and increased net power production cause an elevated LCOE, as revealed in Fig. 6c. The payback period increases slightly as the ORC turbine inlet pressure rises while the net present value drops, as presented in Fig. 6d.

Fig. 6
figure 6

Parameters variation versus inlet Pressure of ORC turbine a: Total power production, energy, and exergy efficiencies, b: \(\dot{\mathrm{C}},\mathrm{ LCOE},\mathrm{ PP},\mathrm{ NPV}\)

The effects of the increasing VCR flash pressure on the results are depicted in Fig. 7. Escalating VCR flash pressure means consuming more power in the low-pressure compressor and less power in the high-pressure compressor because the more working fluid will flow through the low-pressure compressor and lower flow through the high-pressure compressor. As seen in Fig. 7a, the net power of the cycle first increases following a decline. Because the consumed power of the compressors in the VCR system first decreases and then increases. Energy and exergy efficiencies and exergy destruction will vary in the same way, as shown in Fig. 7a, b. On the other hand, the total cost rate is shown in a decreasing trend first and then increasing, as shown in Fig. 7c. It is because of the mass flow rate flowing inside the compressors. The high-pressure compressor will take a lower mass flow rate, and based on the component cost rate, the total cost rate for that compressor goes lower, while for the other compressor, the situation is inversed. The mass flow rate flows to the lower-pressure compressor goes higher, so the total cost will be increased. Until a specific pressure, the higher-pressure compressor’s cost is dominant, but after a while, the other compressor’s cost changes the trend of the total cost rate. As seen, it decreased first and then increased. In addition, LCOE has a similar trend to the total cost rate. The reason is that LCOE depends on the product cost in which the total cost rate contains and produced work of the system. The product cost goes lower and then higher, as explained previously about the total cost rate.

Fig. 7
figure 7

Parameters variation versus Pressure of VCR Flash Chamber a: Total power production, energy, and exergy efficiencies, b: \(\dot{\mathrm{C}},\mathrm{ LCOE},\mathrm{ PP},\mathrm{ NPV}\)

On the other hand, work production in the correlation of LCOE is in the denominator and goes higher first and then lower. Overall, their effect on LCOE is a trend of decreasing first and then increasing. DPP and NPV are shown in Fig. 7d. Both depend on annual profit and TCI based on their correlations (34) and (36). The annual profit itself depends on the work production and operating and maintenance costs. The first one is explained before. The latter is a portion of the total cost rate. Therefore, it will show the same curvature. Based on the correlation of annual profit, the parameters made AP to be increased first and then decreased because the work production’s variation dominates. DPP depends on TCI and AP. The variations of both parameters made DPP decrease first and then increase because of decreased-increased TCI and AP. AP is in the denominator in the correlation of DPP, which means it will have a reversed effect compared to the TCI. Also, the NPV first increases and then decreases as VCR flash pressure is boosted because NPV is related to AP minus TCI, but with the dominance of AP, NPV shows a similar trend with AP.

Cooling air variation and its effect on the results are presented in Fig. 8. Lowering the temperature of evaporator cooling air means less heat transfer is required. It will decrease the consumed power in the compressor, which leads to more net power production, and escalates it by 7.59%. In addition, exergy destruction decreases by 6.8% with decreasing the cooling air temperature. An interesting result is the different trends that energy and exergy efficiencies have as the temperature of the inlet air to the VCR evaporator decreases. Here, energy efficiency increases while exergy efficiency lessens. This difference clearly shows the role of the quality of the energy, which is taken into account in the exergy analysis. Finally, due to higher power production, the total cost rate ascends, as well as LCOE and PP, by 0.4%, 7.44%, and 13.74%, respectively. Conversely, the NPV rises significantly with lowering the evaporator cooling temperature.

Fig. 8
figure 8

Parameters variation versus Pressure of VCR Flash Chamber (a): Total power production, energy and exergy efficiencies, (b): \(\dot{\mathrm{C}},\mathrm{ LCOE},\mathrm{ PP},\mathrm{ NPV}\)

Also, as an important parameter, the unit cost of electricity is investigated in the parametric analysis. Its value varies from 0.06 to 0.15 €/kWh in European countries [63], and has a direct effect on the project profitability under different conditions. Therefore, an analysis is performed to investigate the sensitivity of the economic parameters while the unit cost of electricity varies from 0.07 $/kWh to 0.12 $/kWh. From what is presented in Fig. 9, it is revealed that the NPV decreases with an increase in the unit cost of electricity while DPP, IRR, and MOIC increase. The reason is that AP is defined by the unit cost of electricity. When the unit cost goes higher, AP will be increased. With higher AP, NPV, IRR, and MOIC will go higher based on their correlations defined previously. While DPP will be decreased as AP has an inverse effect on DPP’s amount based on correlation (36). It is obvious that with higher annual profit, the capital investment will be back to the investor in a shorter time.

Fig. 9
figure 9

Variation of a NPV, PP, b IRR, and MOCI versus variation of the unit cost of electricity for four different sets of working conditions: series 1: Base set, series 2: Base set with \({P}_{1}=120\), series 3: Base set with \({x}_{1}=0.7,\) series 4: Base set with \({T}_{36}=7^\circ{\rm C} \)

The results of the environmental assessment are shown in Fig. 10a, b. Saved fuel and the prevented \({\mathrm{CO}}_{2}\) release are calculated using Eqs. (45) and (46). As presented, in each series, a parameter changes, which leads to more fuel savings and, therefore, results in less \({\mathrm{CO}}_{2}\) emitted to the environment. According to the mentioned equations, there is a direct relationship between the saved fuel and the generated power in the cycle. The same trend is seen for the prevented carbon dioxide emission.

Fig. 10
figure 10

Variation of fuel reduction a and CO2 reduction b for different working conditions: series 1: Base set with varying \({T}_{1}:470-490^\circ{\rm C} \), series 2: Base set with varying \({X}_{1}:0.65-0.8\), series 3: Base set with varying \({P}_{1}:120-140 bar\), series 4: Base set with varying \({P}_{18}:42-44 bar\). Carbon dioxide for the base diesel engine is 0.051 kg/s (or 183 kg/hr) for 320 kW

5 Conclusions

A new combined Kalina-ORC-VCR cycle is proposed to fully recover the waste heat from the diesel engine C13 ACERT-DE400E0. Energy, exergy, and thermo-economic analyses are applied to calculate the net power production, energy and exergy efficiencies, exergy destruction, and economic results, including the total cost rate, the levelized cost of electricity, the net present value, and the dynamic payback period. To perform the thermo-economic analysis, cost functions are considered for the components, which are formulated based on the calculation of the heat transfer area of all heat exchangers. Also, the exergy destruction rates of all components are calculated, showing which components should be improved. A parametric study shows how the calculated parameters change with variation of working parameters, including Kalina turbine inlet ammonia concentration, ORC turbine inlet pressure, VCR flash pressure, cooling water temperature, and as an effective economic parameter, unit cost of electricity. In addition, an important environmental result of utilizing this combined system to recover the waste heat is investigated by calculating saved fuel and saved CO2 pollution. The 4E analyses represent that coupling a bottoming Kalina-ORC-VCR system to the diesel engine produces 60 kW more power (18.8%) with no fuel consumption. However, the Kalina cycle has a higher share in producing extra power compared to the ORC one. With 41.6 kW exergy destruction, the combined cycle has 58.31% exergy efficiency. Also, an economic investigation reveals that 258.5 thousand dollars are needed to invest in the project, which will return after 10.8 years. Also, an additional 6.12 cents will be required to produce 1 kWh of electricity in this system. Finally, from the environmental analysis, it is concluded that 15.92 l/hr of diesel fuel is saved, which means 35.3 kg of carbon dioxide per h is not emitted into the atmosphere.

With all the benefits of such a system that is discussed in this work, there are aspects that can be further assessed in future research works. A dynamic assessment based on working hrs, especially for the cooling system, can be the objective of the next research. Also, a more detailed environmental analysis that takes different pollutants into account is another interesting area for upcoming assessments.