Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Wrong Return in documentation of cloud_covr_to_transmittance_linear #1367

Copy link
Copy link
Closed
@JoLo90

Description

@JoLo90
Issue body actions

In the documentation of the pvlib.forecast.NDFD.cloud_cover_to_transmittance_linear function, it seems the documented return is the wrong one: It shows the GHI as the return instead of the transmittance.

image

Here is the function in pvlib.forecast that seems to confirm the case.

    """
    Convert cloud cover to atmospheric transmittance using a linear
    model.

    0% cloud cover returns offset.

    100% cloud cover returns 0.

    Parameters
    ----------
    cloud_cover : numeric
        Cloud cover in %.
    offset : numeric, default 0.75
        Determines the maximum transmittance.
    kwargs
        Not used.

    Returns
    -------
    ghi : numeric
        Estimated GHI.
    """
    transmittance = ((100.0 - cloud_cover) / 100.0) * offset

    return transmittance`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.