Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 729 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 729 Bytes

SolarDirectionClass (for solar panels)

A class to calculate the direction and elevation of a solar panel to point it accurately to the position of the sun
It can also be used to prove that the earth is NOT flat :-)

Please note that calculations are only valid for dates between 1901 and 2099, due to an approximation used in the Julian Day calculation.

When you are pleased with this class and you wish to donate for the work that was
involved with the conversion from VBA to C++. I will appreciate a donation on my patreon page:
https://www.patreon.com/hennep

An example of how to use this class can be found in the main function at the end of main.cpp

Good luck,
Hennie Peters
Zevenaar, Netherlands