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

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

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

                                        Performance of a grid connected PV system.
                                         的电网连接的PV系统的性能。

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

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

Compute every step from solar angles to effective irradiance to calculate the performance of a grid connected PV system.
计算每一步从有效照射太阳能角度计算的电网连接的光伏系统的性能。


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


prodGCPV(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,
         module=list(),
         generator=list(),
         inverter=list(),
         effSys=list(),
         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
A character string, describing the tracking method of the generator. See calcGef for details.
一个字符串,描述发电机的跟踪方法。见calcGef的详细信息。


参数:modeRad, dataRad, prom, mapa, bd, bdI
Information about the source data of the global irradiation. See calcG0 for details.
全球照射的源数据的信息。见calcG0的详细信息。


参数:prev
Deprecated, dataRad should be used instead. A Gef or G0 object (or something that can be coerced to a Gef object). It is only used when modeRad='prev'. prodGCPV will call calcGef for the effective irradiance and irradiation procedure only when prev is a G0 object.
已过时,dataRad应该被用来代替。 AGef或G0对象(或东西,可以强制转换为一个Gef对象)。只用在modeRad='prev'。 prodGCPV将调用calcGef的有效照射量和照射方法只有当prev是G0对象。


参数: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的详细信息。


参数:betaLim, beta, alfa, iS, alb, horizBright, HCPV
See calcGef for details.
见calcGef的详细信息。


参数:module
list of numeric values with information about the PV module,     
列表中的数值与PV模块有关下列内容的信息,

Vocnopen-circuit voltage of the module at Standard Test Conditions (default value 57.6 volts.)  
Vocn的模块在标准测试条件(缺省值57.6伏的开路电压)。

Iscnshort circuit current of the module at Standard Test Conditions (default value 4.7 amperes.)  
Iscn短路电流的模块在标准测试条件(默认值4.7安培)。

Vmnmaximum power point voltage of the module at Standard Test Conditions (default value 46.08 amperes.)  
Vmn最大功率点电压的模块在标准测试条件(默认值46.08安培)。

ImnMaximum power current of the module at Standard Test Conditions (default value 4.35 amperes.)  
Imn最大功率电流的模块在标准测试条件(默认值4.35安培。)

Ncsnumber of cells in series inside the module (default value 96)  
Ncs的单元数目串联在模块内(默认值96)

Ncpnumber of cells in parallel inside the module (default value 1)  
Ncp内部并联模块中的单元数(默认值为1)

CoefVTcoefficient of decrement of voltage of each cell with the temperature (default value 0.0023 volts per celsius degree)  
CoefVT每节电池的电压递减的温度系数(默认值0.0023伏每摄氏度)

TONCnominal operational  cell temperature, celsius degree (default value 47).   
TONC标称操作电池温度,摄氏度(默认值47)。


参数:generator
list of numeric values with information about the generator,     
列表中的数字值与发电机的信息,

Nmsnumber of modules in series (default value 12)  
Nms系列模块的数量(默认值12)

Nmpnumber of modules in parallel (default value 11)   
Nmp模块并联数(默认值11)


参数:inverter
list of numeric values with information about the DC/AC inverter,     
列表有关下列内容的信息的DC / AC逆变器的数字值,

Kivector of three values, coefficients of the efficiency curve of the inverter (default c(0.01, 0.025, 0.05)), or a matrix of nine values (3x3) if there is dependence with the voltage (see references).  
Ki矢量的三个值,逆变器的效率曲线(默认的c(0.01,0.025,0.05)),或九个值(3×3)的矩阵系数,如果有与电压的依赖(见参考文献) 。

Pinvnominal inverter power (W) (default value 25000 watts.)  
Pinv逆变器额定功率(W)(默认值25000瓦)。

Vmin, Vmax minimum and maximum voltages of the MPP range of the inverter (default values 420 and 750 volts)  
Vmin, Vmax的最小和最大电压的逆变器的MPP范围(默认值420和750伏)

Gumb minimum irradiance for the inverter to start (W/m虏) (default value 20 W/m虏)   
Gumb的最低辐照度为逆变器启动(W /平方米)(默认值20 W /平方米)


参数:effSys
list of numeric values with information about the system losses,     
列表中的数值与信息系统的损失,

ModQualaverage tolerance of the set of modules (%), default value is 3  
ModQual模块的集合(%)平均公差,默认值是3

ModDisp module parameter disperssion losses (%), default value is 2  
ModDisp的模块参数disperssion的损失(%),默认值是2

OhmDC Joule losses due to the DC wiring (%), default value is 1.5  
OhmDC焦耳造成的损失的DC接线(%),默认值是1.5

OhmACJoule losses due to the AC wiring (%), default value is 1.5  
OhmAC焦耳损失由于到AC接线(%),默认值是1.5

MPP average error of the MPP algorithm of the inverter (%), default value is 1  
MPPMPP算法的逆变器(%)平均误差,默认值是1

TrafoMTlosses due to the MT transformer (%), default value is 1  
TrafoMT损失MT变压器(%),默认值是1

Disp losses due to stops of the system (%), default value is 0.5   
Disp停止系统(%)造成的损失,默认值是0.5


参数:modeShd, struct, distances
See calcShd for details.
见calcShd的详细信息。


Details

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

The calculation of the irradiance on the horizontal plane is carried out with the function calcG0. The transformation to the inclined surface makes use of the fTheta and
在水平面上的照度的计算进行的功能calcG0。的倾斜表面的转变使得使用fTheta和


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

A ProdGCPV object.
AProdGCPV对象。


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


Oscar Perpi帽谩n Lamigueiro



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


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

fProd, calcGef, calcShd, calcG0, compare, compareLosses, mergesolaR
fProd,calcGef,calcShd,calcG0,compare,compareLosses,mergesolaR


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


library(lattice)
library(latticeExtra)

lat=37.2;
G0dm=c(2766, 3491, 4494, 5912, 6989, 7742, 7919, 7027, 5369, 3562, 2814,
2179)
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)
prom=list(G0dm=G0dm, Ta=Ta)

