DiffuseRadiation {solrad} | R Documentation |
Solar Diffuse Radiation on a Surface
Description
This function returns solar diffuse dadiation (in W/m2) for a given day of year, location and topography.
Usage
DiffuseRadiation(DOY, Lat, Lon, SLon, DS, Elevation, Slope)
Arguments
DOY |
Day of year |
Lat |
Latitude (in degrees) |
Lon |
Longitude in degrees |
SLon |
Standard longitude (based on time zone) in degrees |
DS |
Daylight saving in minutes |
Elevation |
Elevation of the site in meters |
Slope |
Site slope in degrees |
Examples
#Calculating atmospheric transmittance coefficient for two consecutive days on 45 degree
# latitude and 10 degree longitude and at 100 m altitude.
DOY <- seq(0, 2, .05)
Sdifopen <- DiffuseRadiation(DOY, Lat = 45, Lon=10, SLon=10, DS=0, Elevation = 100, Slope = 0)
#Note: only the difference between Lon and SLon matters not each value
plot(DOY, Sdifopen)
[Package solrad version 1.0.0 Index]