Learn R Programming

solaR (version 0.14)

fSombra: Shadows on PV systems

Description

Compute the shadows factor for two-axis and horizontal N-S axis trackers and fixed surfaces.

Usage

fSombra(AngGen, distancias, estruct, modoSeg='est',prom=TRUE)

fSombra6(AngGen,distancias,estruct,prom=TRUE)

fSombra2X(AngGen,distancias,estruct)

fSombraHoriz(AngGen, distancias,estruct)

fSombraEst(AngGen, distancias,estruct)

Arguments

AngGen
data.frame, including at least three variables named Beta, Alfa and cosTheta. It may be the result of fTheta.
distancias
data.frame, with a component named Leo, 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<
estruct
list. When modoSeg='est' or modoSeg='horiz' only a component named L, which is the height (meters) of the tracker, is needed. For two-axis trackers (modoSeg='doble'), an additional component
modoSeg
character, to be chosen from 'est', 'doble' or 'horiz'. When modoSeg='est' the surface is fixed (inclination and azimuth angles are constant). The performance of a two-axis tracker is calculated with
prom
logical, only needed for two-axis tracker mode. If TRUE the shadows are averaged between the set of trackers defined by estruct$Nfilas and estruct$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.

encoding

UTF-8

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 modoSeg the corresponding function is selected. fSombra6 calculates the shadows factor in a set of six two-axis trackers. If distancias has only one row, this function constructs a symmetric grid around a tracker located at (0,0,0). These five trackers are located at (-Leo, Lns, H), (0, Lns, H), (Leo, Lns, H), (-Leo, 0, H) and (Lns, 0, H). It is possible to define a irregular grid around (0,0,0) including five rows in distancias. 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 estruct$Nfilas and estruct$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.

References

  • Perpiñán, O.: Grandes Centrales Fotovoltaicas: producción, seguimiento y ciclo de vida. PhD Thesis, UNED, 2008.http://e-spacio.uned.es/fez/view.php?pid=bibliuned:20080.
Perpiñán, O, Energía Solar Fotovoltaica, 2010. (http://procomun.wordpress.com/documentos/libroesf/)

See Also

prodSFCR, optimSombra, fTheta, fInclin

Examples

Run this code
lat=37.2;
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; 

SolD<-fSolD(lat,BTd=fBTd(Modo='DiasProm'))
SolI<-fSolI(SolD,Nm=6)
CompD<-fCompD(SolD,G0d=G0dm, corr = 'Page') 
CompD$Ta=25
CompI<-fCompI(CompD,SolI)
AngGen<-fTheta(SolI,beta=35);

###Two-axis tracker
#Symmetric grid
distancias=data.frame(Leo=40,Lns=30,H=0)
estruct=list(W=23.11, L=9.8, Nfilas=2, Ncol=8)

FactorSombra<-fSombra6(AngGen,distancias, estruct,prom=FALSE)

xyplot(FS~w,groups=Mes, data=FactorSombra,
    type='l',auto.key=list(space='right'))

#Symmetric grid defined with a five rows data.frame
distancias=data.frame(Leo=c(-40,0,40,-40,40),Lns=c(30,30,30,0,0),H=0)
FactorSombra2<-fSombra6(AngGen,distancias, estruct,prom=FALSE)

#of course, with the same result
identical(FactorSombra,FactorSombra2)

Run the code above in your browser using DataLab