Skip to main content

Plots the horizontal and vertical sun path diagrams

Project description

Sun Path Diagrams

Sun Path Diagrams is an application that outputs, as png images, the horizontal and vertical sun path diagrams. The input parameters are completed using a GUI built with Tkinter. The algorithms and formulas used to calculate the sun position were taken from the paper 'Solar position algorithm for solar radiation applications' (I. Reda, A. Andreas, 2003).

Installation

Create a virtual environment, activate it and run the command below in your terminal:

pip install sun-path-diagrams

Usage

Once the installation process is finished, run

sun-path-diagrams

in your terminal and the Sun Path Diagrams GUI should appear. The input parameters in the GUI are (hopefully) self-explanatory. Note that there is input validation built in the GUI but it is not exhaustive.

Some extra notes:

  • The minimum year is 1900 and the maximum is 2100
  • The image files are automatically named as VerticalSunPath_year-month-day.png and HorizontalSunPath_year-month-day.png where year-month-day is the date for which the sun-path is calculated
  • The resolution of the output images is 800x800 pixels, enough for most reports or presentations
  • The plotting data is saved (if selected) as a csv file with the fields: dates, azimuths and altitudes. There are 365/366 records (one for each day of the year) and the azimuths and altitudes contain 24 values each (for every hour of the day). The csv file is named SunPositions_year-month-day.csv

Release History

  • 1.0.0
    • First working release

Licence

The Sun Path Diagrams app is available under the GNU General Public License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sun-path-diagrams-1.0.0.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sun_path_diagrams-1.0.0-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file sun-path-diagrams-1.0.0.tar.gz.

File metadata

  • Download URL: sun-path-diagrams-1.0.0.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for sun-path-diagrams-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9dac22aaf02abaab1231e61a8e849f44f6d06cfb70a2c6f03d4da8b7be7c2796
MD5 8d4bd2234a6973363098bb5b1f7edb82
BLAKE2b-256 c027da818f1272f82f7194efd36025beb36aabe5af31159cabbdcfef4885a10c

See more details on using hashes here.

File details

Details for the file sun_path_diagrams-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sun_path_diagrams-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8e4c5f090280db29a2fff78252ffd073c6b0f87bc3a3f5fa60abb768ede2d4
MD5 284cddb98c32efcd5721744adbc37d54
BLAKE2b-256 16db1094285a9add1670f081a550fbbbb9e2c65097ba745116e9ad09a8d02b47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page