Learn R Programming

solaR (version 0.46)

B2_Sol-class: Class "Sol": Apparent movement of the Sun from the Earth

Description

A class which describe the apparent movement of the Sun from the Earth.

Arguments

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 by fSolD.

solI:

Object of class "zoo" created by fSolI.

match:

numeric, index of solD related with the index of solI.

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 a zoo object with daily values.

as.zooI

signature(object = "Sol"): conversion to a zoo object with intradaily values.

getLat

signature(object = "Sol"): latitude (degrees) as defined in the call to calcSol.

indexD

signature(object = "Sol"): index of the solD slot.

indexI

signature(object = "Sol"): index of the solI object.

indexRep

signature(object = "Sol"): accesor for the match slot.

xyplot

signature(x = "formula", data = "Sol"): displays the contents of a Sol object with the xyplot method for formulas.

References

  • Perpi<U+00F1><U+00E1>n, O, Energ<U+00ED>a Solar Fotovoltaica, 2015. (https://oscarperpinan.github.io/esf/)

  • Perpi<U+00F1><U+00E1>n, O. (2012), "solaR: Solar Radiation and Photovoltaic Systems with R", Journal of Statistical Software, 50(9), 1-32, 10.18637/jss.v050.i09

See Also

'>G0, '>Gef.