LAPSE:2023.25663v1
Published Article

LAPSE:2023.25663v1
Calculation of the Shading Factors for Solar Modules with MATLAB
March 29, 2023
Abstract
Shadows severely affect the performance of solar photovoltaic (PV) systems. A proper description of this effect is useful for sizing and simulating PV systems when shadows cannot be avoided. Shading factors represent the basis for simulating the effect of shadows on solar modules. These factors can be used to estimate shading losses, calculate their I-V and P-V curves under shading conditions, or develop new maximum power point tracking (MPPT) techniques. Open-source libraries focused on solar energy have gained popularity in recent years. One of the currently most popular ones is the PV_LIB toolbox initially developed by Sandia Laboratories. PV_LIB significantly facilitates solar energy calculations. However, it currently lacks functions for taking into account shaded conditions. In this paper, a detailed Matlab-based method for calculating the shading factors is provided. The method has been used for elaborating a toolbox for shading calculations. The current work could help extend the functionalities of the PV_LIB toolbox. The results were compared against other currently popular computer programs, namely the System Advisor Model (SAM) and PVsyst. With this method, it is also possible to calculate shading factors with smaller time steps than possible with the mentioned programs. This work also shows the importance of using small time steps and how this can affect the accuracy of the calculated shading factors. The contribution of this work is providing a way of quantifying shadow losses in PV systems with Matlab, allowing for better accuracy, flexibility, and transparency during the calculation. The functions developed in this work can be accessed by contacting the authors.
Shadows severely affect the performance of solar photovoltaic (PV) systems. A proper description of this effect is useful for sizing and simulating PV systems when shadows cannot be avoided. Shading factors represent the basis for simulating the effect of shadows on solar modules. These factors can be used to estimate shading losses, calculate their I-V and P-V curves under shading conditions, or develop new maximum power point tracking (MPPT) techniques. Open-source libraries focused on solar energy have gained popularity in recent years. One of the currently most popular ones is the PV_LIB toolbox initially developed by Sandia Laboratories. PV_LIB significantly facilitates solar energy calculations. However, it currently lacks functions for taking into account shaded conditions. In this paper, a detailed Matlab-based method for calculating the shading factors is provided. The method has been used for elaborating a toolbox for shading calculations. The current work could help extend the functionalities of the PV_LIB toolbox. The results were compared against other currently popular computer programs, namely the System Advisor Model (SAM) and PVsyst. With this method, it is also possible to calculate shading factors with smaller time steps than possible with the mentioned programs. This work also shows the importance of using small time steps and how this can affect the accuracy of the calculated shading factors. The contribution of this work is providing a way of quantifying shadow losses in PV systems with Matlab, allowing for better accuracy, flexibility, and transparency during the calculation. The functions developed in this work can be accessed by contacting the authors.
Record ID
Keywords
Matlab, PVsyst, SAM, shadows, solar
Subject
Suggested Citation
Silva M, Roberts JJ, Prado PO. Calculation of the Shading Factors for Solar Modules with MATLAB. (2023). LAPSE:2023.25663v1
Author Affiliations
Silva M: Research and Development Group on Geotechnologies and Energy, Engineering Faculty, National University of Mar del Plata (UNMdP), Av. Juan B. Justo 4302, Mar del Plata, Buenos Aires B7608FDQ, Argentina
Roberts JJ: Research and Development Group on Geotechnologies and Energy, Engineering Faculty, National University of Mar del Plata (UNMdP), Av. Juan B. Justo 4302, Mar del Plata, Buenos Aires B7608FDQ, Argentina [ORCID]
Prado PO: Research and Development Group on Geotechnologies and Energy, Engineering Faculty, National University of Mar del Plata (UNMdP), Av. Juan B. Justo 4302, Mar del Plata, Buenos Aires B7608FDQ, Argentina
Roberts JJ: Research and Development Group on Geotechnologies and Energy, Engineering Faculty, National University of Mar del Plata (UNMdP), Av. Juan B. Justo 4302, Mar del Plata, Buenos Aires B7608FDQ, Argentina [ORCID]
Prado PO: Research and Development Group on Geotechnologies and Energy, Engineering Faculty, National University of Mar del Plata (UNMdP), Av. Juan B. Justo 4302, Mar del Plata, Buenos Aires B7608FDQ, Argentina
Journal Name
Energies
Volume
14
Issue
15
First Page
4713
Year
2021
Publication Date
2021-08-03
ISSN
1996-1073
Version Comments
Original Submission
Other Meta
PII: en14154713, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2023.25663v1
This Record
External Link

https://doi.org/10.3390/en14154713
Publisher Version
Download
Meta
Record Statistics
Record Views
327
Version History
[v1] (Original Submission)
Mar 29, 2023
Verified by curator on
Mar 29, 2023
This Version Number
v1
Citations
Most Recent
This Version
URL Here
http://psecommunity.org/LAPSE:2023.25663v1
Record Owner
Auto Uploader for LAPSE
Links to Related Works
