GenData: Solar irradiance data generation

Description Usage Arguments Value Author(s) Examples

Description

Generic function to generate high resolution solar irradiance data. It can genarate 1-min data from 10-min and 15-min solar irradiance databases.

Usage

1
GenData(clusChar = NULL, stp_from = "10 minutes", n_cores = 1, mc = 1000)

Arguments

clusChar

object of class genData.

stp_from

charachter object with values "10 minutes" or "15 minutes". It represents the original time resolution of the solar irradiance data

n_cores

numreic(1), is the used number of cores. Defaut is 1. This function uses the parallel calculation for time optimisation. For WINDOWS users it must be set to 1, since windows platform do not deals with fork() function.

mc

numreic(1)represents the number of iterations to choose the most probable paths. Default is 1000.

Value

a list object of 1-min solar irradiance data. Each element represents a day.

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("genData_obj")
data("GHI_10_min")

# data generation. For WINDOWS users n_cores must be 1.
GHI1min_gen <- GenData(clusChar = genData_obj, stp_from = "10 minutes", n_cores = 1)

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