This model computes the shading cast by a building (or other
object) at distance L and relative height
dh on a window (or wall) with height
hWin. For a window this height corresponds to the
window glazing height, excluding the window frame. Diffuse sky
solar radiation is reduced by computing a simplified view factor of
the building, which blocks the sky view. Diffuse ground solar
radiation is unaffected by this model.

This model assumes that the obstructing object is very wide (infinite) compared to the window/wall and that it is parallel to the window. This model is inaccurate when this is not the case.
We assume that the opposite building is shaded or that its
reflectivity is zero, such that it does not reflect solar
irradiation towards the window. Partial shading, e.g. when
modelling treelines, can be modelled by changing the value of
parameter fraSha accordingly.
fraSunDifSky. See #843.fraSunDifSky to avoid negative
shading fractions. See #1007.shaFra for lowering shading fraction
of the model. See #912.hWin and grouped parameters with
reference to documentation. See #909.