-
Notifications
You must be signed in to change notification settings - Fork 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
Update irradiance.haydavies docs; use Wm⁻² instead of W/m^2 throughout pvlib.irradiance
#2191
Conversation
add eqn variable definitions rearrange references changed beta into theta_T to avoid double definition --- surface tilt, and "daily average of the solar elevation in degrees" (pvlib.irradiance.diffuse_par_spitters)
Remove Loutzenhiser P.G. et. al. reference. I do not see it cited anywhere here in the docs for the haydavies model
add "projection ratio" to variable definition
separate A and R_b
Is anyone aware of an active (permanent?) link to the original Hay and Davies publication? I think it would help to link that into the references but I have been unable to find a suitable link yet. |
Change all instances of W/m^2 into Wm⁻²
W/m^2 to Wm⁻²
move eqn and add description and variables definition to a new notes section update references redefine surface tilt for consistency with pvlib#2191
It's available at archive.org, although you have to create an account and "check it out": https://archive.org/details/proceedingsfirst00cana/mode/2up I do not know if a more convenient alternative is available. |
I have added that one in for now (1063804) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concur with the additional description of terms in the Hay/Davies model equation. I disagree with changing the primary reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm neutral on the units formatting changes. The new form is a little nicer to look at, but I foresee myself grumbling for having to copy/paste that superscript 2 in future code edits :P
Co-authored-by: Kevin Anderson <[email protected]>
adjust units Co-Authored-By: Echedey Luis <[email protected]>
@echedey-ls I removed the |
What's up with the pytest command not found error since 39a7ddb? :S |
Yup, I prefer that too.
Once again, witchcraft. I will blind shot that in a PR. |
I think the original author might have done that because in that case it looks like the units is part of the sentence rather than just at the end of a parameter name with/without additional info after it that can be read and makes sense in isolation. I'm sure we'll be able to do a thorough review of units/sentences like this following #2209. I will neaten up that PR and mark it ready for review soon. |
Co-authored-by: Kevin Anderson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you care to, I would change the description of return_components
to
If `True`, ``diffuse_components`` is returned.
The markup in the first Returns section could be improved using double `` rather than single `, in places.
Co-Authored-By: Cliff Hansen <[email protected]>
Done
I think I have resolved this now with ` for parameter values and `` for parameters. Let me know if I missed anything. If not, I think all issues have now been resolved. |
Changes to the Returns section are great. I was also suggesting that we edit the description of the input parameter |
ohh right of course, I just misread/misunderstood. Check the last commit --- let me know if we're on the same page now 😅 |
pvlib.irradiance
Thanks @RDaxini! |
and thanks for all the reviews! |
* Update irradiance.py move eqn and add description and variables definition to a new notes section update references redefine surface tilt for consistency with #2191 * Update irradiance.py update variable names (I_d0 to DHI and add definition of theta as aoi) * Update irradiance.py add doi * Update irradiance.py wording in definition of F' * Update irradiance.py * Update irradiance.py \theta->\beta reinstate Loutzenhiser reference * Update irradiance.py add doi to * Update irradiance.py * Update irradiance.py add units to returns statement * typo * Update v0.11.1.rst * Update v0.11.1.rst * update model description * whatsnew, update and merge entries * whatsnew (missing word) * move references (klucher and haydavies) moved references from first line to notes section
haydavies
#2183, related to Klucher diffuse sky docstring inconsistency #1405docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).remote-data
) and Milestone are assigned to the Pull Request and linked Issue.