Question about genssky and white efficacy factor

Dear all,

I am evaluating the spectral rendering of Radiance 6.0.2 with a genssky → oconv → rtrace pipeline, over 2083 timestamps with -L inputs.

I see a consistent error of around +14% in direct normal and +11% in horizontal illuminance for both the photopic and melanopic, and about the same spectrally (last figure below).

In genssky.c in my installed head (link) the sun is scaled with WHTEFFICACY = 179 lm/W (line 504), while the solar spectrum is ~204 lm/W, and the diffuse gets an extra 1/1.15 “fudge” factor. Does this explain the errors, and is it intended?

Also, the diffuse error (which is derived from the other two components from the DHE = GHE − DNE·cos θz equation) depends on the sky and it is larger at lower solar altitude / sky illuminance (last subplot, first figure).

Are there any other potential sources of error?

Happy to share any part of my pipeline if that helps,

Thank you,
Nima