Next Article in Journal
PMSM Vector Control Strategy Based on Active Disturbance Rejection Controller
Next Article in Special Issue
Analysis of the Jeju Island Power System with an Offshore Wind Farm Applied to a Diode Rectifier HVDC
Previous Article in Journal
Countrywide Mobile Spectrum Sharing with Small Indoor Cells for Massive Spectral and Energy Efficiencies in 5G and Beyond Mobile Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Radiation View Factor for Building Applications: Comparison of Computation Environments

1
School of Energy, Geoscience, Infrastructure and Society, Heriot-Watt University, Boundary Rd N, Edinburgh EH14 4AS, UK
2
School of Engineering and The Built Environment, Edinburgh Napier University, 10 Colinton Rd, Edinburgh EH10 5DT, UK
*
Author to whom correspondence should be addressed.
Energies 2019, 12(20), 3826; https://doi.org/10.3390/en12203826
Submission received: 24 September 2019 / Revised: 1 October 2019 / Accepted: 8 October 2019 / Published: 10 October 2019

Abstract

:
Computation of view factors is required in several building engineering applications where radiative exchange takes place between surfaces such as ground and vertical walls or ground and sloping thermal or photovoltaics collectors. In this paper, view factor computations are performed for bifacial solar photovoltaic (PV) collectors based on the finite element method (FEM) using two programming languages known as Microsoft Excel-Visual Basic for Applications (VBA) and Python. The aim is to determine the computer response time as well as the performance of the two languages in terms of accuracy and convergence of the numerical solution. To run the simulations in Python, an open source just-in-time (JIT) compiler called Numba was used and the same program was also run as a macro in VBA. It was observed that the simulation response time significantly decreased in Python when compared to VBA. This decrease in time was due to the increase in the total number of iterations from 400 million to 250 billion for a given case. Results demonstrated that Python was 71–180 times faster than VBA and, therefore, offers a better programming platform for the view factor analysis and modelling of bifacial solar PV where computation time is a significant modelling challenge.

1. Introduction

Buildings consume a great deal of energy to maintain comfortable conditions within their enclosures. The design of heating and cooling systems for buildings require a detailed assessment of the temperature of the constituting envelope. Thus, the temperature of the walls, roofs, floors, and glazing surfaces are required. Buildings within urban areas inevitably have radiative exchanges with other buildings, sky, and ground. Radiation heat transfer has many applications within the building services sector. Some of the building engineering applications of radiative exchange between surfaces are:
  • Ground and vertical walls or windows (Figure 1).
  • A light-pipe illuminating the floor or desk spaces (Figure 2).
  • Ground and sloping thermal or photovoltaic (PV) collectors.
  • Canyon space in densely populated urban areas with radiative exchange between parallel walls and/or windows.
  • Radiative exchange between orthogonal walls and/or windows.
  • Wet heating system’s radiator and indoor surface of the walls.
