## Declination
declination(d, method = 'michalsky')## Eccentricity
eccentricity(d, method = 'michalsky')
## Equation of time
eot(d)
## Solar time
sunrise(d, lat, method = 'michalsky',
decl = declination(d, method = method))
## Extraterrestrial irradiation
bo0d(d, lat, method = 'michalsky',
decl = declination(d, method = method),
eo = eccentricity(d, method = method),
ws = sunrise(d, lat, method = method))
## Sun hour angle
sunHour(d, BTi, sample = 'hour', EoT = TRUE,
method = 'michalsky',
eqtime = eot(d))
## Cosine of the zenith angle
zenith(d, lat, BTi, sample = 'hour', method = 'michalsky',
decl = declination(d, method = method),
w = sunHour(d, BTi, sample, method = method))
## Azimuth angle
azimuth(d, lat, BTi, sample = 'hour', method = 'michalsky',
decl = declination(d, method = method),
w = sunHour(d, BTi, sample, method = method),
cosThzS = zenith(d, lat, BTi, sample,
method = method,
decl = decl,
w = w))