Summary
Horizon shading accounts for losses when the sun is blocked by distant terrain features, tree lines, buildings, or other obstructions far beyond the solar array field. Users define a horizon profile as a series of - pairs describing the apparent horizon line around the site. At each timestep, the algorithm compares the solar position to the interpolated horizon elevation at that azimuth and determines whether the sun is visible. When sunrise or sunset occurs within a timestep, the shading factor is prorated based on the duration of terrain blockage. Diffuse horizon shading (sky-view reduction from far-field obstructions) is currently not implemented in PlantPredict.Inputs
| Name | Symbol | Units | Description |
|---|---|---|---|
| Horizon Profile | degrees | List of azimuth-elevation pairs defining horizon | |
| Solar Zenith Angle | degrees | Angle between sun and vertical | |
| Solar Azimuth Angle | degrees | sun azimuth measured clockwise from north | |
| Sunrise/Sunset Time | — | Times when sun crosses geometric horizon (0°) |
Outputs
| Name | Symbol | Units | Description |
|---|---|---|---|
| Horizon Shading Factor | — | Unshaded fraction of beam irradiance (0-1) |
Detailed Description
Horizon Profile Definition
The horizon profile is a user-defined list of obstruction elevations at specified azimuths around the site: where:- is the azimuth direction (0° to 360° measured clockwise from north)
- is the elevation angle of the obstruction at that azimuth (degrees above horizon)
Horizon Elevation Interpolation
The horizon elevation at the current solar azimuth is determined by linear interpolation between the two nearest profile points: where and are the profile points immediately before and after the solar azimuth.Sun Visibility Determination
The shading factor depends on whether the sun is above or below the horizon obstruction at the current azimuth. The solar elevation is :Prorated Shading Calculation
When sunrise or sunset occurs within a timestep, the shading factor is prorated based on obstruction duration. The algorithm interpolates solar position from adjacent timesteps in 1-minute increments to find when the sun clears the horizon obstruction. The shading factor is then: where:- is the time between sunrise/sunset and when the sun clears the horizon obstruction
- is the portion of the timestep when the sun is above the geometric (0°) horizon