###Comparison of different tracker methods[##不同的跟踪方法的比较]
prodFixed<-prodGCPV(lat=lat,dataRad=prom, keep.night=FALSE)
prod2x<-prodGCPV(lat=lat, dataRad=prom, modeTrk='two', keep.night=FALSE)
prodHoriz<-prodGCPV(lat=lat,dataRad=prom, modeTrk='horiz', keep.night=FALSE)

##Comparison of yearly productivities[每年的生产能力比较]
compare(prodFixed, prod2x, prodHoriz)
compareLosses(prodFixed, prod2x, prodHoriz)

##Comparison of power time series[#功率时间序列的比较]
ComparePac<-CBIND(two=as.zooI(prod2x)$Pac,
     horiz=as.zooI(prodHoriz)$Pac,
     fixed=as.zooI(prodFixed)$Pac)
AngSol=as.zooI(as(prodFixed, 'Sol'))
ComparePac=CBIND(AngSol, ComparePac)
mon=month(index(ComparePac))

xyplot(two+horiz+fixed~AzS|mon, data=ComparePac,
     type='l', auto.key=list(space='right', lines=TRUE, points=FALSE),ylab='Pac')

## Not run: [#不运行:]
###Use of modeRad='siar' and modeRad='prev'[##使用modeRad =SIAR和modeRad =“上一页”]
prodSIARFixed<-prodGCPV(lat=41,
             modeRad='siar',
             dataRad=list(prov=28,est=3,
               start='01/01/2009', end='31/12/2009'),
             keep.night=FALSE)

##We want to compare systems with different effective irradiance[#我们要比较系统的不同的有效辐射]
##so we have to convert prodSIARFixed to a 'G0' object.[#所以我们必须转换prodSIARFixed“G0”对象。]
G0SIAR=as(prodSIARFixed, 'G0')

prodSIAR2x<-prodGCPV(lat=41,modeTrk='two',modeRad='prev', dataRad=G0SIAR)
prodSIARHoriz<-prodGCPV(lat=41, modeTrk='horiz',modeRad='prev',
dataRad=G0SIAR)

##Comparison of yearly values[年值的比较]
compare(prodSIARFixed, prodSIAR2x, prodSIARHoriz)
compareLosses(prodSIARFixed, prodSIAR2x, prodSIARHoriz)

##Compare of daily productivities of each tracking system[#每天每个跟踪系统生产的比较]
compareYf <- mergesolaR(prodSIARFixed, prodSIAR2x, prodSIARHoriz)
xyplot(compareYf, superpose=TRUE,
ylab='kWh/kWp', main='Daily productivity', auto.key=list(space='right'))

## End(Not run)[#(不执行)]

###Shadows[##阴影]
#Two-axis trackers[两轴跟踪]
struct2x=list(W=23.11, L=9.8, Nrow=2, Ncol=8)
dist2x=data.frame(Lew=40, Lns=30, H=0)
prod2xShd<-prodGCPV(lat=lat, dataRad=prom, modeTrk='two',
    modeShd='area', struct=struct2x, distances=dist2x)
print(prod2xShd)

#Horizontal N-S tracker[横向N-S跟踪]
structHoriz=list(L=4.83);
distHoriz=data.frame(Lew=structHoriz$L*4);

#Without Backtracking[如果没有回溯]
prodHorizShd<-prodGCPV(lat=lat, dataRad=prom, sample='10 min',
    modeTrk='horiz',
    modeShd='area', betaLim=60,
    distances=distHoriz,
    struct=structHoriz)
print(prodHorizShd)

xyplot(r2d(Beta)~r2d(w),
     data=prodHorizShd,
     type='l',
     main='Inclination angle of a horizontal axis tracker',
     xlab=expression(omega (degrees)),
     ylab=expression(beta (degrees)))

#With Backtracking[用回溯]
prodHorizBT<-prodGCPV(lat=lat, dataRad=prom, sample='10 min',
    modeTrk='horiz',
    modeShd='bt', betaLim=60,
    distances=distHoriz,
    struct=structHoriz)

print(prodHorizBT)

xyplot(r2d(Beta)~r2d(w),
     data=prodHorizBT,
     type='l',
     main='Inclination angle of a horizontal axis tracker\n with backtracking',
     xlab=expression(omega (degrees)),
     ylab=expression(beta (degrees)))

## Not run: [#不运行:]
compare(prodFixed, prod2x, prodHoriz, prod2xShd,
       prodHorizShd, prodHorizBT)

compareLosses(prodFixed, prod2x, prodHoriz, prod2xShd,
       prodHorizShd, prodHorizBT)

compareYf2 <- mergesolaR(prodFixed, prod2x, prodHoriz, prod2xShd,
       prodHorizShd, prodHorizBT)
xyplot(compareYf2, superpose=TRUE,
ylab='kWh/kWp', main='Daily productivity', auto.key=list(space='right'))

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 11:47 , Processed in 0.029212 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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