public
Description: Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
Home | Edit | New

Sun path analysis

The sun path analysis code in Pysolar is still pretty immature, but it’s also pretty cool. The basic deal is that you can start with a spherical picture of the sky and then calculate the path of the sun. This tells you when your photovoltaic panels will be shaded and when they’ll be in the sun.

A blog post describing basic usage is on Brandon’s blog. There is still more work to be done to develop a full shading analysis tool, but this at least makes cool pictures like the one below. The yellow lines estimate the path of the sun on June 21, September 21, and December 21, 2009.

(Click on the image for a larger version.)

Last edited by pingswept, Mon Nov 09 18:30:10 -0800 2009
Home | Edit | New
Versions: