Skip to content

The Perez diffuse model should not be forcing the horizon coefficient up to zero #1238

Closed
@cpr-chas

Description

@cpr-chas

The perez model in irradiance.py forces F2, and thus the horizon component of diffuse, to be non-negative. This restriction should not happen. F2 and the horizon coefficient should be allowed to be negative and to reduce overall diffuse.

According to the original paper at https://www.osti.gov/servlets/purl/7024029
Section III.2 states this explicitly for the horizon component:
"(2) The horizon brightening coefficient, F2, is negative for overcast and low E occurrences -- indicative of brightening of the zenithal region of the sky for these conditions. This becomes positive past intermediate conditions and increases substantially with clearness."

We observed a higher than expected POAI, coming from poa diffuse, on cloudy days at certain sites.
Expected:
Horizon (burgundy) can be less than zero and sky diffuse (green) is less than isotropic (blue)
image

Observed from PVLib:
Horizon is prevented from being negative and sky diffuse ends up higher than isotropic.
image

Repro'd on PVLib 0.8.1

See added test case in the PR for this repro case.

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