A3_calcGef(solaR)
A3_calcGef()所属R语言包:solaR
Irradiation and irradiance on the generator plane.
照射和辐射发电机平面上。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function obtains the global, diffuse and direct irradiation and irradiance on the generator plane from the values of daily or intradaily global irradiation on the horizontal plane. It makes use of the functions calcG0, fTheta, fInclin. Besides, it can calculate the shadows effect with the calcShd function.
此函数获取全球,漫射和直接辐照和辐照度值每日或intradaily全球的水平平面上的照射从发电机平面。它使用的功能calcG0,fTheta,fInclin。此外,它可以计算出阴影效果calcShd功能。
用法----------Usage----------
calcGef(lat,
modeTrk='fixed',
modeRad='prom',
dataRad,
prev, prom, mapa, bd,bdI,
sample='hour',
keep.night=TRUE,
sunGeometry='michalsky',
corr, f,
betaLim=90, beta=abs(lat)-10, alfa=0,
iS=2, alb=0.2, horizBright=TRUE, HCPV=FALSE,
modeShd='',
struct=list(),
distances=data.frame())
参数----------Arguments----------
参数:lat
numeric, latitude (degrees) of the point of the Earth where calculations are needed. It is positive for locations above the Equator.
数值,纬度(度)的地球所需的计算点。这是积极的赤道上空的位置。
参数:modeTrk
character, to be chosen from 'fixed', 'two' or 'horiz'. When modeTrk='fixed' the surface is fixed (inclination and azimuth angles are constant). The performance of a two-axis tracker is calculated with modeTrk='two', and modeTrk='horiz' is the option for an horizontal N-S tracker. Its default value is modeTrk='fixed'
字符,选择'fixed','two'或'horiz'。当modeTrk='fixed'的表面是固定的(倾斜角和方位角为常数)。两轴跟踪器的性能计算modeTrk='two'和modeTrk='horiz'是一个水平NS跟踪的选项。它的默认值是modeTrk='fixed'
参数:modeRad, dataRad, prom, mapa, bd, bdI
Information about the source data of the global irradiation. See calcG0 for details.
全球照射的源数据的信息。见calcG0的详细信息。
参数:prev
A G0 object (or something that can be coerced to a G0 object). It is used when modeRad='prev'. It is deprecated and dataRad should be used instead.
AG0对象(或东西,可以强制转换为一个G0对象)。它是用来当modeRad='prev'。它已被废弃,dataRad应该使用。
参数:sample, keep.night
See calcSol for details.
见calcSol的详细信息。
参数:sunGeometry
character, method for the sun geometry calculations. See calcSol, fSolD and fSolI.
character,太阳的几何计算方法。见calcSol,fSolD和fSolI。
参数:corr, f
See calcG0 for details.
见calcG0的详细信息。
参数:beta
numeric, inclination angle of the surface (degrees). It is only needed when modeTrk='fixed'.
数字的表面的倾斜角(度)。只需要当modeTrk='fixed'。
参数:betaLim
numeric, maximum value of the inclination angle for a tracking surface. Its default value is 90 (no limitation))
数值,最大值的跟踪表面的倾斜角。它的默认值是90(没有限制))
参数:alfa
numeric, azimuth angle of the surface (degrees). It is positive to the West. It is only needed when modeTrk='fixed'. Its default value is alfa=0
数字:方位角的表面(度)。这是正西方。只需要当modeTrk='fixed'。它的默认值是alfa=0
参数:iS
integer, degree of dirtiness. Its value must be included in the set (1,2,3,4). iS=1 corresponds to a clean surface while iS=4 is the selection for a dirty surface. Its default value is 2.
整数的肮脏程度。它的值必须被包含在集合(1,2,3,4)。 iS=1对应到一个干净的表面,而iS=4是选择一个肮脏的表面。它的默认值是2。
参数:alb
numeric, albedo reflection coefficient. Its default value is 0.2
数字,反射率的反射系数。它的默认值是0.2
参数:modeShd, struct, distances
See calcShd for details.
见calcShd的详细信息。
参数:horizBright
logical, if TRUE, the horizon brightness correction proposed by Reind et al. is used.
逻辑,如果为TRUE,在地平线上的亮度校正提出的Reind等。被使用。
参数:HCPV
logical, if TRUE the diffuse and albedo components of the effective irradiance are set to zero. HCPV is the acronym of High Concentration PV system.
逻辑,如果为TRUE的弥漫性和反射率的有效照射组件被设置为零。 HCPV是高浓度光伏发电系统的首字母缩写。
值----------Value----------
A Gef object.
AGef对象。
(作者)----------Author(s)----------
Oscar Perpi帽谩n Lamigueiro.
参考文献----------References----------
参见----------See Also----------
calcG0, fTheta, fInclin, calcShd.
calcG0,fTheta,fInclin,calcShd。
实例----------Examples----------
###12 Average days.[##12的平均天数。]
G0dm=c(2.766,3.491,4.494,5.912,6.989,7.742,7.919,7.027,5.369,3.562,2.814,2.179)*1000;
Ta=c(10, 14.1, 15.6, 17.2, 19.3, 21.2, 28.4, 29.9, 24.3, 18.2, 17.2, 15.2)
##Fixed surface, default values of inclination and azimuth.[#固定的表面,倾角和方位角的默认值。]
gef<-calcGef(lat=37.2, modeRad='prom', dataRad=list(G0dm=G0dm, Ta=Ta))
print(gef)
xyplot(gef)
##Two-axis surface, no limitation angle.[#两轴表面,没有限制角。]
gef2<-calcGef(lat=37.2, modeRad='prom', dataRad=list(G0dm=G0dm, Ta=Ta), modeTrk='two')
print(gef2)
xyplot(gef2)
## Not run: [#不运行:]
###Irradiation data from mapa.es/siar[##辐射数据从mapa.es / SIAR]
##Fixed surface[#固定的表面]
gefSIAR<-calcGef(lat=41,
modeRad='siar',
dataRad=list(prov=28,est=3,
start='01/01/2009', end='31/12/2009'),
keep.night=FALSE)
print(gefSIAR)
xyplot(gefSIAR)
##Two-axis tracker, using the previous result.[两轴跟踪器,使用前面的结果。]
##'gefSIAR' is internally coerced to a 'G0' object.[#gefSIAR“内部强制转换为对象的”G0“。]
gefSIAR2<-calcGef(lat=41, modeRad='prev', dataRad=gefSIAR, modeTrk='two')
print(gefSIAR2)
xyplot(gefSIAR2)
###Shadows between two-axis trackers, again using the gefSIAR result.[##两轴跟踪之间的阴影,再次使用gefSIAR结果。]
struct=list(W=23.11, L=9.8, Nrow=2, Ncol=8)
distances=data.frame(Lew=40, Lns=30, H=0)
gefShd<-calcGef(lat=41, modeRad='prev',
dataRad=gefSIAR, modeTrk='two',
modeShd=c('area', 'prom'),
struct=struct, distances=distances)
print(gefShd)
##The Gef0, Bef0 and Def0 values are the same as those contained in the[#Gef0,Bef0和DEF0的中所包含的值是相同的]
## gefSIAR2 object[#gefSIAR2对象]
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|