/solar_geometry_calculation

Calculation portion of solar geometry

Primary LanguageRubyMIT LicenseMIT

Solar Geometry Calculation

Calculate solar geometry, such as height or azimuth of the Sun for the purpose of obtaining information for solar panel installation.

Installation

Add to your Gemfile and run the bundle command to install it.

gem "solar_geometry_calculation"

Requires Ruby 2.0.0 or later.

Usage

Instantiate SolarPositionCalculation class.

solar_position_calculation = SolarPositionCalculation.new(latitude: "45.5")

Development

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.