2. Mathematical Model
The mathematical model employed in the simulations performed in this work is the capacitive model developed in [
9,
12,
13]. In summary, this model is composed of sub-models for each main system component (compressor, condenser, capillary tube, evaporator, and cabinet compartment). Each sub-model is a set of ordinary differential algebraic equations (DAEs) that are solved numerically to perform the simulation of the system along its operational time. These equations consists, mainly, on mass and energy conservation laws and heat transfer rates that allow the computation of: component temperatures, fluid evaporation and condensation pressures and their corresponding temperatures, refrigerant mass distribution in the main components, and the degrees of sub-cooling and super-heating. The system performance parameters are also computed, including the system coefficient of performance (
COP), cooling capacity, consumed compressor electric power, mean consumed energy, and others, for example, see [
13].
This previous model was properly modified for performing the calculation of component and system transient entropy generation and exergy destruction rates (thermodynamic irreversibilities), as well as the second law efficiency. The modifications performed in the present model in relation to the previous one from [
9,
12,
13] consist of: (i) the calculation of the suction mass flow rate when the compressor is turned off. This mass flow rate is now used in compressor, condenser, and evaporator sub-models; (ii) the calculation of the flashing heat transfer rate in the condenser when the compressor is turned off; (iii) the transient calculations of the entropy generation and exergy destruction rates and of the transient entropy variations. The control volumes adopted for each system component and the interaction between the components are shown in
Figure 2. The entropy generation and thermodynamic irreversibilities terms are calculated buy the application of entropy and exergy balances on the same control volumes. The adopted procedure for implementing these equations is presented in
Section 3. The original capacitive model from [
9,
12,
13] is denominated as “model A”. The proposed modified model is called “model B”. All models were developed by the same research group.
To enable the implementation of the present modified model the same simplifying hypothesis originally adopted for model A are considered. These are: (i) control volumes of the system components have only one inlet and one outlet; (ii) kinetic and potential energies within and at the open boundaries are neglected; (iii) the thermodynamic and transport properties are uniform in each control volume; (iv) force fields are neglected; (v) delays in transport, pressure losses, and accumulation of refrigerant in the connecting tubes; pressure losses in the condenser and evaporator; spatial temperature variations on the surfaces of the condenser, evaporator, and compressor and within the cabinet compartments are all neglected. The simulations do not consider the opening of doors, following the conditions of the experimental tests. Air infiltration is not taken into account.
Compressor: In this work, a variable-speed single cylinder hermetic reciprocating compressor is modeled. The inputs for this model are the inlet temperature and pressure given by
and
, the inlet specific enthalpy,
, and finally, the outlet pressure, given by
. It is important to note that the inlet and outlet pressures are equal to the evaporation pressure,
and the condensation pressure,
, respectively. In addition, the following input parameters are also necessary: compressor thermal conductance,
; compressor thermal capacity,
; compressor volumetric efficiency,
; compressor global (isentropic) efficiency,
; compressor displaced volume,
, and the compression polytropic exponent,
. The second parameter was obtained experimentally as described in [
9,
12], as well as the value of
. The compressor efficiencies are obtained by applying the procedures proposed in [
14,
15]. Finally, there are two other input variables provided at the beginning of the simulations: the ambient temperature,
, and the compressor speed,
. From all these inputs, the following outputs are obtained from the compressor model: the compressor mass flow rate,
; the compressor heat transfer rate through its housing,
; the compressor wall temperature,
, and the fluid outlet temperature and enthalpy,
and
, respectively.
The model is composed by the equations presented
Table 1 and operates as follows. First the compressor mass flow rate,
, is calculated by Equation (
1), since this equation depends only on known parameters, including
. Then, using
, the compressor electric power consumption,
, is estimated by Equation (
2). Note that the global efficiency is computed using an isentropic compression process as reference. For this purpose, the isentropic compressor outlet enthalpy,
, is determined from the knowledge of
and inlet fluid specific entropy,
. From the knowledge of the previous compressor state, including the compressor heat transfer rate,
, a new compressor housing temperature value is determined by performing a simple energy balance according to Equation (
4). Last, the new compressor outlet state is evaluated approximating the compressor fluid outlet temperature by Equation (
5), following [
9]. The knowledge of
and
allows the determination of the compressor outlet state.
It should be noted that in Equation (
4), the mass flow rate at the compressor inlet (suction) is denoted as
. This variable differs from the system compressor mass flow rate,
, given by Equation (
1). When the system is operating with the compressor turned on, the mass flow rate in the suction side is assumed to be equal to the mass flow rate provided at the compressor discharge (compressor outlet). This is mainly due to the fact that the difference between these two quantities is negligible and only occurs in the very beginning of the process. Nevertheless, when the compressor is turned off, mass may still flow into the compressor inlet and from the compressor outlet. This fact mainly influences the second law transient behavior of the system and the irreversibilities calculation. For the suction side, the method developed by [
16] can be used. This procedure consists of the following steps:
Calculate the enthalpy of the refrigerant in the shell:
Calculate temperature and density of the refrigerant in the shell using the suction pressure and the enthalpy of the refrigerant in the shell.
Using the mass conservation law, the mass flow at the compressor suction can be determined as:
This process must be repeated until a convergence for the suction mass flow rate and the shell enthalpy is reached.
In the above equations,
is the specific enthalpy of the refrigerant stored in the compressor suction section (muffler and suction chamber),
is the suction section volume,
stands for the density of the refrigerant stored in the compressor suction section, and the superscript
represents the assumed initial values or the previous iteration values.
differs from
due to the mixing process that occurs in the compressor shell between the refrigerant already stored in the suction section and the one that is entering into the compressor through the inlet tube. Thus, when the system is turned off, the iterative procedure just explained is employed before the solution of the energy conservation equation, Equation (
4), for computing
.
In order to obtain the compressor efficiencies
and
curves for different compressors, the models proposed in [
14,
15] were employed. In addition, the compressor thermal conductance were approximately determined from the data available in the manufacturer folders. The fitting coefficients were determined through the application of the Levenberg–Marquardt method [
17,
18] for the minimization of the least square errors. This method was chosen mainly due to the fact that the minimization process is of the unconstrained type. The equations used for the approximation of the efficiency curves and the overall conductance are shown in
Table 2. First, the model estimates the efficiencies at a reference fixed speed, indicated by the subscript
. Then, the efficiencies are corrected to the real compressor speed. The coefficients
,
,
, and the thermal conductance
are the values to be found. In the process described,
is assumed to be independent of the compressor rotation and
k refers to the isentropic process coefficient.
The consideration of the compressor suction mass flow rate for the compressor’s off period using the iterative procedure developed by [
16] and the calculation of the compressor efficiencies and conductance by the methods proposed in [
14,
15] are two modifications of the model published by [
9]. These changes improved the model calculation of the thermodynamic irreversibilities of the system and its components.
Condenser: The condenser sub-model is developed for the control volume shown in
Figure 2. The input parameters of this model are: the outlet state of the compressor, defined by
and
; the delivered compressor mass flow rate,
; the capillary tube mass flow rate,
, and the condenser thermal conductance and capacity,
and
, experimentally determined in [
9]. The model gives the following outputs variables: the condensation pressure and temperature,
and
; the fluid outlet temperature and enthalpy,
and
; the refrigerant quality,
, (if two-phase); the sub-cooling degree,
, the condenser external heat transfer rate,
, the condenser surface temperature,
, and the refrigerant contain in the condenser,
. The system of equation of the condenser model is displayed in
Table 3.
Initially, the heat transfer rate through condenser wall,
, is calculated by Equation (
13). Then, the new condenser wall temperature is evaluated integrating the energy conservation relation, given by Equation (
15), where
represents the heat transferred from the refrigerant to the condenser wall surface, calculated by Equation (
14). In Equation (
15) a new term,
, is considered and defined as the flash heat transfer rate, explained later. In the sequence, the mass variation inside the condenser is evaluated using the mass conservation relation, given by Equation (
16). The mass contain in the condenser,
, is calculated by the integration of this equation. The calculation of
needs the knowledge of condenser outlet state that depends on determining the condensation pressure,
, and the outlet fluid quality,
, and consequently, state.
The outlet fluid quality determination depends on the working regime of the condenser. A condenser analysis leads to the definition of three different conditions based on the mass stored in it. First, with very little refrigerant mass, the condenser is filled completely with super-heated vapor, therefore, at its outlet (state 3), there is only vapor. Due to increase in mass, this regime occurs until the condenser reaches a known mass value, , meaning that the outlet state is saturated vapor with quality . A further increase in the refrigerant mass in the condenser raises the pressure, and as a consequence a two-phase region appears in the condenser. In this condition, the outlet is in the two-phase region . This regime occurs until a value denoted by , for which the outlet becomes saturated liquid (), is reached. Finally, a further increase in the mass until a value denoted by , results, denoting a state where the condenser is filled with sub-cooled liquid, with its inlet being saturated liquid.
These masses are calculated as: , , and . In these relationships, is the average density when at the condenser outlet, is the internal volume of the condenser, represents the density of the saturated vapor at the condensation temperature, is the density of the saturated liquid in the same condition, is the average void fraction when the appearance of sub-cooled liquid is imminent, and is the liquid density.
The outlet refrigerant quality is evaluated by Equation (
17) considering that this property varies linearly with the refrigerant mass stored in the condenser. If a negative value for the refrigerant quality is achieved through Equation (
17), it means a sub-cooled state at the outlet. In this case, the condenser outlet temperature is estimated by performing an energy balance in a differential element in the sub-cooled region. This analysis results in Equation (
18) after some algebraic manipulation. This expression depends on the external sub-cooled heat transfer area,
. This area is calculated based on the external heat transfer area,
, by assuming that the area varies linearly with the mass content, resulting in Equation (
19). In this expression,
is the thermal conductance in the sub-cooled region, also calculated through a linearization, see Equation (
20). If the outlet state of the condenser is two-phase, this temperature is
, where
.
The refrigerant internal energy can be defined as [
19],
, where
and
. Since saturated properties only depend on pressure, taking the time derivative of the refrigerant internal energy results in
. Using the previous expression, and after various algebraic manipulations, Equation (
21) is obtained for determining the condensation pressure. The change in the total refrigerant internal energy in the condenser is obtained from a simple energy balance in the condenser control volume, resulting in Equation (
22).
When the compressor is turned off, the mass flow rate through the capillary,
, becomes greater than the mass flow rate from compressor discharge,
, leading to a quick pressure drop on the condenser. It is in this situation that the system experiences a temperature drop due the flash effect. However, due to the complexity of this phenomenon, it is difficult to correctly model it with a lumped model. In order to capture this phenomenon, the heat absorbed by the flashing refrigerant was modeled as an external cold reservoir and is included in the calculation of condenser wall temperature, represented by Equation (
15). The heat transfer areas for the super-heated vapor,
and the flashing fluid,
, were calculated by assuming a linear variation of these areas with the mass stored inside the system in super-heated state and the mass that must undergo the flashing process. Starting with little refrigerant mass, the condenser is filled completely with super-heated vapor, therefore,
is the total internal area of the condenser (
). As the mass content increases, a known mass value,
, is reached. This means that the outlet state is saturated vapor with
. A further increase in the refrigerant mass in the condenser results in the appearance of a two-phase region, in this condition,
starts to decrease. This regime occurs until a value denoted by
, for which the outlet becomes saturated liquid (
) and
reaches a negligible value (
), as shown in
Figure 3.
In the first moments,
is still be higher than
, and it is not necessary to consider the term
. When
becomes lower than
due to the condenser pressure decrease, it is assumed that the region of the condenser occupied by the refrigerant in the two-phase state undergoes the flashing phenomenon, receiving heat from the condenser wall and cooling the condenser wall, i.e., the condenser component. This exchanged heat rate is denoted by
and is calculated through Equation (
24). It is easy to note that this equation is similar to Equation (
14) but employs the flashing heat transfer area,
, which is calculated by Equation (
26). For calculating
using Equation (
14) in the flashing process, the bulk temperature is computed as the average temperature between the inlet an outlet temperatures in the condenser, and the heat transfer area should be calculated as given by Equation (
25). It is important to note that when the system is operating with the compressor on, the quantity
is null, since there is no flash evaporation during this period. The inclusion of this flashing heat transfer rate (see Equation (
24)) is the other modification of the previous published model by [
9].
The derivatives of
and
, calculated through the fitting polynomials, and its coefficients are shown in
Table 4 and
Table 5, respectively.
Capillary tube: For the simulated refrigerator, the capillary model is rather simple, since it is considered an adiabatic process wit
. The model inputs are
and
, the specific volume at the capillary tube inlet,
, and the degree of sub-cooling,
. Thus, the model is applied for calculating the refrigerant quality at the capillary outlet,
, and the capillary mass flow rate,
, using Equation (
29) [
12,
19].
The coefficients
a,
b, and
c were determined through experimental results (see [
9,
12]) being adjusted as:
a = 0.0050416,
b = 0.3460787, and
c = 0. At the outlet of the capillary tube, a critical flow is possible due to the high acceleration of the fluid in the device. Thus, the Fauske criterion [
20,
21] was implemented to determine the critical pressure,
. The effective pressure at the outlet of the tube is calculated as
.
Evaporator: The evaporator sub-model is developed for the control volume shown in
Figure 2. The model inputs are: the capillary tube outlet enthalpy
, the mass flow rates
and
, and the experimentally determined (see [
9]) evaporator thermal conductance and capacity,
and
, respectively. The model gives as its outputs the evaporation pressure and temperate,
and
, the evaporator temperature and enthalpy,
and
, the refrigerant quality (if tow-phase),
, the evaporator surface temperature and heat transfer rate,
and
, the super-heating degree,
, and the refrigerant mass stored in the evaporator,
. The equations that compose the evaporator sub-model are shown in
Table 6.
Initially, the heat transfer through evaporator wall,
, is calculated by Equation (
30). Then, the new evaporator wall temperature is evaluated integrating the energy conservation equation, given by Equation (
32), where
is the heat transferred to the refrigerant from the evaporator wall surface, calculated by Equation (
31). In the sequence, the mass variation inside the evaporator is evaluated using the mass conservation equation, given by Equation (
33). The mass stored in the evaporator,
, can be found integrating this equation. The calculation of
needs, similarly to the condenser, the knowledge of evaporator outlet state 5. The determination of state 5 depends on the calculation of evaporation pressure,
, and of the fluid quality,
, at the evaporator outlet.
Three different conditions of the evaporator can be defined based on the mass stored in it. Initially, with the system storing a great amount of refrigerant, the evaporator is completely filed with sub-cooled liquid. Decreasing the refrigerant mass stored in the system until a quantity denoted by , and given by , the outlet becomes a saturated liquid, i.e., . Then, a continuous diminution of the refrigerant mass stored in the evaporator leads to a pressure decrease, resulting in the presence of a two-phase state () in the evaporator. When the evaporator outlet reaches the condition of saturated vapor, i.e., , the refrigerant mass stored in the evaporator is denoted by , given by . A further decrease in the refrigerant mass leads to a state were the evaporator is entirely filled of super-heated vapor, for which the mass stored is denoted by , being given by . In these relationships, is the total internal volume of evaporator, is the average density when the quality at the evaporator outlet is 0, represents the density of the saturated vapor at the evaporation temperature, is the density of the saturated liquid in the same condition, is the average void fraction when the appearance of super-heated vapor is imminent, and is the vapor density.
The outlet refrigerant quality is evaluated by Equation (
34), considering that this property varies linearly withe refrigerant mass stored in the evaporator. If, according to Equation (
34), a value greater than one is achieved, there is super-heated vapor at the outlet. In order to completely determine the outlet thermodynamic state, an energy balance in a differential element in the super-heated region is performed. This analysis results in Equation (
35). In the previous expression,
is the specific heat of the vapor and
is the thermal conductance in the super-heated region, calculated through a linearization by Equation (
36). The external super-heated heat transfer area,
, is calculated through the external heat transfer area,
, by assuming that the area varies linearly with the mass content, resulting in Equation (
37). If
, the outlet state of the evaporator is two-phase, and the temperature is
, where
.
The refrigerant internal energy can be defined as [
19],
using the previously defined
and
. Since saturated properties only depend on pressure, taking the time derivative of the refrigerant internal energy results in
. Using this expression, and after various algebraic manipulations, Equation (
38) is obtained for calculating the evaporation pressure. The derivatives of
and
were calculated through a polynomial fitting shown in
Table 4, and were also used in the condenser model. The change in the total refrigerant internal energy in the evaporator is obtained from a simple energy balance in the evaporator control volume, resulting in Equation (
39). In Equation (
39), the term
is changed by
when the compressor is shut down.
Cabinet: The inputs for this model are: the evaporator wall temperature,
, the heat transfer rate to the evaporator wall,
, the cabinet conductance and thermal capacity,
and
, experimentally determined, and the goods’ conductance and thermal capacity,
and
, respectively. The variable
is calculated using the appropriate heat transfer coefficients, following [
9,
13]. The outputs of the model are the temperature of the air inside cabinet,
, and the goods’ temperature,
. The goods’ temperature is calculated when the refrigerator is simulated with thermal loads. The equations that compose the cabinet sub-model are shown in
Table 7.
First, the heat transferred to the cabinet from the ambient is computed by Equation (
40). Then, applying an energy conservation on the cabinet control volume the cabinet temperature time derivative, given by Equation (
41), is obtained. Integrating this equation,
is calculated. It is important to be able to consider the presence of thermal loads in the system. This is performed considering the heat transfer rate,
, defined by Equation (
42) and solving Equation (
43) for determining
. Note that the term,
, displayed in Equation (
41), is considering only when goods are inside the cabinet.