-
Notifications
You must be signed in to change notification settings - Fork 1.1k
make projected solar zenith a convenience function #1734
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
Comments
I'm definitely in favor of having a function to calculate this quantity. It's a step towards #1581 (comment). |
This angle is also referred to as the profile angle sometimes, correct? |
I'd like to know that too, in order to contribute to this issue and move forward #1725 |
IDK the correct name for this. If anyone has a stronger opinion please weigh in, otherwise @echedey-ls just go with “profile angle” as @adriesse suggests. As long as it’s well defined, hopefully that should be enough. Do not let perfect be the enemy of good. |
I've not heard "profile angle" before. I think I recall hearing a tracker manufacturer call it the "projected solar zenith angle", and that's what I call it too. I think what we implement ought to account for Options for references:
Once the new function is created, I think |
I don't get how Edit: at least on the last two papers which have many more equations I don't know what would be implemented. |
The relevant equations are Eq 1 with Eq 11 for |
I'm also -1 to a user facing function in |
I'm in favour of a |
For the curious: |
For me, |
In case there aren't enough options yet, maybe |
Is your feature request related to a problem? Please describe.
As mentioned in #1725 (comment) the projected solar zenith (PSZ) is used more than once, and may benefit from having a standalone function for reuse to remove redundant code.
Describe the solution you'd like
a new function perhaps in tools or tracking like this:
Describe alternatives you've considered
For linear shade calculation in #1725 the user is required to calculate PSZ externally.
Additional context
one version of the PSZ calculation is currently in
tracking.py
based on the solar vector as seen in the orientation of the tracker axes, that's why axis tilt appears in this "transformed" solar vector:pvlib-python/pvlib/tracking.py
Line 432 in 275e671
The text was updated successfully, but these errors were encountered: