You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation of the pvlib.forecast.NDFD.cloud_cover_to_transmittance_linear function, it seems the documented return is the wrong one: It shows the GHI as the return instead of the transmittance.
Here is the function in pvlib.forecast that seems to confirm the case.
"""
Convert cloud cover to atmospheric transmittance using a linear
model.
0% cloud cover returns offset.
100% cloud cover returns 0.
Parameters
----------
cloud_cover : numeric
Cloud cover in %.
offset : numeric, default 0.75
Determines the maximum transmittance.
kwargs
Not used.
Returns
-------
ghi : numeric
Estimated GHI.
"""
transmittance = ((100.0 - cloud_cover) / 100.0) * offset
return transmittance`
The text was updated successfully, but these errors were encountered:
In the documentation of the pvlib.forecast.NDFD.cloud_cover_to_transmittance_linear function, it seems the documented return is the wrong one: It shows the GHI as the return instead of the transmittance.
Here is the function in pvlib.forecast that seems to confirm the case.
The text was updated successfully, but these errors were encountered: