Learn R Programming

sirad (version 2.0-2)

bcauto: Auto-calibrate Bristow-Campbell model

Description

Function estimates Bristow-Campbell model coefficient 'B' based on auto-calibration procedure

Usage

bcauto(lat,lon,days,Tmax,Tmin,tal,BCb_guess=0.13,epsilon=0.5,perce=NA,dcoast=NA)

Arguments

lat
Latitude in decimal degrees.
lon
Longitude in decimal degrees.
days
Vector of class 'Date' of length n.
Tmax
Vector of length n containing daily maximum temperature [C].
Tmin
Vector of length n containing daily minumum temperature [C].
tal
Clear sky transmissivity.
BCb_guess
Assumption of Bristow-Campbell coefficient. Default set to 0.13.
epsilon
A value of which potential radiation is decreased. See "details".
perce
Percent of clear days. In 'NA' then perce is estimated based on the Cloud Fraction Cover map.
dcoast
Distance to the coast [km].

Value

  • BCbBristow-Campbell 'B' coefficient

Details

The auto-calibration method bases on the assumption that on the clear-sky days model should not overpredict potential values. To define those clear-sky days, we estimate daily solar radiation using Bristow and Campbell model with default values of B = 0.13 and tal = 0.72 and we select those days for which estimated daily solar radiation is the closest to the potential values (extraterrestrial*tal). The number of clear-sky days is estimated based on the mean Cloud Fraction Cover map. Next, based on selected clear-sky days, we perform a non-linear least squares regression to derive B coefficient treating potential values decreased by 'epsilon' as a reference solar radiation values. The analysis of auto-calibration results showed clear correlation between optimal 'epsilon' and distance to the coast. We proposed simplified method in which 'epsilon' is equal to 0.1 MJm-2 or to 0.5 MJm-2 when distance to the coast is smaller or bigger than 15 km respectively.

References

Bojanowski, J., Donatelli, M., 2012, Auto-calibration of the Bristow and Campbell solar radiation model, Environmental Modelling and Software. [in prep.]

See Also

'bc' to use Bristow-Campbell model, and 'bccal' to perform calibration based on reference data.

Examples

Run this code
data(Metdata)
tmax <- Metdata$meteo$TEMP_MAX
tmin <- Metdata$meteo$TEMP_MIN
days <- Metdata$meteo$DAY
lat <- Metdata$LATITUDE
lon <- Metdata$LONGITUDE
rad_mea <- Metdata$meteo$RAD_MEA
dcoast <- Metdata$DCOAST
bcauto(lat,lon,days,tmax,tmin,tal=0.76,BCb_guess=0.13,epsilon=0.5,perce=NA,dcoast)

Run the code above in your browser using DataLab