Hello all,
As the titles suggests my question concerns the -c option in genskyvec. The documentation for genskyvec states the following:
The −c option may be used to specify a color for the sky. The gray value should equal 1 for proper energy balance. The default sky color is −c 0.960 1.004 1.118 .
I’ve ran the following checks to see its impact on irradiance in the DC method:
A) with the default −c 0.960 1.004 1.118 option, and
B) with the custom - c 0.421 0.267 0.306 option, the sum of which is approximately 1.
A) I used gendaylit command with -O 1 option to consider the entire solar spectrum:
gendaylit 11 25 15:30 -m -15 -a 49.43 -o -7.75 -W 0 200 -O 1 > sky.sky
genskyvec -m 1 -c 0.960 1.004 1.118 < sky.sky > sky.vec
My assumption was that my reference point outside would yield the same irradiance as specified in the -W option, so, approximately 200 W/m². However, the sum of the irradiance in RGB channels was 607 W/m².
B) I repeated step A with the custom -c option in genskyvec.
gendaylit 11 25 15:30 -m -15 -a 49.43 -o -7.75 -W 0 200 -O 1 > sky.sky
genskyvec -m 1 -c 0.421 0.267 0.306 < sky.sky > sky.vec
The reference point yield 196 W/m².
Note: I have tried the same iterations with -O 0 in gendaylit but could not yield the expected irradiance.
I have seen some posts discuss -c option of genskyvec before Rfluxmtx -x and -y input options - #9 by zha. However, I find that even using −c 1 1 1 will overestimate the irradiance (591 W/m²).
In conclusion, it appears that the sum of RGB in -c option of genskyvec must be equal to 1 in order to achieve correct irradiance in the simulation provided that gendaylit considers the entire solar spectrum. In this sense, why is −c 0.960 1.004 1.118 used in the default option? And how, at all, these number are computed?
Best regards,
Rita