Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the time when the Sun passes a certain azimuth
ResourceFunction["SolarAzimuthTime"][loc, date, azimuth] calculates at what point on the day date the sun has the azimuth azimuth at the location loc. |
Determine when the facade of the author's building gets sunlight on July 2nd, 2023:
| In[1]:= |
| Out[1]= |
Compare the time when the sun is exactly south for Amsterdam and 100 km east of Amsterdam:
| In[2]:= | ![]() |
| Out[5]= |
Calculate the difference:
| In[6]:= |
| Out[6]= |
This is roughly what you expect for this latitude:
| In[7]:= |
| Out[7]= |
Though the sun might have a certain azimuth, it does not mean that the sun is above the horizon. This especially holds for places that have periods of extended darkness:
| In[8]:= | ![]() |
| Out[11]= |
Plot the yearly variation of the time when the sun is perfectly south in Paris:
| In[12]:= | ![]() |
| Out[15]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License