parClusGen: genData class

Description Usage Arguments Value Author(s) Examples

Description

Constructor function of the objects of genData class, needed to perform the generation procedure of hight resolution solar irradiance data. It is based on the resulting object dpgmmRes of the clustering procedure of the considered solar irradiance data. It also can be used to generate data based on similar climate conditions by setting genNewSqClass as TRUE and a dpgmmRes object corresponding to the similar climate (other than the considered solar irradiance data).

Usage

1
parClusGen(measures = NULL, dpgmmRes = NULL, genNewSqClass = FALSE, Xbins = NULL)

Arguments

measures

object of class SIRData.

dpgmmRes

object of class clusData.

genNewSqClass

boolean variable. If TRUE the function assigne days to classes based on similar climate approach. Default is FALSE.

Xbins

numeric(1) used if genNewSqClass is TRUE. It represents the number of bins to create the matrix of the daily clearness index distributions.

Value

an object of class genData

Author(s)

Azeddine Frimane Azeddine.frimane@uit.ac.ma; Azeddine.frimane@yahoo.com

Examples

1
2
3
4
5
6
7
8
 
# The example and data below are just to give an idea of how the script works and not to judge the performance of the method.

data("clusData_obj")
data("SIRData_obj")

# creat an object of class genData.
newgenDataObj <- parClusGen(SIRData_obj, clusData_obj)

frimane/SolarClusGnr documentation built on May 8, 2019, 8:58 p.m.