Performance Analysis of a PV Powered Variable Speed DC Fridge Integrated with PCM for Weak/Off-Grid Setting Areas

Electricity is the most important energy source for residential populations to maintain comfort and health in everyday life. However, electricity is still not accessible for about 18% of the world’s population (Zubi et al. 2016). 590 million people did not have access to electricity in Sub Saharan Africa (SSA) and 240 million in India in 2016. Although the number of people decreased for India from 2000 to 2016, the population who cannot access electricity is increasing in SSA (International Energy Agency IEA 2019). As a result of this, food spoilage is a significant problem facing Africa/developing countries. A lack of effective ways to keep fruits and vegetables cool in hot climates is usually the reason for their loss. Cities in many SSA countries face the combined problems of rising temperatures and inadequate power supply. They do not have access to reliable electricity, if at all, and consequently do not have proper refrigeration/air conditioning systems since existing technologies require higher quality grid electricity. Therefore, developing sustainable and affordable refrigeration systems for food preservation requires urgent attention. To avoid grid problems and off-grid issues in rural areas, use of solar energy for cooling is an effective way which comes with many advantages universally considering environmental issues (Desideri, Proietti, and Sdringola 2009). Solar powered refrigeration can be categorised as PV driven and thermal driven systems (Su et al. 2020) and PV driven systems have advantages over thermal systems in space-effectives, cost and energy-effectiveness (Alrwashdeh and Ammari 2019; Sajid and Bicer 2021). PV technology requires very low maintenance and repair expenses, which make this technology operationally one of the most low-cost options (Sharma 2011; Kumar and Kumar 2017). PV powered refrigeration systems have been investigated considering performance on different factors, such as PV voltage, compressor type, and controller methodologies. Daffallah et al. (Daffallah 2018) experimentally studied a PV powered DC refrigerator to present effects of ambient temperature, thermostat setting and Riffat, J, et al. 2021. Performance Analysis of a PV Powered Variable Speed DC Fridge Integrated with PCM for Weak/Off-Grid Setting Areas. Future Cities and Environment, 7(1): 6, 1–18. DOI: https://doi.org/10.5334/fce.121


