EconPapers    
Economics at your fingertips  
 

Radiation View Factor for Building Applications: Comparison of Computation Environments

Marzia Alam, Mehreen Saleem Gul and Tariq Muneer
Additional contact information
Marzia Alam: School of Energy, Geoscience, Infrastructure and Society, Heriot-Watt University, Boundary Rd N, Edinburgh EH14 4AS, UK
Mehreen Saleem Gul: School of Energy, Geoscience, Infrastructure and Society, Heriot-Watt University, Boundary Rd N, Edinburgh EH14 4AS, UK
Tariq Muneer: School of Engineering and The Built Environment, Edinburgh Napier University, 10 Colinton Rd, Edinburgh EH10 5DT, UK

Energies, 2019, vol. 12, issue 20, 1-14

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.

Keywords: building energy exchange; view factor; Python programming language; bifacial solar photovoltaic (PV) (search for similar items in EconPapers)
JEL-codes: Q Q0 Q4 Q40 Q41 Q42 Q43 Q47 Q48 Q49 (search for similar items in EconPapers)
Date: 2019
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/1996-1073/12/20/3826/pdf (application/pdf)
https://www.mdpi.com/1996-1073/12/20/3826/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jeners:v:12:y:2019:i:20:p:3826-:d:274865

Access Statistics for this article

Energies is currently edited by Ms. Agatha Cao

More articles in Energies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jeners:v:12:y:2019:i:20:p:3826-:d:274865