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

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

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

                                        Shadows on PV systems
                                         光伏系统的阴影

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

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

Compute the shadows factor for two-axis and horizontal N-S axis trackers and fixed surfaces.
计算阴影系数为两轴和水平NS双轴跟踪器和固定的表面。


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


fSombra(angGen, distances, struct, modeTrk='fixed',prom=TRUE)

fSombra6(angGen,distances,struct,prom=TRUE)

fSombra2X(angGen,distances,struct)

fSombraHoriz(angGen, distances,struct)

fSombraEst(angGen, distances,struct)




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

参数:angGen
A zoo object, including at least variables named Beta, Alfa, AzS, AlS and cosTheta.
Azoo对象,包括在至少变量Beta,Alfa,AzS,AlS和cosTheta。


参数:distances
data.frame, with a component named Lew, being the distance (meters) between horizontal NS and two-axis trackers along the East-West direction, a component named Lns for two-axis trackers or a component named D for static surfaces. An additional component named H can be included with the relative height (meters) between surfaces. When modeTrk='two' (or when fSombra6 is used) this data.frame may have five rows. Each of these rows defines the distances of a tracker in a set of six ones.
data.frame,一个被命名的组件Lew,之间的距离(米)水平NS和双轴跟踪器沿东西方向,一个被命名的组件Lns两轴跟踪或名为D静态表面的一个组成部分。另外一个组成部分名为H的可以与面之间的相对高度(米)。当modeTrk='two'(fSombra6使用)这个数据框可能有五行。这些行中的每一个定义了一组六个的跟踪器的距离。


参数:struct
list. When modeTrk='fixed' or modeTrk='horiz' only a component named L, which is the height (meters) of the tracker, is needed. For two-axis trackers (modeTrk='two'), an additional component named W, the width of the tracker, is required. Moreover, two components named Nrow and Ncol are included under this list. These components define, respectively, the number of rows and columns of the whole set of trackers in the PV plant.
list。当modeTrk='fixed'或modeTrk='horiz'唯一一个被命名的组件L,这是身高(米)的跟踪,是必要的。对于两轴跟踪器(modeTrk='two')的附加组件名为W,跟踪器的宽度,是必需的。此外,两个组成部分命名为Nrow和Ncol列入这个名单。这些组件定义,分别纤夫光伏电站的整套的行和列的数目。


参数: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'


参数:prom
logical, only needed for two-axis tracker mode. If TRUE the shadows are averaged between the set of trackers defined by struct$Nrow and struct$Ncol
逻辑,只需要两轴跟踪模式。如果跟踪定义的TRUE和struct$Nrow struct$Ncol的阴影之间的平均值


Details

详细信息----------Details----------

fSombra is only a wrapper for fSombra6 (two-axis trackers), fSombraEst (fixed systems) and fSombraHoriz (horizontal N-S axis trackers). Depending on the value of modeTrk the corresponding function is selected. fSombra6 calculates the shadows factor in a set of six two-axis trackers. If distances has only one row, this function constructs a symmetric grid around a tracker located at (0,0,0). These five trackers are located at (-Lew, Lns, H), (0, Lns, H), (Lew, Lns, H), (-Lew, 0, H) and (Lns, 0, H). It is possible to define a irregular grid around (0,0,0) including five rows in distances. When prom=TRUE the shadows factor for each of the six trackers is calculated. Then, according to the distribution of trackers in the plant defined by struct$Nrow and struct$Ncol, a weighted average of the shadows factors is the result. It is important to note that the distances are defined between axis for trackers and between similar points of the structure for fixed surfaces.
fSombra是只有一个包装fSombra6(两轴跟踪),fSombraEst(固定系统)和fSombraHoriz(水平NS双轴跟踪器)。根据modeTrk的值相应的功能被选中。 fSombra6计算在一组六个两轴跟踪器的阴影因子。如果distances只有一排,周围的跟踪位于(0,0,0),这个函数构造一个对称的网格。这五个跟踪位于(卢,LNS,H),(0,LNS,H),(LEW,LNS,H),(卢,0,H)和LNS(0,H)。它可以定义一个不规则网格左右(0,0,0)包括在distances五个行。当prom=TRUE的阴影因子计算为各六个纤夫。然后,根据定义由struct$Nrow植物分布纤夫和struct$Ncol,的阴影因素的加权平均的结果。重要的是要注意,跟踪器的轴和用于固定表面的结构之间的相似点之间的距离被定义。


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

data.frame including angGen and a variable named FS, which is the shadows factor. This factor is the ratio between the area of the generator affected by shadows and the total area. Therefore its value is 1 when the PV generator is completely shadowed.
data.frame包括angGen变量命名FS,这是阴影的因素。这一因素是发电机受影响的阴影和总面积的面积之间的比率。因此,它的值是1时,完全遮蔽光伏发电机。


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



Oscar Perpi帽谩n Lamigueiro.




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


参见----------See Also----------

calcShd, optimShd, fTheta, calcSol
calcShd,optimShd,fTheta,calcSol


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


lat=37.2;
sol<-calcSol(lat, fBTd(mode='prom'), sample='10 min', keep.night=FALSE)
angGen<-fTheta(sol, beta=35);
Angles=CBIND(as.zooI(sol), angGen)

###Two-axis tracker[##两轴跟踪]
#Symmetric grid[对称网格]
distances=data.frame(Lew=40,Lns=30,H=0)
struct=list(W=23.11, L=9.8, Nrow=2, Ncol=8)

ShdFactor<-fSombra6(Angles, distances, struct, prom=FALSE)

Angles$FS=ShdFactor
xyplot(FS~w, groups=month, data=Angles,
    type='l',auto.key=list(space='right', lines=TRUE, points=FALSE))

#Symmetric grid defined with a five rows data.frame[定义一个5行的数据框格对称]
distances=data.frame(Lew=c(-40,0,40,-40,40),Lns=c(30,30,30,0,0),H=0)
ShdFactor2<-fSombra6(Angles, distances, struct,prom=FALSE)

#of course, with the same result[当然,具有相同的结果]
identical(coredata(ShdFactor), coredata(ShdFactor2))

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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