Skip to content

Klucher diffuse sky docstring inconsistency #1405

Closed

Description

@adriesse

The equation for F' should contain DHI rather than Id0.

Versions:

  • pvlib.__version__: 0.9 and earlier

Activity

  1. added this to the 0.9.1 milestone on Feb 14, 2022
  2. cwhanse commented on Feb 14, 2022

    @cwhanse
    Member

    I'm sure that Loutzenhiser's notation is I_{d} sky diffuse on a surface tilted at d, and I_{d0} is sky diffuse on a horizontal surface. But that's not helpful documentation here.

    To do with this: add inline citations, punctuation, units in brackets, define theta, theta_z, and beta.

    Maybe jettison the whole second paragraph that reiterates the inputs, and incorrectly adds extraterrestrial irradiance.

    To discuss: remove "must be >=0", or change to "should be >=0". The code doesn't require this restriction, although the model certainly isn't valid outside that range. My view: model constraints on input (should be's) would be better placed in the description or in Notes, and code restrictions (must be's) in the parameter descriptions.

  3. changed the title [-]Klucher diffuse sky docstring error[/-] [+]Klucher diffuse sky docstring inconsistency[/+] on Feb 14, 2022
  4. kandersolar commented on Mar 16, 2022

    @kandersolar
    Member

    Seems like several of those items apply to the other sky diffuse model docstrings as well.

    Also, does it make sense for the Loutzenhiser reference to be listed first? Seems like it ought to be a secondary reference if it's included at all.

  5. cwhanse commented on Mar 16, 2022

    @cwhanse
    Member

    Also, does it make sense for the Loutzenhiser reference to be listed first? Seems like it ought to be a secondary reference if it's included at all.

    Although Loutzenhiser is a survey and comparison among models, it more clearly defines several models than do the source papers. That's why we chose it as the baseline reference.

  6. modified the milestones: 0.9.1, 0.9.2 on Mar 29, 2022
  7. modified the milestones: 0.9.2, 0.9.3 on Aug 19, 2022
  8. modified the milestones: 0.9.3, 0.9.4 on Sep 14, 2022
  9. modified the milestones: 0.9.4, 0.9.5 on Dec 14, 2022
  10. modified the milestones: 0.9.5, 0.9.6 on Mar 18, 2023
  11. modified the milestones: 0.9.6, 0.10.0, Someday on May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions