-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should marion_diffuse use diffuse versions of martin_ruiz and schlick? #2113
Comments
If I understand correctly, that diffuse IAM uses direct IAM models to compute a diffuse one via integration. So it sounds good to me. It uses this function: https://github.com/pvlib/pvlib-python/blob/13ef8f4e3f07a6b1c5acd7014a2617beeb10867c/pvlib/iam.py#L647C1-L653C34 |
I think I understand now: |
Closing due to misunderstanding of code. (Github's issue-closing interface is a bit wierd!) |
Really, close this. |
Describe the bug
While working on #2050, it occurred to me that
pvlib.iam.marion_diffuse
refers to the direct component IAM functions formartin_ruiz
andschlick
, i.e., it would seem that these two lines should instead refer topvlib.iam.martin_ruiz_diffuse
andpvlib.iam.schlick_diffuse
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the diffuse IAM models to be used, because marion_diffuse computes diffuse components.
Screenshots
None
Versions:
pvlib.__version__
: v0.11,0Additional context
If someone could verify, then I would be happy to fix this as part of #2050.
The text was updated successfully, but these errors were encountered: