我想计算2017年、2018年和2019年荷兰每小时(太阳升起)的太阳辐射方向。我正在做一个关于太阳能电池板发电的研究,我认为这个功能将为我的模型增加很多。
我发现了一些公式来计算太阳辐射的方向,想知道是否有人在Python中实现过这些。
H = arcsine(sin(psi)sin(D) - cos(psi)cos(D)cos(U)) = solar altitude
A = arcsine{(cos(D)sin(U))/cos(H)} = azimuth
哪儿
psi = latitude on earth
D = 23,44*sin{360*(284 + n)/365} = declination with n = n-th day of the year
U = t * 15 = local hour angle with t = t-th hour of the day
所以我对H感兴趣,我知道它应该是这样的。方位角和太阳高度
有人在Python中实现过这样的东西吗?