Algorithm / equation daylight factor and rendering engine

See the answer to a similar question here:

Also see this for some comparison studies in Italy: