Model option
Zero irradiance
No light on the plane in a timestep without sun above the horizon
Inputs used: Diffuse horizontal irradiance, Plane tilt, Albedo
Method
A timestep during which the sun never rises above the horizon receives zero light on the plane, whatever the file holds.
API
site.night_irradiance = zero