Learn R Programming

solaR (version 0.14)

fCompI: Calculation of solar irradiance on a horizontal surface

Description

From the daily global, diffuse and direct irradiation values supplied by fCompD, the profile of the global, diffuse and direct irradiance is calculated with the rg and rg components of fSolI.

Usage

fCompI(CompD, SolI)

Arguments

CompD
data.frame as provided by fCompD
SolI
data.frame as provided by fSolI

Value

  • A data.frame including the result of merge(CompD,SolI,sort=FALSE) and three additional components:
  • G0numeric, global irradiance on a horizontal surface, (W/m²)
  • D0numeric, diffuse irradiance on a horizontal surface, (W/m²)
  • B0numeric, direct irradiance on a horizontal surface, (W/m²)

encoding

UTF-8

References

  • Collares-Pereira, M. y Rabl, A., The average distribution of solar radiation: correlations between diffuse and hemispherical and between daily and hourly insolation values. Solar Energy, 22:155–164, 1979.
Perpiñán, O, Energía Solar Fotovoltaica, 2010. (http://procomun.wordpress.com/documentos/libroesf/)

See Also

fCompD, fSolI

Examples

Run this code
lat=37.2;
Nm=1
SolD<-fSolD(lat,dn=100)
SolI<-fSolI(SolD,Nm=Nm)
G0d=5000
CompD<-fCompD(SolD,G0d, corr = "Page") 
(CompI<-fCompI(CompD,SolI))

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,G0dm, corr = "Page") 
CompI<-fCompI(CompD,SolI)
head(CompI)

Run the code above in your browser using DataLab