找回密码
 注册
查看: 322|回复: 0

R语言 solaR包 C_fSolD()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:46:50 | 显示全部楼层 |阅读模式
C_fSolD(solaR)
C_fSolD()所属R语言包:solaR

                                         Daily apparent movement of the Sun from the Earth
                                         每日明显的运动太阳从地球

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute the daily apparent movement of the Sun from the Earth. This movement is mainly described (for the simulation of photovoltaic systems) by the declination angle, the sunset angle and the daily extra-atmospheric irradiation.
计算每天的太阳从地球上明显的运动。这一运动是主要说明(用于光伏系统的仿真)的偏角,夕阳角和每天的大气层外照射。


用法----------Usage----------


fSolD(lat, BTd, method='michalsky')



参数----------Arguments----------

参数:lat
Latitude (degrees) of the point of the Earth where calculations are needed. It is positive for locations above the Equator.
地球所需的计算的点的纬度(度)。这是积极的赤道上空的位置。


参数:BTd
Daily temporal base, a POSIXct object which  may be the result of fBTd.
每日的时间的碱基,POSIXct对象,这可能是由于fBTd。


参数:method
character, method for the sun geometry calculations to be chosen from 'cooper', 'spencer', 'michalsky' and 'strous'. See references for details.
character,选择“库珀”,“斯宾塞”,“michalsky和”strous的“太阳的几何计算方法。有关详细信息,见参考文献。


值----------Value----------

A zoo object with these components:
Azoo对象,这些组件:


参数:decl
Declination angle (radians) for each day of year in dn or BTd
赤纬角(弧度)在一年中的每一天dn或BTd


参数:eo
Factor of correction due the eccentricity of orbit of the Earth around the Sun.
校正由于地球绕太阳的轨道的偏心率的因素。


参数:ws
Sunset angle (in radians) for each day of year. Due to the convention which considers that the solar hour angle is negative before midday, this angle is negative.
一年中的每一天的日落角(弧度)。由于认为太阳时角为负,午盘前的惯例,这个角度是否定的。


参数:Bo0d
Extra-atmospheric daily irradiation (watt-hour per squared meter) incident on a horizontal surface
大气层外每天照射事件发生在一个水平面上(瓦特小时每平方米)


参数:EoT
Equation of Time.
方程的时间。


注意----------Note----------

The latitude is stored as the attribute lat of the result, and thus it is accessible with attr(object, 'lat').
纬度存储作为属性lat的结果,因此它是访问attr(object, 'lat')的。


(作者)----------Author(s)----------



Oscar Perpi帽谩n Lamigueiro.




参考文献----------References----------

(1969). "The Absorption of Solar Radiation in Solar Stills"
http://www.mail-archive.com/sundial@uni-koeln.de/msg01050.html
http://www.astro.uu.nl/~strous/AA/en/reken/zonpositie.html
approximate solar position (1950-2050), Solar Energy 40, 227-235, ftp://climate1.gsfc.nasa.gov/wiscombe/Solar_Rad/SunAngles/sunae.f
http://procomun.wordpress.com/documentos/libroesf/
Systems with R", Journal of Statistical Software, 50(9), 1-32, http://www.jstatsoft.org/v50/i09/

实例----------Examples----------


BTd=fBTd(mode='serie')

lat=37.2
fSolD(lat,BTd[100])
fSolD(lat,BTd[100], method='strous')
fSolD(lat,BTd[100], method='spencer')
fSolD(lat,BTd[100], method='cooper')

lat=-37.2
fSolD(lat,BTd[283])

#Solar angles along the year[太阳能角度沿年]
SolD<-fSolD(lat,BTd=fBTd())

library(lattice)
xyplot(SolD)

#Calculation of the daylength for several latitudes[几个纬度区域的光照时间计算]
library(latticeExtra)

Lats=c(-60,-40,-20,0,20,40,60)
NomLats=ifelse(Lats>0, paste(Lats,'N', sep=''), paste(abs(Lats), 'S',
sep=''))
NomLats[Lats==0]='0'

mat=matrix(nrow=365, ncol=length(Lats))
colnames(mat)=NomLats
WsZ=zoo(mat, fBTd(mode='serie'))

for (i in seq_along(Lats)){
    SolDaux<-fSolD(lat=Lats[i],BTd=fBTd(mode='serie'));
    WsZ[,i]<-r2h(2*abs(SolDaux$ws))}

p=xyplot(WsZ, superpose=TRUE,
        ylab=expression(omega[s] (h)), auto.key=FALSE)
plab<-p+glayer(panel.text(x[1], y[1], NomLats[group.number], pos=2))
print(plab)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-9 07:15 , Processed in 0.026455 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表