MATLAB_PV_LIB
MATLAB_PV_LIB copied to clipboard
MATLAB PV function library
The Ixx calculation uses Aisc, should be Aimp.
This line https://github.com/sandialabs/MATLAB_PV_LIB/blob/684553ac1d21c59752240295ef225af7ccc1ca82/pvl_louche.m#L45 should restrict zenith to [0, 90]
[This line](https://github.com/sandialabs/MATLAB_PV_LIB/blob/684553ac1d21c59752240295ef225af7ccc1ca82/pvl_extraradiation.m#L28) should be ``` B = 2*pi*(doy - 1)/365; ``` As described in the [original source](https://www.mail-archive.com/[email protected]/msg01050.html), the day of year runs between 0 and 364.
Sandia National Laboratories is conducting research on the change of snow albedo over time and temperature since snowfall. If a model is developed that is successful in determining this relationship,...
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](https://github.com/sandialabs/MATLAB_PV_LIB/blob/c6211dec56c87b0e55ce7a6d5bbc64b206572f57/pvl_singleaxis.m#L203) of code. Similar to [issue...
The input parsing of pvl_soiling_hsu does not accept temperatures less than 0. This seems to be a bug, the correct check value for temperature should allow temperatures greater than -273.15.
@DanRiley I forgot to ask you to add to whatsnew.rst for the new function.
pvl_singleaxis can produce NaN results for the surface tilt angle when the tilt is 0. Error stems from the following line: SurfTilt = 90 - acosd(dividend./divisor); When divisor is 0,...
Describe the bug: Low sun angles with a tilted tracking axis cause an error in the backtracking calculation. Code attempts arcos() of a value outside [-1, 1] [pvlib-python #656](https://github.com/pvlib/pvlib-python/issues/656#issue-406446367) To...
For equally-spaced data, the slope of GHI assumes 1 minute spacing. Condition 5 is implemented as a difference between two maxima, where it should be the maximum of the absolute...