[Radiance-general] Calculation of solar declination in sun.c

Martin Gut gut at Transsolar.com
Thu Dec 17 03:05:16 PST 2015


Dear Radiance Experts,

I have two questions regarding the calculation of solar declination:


1.       Why has the year in function sdec  in  file sun.c  368 days instead of 365 as in the original formula from Cooper ?

return( 0.4093 * sin( (2*PI/368) * (jd - 81) ) )

https://github.com/NREL/Radiance/blob/master/src/gen/sun.c


2.       Why does Radiance not use a better formula, which takes into account, that the Earth orbit is not a circle?

With today computing power, there is no more reason to use this simple formula

Thanks in advance


Martin



Dipl.-Ing. (FH) Martin Gut
TRANSSOLAR Energietechnik GmbH
Landwehrstr. 60/62, D-80336 München
Tel +49 89 590 688 45
Fax +49 89 590 688 59
www.transsolar.com<http://www.transsolar.com/>
--------------------------------
Amtsgericht Stuttgart, HRB 23347, USt-IdNr.: DE152272639
Geschäftsführer: Matthias Schuler, Thomas Auer,
Stefan Holst, Erik Olsen, Helmut Meyer, Dieter Schnelle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20151217/bbdc3077/attachment.html>


More information about the Radiance-general mailing list