In all the above applications’ computation of the radiation view factor is required. There have been significant research studies related to energy transfer in building applications such as quantification of available façade areas for installation of building integrated solar PV [1], determination of solar heat gain for daylighting studies [2], theoretical modelling of the view factor to determine the diffused components of solar irradiance [3], and predictive simulation tool to determine the radiance value of a façade in the street canyon [4].
In this article, we have considered the radiative energy exchange of solar photovoltaic collectors such as bifacial solar photovoltaics (PV), which is gaining popularity both for the field level and rooftop building applications [5]. It is a promising technology that increases the production of electricity per square meter of the PV module using light absorption from the albedo [6]. Bifacial solar cells simultaneously collect photons from incident and albedo radiation reaching both the front side and the back side of a solar module whereas traditional monofacial solar cells only collect photons reaching the front side of the device. Cuevas et al. [7] showed that an increase of 50% in electric power generation can be obtained by simultaneously collecting direct and albedo radiation from the rooftop and surroundings around a module. Consequently, it was established that bifacial solar cells can increase the power density of PV modules compared to mono-facial cells while reducing area-related costs for PV systems [8]. Currently, there are two main challenges this technology is facing, which are (1) a lack of an adequate simulation tool that can help understand how the rear side of the PV interact with the reflected sunlight and (2) how to make the technology bankable. The success of the technology will depend on how well the bifacial PV is understood to the research community. Therefore, it would be easier to make the technology commercially profitable. Hence, the need for developing a simulation tool to understand the energy yield of bifacial solar PV is inevitable. There are different simulation approaches to determine the ground reflected radiation that is incident upon tilted bifacial solar photovoltaics (PV) such as the view factor model, the ray tracing model, and empirical modelling [9]. There has been ongoing research by various scientific communities. For instance, National Renewable Energy Laboratory (NREL) in collaboration with Sandia National Laboratories have developed and compared the view factor model and the ray tracing model to evaluate the back-surface irradiance [10]. However, computation time remain an issue, which is still a modelling challenge that requires further investigation. Conceptually, the back-surface irradiance is composed of direct irradiance, structure reflected irradiance, sky diffused irradiance, and ground reflected irradiance. In this article, we have followed the view factor modelling-based approach to evaluate the radiative energy transfer between the ground (reflecting surface) and the bifacial solar PV (collecting surface).
The present research team had developed a computer code for view factor analysis using a finite-element grid, which can handle an irregular horizon [11]. The software was developed based on a numerical solution of the view factor integral within the Microsoft Excel-Visual Basic for Applications (VBA) environment considering mono-facial solar PV collectors as an example. However, in this work, an improved, simplified brute force algorithm is adopted to determine the view factor for uniform surfaces by utilizing the finite element method (FEM). FEM is one of the most powerful tools for analyzing energy exchange between surfaces. It can be applied for view factor (VF) evaluation. This method is very robust and, yet, it may require excessive computer time. For finite element analysis, the object-oriented computing environment is already proven to be efficient in various areas such as Structural Engineering [12], Chemical Engineering, and Mathematics. In this article, we have implemented the view factor (VF) code in VBA and the Python environment and have compared the computation speed of the simulations in both platforms.
Python is chosen because it has already been accepted by the research community for its ease of use and an open access user-friendly platform. Availability of the open source library has made it eligible for numerous scientific applications such as power systems [13], energy analysis [14] mathematics, and fluid dynamics [15]. VBA has also been deployed as a user-friendly tool in various applications such as in heat transfer, in solar PV applications [16,17], and in the field of agriculture. For example, a milk-producing dairy model was implemented in VBA to control the operation of the dairy farm, which has a significant benefit to the farmers and researchers in the field. However, it takes seven days to run the simulation [18]. Therefore, despite its effectiveness as a design tool, computation time has always been an issue for VBA [19] whereas Python, which is a high-level, benchmark programming language, can outperform VBA in terms of computation speed.
In this paper, we have compared the potentials of the simulation platform to develop the code further for bifacial solar PV collectors. Two simulation platforms are used to quantify the amount of ground reflected radiation received by the solar collectors. We focused on the modelling of computationally intensive view factor analysis between reflecting (ground) and collecting (bifacial solar PV) surface and determined the duration of simulation response time. The paper is organized as follows. The concept of view factor modelling is briefly discussed in Section 2. Section 3 provides the overview of the simulation model. The computation performance of two simulation platforms, Python and Microsoft Excel-Visual Basic for Applications (VBA), is demonstrated in Section 4. We have presented an application related to generation of solar PV electricity and its enhancement by using reflective films placed near the horizon of PV modules. The object is to obtain a numerical procedure for the radiative exchange between the foreground and PV modules. The technique can be applied to a bifacial solar PV cell, which is an emerging technology. The novelty of this work is that we have provided quantitative data that demonstrates faster convergence and accuracy offered by the Python software environment in the context of modelling bifacial solar PV’s energy yield where computation time is a significant modelling challenge. Lastly, the paper ends with concluding remarks in Section 5.

2. View Factor Modelling Concept

In our work, we simulated the mathematical model of the radiation view factor as a discrete model in the computing platform by applying finite element method. To understand the concept of view factor modelling, let us consider two rectangular surfaces A1 and A2 with surface dimensions a × b and c × b and Φ is the tilt angle between the surfaces (Figure 3a) and β = πΦ. In radiative heat transfer, the view factor can be defined as the proportion of irradiance, which leaves the emitting surface A2 and strikes the receiving/collector surfaces A1 denoted by FA2−A1. From the mathematical equation of the view factor [11], we may write:
F A 2 A 1 = 1 b c x 1 c y 1 b x 2 a y 2 b   x 1 x 2   s i n 2 β π [ x 1 2 + x 2 2 + 2 x 1 x 2   c o s β + ( y 1 y 2 ) 2 ] 2   d y 2 d x 2 d y 1 d x 1 .
In the present work, Equation (1) has been used to compute the view factor for different geometries of the receiving (solar collectors) and reflecting (ground) surface, which share a common edge. Both the emitting and receiving surfaces are considered as uniform grids where all the cells within the surface are of the same dimensions and aspect ratios (Figure 3b). The tilt angle between the two surfaces varied from 30°–150°. The height of the receiving and emitting surface is denoted by ‘a’ and ‘c’, respectively, and the common edge length is denoted by ‘b’.
One of the approaches to examine the solution of the discrete model is to observe the convergence of the computed solution toward the analytical solution (if it exists) of the mathematical model. This approach is known as verification. For our paper, the analytical solution provided by Feingold [20] is considered as the benchmark solution for the purpose of verification. However, any physical model when interpreted by a discrete model, the solution error, or computation error is an important phenomenon that needs to be properly understood. For a uniform grid, the difference between the analytical solution and the computed solution represents the error. In this case, we have set up the finite element procedure to solve the problem repeatedly with uniform meshes designed to determine the view factor and the error.
There are different adaptive finite element techniques available to estimate the error such as local refinement or h-refinement, relocating or r-refinement, and locally varying the polynomial degree known as p-refinement. For the purpose of verification of our model, an h-adaptive refinement technique is applied where the h denotes the element size or resolution of the grid, which we used to control the error. Decreasing h leads to reduction of the error. As h approaches zero, the numerical solution converges toward its analytical value. The error can be derived from Equation (2) where error (Er) is a function of element size hi. VFex represents the analytical value of the view factor and VFhi is the simulated value of the view factor at element size hi. C is an unknown constant with the leading term hi β and exponent β is the rate of convergence [21].
lim h i = 1 , 2 , 3 , 4 . .   0 E r ( h i ) = V F e x V F h i C h i β   f o r   β > 0
If the condition h 1 h 2 = h 2 h 3 holds, Equation (2) can be further derived as:
V F e x V F h 1 V F e x V F h 2 = h 1 β h 2 β   a n d   V F e x V F h 2 V F e x V F h 3 = h 2 β h 3 β
The element size determines the number of iterations the simulation must run. The parameters considered for view factor models are presented in Table 1 below.

3. Overview of the Simulation Model

The numerical view factor model has been executed both in Python and VBA environments. The simulation utilizes one of the most efficient Python libraries for numerically intensive computing named Numba, which can be loaded by a program as the CPython interpreter. The code is written based on Numba just-in-time (JIT) compiler, which creates a specialized loop in the machine code. The just-in-time or @ JIT is a decorator that is utilized as a function. When this function is called, the decorator analyzes the argument and creates a specialized version of the function [22]. This code is run on the ‘nopython’ mode, which compiles the code without accessing the Python C-API (application program interface). Python version 3.7 with Spyder integrated development environment (IDE) is used for the simulation. On the other hand, VBA adopts the run time library of the Visual Basic, which is compiled in a Microsoft packet code and the MS-Excel works as a host application that saves the code in a separate file such as .xlsx or .xlsm. A machine hosted by Excel run the intermediate code and the data is saved in a text file in XML format, which is readable by the user [23]. The simulations were run on Intel® Core ™ i7-7500U CPU @ 2.7 GHz-2.9 GHz Laptop.
Python and VBA both used a Microsoft Excel worksheet as an input and output file. The user can enter the input parameters, run the simulation, and calculate the simulation response time as well as observe the output, which is saved in an Excel file. Different simulation parameters can be set such as the length and height of the surfaces. For example, referred to Figure 3b, the angle between two surfaces sharing one common edge can be selected and varied for the same element size, hi. The simulations were run at different resolutions of the element size defined as the iteration step in the program, which is varied as: h1 = 0.01 m, h2 = 0.008 m, h3 = 0.004 m, and h4 = 0.002 m. This iteration step defines the number of iterations the simulation needs to run, which can be calculated from Equation (4).
I t e r a t i o n   s i z e = c h i × b h i × a h i × b h i
Thus, iteration ranges of the simulations vary from 4.00 × 108 to 2.50 × 1011. In this study, a brute force problem-solving approach is applied within a mathematical equation of the view factor (given by Equation (1) in Section 3), which aims to check all the possible interactions between the surfaces using four nested loops bounded by the surface dimensions [24]. The program flow chart is presented in Figure 4.

4. Results and Discussion

The view factor simulation outputs are examined from different approaches, as explained below.
  • The simulated view factor output is tested at different computation angles between collectors and reflective surfaces to verify the numerical model with the existing analytical solution.
  • The reduction in the percentage (%) error of the view factor output is evaluated with an increasing number of iterations. An accuracy versus computation time dependency is shown in Section 4.2.
  • Followed by Section 4.2, the convergence rate of the simulated output to the actual output is examined to determine the type of convergence (linear/quadratic/cubic).
  • Next, the computation time versus the number of iterations are tested for specific surface dimensions to compare the improvement of the simulation response time in Python over VBA.
  • Lastly, computation time variations with different surface dimensions are determined. Detailed results and analysis are discussed in the following sections. All simulations parameters and outputs are referred to Appendix A.

4.1. View Factor at Different Computation Angles Between Two Surfaces

This section attempts to verify the proposed view factor model at different tilt angles between the surfaces. The simulated results show a minor deviation from the existing analytical solutions. It has been observed that view factors are considerably influenced by the angle between the surfaces, as illustrated in Figure 5. Keeping the dimensions and iteration size constant, as the angle between two surface increases, a significant decrease in the view factor from a 0.51 maximum value (for this study) to the minimum value of 0.015 is observed. Parameters for this analysis are presented in Table 2 below.
Table 2 illustrates that, for element size hi = 0.01 m, the percentage error varies from a minimum 1.4% to a maximum 3.1% depending on the value of angle Φ. The iteration size for this simulation is set to 4.0 × 108. The next section presents, how this error can be further reduced by decreasing the element size hi, which, in turn, increases the number of iterations.

4.2. Accuracy Versus the Number of Iterations

The accuracy of the view factor output significantly increased with the number of iterations the simulation runs, which can be seen in Figure 6. Both Python and VBA achieved the same level of accuracy. For surface dimensions: a = 2 m, b = 1 m, c = 2 m, and Φ = 120°, the computation accuracy is 97% with 4.0 × 108 iterations. The numerical results approached the analytical solution at a maximum accuracy of 99.4% for 2.5 × 1011 iterations. To gain this, the iteration size is to be increased by a factor of 625. The simulation parameters for this study are outlined in Table 3 below.

4.3. Convergence to an Analytical Solution

The convergence performance of the view factor simulation to the analytical solutions are studied by comparing the output between the highest: a = 2 m, b = 1 m, c = 2 m, Φ = 120° and the lowest: a = 0.4 m, b = 1 m and c = 0.4 m, Φ = 120° surface dimensions. For the same number of iterations, maximum accuracy achieved for Figure 7a was up to 99.4% whereas, for Figure 7b, the accuracy was 98.79%. Comparing both simulation responses, it can be inferred that, to reach the same level of convergence, the element size needs to be further reduced for surface dimensions: a = 0.4 m, b = 1 m, and c = 0.4 m; Φ = 120°. In addition, the convergence type of the model is found to be linear with the β value of approximately 1. The rate of convergence is derived from Equation (3) considering the element size of 0.004 m and 0.002 m. Table 4 summarizes the results.

4.4. Computation Time versus Number of Iterations

The preceding sections have shown, although both Python and VBA gained the same accuracy with an increasing number of iterations, VBA simulation took more time than Python to reach the same level of accuracy. Figure 8 presents the computation time in seconds for both programs. We see that Python took 3.52 s to run 4.0 × 108 iterations whereas VBA required 454 s. For all other iterations, Python outperformed VBA in terms of computation speed, and it was about 129–180 times faster than VBA. Simulation parameters for these computations can be found in Table 5.

4.5. Computation Time for Different Surface Dimensions

The view factor simulation response time increased with the increasing length and height of surface dimensions. Table 6 summarizes results of computation time variations among different surface dimensions. The results show, in VBA, the lowest computation time is 24 s for the surface dimensions: a = 0.4 m, b = 1 m, and c = 0.4 m. This computation time increased by a factor of 19 for the maximum dimension considered in the simulation: a = 2 m, b = 1 m, and c = 2 m. Nevertheless, Python appears to be 71–129 times faster than VBA at a varying surface length and height.
A finite element computation of the view factor is a time critical application. The present view factor model offers a quantitative computational advantage, i.e., grid surface non-uniformity can be handled quite easily. Other advantages offered by this work are: (a) the view factor code is much faster for geometries encountered in most solar energy and building energy exchange applications, and (b) the view factor approach allows for much shorter computation time, particularly if handled in the Python environment. Note that implementation of other alternative method for instance, ray tracing as a modelling tool is more complex compared to the view factor concept.
The computing performance not only depends on the type of computer used but also on the simulation algorithm and its implementation platform, i.e., programming language. Though short response time is one of the benchmark criteria of the performance efficiency, there are additional performance matrixes, which can be achieved with fast computation speed. These include high throughput, minimum utilization of resources [25], higher reliability [26], low power consumption, scalability, and opportunity of performance tuning. For our study, one downside of VBA was that it took about five consecutive days to run 250 billion iterations, which can have substantial damage on computer health. Moreover, utilization of computer resources has been very high, which required lots of power consumption. In addition to this, the scope of performance tuning in VBA is also limited, which reduces the scalability of the number of iterations the simulation can run. In all these aspects, Python can outperform VBA, which make it a suitable option for present day scientific and numeric computing. The existing work demonstrates the benefits of using Python for view factor analysis for solar PV applications, which is an improvement over our previous work where we used VBA for such an analysis.

5. Conclusions

