Introduction

Increasing pollution and decreasing conventional energies such as fossil fuels lead to seeking alternative energy resources. Among alternative energies, solar energy is a proper choice since eco-friendly and accessible. The chemical reactions that occur inside the sun at millions of degrees of temperatures generate energy and then dissipate into space [1]. Solar energy converts into electrical energy through the photovoltaic (PV) panels [2]. The solar panel includes several solar cells in series. All solar energy that reaches the surface of the PV panel cannot be converted into power and part of the energy is wasted. Heat energy losses lead to an increasing panel temperature and poor the performance of the system. The methods of efficiency enhancement in PV panels can be divided into two general groups: (1) active and (2) passive [3]. Much research has been carried out using design parameter optimization, active, and passive methods to improve the efficiency of the PV panels, which are given in the following. The tilt angle is the main parameter, which influences the performance of the PV panel. Kaddoura et al. [4] determined the optimum tilt angle of the PV panel for some cities in Saudi Arabia by using the MATLAB code. The optimum tilt angle relies on the location of the sun and the geographic coordinates. The results showed that the optimum tilt angle varied monthly and seasonally. Xu et al. [5] determined the optimum tilt angle of a PV panel by considering the effect of dust. The dust caused an increase in the optimum tilt angle. Osma-Pinto and Ordóñez-Plata [6] carried out an experimental investigation on the impacts of kind of roof, installation height, and wind velocity on the efficiency of the PV panel. The results reveal that the efficiency enhancement was obtained on the green roof in the height range of 50 cm to 75 cm. Furthermore, an increase in wind velocity caused operating temperature reduction, which led to increasing the electrical efficiency of the PV panel. Abd-Elhady et al. [7] used Labovac oil, sunflower oil, and olive oil as coatings on the front surface of the silicon PV panel. They found that the PV panel with the Labovac oil coating had the highest efficiency due to the most transmissivity. An increase of about 20% was observed in the power output. Phase-change materials (PCMs) have a high capacity to absorb and store extra heat from the PV panel [8]. Stropnik and Stritih [9] performed an experimental and numerical investigation using TRNSYS software to study paraffin-type RT28HC effect on the efficiency of a PV panel model CS6P-M. The annual electrical energy generation enhanced 7.3% in comparison with the conventional PV panel. Rajvikram et al. [3] investigated the effect of PCM on the electrical efficiency of the PV panel. For this target, they used PCM that was covered by the aluminum sheet at the rear surface of the PV panel. The aluminum sheet was used to increase the thermal conductivity of the PCM. The PV panel efficiency increased by about 24.4%. Hemmer et al. [1] investigated the numerical simulation to study the heat transfer in PV panels. The tilt angle of the PV panel changed from to at solar radiation of 510 W m−2 in France. They found that the variation in the heat transfers in the PV panel had a weak dependence on the tilt angle. Furthermore, the maximum heat transfer rate was observed at the tilt angle. A three-dimensional analysis by using ANSYS software was conducted to study the heat transfer on the performance of the PV panel [2]. The optimum thickness of the spreader was 10 mm. The results indicate that they caused the decrease in cell temperature and the increase in efficiency up to about 20 °C and 10%, respectively. Fares et al. [3] used MATLAB optimization codes to achieve the optimal electrical quantities for a PV panel model ZT180S. Al-Waeli et al. [4] investigated the performance of the PV/T by using paraffin wax with nano-SiC under the panel and SiC/water nanofluid in the tank. They evaluated the system economically by using MATLAB software. The results reveal that the electrical efficiency of the PV/T increased by about 13.7% and the system was affordable. Abdallah et al. [5] assessed the performance of a PV/T system using Al2O3/nanofluid as a working fluid. The maximum temperature reduction was about 8 °C. Ebaid et al. [6] experimentally demonstrated that the performance of a PV panel with Al2O3 nanoparticles in the mixture of water and cetyltrimethylammonium bromide in the cooling system was better than TiO2 nanoparticles in the mixture of water and polyethylene glycol. Sardarabadi et al. [5] experimentally examined the effect of using SiO2/water in the cooling system of the PV/T system in mass fraction percentage (mass%) of 1% and 3%. The maximum overall energy efficiency enhancement of the PV/T system was about 7.9% for SiO2/water at 3 mass%. Elmir et al. [7] simulated a PV/T system with Al2O3/water as coolant. The heat transfer rate increased by about 27% when the nanoparticles concentration increased from 0 to 10%. Over time, research has focused on cooling solar panels from fin and heat sink to newer structures such as thermoelectric [8, 9] and PCM [10,11,12]. On the other hand, it is always optimized in this direction, and numerical methods are simultaneously advanced with the attempt to cool the photovoltaic panels. The use of optimization algorithms [38, 39] is also one of the things that is very much considered. In this study, by combining the optimization algorithm and the nanofluid and the liquid cooling system, the first attempt was made to design an efficient cooling system in an environment with a temperature of 40 °C and a wind speed of 3 m s−1.

Governing equation

The governing equations governing the flow of fluids for examination in the Cartesian coordinates in terms of fluid mechanics and heat transfer are presented for a constant fluid density and viscosity as follows. For the equation, we have continuity as [13]:

$$\frac{\partial }{{\partial \varvec{x}_{\text{i}} }}\left( {\varvec{\rho u}_{\text{i}} } \right) = 0$$
(1)

Similarly, we will have a momentum equation [13]:

$$\frac{{\partial \left( {\varvec{\rho u}_{\text{i}} \varvec{u}_{\text{j}} } \right)}}{{\partial \varvec{x}_{\text{j}} }} = - \frac{{\partial \varvec{p}}}{{\partial \varvec{x}_{\text{i}} }} + \frac{\partial }{{\partial \varvec{x}_{\text{j}} }}\left[ {\varvec{\mu}\left( {\frac{{\partial \varvec{u}_{\text{i}} }}{{\partial \varvec{x}_{\text{j}} }} + \frac{{\partial \varvec{u}_{\text{j}} }}{{\partial \varvec{x}_{\text{i}} }}} \right)} \right] - \frac{2}{3}\varvec{\mu}\frac{{\partial \varvec{u}_{\text{k}} }}{{\partial \varvec{x}_{\text{k}} }}\varvec{ \delta }_{\text{ij}}$$
(2)

Energy equation [14]

$$\frac{\partial }{{\partial x_{\text{i}} }}\left( {\rho u_{\text{j}} C_{\text{p}} T - k\frac{\partial T}{{\partial x_{\text{j}} }}} \right) = u_{\text{j}} \frac{\partial p}{{\partial x_{\text{j}} }} + \left[ {\mu \left( {\frac{{\partial u_{\text{i}} }}{{\partial x_{\text{j}} }} + \frac{{\partial u_{\text{j}} }}{{\partial x_{\text{i}} }}} \right)} \right] - \frac{2}{3}\mu \frac{{\partial u_{\text{k}} }}{{\partial x_{\text{k}} }} \delta_{\text{ij}}$$
(3)

Turbulence equations \(\left( {k - \varepsilon } \right)\, {\text{RNG}}\) [15]

$$\begin{aligned} \frac{\partial }{{\partial x_{\text{i}} }}\left( {\rho ku_{\text{i}} } \right) & = \frac{\partial }{{\partial x_{\text{j}} }}\left[ {\left( {\mu + \frac{{\mu_{\text{j}} }}{{\sigma_{\text{k}} }}} \right)\frac{\partial k}{{\partial x_{\text{j}} }}} \right] + G_{\text{k}} - \rho \varepsilon \\ \frac{\partial }{{\partial x_{\text{i}} }}\left( {\rho \varepsilon u_{\text{i}} } \right) & = \frac{\partial }{{\partial x_{\text{j}} }}\left[ {\left( {\mu + \frac{{\mu_{\text{t}} }}{{\sigma_{\text{k}} }}} \right)\frac{\partial \varepsilon }{{\partial x_{\text{j}} }}} \right] + C_{1 \varepsilon } \frac{\varepsilon }{\text{k}}G_{\text{k}} - C_{2 \varepsilon } \rho \frac{{\varepsilon^{2} }}{k} \\ \end{aligned}$$
(4)

In the above relations, \(C_{\text{p}}\) is the specific heat of a constant volume, k is the kinetic energy of turbulence, ε is the dispersion rate of turbulence, and the turbulence viscosity \(\mu_{\text{t}} = \rho C_{\upmu} \frac{{K^{2} }}{\varepsilon }\), and p, T, u, v, and w represent the pressure, temperature, and the speed is along x, y and z.

Thermophysical properties of nanofluid

The following equation is used to obtain nanofluid densities [16]

$$\left( \rho \right)_{\text{nf}} = \left( {1 - \varphi } \right)\rho_{\text{f}} + \varphi \rho_{\text{f}}$$
(5)

The specific heat capacity of the nanofluid is calculated using the relationship provided by Rutzol and Zhouwan [17]

$$\left( {C_{\text{p}} } \right)_{\text{nf}} = \frac{{\left( {1 - \varphi } \right)\left( {\rho C_{\text{p}} } \right)_{\text{f}} + \varphi \left( {\rho C_{\text{p}} } \right)_{\text{p}} }}{{\rho_{\text{nf}} }}$$
(6)

In the above assumption, the thermal equilibrium between the base fluid and the nanoparticles is assumed. To calculate the thermal conductivity coefficient of nanofluid which includes two static and dynamic sections, we used:

$$k_{\text{nf}} = k_{\text{static}} + k_{\text{Brownian}}$$
(7)

The static thermal conductivity coefficient is calculated from the following equation:

$$k_{\text{static}} = k_{\text{f}} \left[ {\frac{{k_{\text{p}} + 2k_{\text{f}} - 2\left( {k_{\text{f}} - k_{\text{p}} } \right)\varphi }}{{k_{\text{p}} + 2k_{\text{f}} + \left( {k_{\text{f}} - k_{\text{p}} } \right)\varphi }}} \right]$$
(8)

The expression for the thermal conductivity of the inertia can also be calculated from the following equation [18, 19]

$$k_{\text{Brownian}} = 5 \times 10^{4} \beta \varphi \rho_{\text{f}} \left( {C_{\text{p}} } \right)_{\text{f}} \sqrt {\frac{{K_{\text{b}} T}}{{\rho_{\text{p}} d_{\text{p}} }}} f\left( {T \cdot \varphi } \right)$$
(9)

In the above equation, \(d_{\text{p}}\) is equal to the diameter of the nanoparticles, \(K_{\text{b}} = 1.3807 \times 10^{ - 23}\), Boltzmann constant, and \(\beta\) is the modeling function dependent on the concentration of nanoparticles, which is calculated using the following equation:

$$\beta = 8.4407\left( {100\varphi } \right)^{ - 1.07304}$$
(10)

Problem description

This study is based on the need for cooling the solar panels in the warm areas. According to Fig. 1, a series of solar panels installed on a parking canopy was considered. The photovoltaic planes with specific dimensions were installed on the slopped part of the canopy. The proposed cooling system is schematically represented in Fig. 2. A heat sink with the fluid cooling agent was placed beneath the photovoltaic solar panel. A series of fins are also considered to increase the heat transfer surface

Figure 1
figure 1

Problem and boundary conditions

Figure 2
figure 2

Different models of photovoltaic panel cooling with multiple cooling systems

Figure 2 schematically illustrates the conventional methods used for cooling the photovoltaic panels. As this figure suggests, the heat produced as the result of solar radiation is usually transferred by a heat sink. Considering the heat sink condition, two general methods can be considered: porous heat sink and fluid cooling. The latter is proposed due to the possibility of using various cooling methods, and the third method was used in this study due to the nature of the problem and the temperature condition of the study area.

Investigation of the optimal condition for the network is a combination of the heat sink and cooling system. The schematic of geometric dimensions and boundary conditions is shown in Fig. 3. Different environmental conditions (including without wind and windy conditions with determined temperature) are listed in the boundary condition table in four designs. Any of these figures are then defined after an investigation by genetic algorithm and optimization in the form of the geometrical parameters as shown in Fig. 4. In other words, in this study, four models of fluid circulation in the heat sink were defined by the neural network whose properties are defined in Table 1. The optimal conditions were considered for evaluations.

Figure 3
figure 3

Geometric dimensions of the cooling system examined

Figure 4
figure 4

Geometric dimensions of four proposed cooling systems

Table 1 Problem solving details with desired results

To study environmental conditions on the efficiency of the cooling unit, two insights were considered. The first one (Table 1) was labeled as the geometrical optimization in which the genetic algorithm was employed to investigate four models with four different Re numbers covering the entire range of laminar to turbulent flows. The heat transfer and the effective variables on the thermal efficiency of the cooling unit were addressed. Then, by selecting the optimal condition from the four proposed ones, the effect of wind and nanofluids on increasing the heat transfer was evaluated. For this purpose, two nanofluids containing two volume fractions were compared with the base fluid (water); their Nusselt number and heat distribution through the heat sink were investigated, and the boundary conditions and fluid characteristics for investigation of wind effect are listed in Table 2.

Table 2 Parameters calculation problem along with the initial conditions

Validation

For each numerical method, the validation of the solved problem is of crucial importance. For this purpose, the obtained results were compared with the reference papers (Fig. 5) and the two conditions involving 850 and 1100 W m−2 were validated. As shown in the Table 3, the maximum error for two aforementioned conditions of heat flux was 10.56%.

Figure 5
figure 5

Validation of the temperature parameter for two modes with reference paper [20]

Table 3 Comparison of obtained values from numerical analysis and reference paper for different modes with error rate

Mesh study and boundary conditions

In any numerical investigation, the study of the applied mesh is highly important in the parametric solution. As the calculations are conducted on the computational mesh, the accuracy of the mesh, as well as its parameters, should be investigated for each numerical study. According to the below figure, the mesh was investigated for all four states and the solution parameters were separately calculated and plotted for all the mesh formation states, and Fig. 6 indicates the independence of the mesh for all four models. The problem conditions, as well as the applied boundary conditions, are summarized in Table 4.

Figure 6
figure 6

Independence graphs of the grid for all four geometry states examined

Table 4 Boundary condition

Moreover, the details of the problem solving along with the fluid models are presented. In this study, ICEM software was used for mesh generation on the models and ANSYS fluent was used as solver. MATLAB software was also used for geometrical optimization and optimization loop.

In Table 5, the solving details are observed for both geometric optimization and wind effects.

Table 5 Solving details

Geometrical optimization

This study employed the genetic algorithm for geometrical optimization based on the Nusselt number. Figure 7 shows the optimization based on the response surface methodology (RSM) method [21,22,23]. For each geometry, the geometrical optimization parameters are defined in ten separate states. For the numerical analysis, the mesh production process and validation were also conducted as shown in the figure. In this optimization, the objective function was maximum Nusselt number and lowest pressure drop.

Figure 7
figure 7

Geometric optimization algorithm by considering RSM method

Results and discussion

Cooling of the photovoltaic panels will prolong their lifetime and increase their efficiency. Furthermore, regarding the radiation and temperature conditions of the studied area, cooling of the electricity production panels is of crucial importance. In general, as mentioned in Introduction section, the cooling methods are divided into natural and force convection. In the natural convection, heat sink, phase transition materials, and fins are important. Regarding the high temperature of the study area, the application of these methods cannot result in proper cooling. Blowing and fluid cooling are among the force convection. In this research, a combination of the natural and force convection was applied to enhance the cooling of the solar panel. The creation of fluid circulation tracts throughout the solar panel with the best fluid temperature distribution and lowest pressure drop was the reason for the application of the genetic algorithm in the cooling system. As shown in Fig. 3, the lower plane of the solar panel acted as the heat source with the maximum heat flux of 1000 W m−2. Hybrid cooling system (fluid–heat sink) was precisely designed to increase the heat transfer. For instance, the minimum allowed a distance of the fluid system from the hot plate and standard distances from the sides, as well as the maximum possible fluid-hot plate contact area, were considered. The cold fluid flow starts to get hot by entering into the heat sink. The warming rate depends on the input fluid velocity, tract shape, and fluid properties. As the water was used as the fluid, the geometrical shape of the tract and the diffusion pattern are of crucial importance (Fig. 8) indicates the final results of the optimization algorithm for the tract geometry in four studied states. These results were obtained based on an analysis of 40 different geometrical shapes for each state. As depicted in Fig. 8 which shows the best state of each model, the fluid distribution in the cooling tracts significantly affected the thermal performance. It was also observed that the input Re could also influence the cooling performance. The fluid temperature distribution showed an apparent direct relationship with the velocity distribution. This can be further elucidated by investigation of the hot plane temperature distribution.

Figure 8
figure 8

Distribution of temperature for the fluid zone in four models of cooling system

As shown in Fig. 9, models 1 and 3 showed more thermal uniformity compared to the other models. It was also indicated that for low input velocities, model 3 has more uniform temperature distribution. The important point in comparison with models 1 and 3 is that due to the high fluid velocity in model 1, temperature gradient increased by the Re number enhancement. This is not favorable for cooling. The optimal condition for a cooling system is the uniform reduction or increase in temperature throughout the fluid. Considering the mean fluid velocity in the cooling tract, model 3 will be a better choice for the cooling tract. The lower the slope of the line, the better the temperature distribution in the cooling track will be.

Figure 9
figure 9

Temperature distribution for the plate connected to the photovoltaic panel

To compare the temperature distribution in the cooling tracts of all four proposed models, the dimensionless parameter of temperature uniformity is plotted versus the input Re in Fig. 10. Results showed that model 3 possessed a more uniform temperature distribution in comparison with other models. As mentioned before, uniform distribution of the temperature is a function of velocity distribution. The lower the velocity gradient in the tracts, the higher the temperature distribution and hence the heat transfer to the fluid will be. Table 6 lists the mean dimensionless velocity and temperature for various Re numbers for all four states. The results showed the highest velocity relative to the input velocity for model 3. The criterion for investigation of the heat transfer from the hot surface to the fluid at the temperature of 40 °C without consideration of wind is Nusselt number.

Figure 10
figure 10

Non-dimensional temperature based on Reynolds number for various models of 1–4

Table 6 Dimensionless velocity and temperature for various Re numbers

The Nusselt number is shown as a function of Re number for different Nu numbers in Fig. 10. Based on the results, model 3 had higher Re numbers. Furthermore, as expected, by an increase of Re number, the heat transfer rate increased as well. Regarding the boundary condition at 40 °C for the heat sink fins and absence of wind, the proposed model had the highest Nusselt number according to its basic geometry. As mentioned before, the applied fluid is another effective parameter on the heat transfer. In the next section, by hanging the working fluid and boundary condition, the impacts of wind, nanofluid, and the volume fraction of the nanofluid (based on water) will be addressed (Figs. 1115).

Figure 11
figure 11

Nusselt number based on Reynolds number for various models of 1–4

Wind modeling

In the second part, the effect of nanofluid and its volume fraction (based on water) was investigated under windy conditions (3 m s−1). The problem is schematically illustrated in Fig. 12. The wind flow was really modeled, and its effect on the surface was not only considered. The presence of airflow at 40 °C with a velocity of 3 m s−1 will affect the thermal regime of the cooling fluid. As the cooling fluid enters with a temperature of 20 °C, the temperature distribution will be affected by the wind velocity and the environment temperature. The temperature repartition of the heat sink, hot surface, and cooling tracts is shown in Fig. 13. The results are presented for aluminum oxide and copper oxide nanofluids for two volume fractions. As the effect of Re number was studied in the previous section, in this section, the Re of the turbulent part was investigated. The important point in this analysis is the consideration of the temperature-dependent nanofluid conductivity for all the nanofluids. As the thermal properties depend on the nanofluid temperature, by writing the properties code, the conductivity coefficient was considered for each volume fraction based on the temperature. According to the properties presented in Table 2, aluminum oxide and copper oxide were compared with water-based fluid under similar boundary conditions. Contours in Fig. 13 show that the enhanced nanoparticles will enhance heat transfer. Moreover, the maximum temperature of the hot surface will be considerably decreased

Figure 12
figure 12

Graphic design of the boundary conditions used to model the wind around the cooling system

Figure 13
figure 13figure 13

Temperature distribution for a heat sink, b coolant flow, and c heat absorber plate from photovoltaic panel for thermal flux 1000 W m−2

As depicted in Fig. 13 a, the addition of nanofluid reduced the temperature of the heat sink fins. The conventional fluids used for heat transfer have low thermal conductivity; while the thermal conductivity of the metals is threefold higher; therefore, application of the solid metal particles and their combination with these fluids can increase the thermal conductivity and hence enhance the thermal efficiency. Figure 14a represents the temperature distribution in the cooling fluid as a dimensionless parameter. According to the results, the addition of nanofluid will enhance the temperature gradient of the cooling fluid throughout its path. In other words, by increasing the nanoparticle’s content, the fluid temperature difference will be higher in comparison with the water. Furthermore, 5 vol% of copper oxide induced higher heat transfer from the hot surface to the cooling fluid. This will be more evident by investigation of the heat sink temperature. Figure 14b shows the dimensionless temperature of the heat sink. Clearly, the application of nanofluid caused a higher gradient in comparison with the water. In a solar panel, the lower part experiences a constant heat flux.

Figure 14
figure 14

Dimensionless number of temperature distribution for different nanofluids in fluid zone (a) and heat sink zone (b)

Figure 15 presents the Nu number as a function of dimensionless length for two different Re numbers. Based on the results, an increase in the Re number increased the volume fraction from 3 to 5 vol%. Moreover, copper oxide nanofluid had a higher Nusselt number in both Re numbers.

Figure 15
figure 15

Nusselt number

Conclusions

In this study, using the optimization method for the internal structure of the cooling duct of the hybrid cooling system, we examined the optimum flow of intra-duct flow. In the next step, using a nanofluid, in a different volume fraction, we studied the variable and temperature properties effect on the nanofluid. In this study, RSM method is used for optimization. The result has shown that using the RSM method to help optimize the genetic algorithm improves the thermal efficiency of the fluid cooling network.

  1. 1.

    Based on the results of using the optimal method, the Nusselt number increases by 13% relative to the optimized model. Also, model 3 ultimately shows an 8% increase in Nusselt number compared to other models.

  2. 2.

    The results clearly revealed that the use of a fluid and heat sink combination network would cause more uniform temperature in the entire panel. Uniform temperature distribution causes no temperature gradient in the panel.

  3. 3.

    The results indicate that nanofluid copper oxide, with a volume fraction of 5%, causes the highest heat transfer rate.

  4. 4.

    Also, the results showed that by increasing Re number, the volume fraction of copper oxide is optimized from 3 to 5%. In other words, increasing Re number of flows, the volume fraction is 5% more Nusselt number

  5. 5.

    The result indicates that nanofluid can increase heat transfer in all type, but it recommended to use 5% of volume fraction in high Re number.

  6. 6.

    The result has shown that windy conditions cannot be used as a cooling parameter. The concept of cooling with optimizing geometry and nanofluid can provide reliable and constant PV temperature.