Skip to content

Should marion_diffuse use diffuse versions of martin_ruiz and schlick? #2113

Closed as not planned
@markcampanelli

Description

@markcampanelli

Describe the bug

While working on #2050, it occurred to me that pvlib.iam.marion_diffuse refers to the direct component IAM functions for martin_ruiz and schlick, i.e., it would seem that these two lines should instead refer to pvlib.iam.martin_ruiz_diffuse and pvlib.iam.schlick_diffuse

To Reproduce
Steps to reproduce the behavior:

  1. Inspect the lines at: https://github.com/pvlib/pvlib-python/blob/main/pvlib/iam.py#L630-L631

Expected behavior
I would expect the diffuse IAM models to be used, because marion_diffuse computes diffuse components.

Screenshots
None

Versions:

  • pvlib.__version__: v0.11,0
  • python: 3.11.7

Additional context
If someone could verify, then I would be happy to fix this as part of #2050.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions