-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add reference for Gueymard 93 relative airmass model #2424
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. _whatsnew_01201: | ||
|
||
|
||
v0.12.1 (XXXX, 2025) | ||
------------------------ | ||
|
||
Breaking Changes | ||
~~~~~~~~~~~~~~~~ | ||
|
||
|
||
Bug fixes | ||
~~~~~~~~~ | ||
|
||
|
||
Enhancements | ||
~~~~~~~~~~~~ | ||
|
||
|
||
Documentation | ||
~~~~~~~~~~~~~ | ||
* Add a supporting reference to :py:func:`pvlib.atmosphere.get_relative_airmass` (:issue:`2390`, :pull:`2424`) | ||
|
||
Testing | ||
~~~~~~~ | ||
|
||
|
||
Maintenance | ||
~~~~~~~~~~~ | ||
|
||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
* Cliff Hansen (:ghuser:`cwhanse`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -147,20 +147,13 @@ def get_relative_airmass(zenith, model='kastenyoung1989'): | |||||||
|
||||||||
* 'simple' - secant(apparent zenith angle) - | ||||||||
Note that this gives -Inf at zenith=90 | ||||||||
* 'kasten1966' - See reference [1] - | ||||||||
requires apparent sun zenith | ||||||||
* 'youngirvine1967' - See reference [2] - | ||||||||
requires true sun zenith | ||||||||
* 'kastenyoung1989' (default) - See reference [3] - | ||||||||
requires apparent sun zenith | ||||||||
* 'gueymard1993' - See reference [4] - | ||||||||
requires apparent sun zenith | ||||||||
* 'young1994' - See reference [5] - | ||||||||
requires true sun zenith | ||||||||
* 'pickering2002' - See reference [6] - | ||||||||
requires apparent sun zenith | ||||||||
* 'gueymard2003' - See references [7] and [8] - | ||||||||
requires apparent sun zenith | ||||||||
* 'kasten1966' - See [1]_ - requires apparent sun zenith | ||||||||
* 'youngirvine1967' - See [2]_ - requires true sun zenith | ||||||||
* 'kastenyoung1989' (default) - See [3]_ - requires apparent sun zenith | ||||||||
* 'gueymard1993' - See [4]_, [5]_ - requires apparent sun zenith | ||||||||
* 'young1994' - See [6]_ - requires true sun zenith | ||||||||
* 'pickering2002' - See [7]_ - requires apparent sun zenith | ||||||||
* 'gueymard2003' - See [8]_, [9]_ - requires apparent sun zenith | ||||||||
|
||||||||
Returns | ||||||||
------- | ||||||||
|
@@ -174,6 +167,8 @@ def get_relative_airmass(zenith, model='kastenyoung1989'): | |||||||
other models use true (not refraction-adjusted) zenith angle. Apparent | ||||||||
zenith angles should be calculated at sea level. | ||||||||
|
||||||||
Comparison among several models is reported in [10]_. | ||||||||
|
||||||||
References | ||||||||
---------- | ||||||||
.. [1] Fritz Kasten. "A New Table and Approximation Formula for the | ||||||||
|
@@ -191,24 +186,29 @@ def get_relative_airmass(zenith, model='kastenyoung1989'): | |||||||
clear sky solar irradiance models using theoretical and measured | ||||||||
data," Solar Energy, vol. 51, pp. 121-138, 1993. | ||||||||
|
||||||||
.. [5] A. T. Young, "AIR-MASS AND REFRACTION," Applied Optics, vol. 33, | ||||||||
.. [5] C. Gueymard, "Development and performance assessment of a clear | ||||||||
sky spectral radiation model,” in Proc. of the 22nd ASES Conference, | ||||||||
Solar ’93, 1993, pp. 433–438. | ||||||||
|
||||||||
.. [6] A. T. Young, "AIR-MASS AND REFRACTION," Applied Optics, vol. 33, | ||||||||
pp. 1108-1110, Feb 1994. | ||||||||
|
||||||||
.. [6] Keith A. Pickering. "The Ancient Star Catalog". DIO 12:1, 20, | ||||||||
.. [7] Keith A. Pickering. "The Ancient Star Catalog". DIO 12:1, 20, | ||||||||
|
||||||||
.. [7] C. Gueymard, "Direct solar transmittance and irradiance | ||||||||
.. [8] C. Gueymard, "Direct solar transmittance and irradiance | ||||||||
predictions with broadband models. Part I: detailed theoretical | ||||||||
performance assessment". Solar Energy, vol 74, pp. 355-379, 2003. | ||||||||
:doi:`10.1016/S0038-092X(03)00195-6` | ||||||||
|
||||||||
.. [8] C. Gueymard (2019). Clear-Sky Radiation Models and Aerosol Effects. | ||||||||
.. [9] C. Gueymard (2019). Clear-Sky Radiation Models and Aerosol Effects. | ||||||||
In: Polo, J., Martín-Pomares, L., Sanfilippo, A. (eds) Solar Resources | ||||||||
Mapping. Green Energy and Technology. Springer, Cham. | ||||||||
:doi:`10.1007/978-3-319-97484-2_5` | ||||||||
|
||||||||
.. [9] Matthew J. Reno, Clifford W. Hansen and Joshua S. Stein, "Global | ||||||||
.. [10] Matthew J. Reno, Clifford W. Hansen and Joshua S. Stein, "Global | ||||||||
Horizontal Irradiance Clear Sky Models: Implementation and Analysis" | ||||||||
Sandia Report, (2012). | ||||||||
|
Sandia Report, (2012). | |
Sandia Report, (2012). | |
:doi:`10.2172/1039404` |
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 can't add DOIs for the other references but here they are:
1: 11681/5671
2: 10.1086/110366
3: 10.1364/AO.28.004735
4: 10.1016/0038-092X(93)90074-X
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Clarification for users out of context.
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 thought just "reference" was okay without "bibliographic". Adding the
model ``gueymard1993`` in
seems reasonable thoughThere 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.
Agreed. I sometimes think of code references, but given this piece of description is in the Docs section, you are completely right.