-
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
aoi
definition in variables_style_rules.csv
#2247
Conversation
I read "angle...between" as going to tell me the two rays that define the angle, rather than the limits. What about "angle between the normal vector and the vector pointing to the sun's center"? I also think we can drop the limits +/-90 since pvlib doesn't enforce that. |
In addition to @cwhanse note, I would add |
Just a general comment: AOI goes from 0 to 180. Negative AOI doesn't make sense. |
I was wondering about that... I was trying to make sense of this line: Line 273 in cbe4cc5
Maybe in this case, the normal to the surface is defined as the 0, and then +/- 90 either side? (not saying that's a correct way to do it, just trying to interpret what was written originally) Anyway, I'll remove the range reference as suggested by @cwhanse |
Makes sense
Would "sun's rays" be sufficient here or is it not precise enough? (I looked here on sciencedirect and here on sandia for lexical inspiration 👀) |
@RDaxini that text probably originated in PVLib for Matlab, as a warning to the user when AOI<0 was input. When AOI<0, the Martin-Ruiz function would give IAM<0. At some point in transfer to pvlib-python or creating of iam.py from functions in pvsystem.py, the message was confused.
To be clear, I am suggesting deleting the range from the description of AOI in the Glossary. I would correct, not delete, the statement in the Let's not mix editing docstrings with creating a glossary in this PR, it won't ever get finished. It would be very helpful if you can create an issue to accumulate docstring edits as a checklist. An entry in that checklist: this line is a cut/paste error and should be removed. |
Understood, we are on the same page here
Agreed
Okay I will do this 👍🏾 |
Co-Authored-By: Cliff Hansen <5393711+cwhanse@users.noreply.github.com> Co-Authored-By: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
Any thoughts on this? Just an idea, not a definite suggestion. |
The sun's rays originate from a disc with an angular diameter of a degree or so. It is the center of this disc which defines Seems like nobody objects to the definition as it currently stands in this PR, so I'll go ahead and merge it. Thanks @RDaxini! |
* initial test * Update irradiance.py * update list of terms * update dni description in irradiance.py * minor edits, aoi definition * Update glossary.rst * Update glossary.rst * remove in-text dni term glossary link * delete one surface_tilt definition * review: dni definition Co-Authored-By: Adam R. Jensen <39184289+adamrjensen@users.noreply.github.com> * remove old files, add general text to glossary * remove first bullet, add colon, on SoDa line * Update glossary.rst * conciseness (suggestion) * updated aoi definition #2247 * update references old variables style rules page * remove old page link from v0.3.0 whatsnew * Update index.rst Co-Authored-By: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update v0.11.2.rst * Update docs/sphinx/source/user_guide/glossary.rst Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com> * Update docs/sphinx/source/contributing/style_guide.rst Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * add underscore * changed reference label * update labels * name: nomenclature, update labels * update whatsnew wording * update file name --------- Co-authored-by: Adam R. Jensen <39184289+adamrjensen@users.noreply.github.com> Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com> Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
Closes #xxxxTests addedUpdates entries indocs/sphinx/source/reference
for API changes.docs/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.Original definition says angles "between 90deg and 90deg", but this should be plus/minus 90deg (right?)