You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docstring for irradiance.liujordan isn't clear #1100
. Liu and Jordan (1960) don't mention airmass at all; is the model described in the Campbell and Norman book? Anyone have access to a copy to verify the model?
The original author of this code provided a pdf for the relevant section of the book. This expression is equation 11.13. The preceding line states "...using an empirical equation adapated from Liu and Jordan (1960)". So it's fair to question whether this function should really be called liujordan.
rename this function from liujordan to campbellnorman. The Liu-Jordan model is usually understood to be an empirical relationship between transmission coefficients for direct and diffuse irradiance, which can be used to separate DHI and DNI from clear-sky GHI. Instead, this function is a different sort than any other in pvlib currently, getting DNI and DHI from extraterrestrial irradiance and atmospheric transmittance. There is room in pvlib for the Liu-Jordan model as a decomposition function akin to Erbs, if that becomes of interest.
revise the function to embed the calculation of airmass. The model described in the Cambell and Norman book assumes absolute air mass computed by the 'simple' air mass model (1/cos(zenith)). It's not clear that their correlation allows the air mass model to be exchanged for e.g. 'kastenyoung1989'. The campbellnormal function would expect pressure (default to atmospheric) as input rather than airmass.
Activity
wholmgren commentedon Dec 4, 2020
The original author of this code provided a pdf for the relevant section of the book. This expression is equation 11.13. The preceding line states "...using an empirical equation adapated from Liu and Jordan (1960)". So it's fair to question whether this function should really be called
liujordan.cwhanse commentedon Dec 8, 2020
Thanks @wholmgren. I propose to:
liujordantocampbellnorman. The Liu-Jordan model is usually understood to be an empirical relationship between transmission coefficients for direct and diffuse irradiance, which can be used to separate DHI and DNI from clear-sky GHI. Instead, this function is a different sort than any other in pvlib currently, getting DNI and DHI from extraterrestrial irradiance and atmospheric transmittance. There is room in pvlib for the Liu-Jordan model as a decomposition function akin to Erbs, if that becomes of interest.campbellnormalfunction would expect pressure (default to atmospheric) as input rather than airmass.wholmgren commentedon Dec 8, 2020
Good plan. Thanks for digging into this.