Next Article in Journal
PMSM Vector Control Strategy Based on Active Disturbance Rejection Controller
Previous Article in Journal
Countrywide Mobile Spectrum Sharing with Small Indoor Cells for Massive Spectral and Energy Efficiencies in 5G and Beyond Mobile Networks
Open AccessArticle

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
Received: 24 September 2019 / Revised: 1 October 2019 / Accepted: 8 October 2019 / Published: 10 October 2019
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. View Full-Text
Keywords: building energy exchange; view factor; Python programming language; bifacial solar photovoltaic (PV) building energy exchange; view factor; Python programming language; bifacial solar photovoltaic (PV)
Show Figures

Figure 1

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.

Show more citation formats Show less citations formats
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

1
Back to TopTop