Join the community


Free Green Tech - From freedom comes sustainability - Green Life Innovators - "Green Tech the open source way" > Sunalign
Print Send a link


The SunAlign program is a program that calculates the sun's position in the sky anywhere on the planet at any time, and aligns a heliostat accordingly. The first version of the program was written in basic by David Williams in the eighties. In 2008 William K. Stewart ported the program to Perl and in 2009 Marius Gundersen ported it to C and made an online javascript test tool

SunAlign Qbasic version

SunAlign generic basic version

How to run a Qbasic program on Vista

How to run a Qbasic program on Linux

SunAlign explained by David Williams

The Latitude and Longitude of the Sun by David Williams

ETIMSDEC.BAS Equation of TIMe and Solar DEClination

Sundial.bas Program for constructing sundials

SunAlign Perl version

SunAlign C version

TIP: Have google earth (external link) installed and running while testing these programs. These program takes latitude and longitude as input. If you don't happen to know the coordinates of the place for which you want to run a calculation by heart, it is a good idea having google earth running at the same time. For finding the correct timezone The world clock (external link) is a good web site.

Please also see the following forum thread, started by David Willams

strange experience with a heliostat

Article on heliostats on appropedia.org (external link)
Wikipedia article on heliostats (external link)
Sun Align JavaScript (external link): Test your sun align program against this simple tool.
Compiled version of the sundial program with printer support for windows (external link)

Created by: admin. Last Modification: Wednesday 21 of July, 2010 19:25:48 CEST by admin.


We proudly use Linux

freegreentech.org is operated by Green Life Innovators
GLI is registered as a legal entity in Norway under the organization number 993 163 872

Creative Commons License
Unless another license is explicitly stated, this content is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License

Powered by Tikiwiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF powered by The PHP Layers Menu System
RSS feed Wiki RSS feed Blogs RSS feed Articles RSS feed Image Galleries RSS feed Forums RSS feed Calendars