Learn R Programming

solaR2 (version 0.11)

B3_G0-class: Class "G0": irradiation and irradiance on the horizontal plane.

Description

This class contains the global, diffuse and direct irradiation and irradiance on the horizontal plane, and ambient temperature.

Arguments

Objects from the Class

Objects can be created by the function calcG0.

Slots

G0D:

Object of class data.table created by fCompD. It includes daily values of:

Fd:

numeric, the diffuse fraction

Ktd:

numeric, the clearness index

G0d:

numeric, the global irradiation on a horizontal surface (Wh/m²)

D0d:

numeric, the diffuse irradiation on a horizontal surface (Wh/m²)

B0d:

numeric, the direct irradiation on a horizontal surface (Wh/m²)

G0I:

Object of class data.table created by fCompI. It includes values of:

kt:

numeric, clearness index

G0:

numeric, global irradiance on a horizontal surface, (W/m²)

D0:

numeric, diffuse irradiance on a horizontal surface, (W/m²)

B0:

numeric, direct irradiance on a horizontal surface, (W/m²)

G0dm:

Object of class data.table with monthly mean values of daily irradiation.

G0y:

Object of class data.table with yearly sums of irradiation.

Ta:

Object of class data.table with intradaily ambient temperature values.

Besides, this class contains the slots from the Sol and Meteo classes.

Extends

Class "Meteo", directly. Class "Sol", directly.

Methods

as.data.tableD

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

as.data.tableI

signature(object = "G0"): conversion to a data.table with intradaily values.

as.data.tableM

signature(object = "G0"): conversion to a data.table with monthly values.

as.data.tableY

signature(object = "G0"): conversion to a data.frame with yearly values.

indexD

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

indexI

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

getLat

signature(object = "G0"): latitude of the inherited Sol object.

xyplot

signature(x = "G0", data = "missing"): display the time series of daily values of irradiation.

xyplot

signature(x = "formula", data = "G0"): displays the contents of a G0 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

Sol, Gef.