Reference / Far shading (horizon)
Model option
Hourly beam gate
The beam kept or removed by the sun's position at the middle of the sunlit part of the timestep
Inputs used: Horizon profile, Apply horizon shading, Fraction of albedo taken into account
Method
The direct and circumsolar light are kept when the sun, at the middle of the sunlit part of the timestep, is at or above the skyline, and removed when it is below. The sky diffuse light and the ground-reflected light keep their full value: the skyline takes nothing from them under this option.
The math
where
| Symbol | Meaning | Unit |
|---|---|---|
| the fraction of the direct and circumsolar light kept at timestep | — | |
| the sun elevation at the middle of the sunlit part of timestep | degrees | |
| the skyline elevation in the direction | degrees | |
| the sun's azimuth at that instant, clockwise from north | degrees |
API
options.far_shading_model = hourly_gate, site.use_horizon = true
Symbols follow the symbol registry.