Learn R Programming

solaR2 (version 0.11)

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 "data.table" created by fSolD.

solI:

Object of class "data,table" created by fSolI.

method:

character, method for the sun geometry calculations.

sample:

difftime, increment of the intradaily sequence.

Methods

as.data.tableD

signature(object = "Sol"): conversion to a data.table with daily values.

as.data.tableI

signature(object = "Sol"): conversion to a data.table 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.

xyplot

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

Author

Oscar Perpiñán Lamigueiro, Francisco Delgado López.

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, tools:::Rd_expr_doi("10.18637/jss.v050.i09")

See Also

G0, Gef.