B2_Sol-class {solaR} | R Documentation |
Class "Sol": Apparent movement of the Sun from the Earth
Description
A class which describe the apparent movement of the Sun from the Earth.
Objects from the Class
Objects can be created by calcSol
.
Slots
lat
:numeric, latitude (degrees) as defined in the call to
calcSol
.solD
:Object of class
"zoo"
created byfSolD
.solI
:Object of class
"zoo"
created byfSolI
.match
:numeric, index of
solD
related with the index ofsolI
.method
:character, method for the sun geometry calculations.
sample
:difftime
, increment of the intradaily sequence.
Methods
- as.data.frameD
signature(object = "Sol")
: conversion to a data.frame with daily values.- as.data.frameI
signature(object = "Sol")
: conversion to a data.frame with intradaily values.- as.zooD
signature(object = "Sol")
: conversion to azoo
object with daily values.- as.zooI
signature(object = "Sol")
: conversion to azoo
object with intradaily values.- getLat
signature(object = "Sol")
: latitude (degrees) as defined in the call tocalcSol
.- indexD
signature(object = "Sol")
: index of thesolD
slot.- indexI
signature(object = "Sol")
: index of thesolI
object.- indexRep
signature(object = "Sol")
: accesor for thematch
slot.- xyplot
signature(x = "formula", data = "Sol")
: displays the contents of aSol
object with thexyplot
method for formulas.
Author(s)
Oscar Perpiñán Lamigueiro.
References
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