Introduction

Almost half of the building energy demand is consumed by the HVAC system to maintain the ventilation requirements [1,2,3,4]. To date, many efforts have been made to reduce energy consumption in the HVAC system [5, 6]. One of the ways to reduce energy consumption is to use energy recovery techniques [7]. Air-to-air heat recovery is a device that can be used to recover energy [8]. In the enthalpy air-to-air heat exchanger, sensible energy (heat) and latent energy (vapor) are transmitted, while in the sensible air-to-air heat exchanger sensible heat is transferred from the hot stream to the cold stream [8]. More detail about the air-to-air heat exchanger is reported in Ref. [9].

Exergy analysis is a brilliant technique that accentuates the inefficiencies through the process [10,11,12]. The exergy analysis tells designers how far the system is away from its ideal state. If the exergy loss or irreversibility is zero, the process or cycle is ideal. The greater the irreversibility, the greater the deviation than the ideal state [13]. For comprehensive detail of exergy analysis utilization in the building, readers are referred to [14,15,16,17]. The first law of thermodynamics deals with the quantity of energy exchanged at the boundary, while the second law refers to the energy quality. The second law is concerned with the degradation of the work potential of the energy and can help designer to analyze and optimize the HVAC process. Various numerical approaches are applied by researchers to model various scientific processes [18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41]. Many exergy studies for example heat pumps [42,43,44], boilers [45], energy storage systems [46,47,48], HVAC [49,50,51], cooling system [52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68] and building envelope [69,70,71] have been conducted on building to decrease the building energy consumption.

In [44], the authors studied the heat pump (a ground source type) to utilize it in the building. They presented five control strategies to ameliorate the unit performance. Results revealed that the best strategies can decrease energy consumption and irreversibility which in turn increase the exergy efficiency and COP, respectively. The exergy analysis based on the connective thinking approach has been studied by Dovjak et al. [69]. Results indicated that the exergy consumption through the building envelope decreases due to the increase in thermal insulation resistance. Razmara et al. [72] performed the exergy analysis on building HVAC. They used the model predictive control (MPC) technique instead of traditional on–off controller. The results inferred that the MPC technique reduced the exergy destruction and energy consumption of the building HVAC up to 22% and 356%, respectively. Khalid et al. [73] performed the exergy analysis on three developed heating and cooling system in the residential building. The results showed that system operated by natural gas and vapor absorption chiller had priority over the other proposed systems. The first efficiency of the best system was 27.5%. The photovoltaic (PV) and solar thermal operated with vapor-compression chiller had the lowest first efficiency (19.9%) and highest second efficiency (3.9%). Sayadi et al. [74] applied the exergy analysis on the large complex building and affirmed that the efficiency of the second law is very low (approximately 4%). Based on the exergy analysis, energy conversion systems account for the largest share (54%) in exergy losses. Caliskan et al. [75] proposed a novel desiccant air cooling. It consists of subsections such as a desiccant wheel, evaporative type of cooler and finally sensible wheel. They showed that the desiccant wheel has the highest share of exergy destruction (42.78%).

In this study, the effects of using enthalpy air-to-air heat exchanger on the second law were investigated. In the enthalpy, air-to-air heat recovery unit was installed at the AHU inlet and fresh air is pre-cooled through transferring sensible and latent heat to the exhaust air. Through the air-to-air heat exchanger, energy is transferred from the fresh air to the exhaust one but the exergy is transferred from the exhaust air to the fresh one. To evaluate the usefulness of heat exchanger installation, the exergy balance equations are developed. Irreversibility through the various components has been measured by solving the exergy balance equations based on a program developed in EES. The exergy balance results demonstrate the change made in the deviation of the system from its ideal state by adding the heat exchanger.

Description of the system

The AHU that has shown in Fig. 1 is utilized to satisfy the conditioned space ventilation requirements. In summer, the air temperature of the exterior (point f) is higher than the air temperature of the interior (point r); hence, cooling coil is required to reduce the air temperature of the exterior. But the presence of a cooling coil causes many changes in the relative humidity of the air. The heating coil is used to reduce relative humidity changes.

Fig. 1
figure 1

Modified AHU

In other words, the heating coil is used to provide adequate humidity content in the conditioned space. As seen, a portion of the return air is recirculated and the rest is exhausted. In other words, energy and exergy are transferred from the AHU to the ambient. Exhaust air energy and exergy can be utilized in the heat recovery unit installed at the AHU entrance.

Exergy analysis

In this study, the studied AHU is of constant air volume (CAV) type. In this type of AHU, the required mass flow rates of fresh air and supply air should be determined through the following equations:

$$ \dot{m}_{\text{s}}^{\text{air}} = \frac{{{\text{air}}\,{\text{changes}}\,{\text{per}}\,{\text{hour}} \times {\text{space}}\,{\text{volume}}}}{{3600 \times {\text{specific}}\,{\text{volume}}}} $$
(1)
$$ \dot{m}_{\text{f}}^{\text{air}} = \frac{{{\text{people}}\,{\text{number}} \times {\text{required}}\,{\text{fresh}}\,{\text{air}}\,{\text{per}}\,{\text{person}}}}{{1000 \times {\text{specific}}\,{\text{volume}}}} $$
(2)

The exergy destruction through the heat recovery unit is obtained using exergy balance. Applying the exergy balance method, heat recovery unit exergy destruction is written as follow:

$$ \dot{m}_{\text{f}}^{\text{air}} \,{\text{Ex}}_{\text{f}} + \left( {\dot{m}_{\text{r}}^{\text{air}} - \dot{m}_{\text{re}}^{\text{air}} } \right){\text{Ex}}_{\text{r}} - \dot{m}_{\text{a}}^{\text{air}} \,{\text{Ex}}_{\text{a}} - \dot{m}_{\text{e}}^{\text{air}} \,{\text{Ex}}_{\text{e}} - {\text{Ex}}_{\text{des}}^{{{\text{air}}\,{\text{to}}\,{\text{air}}}} = 0 $$
(3)

The mixing box exergy destruction is obtained by performing exergy balance:

$$ \dot{m}_{\text{a}}^{\text{air}}\, {\text{Ex}}_{\text{a}} + \dot{m}_{\text{re}}^{\text{air}} \,{\text{Ex}}_{\text{r}} - \dot{m}_{\text{m}}^{\text{air}} \,{\text{Ex}}_{\text{m}} - {\text{Ex}}_{\text{des}}^{\text{mixing}} = 0 $$
(4)

The cooling coil exergy destruction is obtained using the following equation:

$$ \dot{m}_{\text{m}}^{\text{air}} \,{\text{Ex}}_{\text{m}} + \dot{m}_{\text{ci}}^{\text{water}} \,{\text{Ex}}_{\text{ci}} - \dot{m}_{\text{c}}^{\text{air}} \,{\text{Ex}}_{\text{c}} - \dot{m}_{\text{co}}^{\text{water}} \,{\text{Ex}}_{\text{co}} - \dot{m}_{\text{cond}} \,{\text{Ex}}_{\text{cond}} - {\text{Ex}}_{\text{des}}^{\text{cc}} = 0 $$
(5)

where \( {\text{Ex}}_{\text{cond}} \) denotes exergy of condensation vapor and \( \dot{m}_{\text{cond}} \) is the vapor condensation mass flow rate.

Applying the exergy balance on the heating coil yields:

$$ \dot{m}_{\text{c}}^{\text{air}} \,{\text{Ex}}_{\text{c}} + \dot{m}_{\text{hi}}^{\text{water}} \,{\text{Ex}}_{\text{hi}} - \dot{m}_{\text{s}}^{\text{air}} \,{\text{Ex}}_{\text{s}} - \dot{m}_{\text{ho}}^{\text{water}} \,{\text{Ex}}_{\text{ho}} - {\text{Ex}}_{\text{des}}^{\text{hc}} = 0 $$
(6)