In this paper, we have computed the value of the radiation view factor to determine the reflected solar irradiance reaching the rear side of the bifacial solar PV. We have verified the results with the existing analytical solutions. In this scenario, we focus on the computing performance to examine the improvement in computation speed of Python as compared to VBA. It has been shown that, Python can be used more effectively than VBA for radiation view factor analysis between two surfaces. With the utilization of an appropriate mathematical library, computation time was significantly reduced by 71–180 times for Python when compared with VBA. This improvement in computation speed not only saves time, but also provides an optimized design tool for the research. An important finding of the view factor simulation is that, as the element size of the finite element grid decreased, the computed output converged to the analytical view factor value. Thus, the simulation accuracy could be achieved up to 99.4% for the maximum number of iterations considered for this paper, i.e., 250 billion and the response time of the simulation in Python and VBA was 1628.51 s and 292,714 s, respectively. The application presently considered in this article are for relatively small areas of the reflecting and the receiving surfaces. In an actual industrial environment where the designer will deal with multi-gigawatt solar PV farms, that may employ enhanced reflections near the horizon. In that case, to model such large-scale systems, the number of iterations the computer simulations have to run will increase to the order of a few quadrillion or more. Therefore, the importance of faster code written in a computation environment such as Python will be of great benefit to the PV system designers. Hence, it is concluded that, Python can be utilized as a reliable simulation tool to develop the code further for bifacial solar PV research.

Author Contributions

Conceptualization: T.M., M.S.G., and M.A. Methodology: M.A., T.M., and M.S.G. Formal analysis: M.S.G., T.M., and M.A. Coding: T.M., M.A. Resources: T.M., M.S.G., and M.A. Data curation: M.A., T.M., and M.S.G. Writing—original draft preparation: M.A., M.S.G., and T.M. Writing—review and editing: T.M., M.S.G., and M.A. Supervision: M.S.G. and T.M.

Funding

This project is being run in collaboration with four partners: Energy Technology Partnership (ETP-Project 161) Scotland, Wood Group-Clean Energy, Heriot-Watt University and Edinburgh Napier University, UK.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. View Factor Calculation Tables at Different Element Sizes

Table A1. View factor simulation data for element size hi = 0.01 m.
Table A1. View factor simulation data for element size hi = 0.01 m.
a (m)b (m)c (m)Φ (°)IterationAnalytical VFSimulated VFError (%)Time_VBA (s)Time_Python (s)
212304.0 × 1080.5213080.5138491.44152.77
212604.0 × 1080.2882740.2816502.34102.75
212904.0 × 1080.1493000.1452922.74082.87
2121204.0 × 1080.0632480.0613723.04542.74
2121504.0 × 1080.0154150.0149373.14102.80
111901.0 × 1080.2000440.1935293.31430.87
0.410.41201.6 × 1070.1115120.1048915.9240.34
1111201.0 × 1080.0876150.0834813.6 2220.92
0.610.41202.4 × 1070.1282690.1214365.3430.45
0.410.61202.4 × 1070.0855120.0809575.3430.41
0.410.6302.4 × 1070.5184070.5082342.0440.38
0.610.4302.4 × 1070.7776100.7623512.0350.39
Table A2. View factor simulation data for element size hi = 0.008 m.
Table A2. View factor simulation data for element size hi = 0.008 m.
a (m)b (m)c (m)Φ (°)IterationAnalytical VFSimulated VFError (%)Time_VBA (s)Time_Python (s)
212309.76 × 1080.5213080.5153321.17797.98
212609.76 × 1080.2882740.2829651.87807.35
212909.76 × 1080.1493000.1460862.28917.67
2121209.76 × 1080.0632480.0617432.47737.35
2121509.76 × 1080.0154150.0150262.57907.40
111902.44 × 1080.2000440.1948182.64281.98
0.410.41203.96 × 1070.1115120.1061924.8550.48
1111202.44 × 1080.0876150.0840992.94291.95
0.610.41205.86 × 1070.1282690.1227814.3900.61
0.410.61205.86 × 1070.0855120.0818544.3910.61
0.410.6305.86 × 1070.5184070.5102421.6920.60
0.610.4305.86 × 1070.7776100.7653631.6771.17
Table A3. View factor for element size hi = 0.004 m.
Table A3. View factor for element size hi = 0.004 m.
a (m)b (m)c (m)Φ (°)IterationAnalytical VFSimulated VFError (%)Time_VBA (s)Time_Python (s)
212301.56 × 10100.5213080.5183100.5818971111.14
212601.56 × 10100.2882740.2856090.9217010110.85
212901.56 × 10100.1493000.1476851.0814997110.8
2121201.56 × 10100.0632480.0624911.2019407110.78
2121501.56 × 10100.0154150.0152191.2717493110.79
111903.90 × 1090.2000440.1974151.31718027.74
0.410.41206.25 × 1080.1115120.1088282.4111204.55
1111203.90 × 1090.0876150.0853481.46464927.74
0.610.41209.37 × 1080.1282690.1255022.167376.66
0.410.61209.37 × 1080.0855120.0836682.167386.71
0.410.6309.37 × 1080.5184070.5142960.797516.65
0.610.4309.37 × 1080.7776100.7714440.798186.71
Table A4. View factor for element size hi = 0.002 m.
Table A4. View factor for element size hi = 0.002 m.
a (m)b (m)c (m)Φ (°)IterationAnalytical VFSimulated VFError (%)Time_VBA (s)Time_Python (s)
212302.50 × 10110.5213080.5198060.283220991732.83
212602.50 × 10110.2882740.2869390.462574841726.24
212902.50 × 10110.1493000.1484900.542707881632.94
2121202.50 × 10110.0632480.0628680.592927141628.51
2121502.50 × 10110.0154150.0153170.633093161627.28
111906.25 × 10100.2000440.1987250.6574904405.54
0.410.41201.10 × 10100.1115120.1101641.202399065.5
1111206.25 × 10100.0876150.0859790.7378338407.8
0.610.41201.50 × 10100.1282690.1268791.0873302103.16
0.410.61201.50 × 10100.0855120.0845861.08270983102.52
0.410.6301.50 × 10100.5184070.5163430.3945392103.33
0.610.4301.50 × 10100.7776100.7745150.3931975103.42

References

  1. Costanzo, V.; Yao, R.; Essah, E.; Shao, L.; Shahrestani, M.; Oliveira, A.C.; Araz, M.; Hepbasli, A.; Biyik, E. A Method of Strategic Evaluation of Energy Performance of Building Integrated Photovoltaic in the Urban Context. J. Clean. Prod. 2018, 184, 82–91. [Google Scholar] [CrossRef]
  2. Zheng, C.; Wu, P.; Costanzo, V.; Wang, Y.; Yang, X. Establishment and Verification of Solar Radiation Calculation Model of Glass Daylighting Roof in Hot Summer and Warm Winter Zone in China. Procedia Eng. 2017, 205, 2903–2909. [Google Scholar] [CrossRef]
  3. Maor, T.; Appelbaum, J. View Factors of Photovoltaic Collector Systems. Sol. Energy 2012, 86, 1701–1708. [Google Scholar] [CrossRef]
  4. Rubio-Bellido, C.; Pulido-Arcas, J.A.; Sánchez-Montañés, B. A Simplified Simulation Model for Predicting Radiative Transfer in Long Street Canyons under High Solar Radiation Conditions. Energies 2015, 8, 13540–13558. [Google Scholar] [CrossRef] [Green Version]
  5. Cha, H.L.; Bhang, B.G.; Park, S.Y.; Choi, J.H.; Ahn, H.K. Power Prediction of Bifacial Si PV Module with Different Reflection Conditions on Rooftop. Appl. Sci. 2018, 8, 1752. [Google Scholar] [CrossRef]
  6. Guerrero-Lemus, R.; Vega, R.; Kim, T.; Kimm, A.; Shephard, L.E. Bifacial Solar Photovoltaics—A Technology Review. Renew. Sustain. Energy Rev. 2016, 60, 1533–1549. [Google Scholar] [CrossRef]
  7. Cuevas, A.; Luque, A.; Eguren, J.; del Alamo, J. 50 Per Cent More Output Power from an Albedo-Collecting Flat Panel Using Bifacial Solar Cells. Sol. Energy 1982, 29, 419–420. [Google Scholar] [CrossRef]
  8. Kreinin, L.; Bordin, N.; Karsenty, A.; Drori, A.; Eisenberg, N. Experimental Analysis of the Increases in Energy Generation of Bifacial over Mono-Facial PV Modules. In Proceedings of the 26th Europe Photovoltaic Solar Energy Conference Exhibition, Hambourg, Genmany, 5–9 September 2011; pp. 3140–3143. [Google Scholar]
  9. Shoukry, I.; Berrian, D.; Libal, J.; Haffner, F. Simulation Models for Energy Yield Prediction of Bifacial Systems. In Bifacial Photovoltaics: Technology, Applications and Economics; Institution of Engineering and Technology (IET): Stevenage, UK, 2018. [Google Scholar] [CrossRef]
  10. Hansen, C.W.; Stein, J.S.; Deline, C.; Macalpine, S.; Marion, B.; Asgharzadeh, A.; Toor, F. Analysis of Irradiance Models for Bifacial PV Modules. In Proceedings of the 2017 IEEE 44th Photovoltaic Specialist Conference, PVSC, Washington, DC, USA, 25–30 June 2017. [Google Scholar] [CrossRef]
  11. Muneer, T.; Ivanova, S.; Kotak, Y.; Gul, M. Finite-Element View-Factor Computations for Radiant Energy Exchanges. J. Renew. Sustain. Energy 2015, 7, 033108. [Google Scholar] [CrossRef]
  12. Rypl, D.; Patzák, B. From the Finite Element Analysis to the Isogeometric Analysis in an Object-Oriented Computing Environment. Adv. Eng. Softw. 2012, 44, 116–125. [Google Scholar] [CrossRef]
  13. Milano, F. A Python-Based Software Tool for Power System Analysis. In Proceedings of the IEEE Power and Energy Society General Meeting, Vancouver, BC, Canada, 21–25 July 2013. [Google Scholar] [CrossRef]
  14. Zoder, M.; Balke, J.; Hofmann, M.; Tsatsaronis, G. Simulation and Exergy Analysis of Energy Conversion Processes Using a Free and Open-Source Framework—Python-Based Object-Oriented Programming for Gas- and Steam Turbine Cycles. Energies 2018, 11, 2609. [Google Scholar] [CrossRef]
  15. Vincent, P.; Witherden, F.D.; Farrington, A.M.; Ntemos, G.; Vermeire, B.C.; Park, J.S.; Iyer, A.S. PyFR: Next-Generation High-Order Computational Fluid Dynamics on Many-Core Hardware (Invited). In Proceedings of the 22nd AIAA Computational Fluid Dynamics Conference, Dallas, TX, USA, 22–26 June 2015. [Google Scholar] [CrossRef]
  16. Richardson, I.; Thomson, M. Integrated Simulation of Photovoltaic Micro-Generation and Domestic Electricity Demand: A One-Minute Resolution Open-Source Model. Proc. Inst. Mech. Eng. Part A J. Power Energy 2013. [Google Scholar] [CrossRef]
  17. Lo Brano, V.; Orioli, A.; Ciulla, G.; Di Gangi, A. An Improved Five-Parameter Model for Photovoltaic Modules. Sol. Energy Mater. Sol. Cells 2010, 94, 1358–1370. [Google Scholar] [CrossRef]
  18. Ahmadi, A.; Robinson, P.H.; Elizondo, F.; Chilibroste, P. Implementation of CTR Dairy Model Using the Visual Basic for Application Language of Microsoft Excel. Int. J. Agric. Environ. Inf. Syst. 2018, 9, 74–86. [Google Scholar] [CrossRef] [Green Version]
  19. Oxley, R.L.; Mays, L.W. Optimization-Simulation Model for Detention Basin System Design. Water Resour. Manag. 2014, 28, 1157–1171. [Google Scholar] [CrossRef]
  20. Feingold, A. Radiant-Interchange Configuration Factors Between Various Selected Plane Surfaces. Proc. R. Soc. Lond. A Math. Phys. Eng. Sci. 1966, 292, 51–60. [Google Scholar]
  21. Krysl, P. Finite Element Modelling with Abaqus and Python for Thermal and Stress Analysis, 1st ed.; Pressure Cooker Press: San Diego, CA, USA, 2017; pp. 189–198. [Google Scholar]
  22. Lam, S.K.; Pitrou, A.; Seibert, S. Numba: A LLVM-Based Python JIT Compiler. In Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC-LLVM’15, Austin, TX, USA, 15 November 2015. [Google Scholar] [CrossRef]
  23. Alexander, M.; Kusleika, D. Excel® 2019 Power Programming with VBA; Wiley: Hoboken, NJ, USA, 2019. [Google Scholar] [CrossRef]
  24. Parlier, G.; Guéguen, H.; Hu, F. Smart Brute-Force Approach for Distribution Feeder Reconfiguration Problem. Electr. Power Syst. Res. 2019, 174. [Google Scholar] [CrossRef]
  25. Mangan, T. White paper on Perceived Performance–Tuning a System for What Really Matters; T Murgent Technologies: Canton, MA, USA, 2003. [Google Scholar]
  26. Lilja, D.J. Measuring Computer Performance-A Practitioners Guide, 1st ed.; Cambridge University Press: Cambridge, UK, 2008. [Google Scholar]
Figure 1. Ground and vertical walls or windows.
Figure 1. Ground and vertical walls or windows.
Energies 12 03826 g001
Figure 2. A light-pipe illuminating floor or desk spaces.
Figure 2. A light-pipe illuminating floor or desk spaces.
Energies 12 03826 g002
Figure 3. Radiation view factor analysis: (a) Two rectangles with one common edge and (b) the reflecting and receiving surface with uniform grids [11].
Figure 3. Radiation view factor analysis: (a) Two rectangles with one common edge and (b) the reflecting and receiving surface with uniform grids [11].
Energies 12 03826 g003
Figure 4. Flow chart of the simulation model.
Figure 4. Flow chart of the simulation model.
Energies 12 03826 g004
Figure 5. View factor at different angles between surfaces for a = 2 m, b = 1 m, and c = 1 m, and hi = 0.01 m.
Figure 5. View factor at different angles between surfaces for a = 2 m, b = 1 m, and c = 1 m, and hi = 0.01 m.
Energies 12 03826 g005
Figure 6. Accuracy versus the number of iterations for a = 2 m, b = 1 m and c = 2 m and Φ = 120°.
Figure 6. Accuracy versus the number of iterations for a = 2 m, b = 1 m and c = 2 m and Φ = 120°.
Energies 12 03826 g006
Figure 7. (a). Convergence to an analytical solution for a = 2 m, b = 1 m, c = 2 m, and Φ = 120°. (b). Convergence to an analytical solution for a = 0.4 m, b = 1 m, c = 0.4 m, and Φ = 120°.
Figure 7. (a). Convergence to an analytical solution for a = 2 m, b = 1 m, c = 2 m, and Φ = 120°. (b). Convergence to an analytical solution for a = 0.4 m, b = 1 m, c = 0.4 m, and Φ = 120°.
Energies 12 03826 g007
Figure 8. Computation time versus the number of iterations for a = 2 m, b = 1 m, and c = 1 m and Φ = 120°.
Figure 8. Computation time versus the number of iterations for a = 2 m, b = 1 m, and c = 1 m and Φ = 120°.
Energies 12 03826 g008
Table 1. View factor modeling parameters.
Table 1. View factor modeling parameters.
Surface Dimensions (m)Element Size hi (m)Φ (°)
a = 2 m, b = 1 m, c = 2 m0.0130
a = 1 m, b = 1 m, c = 1 m0.00860
a = 0.6 m, b = 1 m, c = 0.4 m0.00490
a = 0.4 m, b = 1 m, c = 0.6 m0.002120
a = 0.4 m, b = 0.4 m, c = 0.4 m----150
Table 2. View factor simulation parameters for element size hi = 0.01 m and number of iterations = 4.0 × 108.
Table 2. View factor simulation parameters for element size hi = 0.01 m and number of iterations = 4.0 × 108.
a (m)b (m)c (m)Element Size hi (m)Φ (°)Analytical VFSimulated VFError (%)
2120.01300.5213080.5138491.4
2120.01600.2882740.2816502.3
2120.01900.1493000.1452922.7
2120.011200.0632480.0613723.0
2120.011500.0154150.0149373.1
Table 3. View factor simulation parameters at various element sizes.
Table 3. View factor simulation parameters at various element sizes.
a (m)b (m)c (m)Φ (°)Element Size, hi (m)Analytical VF Simulated VF Error (%)
2121200.010.0632480.0613723.0
2121200.0080.0632480.0617432.4
2121200.0040.0632480.0624911.2
2121200.0020.0632480.0628680.59
Table 4. Convergence of the view factor output.
Table 4. Convergence of the view factor output.
Surface Dimension (m)Analytical VFSimulated VF
hi = 0.004 m
Simulated VF
hi = 0.002 m
Convergence Rate (β)
a = 0.4, b = 1, c=0.40.1115120.1088280.1101640.993564
a = 0.4, b = 1, c = 0.60.0855120.0836680.0845860.993755
a = 0.6, b = 1, c = 0.40.1282690.1255020.1268790.993238
a = 1, b = 1, c = 10.0866150.0853480.0859790.994318
a = 2, b = 1, c = 20.063248 0.0624910.0628680.994294
Table 5. Simulation parameters for computation time at different element sizes.
Table 5. Simulation parameters for computation time at different element sizes.
a (m)b (m)c (m)Φ (°)Element Size hi (m)
2121200.01
2121200.008
2121200.004
2121200.002
Table 6. Computation time at different surface lengths and heights for Φ = 120° and hi = 0.01 m.
Table 6. Computation time at different surface lengths and heights for Φ = 120° and hi = 0.01 m.
Surface Dimension (m)Element Size (m) Analytical VFSimulated VFTime_Python (s)Time_VBA (s)
a = 0.4, b = 1, c = 0.40.010.1115120.1048910.3424
a = 0.4, b = 1, c = 0.60.010.0855120.0809570.4143
a = 0.6, b = 1, c = 0.40.010.1282690.1214360.4543
a = 1, b = 1, c = 10.010.0876150.0834810.92222
a = 2, b = 1, c = 20.01 0.063248 0.0613723.52454

Share and Cite

MDPI and ACS Style

Alam, M.; Gul, M.S.; Muneer, T. Radiation View Factor for Building Applications: Comparison of Computation Environments. Energies 2019, 12, 3826. https://doi.org/10.3390/en12203826

AMA Style

Alam M, Gul MS, Muneer T. Radiation View Factor for Building Applications: Comparison of Computation Environments. Energies. 2019; 12(20):3826. https://doi.org/10.3390/en12203826

Chicago/Turabian Style

Alam, Marzia, Mehreen Saleem Gul, and Tariq Muneer. 2019. "Radiation View Factor for Building Applications: Comparison of Computation Environments" Energies 12, no. 20: 3826. https://doi.org/10.3390/en12203826

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop