Calculate solar geometry, such as height or azimuth of the Sun for the purpose of obtaining information for solar panel installation.
Add to your Gemfile and run the bundle
command to install it.
gem "solar_geometry_calculation"
Requires Ruby 2.0.0 or later.
Instantiate SolarPositionCalculation class.
solar_position_calculation = SolarPositionCalculation.new(latitude: "45.5")
Questions or problems? Please post them on the issue tracker. You can contribute changes by forking the project and submitting a pull request. You can ensure the tests passing by running bundle
and rake
.
This gem is created by Tadatoshi Takahashi and is under the MIT License.