mergesolaR-methods: Merge solaR objects

Description Usage Arguments Methods Examples

Description

Merge the daily time series of solaR objects

Usage

1
2
## S4 method for signature 'G0'
mergesolaR(...)

Arguments

...

A list of objects to be merged.

Methods

The class of the first element of ... is used to determine the suitable method. Only the most important daily variable is merged, depending on the class of the objects:

signature(... = "Meteo")

G0

signature(... = "G0")

G0d

signature(... = "Gef")

Gefd

signature(... = "ProdGCPV")

Yf

signature(... = "ProdPVPS")

Yf

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
lat = 37.2;
G0dm = c(2766, 3491, 4494, 5912, 6989, 7742, 7919, 7027, 5369, 3562, 2814,
2179)
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)
prom = list(G0dm = G0dm, Ta = Ta)

###Different tracker methods
ProdFixed <- prodGCPV(lat = lat,dataRad = prom, keep.night = FALSE)
Prod2x <- prodGCPV(lat = lat, dataRad = prom, modeTrk = 'two', keep.night = FALSE)
ProdHoriz <- prodGCPV(lat = lat,dataRad = prom, modeTrk = 'horiz', keep.night = FALSE)

prod <- mergesolaR(ProdFixed, Prod2x, ProdHoriz)
head(prod)

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