MATLAB_PV_LIB icon indicating copy to clipboard operation
MATLAB_PV_LIB copied to clipboard

Incorrect AOI from pvl_singleaxis

Open DanRiley opened this issue 4 years ago • 1 comments
trafficstars

pvl_singleaxis produces an incorrect AOI when the sun is above the earth horizon but behind the module plane.

Issue seems to be in this line of code.

Similar to issue 1221 for the python pvlib

DanRiley avatar May 07 '21 22:05 DanRiley

I would recommend removing lines 202 and 203, and using pvl_getaoi near the end of pvl_singleaxis to calculate the AOI without constraint. That is, AOI would have the same constraints as those placed by pvl_getaoi.

DanRiley avatar May 07 '21 22:05 DanRiley