Introduction
Electricity is the most important energy source for residential populations to maintain comfort and health in everyday life. However, electricity is still not accessible for about 18% of the world's population (Zubi et al. 2016). 590 million people did not have access to electricity in Sub Saharan Africa (SSA) and 240 million in India in 2016. Although the number of people decreased for India from 2000 to 2016, the population who cannot access electricity is increasing in SSA (International Energy Agency IEA 2019). As a result of this, food spoilage is a significant problem facing Africa/developing countries. A lack of effective ways to keep fruits and vegetables cool in hot climates is usually the reason for their loss. Cities in many SSA countries face the combined problems of rising temperatures and inadequate power supply. They do not have access to reliable electricity, if at all, and consequently do not have proper refrigeration/air conditioning systems since existing technologies require higher quality grid electricity.
Therefore, developing sustainable and affordable refrigeration systems for food preservation requires urgent attention. To avoid grid problems and off-grid issues in rural areas, use of solar energy for cooling is an effective way which comes with many advantages universally considering environmental issues (Desideri, Proietti, and Sdringola 2009). Solar powered refrigeration can be categorised as PV driven and thermal driven systems  and PV driven systems have advantages over thermal systems in space-effectives, cost and energy-effectiveness (Alrwashdeh and Ammari 2019; Sajid and Bicer 2021). PV technology requires very low maintenance and repair expenses, which make this technology operationally one of the most low-cost options (Sharma 2011;Kumar and Kumar 2017).
PV powered refrigeration systems have been investigated considering performance on different factors, such as PV voltage, compressor type, and controller methodologies. Daffallah et al. (Daffallah 2018) experimentally studied a PV powered DC refrigerator to present effects of ambient temperature, thermostat setting and operating voltage. They reported that the operation time and energy consumption of the compressor is higher in 24 V PV collectors compare to 12 V input when using the same refrigerator. As fixed speed compressors have been designed and well adapted for grid connected systems, commercial domestic refrigeration systems use fixed speed compressors to operate, however, their operation is affected in places in weak grid setting areas as voltage fluctuations cannot provide a smooth operation. Moreover, in order to connect with PV collectors, the system requires an inverter and battery as PVs generate DC current and solar radiation changes by time so, energy needs to be stored to start the compressor normally. Results of the additional components and their conversion efficiencies, PV connected AC compressor refrigeration systems have energy losses before refrigeration. In order to prove this, Opoku et al. (Opoku et al. 2016) conducted comparison experiments using a DC compressor and a AC compressor as different cases in PV driven refrigeration. In their test, the DC refrigeration system didn't have inverter, but batteries were adapted for both units. They presented that the DC refrigeration system is associated with less energy consumption and cost effectiveness. Parallel to this study, Sabry et al. (Sabry and Ker 2020) studied on the electricity consumption trend of an inverter-driven variable speed controller refrigerator. They investigated different component connections as battery-inverter-load, battery-load and grid-load of the DC refrigerator and finally AC refrigerator. Results show that battery-load consumes less daily power than traditional battery-inverter-load systems. Salilih et al. (Salilih and Birhane 2019) modelled PV refrigeration unit with variable speed DC compressor. They found that low rotation speeds yield higher COP value. Considering all literature findings, recently published paper by Su et al. (Su et al. 2020) proposed a PV powered variable speed DC refrigerator which directly connected to PV cells. They compared fixed speed and variable speed modes and found that variable speed mode increases cooling capacity and PV utilization.
Given references show performance improvement potentials and system configuration selections of PV powered refrigeration systems. However, without a backup battery, direct PV driven DC compressor refrigeration systems cannot provide cooling during night as solar energy is not available. Therefore, cold storage unit needs to be used in the cabinets to maintain the temperature in a desired range in order to maintain foods. Use of phase change material (PCM) in the fridges has been proposed by many researchers. Moreover, application of PCM in refrigerators has been highlighted as it improves cooling performance.
PCMs are incorporated into fridges on the condenser, on the evaporator, or inside the cabinet (Du et al. 2018) to obtain various benefits such as cold storage and more homogeneous temperature distribution in the fridge cabinet. As a cold storage, the PCMs have been used as a cold storage material in the fridges to keep fridge cold during power outage periods. Oro et al. (Oró et al. 2012) experimentally tested a freezer's low-temperature capacity in case of a power failure by employing PCMs in the cabinet. They showed that temperature remains lower when PCMs are placed compared to case of without PCMs. Yilmaz et al. (Yilmaz, Mancuhan, and Yılmaz 2020) studied to see the influence of PCM locations in the cabinet and found that placement on the shelves keeps cabinet temperature more homogeneous and results in energy saving. Karthikeyan et al. (Karthikeyan et al. 2020) tested different PCM arrangements in the fridge and presented that using PCM can reduce temperature fluctuations and helps to preserve food quality. Moreover, other benefits of the use of PCMs in the refrigerators can be stated (Omara and Mohammedali 2020). For example, they improve heat transfer rates and reduces condensation temperature when used on the condenser side (Sonnenrein et al. 2015), and they increase the COP of the refrigeration units by reducing the pressure ratio of the evaporation and condensation (Elarem et al. 2017). Bahloul et al. (El-Bahloul, Ali, and Ookawara 2015) conducted an experiment to investigate the performance of the solar PV refrigerator. Their test was based on measurements for 23 days and the results showed that for setting temperature of 0°C, average COP value was found 1.22. Geete et al. (Geete, Singh, and Somani 2018) carried out a test by using PCMs in evaporator, COP improvement achieved up to 20%. Several papers can be found in the literature and all of them support the idea of PCM employment is a promising method to improve performance and other parameters in refrigeration applications. However, there is a lack of studies about the employment of PCMs and their effects on the fridge performance by using the transient modelling of direct PV driven variable speed DC compressor refrigerators.
In this study, a simplified mathematical model is presented to simulate the transient performance of a direct PV powered variable speed DC fridge incorporated with thin PCM packs. In order to maintain the desired temperature range in the fridge cabinet, different numbers of PCM packs and thermostat settings are tested in the simulations under chosen weather conditions with relatively low or high solar radiation. Particularly, CFD modelling is also employed to study the temperature distribution inside the fridge cabinet for different configurations of PCM packs. The findings of this study can provide some new useful information in development of direct PV powered variable speed DC fridge technology.

Material and methodology
As this study aims to sustain a cold temperature for a fridge, modelling on fridge cabinet includes PCM modelling to enhance cold storage performance. The importance of cold storage potential can be seen from Figure 1. The figure shows power outage frequency per month and average power outage duration for various countries (World Bank 2019). It can be seen from the figure that even the areas where electricity supply is normally possible, would need solar powered and PCM enhanced fridge to prevent foods spoiling. As the system proposes to use PV to run variable speed DC compressor, the proposed system can be used in urban areas. It is shown that in the event of an 8-hour power outage, a cold temperature should be provided by PCM cold storage units. We can assume that daytime electricity cuts can be supplied by solar PV, thus, 8-hour cold storage is the target. In order to show improvement, a conventional fridge and a PCM enhanced fridge are modelled and simulation results are presented. For cabinet air side modelling, CFD analysis is used to determine heat transfer coefficient and to validate PCM melting/freezing process in overall model.

Modelling of the system
The system has three sub-models namely, PV collector, refrigeration cycle and fridge cabinet. Figure 2 shows the components. PV collector generates DC current to run compressor. DC compressor controller adjusts compressor speed according to solar irradiance and refrigeration unit cools the cabinet with variable cooling loads. PCM packages are placed inside the fridge cabinet to heat exchange with air during the daytime.

PV model
Neglecting the losses in the controller, PV output power is equal to compressor input power. Maximum power point tracking (MPPT) method is applied on the simulations because it is one of the mostly adopted method in the PV driven compressor studies. MPPT method in real applications, measured PV output voltage and current are used to find PV power output and compressor speed controller adjusts the speed. Later, PV power is measured again, and the controller adjusts according to power increment and decrement, This method has been applied in modelling work and validated by the experiment in the reference study (Gao et al. 2021). To make simplifications, this study calculates the PV output power by using one of the most popular methods for determining PV cell temperature called Normal Operating Cell Temperature (NOCT) method. Commonly preferred poly-Si type panels are chosen, and Table 1 shows the electrical characteristics of the modules. NOCT is given by the manufacturer and Eq. (1) can be used for calculating the cell temperature (Mattei et al. 2006).
Electrical efficiency of the PV is calculated by Eq. (2): is efficiency at the reference temperature.

Sub-model for refrigeration cycle
The refrigeration system has four components: compressor, condenser, capillary tube and evaporator. The following assumptions are considered for refrigeration simulation (Kutlu et al. 2019): • The evaporation in the evaporator and condensation in the condenser are assumed to be constant pressure process. • The expansion of the refrigerant in the capillary tube is assumed to be adiabatic. • Subcooling in the condenser is assumed 3K but superheating in the evaporator will be calculated in modelling.

Model of compressor
In the system a miniature compressor is used because the proposed compressor can operate with 12V and 24V sources which makes it suitable for PV applications. Its displacement volume is 1.9 cm 3 with rated refrigerating capacity of 245 W and rated input power is 85 W.
The compressor model provides not only the power for compression but also the working fluid mass flow rate. In order to derive mass flow rate m . Eq. (3) is given: V sw indicates swept volume of the compressor, N is compressor speed, ρ 1 is density of the compressor inlet and η v is volumetric efficiency. For volumetric efficiency, an empirical equation is adapted from Borges et al. (Borges et al. 2010).
Regarding the isentropic efficiency of the compressor, Marques et al. (Marques et al. 2014) analysed different size of compressors' isentropic efficiency variations with different evaporating temperatures. They used compressor unit selection tool program RS+3 developed by Danfoss to predict performance data using 35°C condensing, 25°C ambient, 1K superheating and 15°C compressor suction temperature. The results of the isentropic efficiency variations are shown in Figure 3. As pressure difference in this study is expected to be between 4 and 6.5, isentropic efficiency will variate between 0.45 and 0.4. Thus, the isentropic efficiency is taken as 0.45.

Model of condenser and evaporator
For modelling of condenser, dimensioning of the heat exchanger was not calculated in this model as condenser has a fan and it can be assumed that condensing temperature is 10 K higher than the room temperature at the beginning (Hundy 2016). Later, system control method will be explained, and temperature will be adjusted easily if condenser temperature needs to be increased. The refrigerant flows in the evaporator via pipes. As superheating heat transfer is small compared to evaporation, the temperature of the refrigerant will remain constant in the heat exchanger as phase change occurs.
The energy balance equation of the evaporator's wall is given in Eq. (5): As refrigerant boils in the pipe, fluid is in two-phase state. For boiling in the evaporator, the Kenning-Cooper correlation in Eq. (6) can be used revised by Sun and Mishima (Sun and Mishima 2009  where capital "X" is the Martinelli factor which is calculated from vapour quality 'x':

.3. Model for capillary
Capillary element reduces pressure and temperature of the refrigerant but also determines flow rate. Empirical equation created by Jung et al. (Jung, Park, and Park 1999) is used: Where, C are empirical numbers which can be find in the reference paper, D and L are diameter and length of the capillary, respectively.

Transient model for the fridge cabinet
The cabinet sub-model provides calculation of the temperatures in the refrigerated compartments over time.
Air temperature variation is calculated for each time step considering heat gain from room, cooling load from the evaporator, heat transfers from thermal mass in the fridge and PCM. Although it is known that air velocity in the fridge varies and temperature stratification occurs in the fridge cabinet, this study uses a simplified approach which assumes uniform air temperature in the fridge (Azzouz, Leducq, and Gobin 2009) in order to use solar powered refrigeration system performance. Control volume of the air is exposed to heat gain from the room, heat extraction by the evaporator and heat transfer with PCM packs. A schematic is given to show exposed heat transfers to the control volume of the air in Figure 4. Direction of the heat flow is determined by the temperatures of the components at specified time. Additionally, to refer some food in the fridge, modelling also includes thermal mass in the cabinet.
Similarly, air side PCM heat transfer equation can be written. Heat transfer rate from room to the cabinet is calculated by Eq. (10). U overall comprises outside wall and inside wall heat transfer coefficients and wall conduction coefficient which includes insulations.
By using given equations, energy balance of the air in the fridge cabinet is given in Eq. (11).
As fridge cabinet is an enclosure, heat balance will give us temperature variations of the components. Q̇e v , Q̇P CM , Q̇t m and Q̇g ain indicate air side heat transfer rates from evaporator plate, PCM packs, thermal mass, heat gain and heat transfer rates. Heat transfer coefficients in the cabinet can be calculated however, as the air is assumed as uniform, average heat transfer coefficient need to be determined. In this study, CFD tool will be used to find average heat transfer coefficient inside the cabinet. In order to increase heat transfer surface area, thin PCM packs are chosen to use for cold storage units, Figure 5 shows used PCM pack and its dimensions. In order to solve numerical simulations, 275170 elements were created for    Table 2.
Regarding to modelling, there are three well-known models available in the literature to solve melting and solidification problems through CFD analysis: equivalent heat capacity method, enthalpy method and temperature transforming model (Lamberg, Lehtiniemi, and Henell 2004;Ghahramani Zarajabad and Ahmadi 2018).
The enthalpy-porosity method is adapted for modelling the melting process of PCM unit. The PCM properties are assumed as constant and given in Table 2. The density of PCM is modelled with Boussinesq approximation to neglect volume expansion in the PCM via natural convection (Mahdi et al. 2020). The governing equations are given below: Where, sensible heat is: The latent heat during the phase change is given in Eq. (17).
where Lat is the latent heat of fusion of the PCM, and λ is the liquid fraction, l ì ï = < ï ï ï ï ï ï ï ï ï < < = í ï ï ï ï ï ï ï ï = > ï ï î In order to solve momentum equations and pressure equations, second-order upwind scheme and PRESTO scheme are used, respectively. The under-relaxation factors for the velocity components, liquid fraction, pressure, and energy are set at 0.7, 0.9, 0.3 and 1, respectively (Mahdi et al. 2020 λ is PCM liquid fraction, h air-PCM is heat transfer coefficient between the PCM pack and cabinet cold air. Where the PCM packs were divided into several equal layers, energy balance equation was applied to each layer. Given assumptions were adopted to simplify the mathematical model (Marques et al. 2014): • Thermophysical properties of the PCM were assumed as constant during the simulation (thermal conductivity, density, latent heat). • Only conduction heat transfer was considered between PCM layers and inside the PCM (Convection heat transfer was neglected during melting). • There is no supercooling in the PCMs.
• The PCM container walls were assumed to be very thin and didn't included heat transfer equations.

CFD analysis for heat transfer coefficient
The study also aims to find out the impact of the amount of PCM placed in the cabinet on performance of a fridge operating in standard conditions. Before conducting an overall performance simulation, a numerical model was built to predict the total heat transfer and storage time during charging and discharging of PCM packs by CFD analysis. After several simulations to find exact mass requirement for desired time and temperature, 18 packs were determined for analysis. By using standard under counter fridge dimensions and insulation properties, the system set up was prepared. The PCM packs are placed in the fridge and air temperature is at uniform 0°C and PCM temperature is assumed as the same with the air temperature initially. 18 PCM packs (3.6 kg) are located with 20 cm distance between each group from top to bottom and simulation is conducted for three hours of compressor off period. Figure 6a shows liquid-fraction of the PCMs by time. According to the figure, upper level PCMs melt faster because of high temperature air is collected in top. At the end of the simulation, volume average air temperature reaches 10°C. However, volume average temperature means some parts of the fridge can be higher and some parts can be lower temperature. In order to see it, Figure 6b shows temperature gradient in the fridge. As expected, upper parts are higher temperature than the rest. After 3-hour, lower part of the fridge is still at 6°C this is promising for keeping the temperature at desired level. Figure 6c shows velocity contour variation in the fridge. As expected, upper level is more stable but lower levels have significant air movements especially between PCM packs. Air near to walls moves up because of lower density, when hot air touches to the PCM goes down. It is good to observe that PCM packs helps to air movement with the holes on the middle. These holes allow cooled air to go down and highest air flow velocity occurs. This simulation shows the importance of the design of the internal fridge. The shape of the PCM pack and its location has significant influence of the temperature gradient in the fridge. Pavithran et al. (Pavithran, Sharma, and Shukla 2020) presented in their study that amount and the area coverage of PCM has an influence on temperature stabilization inside the fridge.
They suggested that area coverage should be more than 10% of the total area of the inside fridge. The main aim of the CFD analysis is to determine heat transfer coefficient between cold air and the items inside the cabinet. Since the modelling is based on average air temperature approach, heat transfer coefficient was calculated considering average PCM surface temperature and average air temperature. Figure 7 shows variation of the heat transfer coefficient based on calculation. It increases by time which refers temperature difference increment between average air temperature and PCM surface temperature.

Method of solution
The transient model of the overall system (includes refrigeration cycle, PV module, fridge cabinet and PCMs) is developed in MATLAB environment and solved by iteration. Design parameters and units are given in Table 3. The thermophysical properties of the refrigerant were taken from REFPROP.  The solution flow chart of the simulation is shown in Figure 8 and the solution steps are given in detail as follows: • Before starting the simulation, a pre-analysis has been conducted to determine the heat transfer coefficient inside the fridge, based on findings of the CFD study.
In the simulation, the design parameters of the components and initial conditions are written. These are component dimensions and properties, room temperature, initial temperatures of the components. As an initial condition, condensing temperature and evaporation temperature are assumed as 10 K higher from the room temperature and 10 K lower from the fridge temperature, respectively. • PV electricity output is calculated considering weather conditions by Eqs. (1-2), this output will be the compressor consumption rate. Referring to the Eqs.
(3-4), volumetric efficiency rotation speed and of course mass flow rate is found based on initial conditions. In the next time steps, temperatures will be taken at the end of previous time step values. • By taking 3K subcooling, the capillary model is solved.
If the flow rate in the capillary is different from calculated in the compressor, condenser pressure is adjusted, higher condensing pressure yields a higher flow rate in the capillary. The error criteria for adjustment is chosen as 10 -2 . • Solving the evaporator model, heat transfer rates can be found between refrigerant and evaporator tube, and also fridge air and evaporator tube. If the enthalpy of the refrigerant at the evaporator outlet is different from the compressor inlet in the compressor model, evaporating temperature and pressure are adjusted in the compressor model all calculations are repeated with these new temperatures.
• During finding the evaporator tube temperature, heat transfer between air and evaporator pipe is already considered. However, air temperature in the cabinet is also changed by heat gain via walls, heat transfer between PCMs, and thermal masses (water bottles). • Each element has its own energy balance equations and the last temperatures are found at the end of the time step. The same procedure is followed for next time.

Validation of the model
Before the study was used for several cases, a validation with a refrigerator had been performed. This part focuses on validity of the simplified air modelling in the fridge. An experimental setup was prepared by using a commercial refrigerator shown in Figure 9. Compressor off mode is simulated and tested. Before the test, the compressor was run and air temperature was reached to -4°C. Then, five water bottles were placed in the cabinet at 6°C. In the figure, average of the measured air temperatures (top, middle and bottom) was used but more measurement is required to match with the uniform air approach as temperature is not uniform in the cabinet in real case. Since the heat gain occurs via the walls of the fridge and the temperature of the air near the walls increases, an air movement is obtained with a direction to the top section as the high-temperature air density is lower than cold air. Referring to the conducted CFD study in Figure 6, slightly higher temperature air is accumulated in the top section of the cabinet. However, this temperature difference in the CFD study happened after a 3-hours period. In the tested cabinet, the temperature difference between measured and calculated reaches a maximum of 1°C however, the top section temperature would be higher. However, the calculated water temperature was found close to the measured water temperature as water bottles are placed on two shelves to obtain average.

Simulations
Transient simulations are conducted to evaluate the effect of temperature setting points and solar radiation intensity on the temperature of the fridge cabinet and the fridge refrigeration performance metrics namely compressor consumption, on-off time, and rotation speed. As a second evaluation, the effect of the number of PCM packs is investigated.
Given system settings are applied on simulations: • A thermostat in the fridge is modelled to keep the cabinet temperature between 4°C and -2°C. This means when the temperature reaches 4°C, the compressor starts to operate and stops when the temperature reduces to -2°C. • The compressor speed is limited between 2000 RPM and 4500 RPM.

Solar data
The proposed system has no battery unit but has a variable speed DC compressor. To show the system's flexible operation ability, high and low solar radiation data are used in the simulations. The high solar radiation data is taken from Photovoltaic Geographical Information System website (PVGIS,2020) for average hourly solar data in April in Ghana. In order to study the influence of solar radiation, the typical solar data was multiplied by 0.6 and low solar radiation was obtained. Figure 10 shows high solar radiation and low solar radiation profiles used in the simulations. In order to show higher solar utilization of the variable speed compressor over constant speed one, a comparison is made to show working hours in a day under given two different solar radiation levels. Figure 11 shows the working range of the compressors. Variable speed compressor can work around 1 hour more on high solar radiation day. In low solar radiation day, the time is increased because the variable speed can start to operate at 2000 RPM. These early start and late stop times have significant advantages in temperature levels and required PCM amounts in the cabinet.

Effects of thermostat setting point
In this subsection, the effect of thermostat setting temperatures is investigated. As it is known, setting point affects the power consumption directly and its selection should be related to the application and the contents in the fridge. Temperature settings of fresh food compartment of the refrigerators are given from 3°C to 5°C by manufacturers (Refrigerator, 2020). The thermostat setting temperature cannot assure to maintain this temperature since door opening and heat load from the room increases temperature and during compressor-on times, the air temperature reduces. In order to see air temperatures in domestic refrigerators, a number of surveys and measurement studies have been taken. James et al. (James, Evans, and James 2008) presented a table by combining studies  around the world and stated that mean temperatures varied between 4.9°C to 7°C. Breen et al. (Breen et al. 2006) measured air temperatures in domestic refrigerators in the UK based study, their recorded temperatures varied from 1°C to 12°C but only 33% of the data were above 5°C. Therefore, three different settings are applied in this analysis, namely; 8°C to 0°C, 6°C to 0°C and 4°C to 0°C. Initial conditions and ambient conditions were kept the same in the analysis. The initial conditions of the simulations are given as: the PCMs are in the solid-state at 4°C, air is 11°C, room temperature is 25°C and high solar radiation data is used. Figure 12a shows temperature variations for three cases. As expected, compressor start-stop frequency is lower in 8-0 setting. In normal grid operation, this setting yields higher energy efficiency, however, solar-powered refrigeration units can operate as long as PV output is enough, and so, it is not necessary to consider energy efficiency. Moreover, states of the PCMs need to be considered. Figure 12b shows the average liquid fraction of the PCM packs in the fridge for the cases. 8-0 operation increases the liquid fraction even in the day time. The setting of 4-0 can keep PCMs in solid-state until evening, but in order to recharge the PCMs in order to use for the next day, the setting temperature should be lowered. Although the setting for practical applications is 8°C and 0°C, this study aims to keep PCMs ready for evening periods as PCM melting temperature is 4°C. Therefore, the setting temperature for the cabinet is chosen at 4°C and -2°C.

Effect of solar intensity
By using high and low solar radiation levels, comparison simulations were carried out to investigate results on performance. In 12 hour-simulations, previously determined 18 PCM packs are placed in the cabinet at 4°C in solidstate, evaporator and 6 litres of water at 6°C have been used as initial conditions by using 4°C and -2°C setting temperatures. Comparison results are given in Figure 13. Firstly, compressor speeds are shown in Figure 13a. Since PV electricity generation is less in the low solar radiation day, compressor input power is lower which leads to the compressor's late starting time. In both cases, the compressor rotation speed is low at the beginning because the evaporator temperature is relatively high. Its temperature falls over time and compressor inlet density decreases. Figure 13b shows compressor consumption profiles of both cases during the day. Related to PV output power, consumption increases in the midday as solar radiation is higher. Also, compressor on-off times can be seen from the figure. On the low radiation day, the refrigerator cannot operate before 8 am, and after 3 pm periods as power generation from the PV is insufficient. Operation time for each compressor-on mode takes longer time on low radiation days, this is a result of a lower instant cooling load. Low cooling load is not desired, however, thermostat setting eliminates this effect because cooling time takes a longer period to balance it. When the compressor is off, the excess power can go to the grid. Figure 13c shows the temperature change of the water. Although the initial temperatures are the same, water temperature begins to decrease before 8 am as the aforementioned reasons in high radiation day. Late start of cooling operation causes 0.5°C lesser water temperature in low solar radiation day. However, at the end of the day, water temperature is higher than the beginning, thus, it needs to be analysed for the following days. Two days of simulations will be conducted in the following sections.

Effect of PCM mass
In this section, different amounts of PCM packs are simulated in the cabinet considering 4°C and -2°C setting temperatures and initial conditions. In order to observe the influence of the PCM amount, two-day simulation is  required to include the previous day's charging-discharging effects and to test the system under different weather conditions. The solar data given in Figure 10 is used for two days of operation. It is assumed that high solar radiation level is used on the first day, low solar data is for the second day. All temperatures at the end of the first 24 hours are the initial temperatures for the second day. Figure 14 gives the temperature variation of the water for two days for different cases. In the first case, 18 PCM packs have been used (3.6 kg) and the temperature of the water is kept in the desired range after the second day. In the second case, 16 PCM packs have been used (3.2 kg) and a similar trend is observed with the first case on the first day. However, the water temperature reaches higher during the first night and continues the following day. This trend is a result of smaller PCM surface area as PCM heat absorption remains relatively lower in Case 2. In case 3, 10 PCM packs (2 kg) have been used in the cabinet. 10 packs mean lesser PCM mass and heat transfer area which results in the worst performance. First cooling period (the first day from 8 am to 5 pm) water temperature in 18 packs case falls from 6.2°C to 3.4°C but for 10 packs case, it decreases from 6.35°C to 3.8°C. Although the solar radiation level is kept the same for both cases, water temperature is higher at the beginning of the cooling process for 10 packs case because of lower heat transfer area between the PCMs and cabinet air. In the second cooling period, water temperature falls from 6.7°C to 4°C.

Two days performance
By using the weather data from Figure 10 and considering the same method of the previous section, two days performance data is given in this section. Figure 15 shows performance metrics of the two days simulation when 18 packs are used. Figure 15a gives water and cabinet temperature variations. Since the first day of the simulation is based on initial conditions, second day will give better information on performance. On the second day, the com-pressor starts only five times because of low solar radiation. These low number of cooling periods also affects PCM charging. As the result of insufficient recharging on the second day, stored latent heat in the PCM packs are consumed by the midnight. Figure 15b shows condensation and evaporation temperature variation during the simulations. Since compressor rotational speed is related to solar intensity, the refrigerant mass flow rate increases in midday. The capillary model increases the condenser pressure to allow flow through the refrigerant inside the capillary. Similarly, second day condensation temperature is lower than the first day as second day has lower solar radiation. Figure 15c gives COP variation during the simulations. Although the cooling load is lower because of low solar radiation, average COP is higher in the second day because low solar radiation yields lower rotation speed of the compressor. Referring to Figure 15b, calculated condensation temperature is lower in second day compared to high solar radiation day. Moreover, lower cooling load decreases the evaporation temperature slowly. Relatively lower condensation and higher evaporation temperatures result better COP in low solar radiation day.
The average results obtained from the simulations can be summarized as given. The effect of the thermostat setting temperature on liquid fraction was simulated under high solar radiation day when 18 PCMs pack used. It was found that high-temperature setting increases the liquid fraction. Therefore, the setting temperature for the cabinet was chosen at 4°C and -2°C for the rest of the simulations. Different amounts of PCM packs were simulated in the cabinet and final water temperatures at the end of the simulation were found 13.7°C, 8.1°C and 7.8°C, for the cases of 10, 16 and 18 packs, respectively. The effect of the solar radiation on water temperature was simulated and water temperature at the end of the day was found 3.6°C for high solar radiation day and 4.8°C for low solar radiation day.