readG0dm: Monthly mean values of global horizontal irradiation.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read.R

Description

Constructor for the class Meteo with 12 values of monthly means of irradiation.

Usage

1
2
3
4
readG0dm(G0dm, Ta = 25, lat = 0,
    year= as.POSIXlt(Sys.Date())$year+1900,
    promDays = c(17,14,15,15,15,10,18,18,18,19,18,13),
    source = '')

Arguments

G0dm

numeric, 12 values of monthly means of daily global horizontal irradiation (Wh/m²).

Ta

numeric, 12 values of monthly means of ambient temperature (degrees Celsius).

lat

numeric, latitude (degrees) of the location.

year

numeric (Default: current year).

promDays

numeric, set of the average days for each month.

source

character string with information about the source of the values.

Value

Meteo object

Author(s)

Oscar Perpiñán Lamigueiro.

See Also

readBD

Examples

1
2
3
4
5
6
7
G0dm =
  c(2.766,3.491,4.494,5.912,6.989,7.742,7.919,7.027,5.369,3.562,2.814,2.179) * 1000;
Ta = c(10, 14.1, 15.6, 17.2, 19.3, 21.2, 28.4, 29.9, 24.3, 18.2, 17.2, 15.2)
BD <- readG0dm(G0dm = G0dm, Ta = Ta, lat = 37.2)
print(BD)
getData(BD)
xyplot(BD)

solaR documentation built on Oct. 19, 2021, 9:06 a.m.