C_fSombra {solaR} | R Documentation |
Shadows on PV systems
Description
Compute the shadows factor for two-axis and horizontal N-S axis trackers and fixed surfaces.
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 |
distances |
|
struct |
|
modeTrk |
character, to be chosen from |
prom |
logical, only needed for two-axis tracker mode. If |
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.
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.
Author(s)
Oscar Perpiñán Lamigueiro.
References
Perpiñán, O.: Grandes Centrales Fotovoltaicas: producción, seguimiento y ciclo de vida. PhD Thesis, UNED, 2008. http://e-spacio.uned.es/fez/eserv/tesisuned:IngInd-Operpinan/GrandesCentrales.pdf.
Perpiñán, O, Energía Solar Fotovoltaica, 2015. (https://oscarperpinan.github.io/esf/)
Perpiñán, O. (2012), "solaR: Solar Radiation and Photovoltaic Systems with R", Journal of Statistical Software, 50(9), 1-32, doi: 10.18637/jss.v050.i09
See Also
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
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))