C_fBTd | R Documentation |
Construction of a daily time base for solar irradiation calculation
fBTd(mode = "prom",
year = as.POSIXlt(Sys.Date())$year+1900,
start = paste('01-01-',year,sep = ''),
end = paste('31-12-',year,sep = ''),
format = '%d-%m-%Y')
mode |
character, controls the type of time base to be
created. With |
year |
which year is to be used for the time base when |
start |
first day of the time base for |
end |
last day of the time base for |
format |
format of |
This function is commonly used inside fSolD
.
This function returns a POSIXct
object.
Oscar Perpiñán Lamigueiro
Perpiñán, O, Energía Solar Fotovoltaica, 2025. (https://blogs.upm.es/oscarperpinan/libros/esf/)
Perpiñán, O. (2012), "solaR: Solar Radiation and Photovoltaic Systems with R", Journal of Statistical Software, 50(9), 1-32, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v050.i09")}
fSolD
,
as.POSIXct
,
seq.POSIXt
.
#Average days
fBTd(mode = 'prom')
#The day #100 of the year 2008
BTd = fBTd(mode = 'serie', year = 2008)
BTd[100]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.