where \( \dot{m}_{\text{hw}} \) denotes the mass flow rate of the hot water. Moreover, the exergy loss in the conditioned space is obtained as follows:

$$ \dot{m}_{\text{s}}^{\text{air}} \,{\text{Ex}}_{\text{s}} - \dot{m}_{\text{r}}^{\text{air}} \,{\text{Ex}}_{\text{r}} - {\text{Ex}}_{\text{des}}^{\text{room}} = 0 $$
(7)

The exergy of moist air (Eq. 8), distilled water (Eq. 9) and hot and cold water (Eq. 10) is required to perform an exergy analysis. These parameters are as follows [76]:

$$ {\text{Ex}}_{{{\text{humid }}\,{\text{air}}}} = (c_{\text{p,a}} + \omega c_{\text{p,v}} )\left( {T - T_{0} - T_{\text{o}} \ln \left[ {\frac{T}{{T_{\text{o}} }}} \right]} \right) + (1 + 1.608\omega )R_{\text{a}} T_{\text{o}} \ln \frac{P}{{P_{\text{o}} }} + R_{\text{a}} T_{\text{o}} \left[ {(1 + 1.608\omega )\ln \frac{1 + 1.608\omega }{{1 + 1.608\omega_{\text{o}} }} + 1.608\omega \ln \frac{\omega }{{\omega_{\text{o}} }}} \right] $$
(8)
$$ {\text{Ex}}_{\text{cond}} = h_{\text{f}} - h_{\text{f0}} - T_{0} (s_{\text{f}} - s_{\text{f0}} ) - R_{\text{v}} T_{0} \ln (\varphi_{0} ) + v_{\text{f}} (P - P_{\text{sat}} ) $$
(9)
$$ {\text{Ex}}_{{{\text{hot}}\,{\text{and}}\,{\text{cold}}\,{\text{water}}}} = h_{\text{f}} - h_{\text{f0}} - T_{0} (s_{\text{f}} - s_{\text{f0}} ) $$
(10)

where \( s_{{{\text{f}}0}} \) and \( h_{{{\text{f}}0}} \) denote the water entropy and enthalpy at ambient temperature, \( \varphi_{0} \) and \( \omega_{0} \) are the ambient relative humidity and humidity ratio.

The first and second laws of thermodynamic efficiencies are calculated from Eqs. (11) and (12), respectively.

$$ \eta_{\text{I}} = \frac{{Q_{\text{s}} + Q_{\text{l}} }}{{\underbrace {{Q^{\text{cc}} }}_{{{\text{cooling }}\,{\text{coil}}\,{\text{power}}}} + \underbrace {{Q^{\text{hc}} }}_{{{\text{heating}}\,{\text{coil}}\,{\text{power}}}}}} $$
(11)
$$ \eta_{\text{II}} = 1 - \frac{{{\text{total}}\,{\text{destroyed}}\,{\text{exergy}}}}{{{\text{input}}\,{\text{exergy}}}} $$
(12)

In Eq. (12), the total destroyed exergy is equal to the sum of irreversibility in each control volume:

$$ {\text{Total}}\,{\text{destroyed}}\,{\text{exergy}} = {\text{Ex}}_{\text{des}}^{{{\text{air}}\,{\text{to}}\,{\text{air}}}} + {\text{Ex}}_{\text{des}}^{\text{mixing}} + {\text{Ex}}_{\text{des}}^{\text{cc}} + {\text{Ex}}_{\text{des}}^{\text{hc}} + {\text{Ex}}_{\text{des}}^{\text{room}} .$$
(13)

Results

As mentioned, AHU is used to satisfy the comfort requirements. Consider a conference hall with a volume of \( 40 \times 20 \times 8\,{\text{m}}^{3} \) and the capacity of 800 people under the ambient thermodynamic properties of 22 °C and 40%. The conditioned space is under outdoor conditions with a temperature of 35 °C and a relative humidity of 50%. To meet comfort conditions, number of air changes per hour is 6 and required fresh air per person is selected 8 L s−1 [77]. For each person, the latent heat gain of 40 W and sensible heat gain of 100 W are considered. Due to the difference of thermodynamic properties between the inside (conditioned space) and outside (ambient), sensible heat gain of 120 kW and latent heat gain of 32 kW are transferred from the outside into the inside.

The heating process is accomplished using a heating coil equipped with hot water at the flow rate of 1.63 kg s−1 and temperature of 60 °C. The cooling process is performed by a cooling coil equipped with chilled water at temperature and mass flow rate of 6 °C and 15 kg s−1.

According to the ventilation requirements, the fresh air mass flow rate should be 7 kg s−1. Depending on the number of air changes per hour, the mass flow rate of supply air is calculated to be 12.46 kg s−1; hence, the recirculated air mass flow rate is 5.46 kg s−1. In other words, about 43% of the returning air is recirculated to AHU and 57% is exhausted. To meet the comfort requirements, supply air at temperature of 285.1 K and humidity ratio of 66.8% must be supplied. To change the ambient air thermodynamic properties (35 °C, 50%) to the supply thermodynamic properties of 285.1 K and 66.8%, the power consumption of the cooling and heating coils is 524 and 75.34 kW, respectively. According to Eq. (11), the first law efficiency is 25.36%. From the viewpoint of the second law, the exergy losses in mixing box, cooling coil, heating coil and ventilation space are 3.176, 10.28, 11.45 and 9.38 kW, respectively. Therefore, the total loss is 34.29 kW. The highest exergy losses are related to the heating coil and cooling with the respective losses of 33.33% and 29.97%. Finally, applying Eq. (12), the efficiency of the second law is 65%.

Now, the heat recovery unit is added to the base AHU and energy and exergy analysis is applied on the various parts. The sensible effectiveness of 0.7 and latent effectiveness of 0.5 for the enthalpy air-to-air heat exchangers are selected [78]. Performing energy calculations on the modified AHU, the power consumption of the heating and cooling coils will be 75.5 and 375.76 kW, respectively. Therefore, the total power consumption of the modified AHU is approximately 451.26 kW. A comparison of total power consumption between the modified AHU (451.26 kW) and the base AHU (599.34 kW) affirms that the total power consumption is reduced by 24.7%. Finally, owing to the reduction in power consumption, the first efficiency is enhanced by 32.8%.

The modified AHU exergy analysis is shown in Fig. 2. As shown in Fig. 2, the exergy losses in the air-to-air heat exchanger, mixing box, cooling coil, heating coil and ventilation space are 3.422, 1.067, 6.078, 11.47 and 9.38 kW, respectively. Therefore, the total loss is 31.418 kW. The highest exergy losses are related to the heating coil and ventilation space with the respective losses of 36.5% and 29.9%. The heat transfer process at the high-temperature difference between the input air and the water inside the heat exchanger tubes causes a considerable amount of exergy loss.

Fig. 2
figure 2

Exergy balance for AHU with heat recovery

Installation of the enthalpy air-to-air heat exchanger also affects the second law analysis. Based on the results, the exergy losses of the system change from 34.38 to 31.418 kW (8.6% reduction) due to the installation of the heat exchanger. Therefore, the second law efficiency increases from 65 to 68%. The reduction in exergy losses can be due to the reduction in cooling coil power. Installing the enthalpy air-to-air heat exchanger reduced the power of the cooling coil, which in turn decreases the exergy losses. In general, after installing an air-to-air heat exchanger, the required cooling coil power and exergy losses are decreased by 148.2 kW and 2.88 kW, respectively.

Figure 3 compares the irreversibility of the base AHU and the modified one. Since the energy recovery unit is installed before the cooling coil, it affects the mixing box and the cooling coil. Installing heat recovery unit causes the inlet air to cool down, thus reducing the inlet air temperature at point a (Fig. 1). Hence, the temperature at points (a) and (r) (Fig. 1) gets closer and somehow the temperature difference decreases. The lower the temperature difference, the lower the irreversibility. Therefore, the irreversibility through the mixing box reduces. It was mentioned that using heat recovery unit reduces the power consumption of the cooling coil. Reducing the power of the cold coil will decrease the irreversibility as shown in Fig. 3.

Fig. 3
figure 3

Irreversibility through each component

The thermodynamic conditions of the cooling coil outlet and (point c) the supply air (point r in Fig. 1) are determined by equations that do not relate to temperature of point (a) (Fig. 1); hence, using of heat recovery unit does not affect the irreversibility through the heating coil and conditioned space.

In the following, the effect of various parameters on the usefulness of the adding heat recovery unit is examined.

Effects of chilled water temperature and mass flow rate

The required power of the cooling coil is a function of the chilled water temperature and mass flow rate. The variations of the cooling coil power consumption are shown in Fig. 4. As the cold water temperature decreases, the cooling coil load increases. Because as the cold water temperature decreases, the temperature difference between the air passing through the coil and the water inside the cooling coil increases; hence, the cooling coil load rises.

Fig. 4
figure 4

Variations of cooling coil power with respect to the temperature and chilled water flow rate

On the other hand, the higher the temperature difference, the greater the irreversibility. Therefore, as the cold water temperature decreases, the cooling coil irreversibility is also expected to increase (Fig. 5).

Fig. 5
figure 5

Variations of irreversibility through the cooling coil

The chilled water outlet temperature is always warmer than the chilled water inlet temperature. In other words, there is a temperature difference between inlet and outlet cold water. As the chilled water mass flow rate increases, the temperature difference decreases. Clearly, the surface temperature of the cooling coil is colder, and therefore more vapor will be condensed. Hence, the cooling coil load increase as the chilled mass flow rate rises. This trend is shown in Fig. 4. As the power of the cooling coil increases, the irreversibility also rises. As shown in Fig. 5, with increasing chilled water mass flow rate, the irreversibility increases. As mentioned earlier, the cooling coil power increase as the chilled water flow rate increases. For this reason, the irreversibility in cooling coil and consequently the total irreversibility increase. On the other hand, inlet exergy to the system increases with the chilled water flow rate increase. However, the ratio of the input exergy increase is larger than the loss exergy increase; therefore, the \( \frac{{{\text{total}}\,{\text{exergy }}\,{\text{loss}}}}{{{\text{input}}\,{\text{exergy}}}} \) fraction will reduce. Consequently, according to Eq. (12), the second law efficiency increases as shown in Fig. 6. It is necessary to mention that the increase in irreversibility affirms that the behavior of the system from the viewpoint of the second law deviates from its ideal state as the chilled water flow rate increases.

Fig. 6
figure 6

Variations of the second law efficiency

Effects of chilled water temperature and mass flow rate

As can be seen in Fig. 1, the power of the heating coil depends on the difference between the enthalpy of the cooling coil outlet air (hc) and the enthalpy of the supply air (hs). Parameter (hs) is obtained from the thermodynamic analysis of the conditioned space. In other words, the power of the heating coil does not affect it. Parameter (hc) is also obtained using the \( \varepsilon {\text{ - NTU}} \) technique. In other words, the power of the heating coil depends only on the values of (hc) and (hs) and remains constant. Therefore, mass flow and temperature of the hot water have no impact on the first law efficiency. Exergy losses increase slightly in the heating coil in accordance with Eq. (6) as the hot water flow rate increases. As a result, the total exergy loss increases and the second law efficiency reduces slightly.

Effects of ambient conditions

Ambient conditions (temperature and relative humidity) affect the cooling and heating loads which in turn affect the irreversibility through them. In Fig. 7, the ambient conditions efficacy on the power consumption and the first efficiency are shown.

Fig. 7
figure 7

Ambient conditions efficacy on the first efficiency and power consumption

The inlet air enthalpy is dependent on relative humidity and temperature. The increase in temperature or relative humidity leads to an increase in enthalpy content. The more the enthalpy content, the higher the difference in energy content between the exterior and interior which in turn increases the power consumption and decreases the first law efficiency. This trend is shown in Fig. 7.

Note that the more the power consumption, the more irreversibility. Another reason for the increase in exergy losses is the increase in the exergy losses in the heat recovery unit. Exergy losses in the heat recovery unit are due to the temperature and humidity differences between return and fresh air streams. The more difference, the higher the exergy loss. The humidity difference between the fresh and return air increases as the relative humidity of the ambient increases. Therefore, the exergy loss of the heat recovery unit increases.

In Fig. 8, it is found that at the lowest ambient temperature power consumption and irreversibility have the lowest values. The same is correct for the relative humidity of the exterior, and at the lowest relative humidity, irreversibility and power consumption have the lowest values. Therefore, at the lowest exterior relative humidity and temperature, the modified AHU has the lowest power consumption and is closer to its ideal behavior.

Fig. 8
figure 8

Efficacy of exterior temperature and relative humidity on the exergy losses

Recovered power is a function of ambient conditions. Through the enthalpy units, the latent energy, as well as the sensible energy, is transferred from the fresh air (with the ambient thermodynamic properties) to the exhaust air (with the conditioned thermodynamic properties). Given that indoor (conditioned space) conditions are constant, any changes in ambient conditions can affect recovered power. As shown in Fig. 9, with the increase in ambient temperature and relative humidity, the recovered power increases. In other words, in hot and humid regions, the efficacy of installing the heat recovery unit on the recovered power appears to be greater.

Fig. 9
figure 9

Variations of recovered power and recovered exergy in the enthalpy air-to-air heat exchanger in terms of ambient conditions

Figure 9 shows the recovered exergy in terms of ambient conditions. It demonstrates that the using of enthalpy air-to-air heat exchanger on exergy recovery has the greatest effect at ambient with low relative humidity and high. Also, it has the least effect at a low temperature and high relative humidity.

Now the question is whether installing a heat recovery unit in hot and humid is preferable or in hot and dry one?

In Fig. 10, the effects of adding hear recovery unit on the irreversibility reduction and power consumption reduction are shown.

Fig. 10
figure 10

Decrease in power consumption and irreversibility at various ambient conditions

As shown in Fig. 10, installing a heat recovery unit, the energy consumption is reduced by at least 10.8% (in ambient with hot and dry climate) and maximum by 33% (hot and humid one). Moreover, incorporating heat recovery unit decreases the irreversibility at least 5.18% (in ambient with hot and dry climate) and maximum up to 12.8% (hot and humid one).

Conclusions

In this study, the effects of using the enthalpy heat recovery unit on the second law were investigated. In the enthalpy, the unit was installed at the AHU inlet and fresh air is pre-cooled through transferring sensible and latent heat to the exhaust air. Through the enthalpy unit, the energy is transferred from the fresh air to the exhaust one but the exergy is transferred from the exhaust air to the fresh one. Therefore, the power consumption of the cooling coil was reduced (owing to the pre-cooling). In addition, due to exergy recovery in the air-to-air heat exchanger, the total irreversibility is decreased. It was found that the exergy losses were 34.288 kW, which is 8.7% lower than the base AHU irreversibility (31.417 kW). Owing to the less total exergy losses, the efficiency of the second law enhanced from 0.65 to 0.68 (4.6% improvement).

The ambient conditions have an impact on the recovered exergy. At the ambient temperature of 303.2 K, as the ambient relative humidity changes from 0.3 to 0.7, using enthalpy air-to-air heat exchanger changes the recovered exergy from 2.157 to 1.645 kW. When relative humidity is 0.5, it is found that with the increase in temperature from 303.2 to 313.2 K (10 K increase), the recovered exergy increases from 1.721 to 4.058 kW. In other words, the amount of recovered exergy is increased by a decrease in ambient relative humidity or an increase in ambient temperature.