Description Usage Arguments Details Value Author(s)
Calculate the position of the sun
1 2 | fCalcSunPosition(DoY.V.n, Hour.V.n, Lat_deg.n, Long_deg.n,
TimeZone_h.n, useSolartime.b = TRUE)
|
DoY.V.n |
Data vector with day of year (DoY) |
Hour.V.n |
Data vector with time as decimal hour |
Lat_deg.n |
Latitude in (decimal) degrees |
Long_deg.n |
Longitude in (decimal) degrees |
TimeZone_h.n |
Time zone (in hours) |
useSolartime.b |
by default corrects hour (given in local winter time) for latitude to solar time << where noon is exactly at 12:00. Set this to FALSE to compare to code that uses local winter time |
This code assumes that Hour is given in local winter time zone, and corrects it by longitude to
solar time (where noon is exactly at 12:00).
Note: This is different form reference PVWave-code,
that does not account for solar time and uses winter time zone.
Set argument useSolartime.b
to FALSE to use the local winter time instead.
Data list with the following items:
SolTime |
Solar time (SolTime, hours) |
SolDecl |
Solar declination (SolDecl, rad) |
SolElev |
Solar elevation with 0 at horizon (SolElev, rad) |
SolAzim |
Solar azimuth with 0 at North (SolAzim, rad) |
AMM (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.