rayExt: calculation of extraterrestrial radiation

Description Usage Arguments Value Author(s) Examples

Description

function that calculates the extraterstrial radiation knowing the latitude, longitude and the time-step wanted

Usage

1
rayExt(phi = 0, lg = 0, tStep = 300)

Arguments

phi

latitude of the considered site

lg

longitude of the considered site

tStep

time-step wanted, gived by second (example: for 5min; tStep = 300)

Value

An object of class matrix, each line represents one day and each column represents one time-step

Author(s)

Azeddine Frimane.
Laboratory of renewable Energies and Environment (LR2E),
Faculty of Science, IBN TOFAIL University, Morocco.
email: Azeddine.frimane@uit.ac.ma; Azeddine.frimane@yahoo.com

Examples

1
2
3
4
5
6
# calculate the extraterrestrial radiation for a given site (latitude = 15, longitude = 15)
# with a time-step of 1 minute
matr <- rayExt(phi = 15, lg = 15, tStep = 60) 

# plot a random day example
plot(1:(60*24), matr[sample(1:366, 1), ], type = "l")

frimane/SolMultinomClass documentation built on Jan. 18, 2021, 4:49 a.m.