sunpath-chart

You are now following this Submission

In the Name of Allah - the Most Compassionate, Most Merciful.

Sun Path Chart View sunpath-chart on File Exchange

The importance of light in architecture can not be overstated. Understanding the impact of natural light on architectural space is essential for architects. This understanding includes knowledge of the sun and its position relative to a geographic location. [1]

Solar azimuth angle: the horizontal angle between south and the position of the sun.

Solar altitude angle: the vertical angle between the horizon and the position of the sun.

Zenith angle: (theta sub z) the angle between vertical and the position of the sun. [2]

Solar Position Chart for latitude 45º :

image

image source: https://www.oocities.org/~dmdelaney/Ottawa-solar-data/solar-angle-chart-latitude-45.jpg

Simulation

Tools:

  1. MATLAB : Matlab used to run code ( .m files ).
  2. 7zip : 7zip used to unzip commpred files.
  3. NotePad : Notepade used to see references.

You can set your own Latitude and Longitude in "main.m" file under ( % define location ) comment.

How to Run:

  1. Download Project from Git.
  2. Unzip files.
  3. Add folder to the Matlab Path.
  4. Run main.m

Result:

result

References:

[1] http://www.cccarchitecture.org/solar-paths-and-positions

[2] https://www.oocities.org/~dmdelaney/Ottawa-solar-data/Ottawa-Ontario-sun-and-weather-data.html

[3] https://www.mathworks.com/matlabcentral/fileexchange/83453-sun-position-algorithm

[4] https://www.pveducation.org/pvcdrom/properties-of-sunlight/suns-position-to-high-accuracy

[5] https://www.e-education.psu.edu/eme810/node/558

[6] http://www.plea-arch.org/wp-content/uploads/PLEA-NOTE-1-SOLAR-GEOMETRY.pdf

[7] https://www.mathworks.com/matlabcentral/fileexchange/23051-vectorized-solar-azimuth-and-elevation-estimation

[8] https://github.com/chadagreene/CDT

[9] http://andrewmarsh.com/apps/releases/sunpath2d.html

[10] https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/dff4ffb7-190a-4494-839f-ff39787bd48e/eb22d828-c61c-430d-b325-e6e020330325/previews/cdt/doc/html/CDT_Getting_Started.html

Cite As

Muhammad Muawiya (2026). sunpath-chart (https://github.com/muhammadmuawiya879/sunpath-chart/releases/tag/v1.0.0), GitHub. Retrieved .

Acknowledgements

Inspired by: Sun Position Algorithm

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.