Quick solar_angles angle calculation package
Project description
SolarCalculations
This is a collection of solar angle and related calculations.
Source
These are based mostly on Chapter 6 of Heating, Ventilation, and Air Conditioning by Faye McQuistion and Jerald Parker, 3rd Edition, 1988, with minor pieces from other versions of the same book. Other sources are noted in the source. All the functions were written from scratch by me.
Releases
The latest release can be found on the Releases page. All packages are distributed through PyPi.
Documentation
Documentation is hosted on ReadTheDocs. The functions are all documented with Markdown syntax doc strings in a way that Sphinx can interpret them. To build the documentation, enter the docs/ subdirectory and execute make html
; then open /docs/_build/html/index.html
to see the documentation.
Testing
The source is tested using the python unittest framework. To execute all the unit tests, just execute coverage run -m pytest
. The tests are run on each commit by GitHub Actions, and coverage results are pushed to Coveralls. The goal is to be as close to 100% coverage as possible.
Validation
The code has been carefully compared against numerous sampled points in the unit tests, and also against EnergyPlus output, to ensure accurate values are being calculated. If you find something wrong, just file an issue!
Demonstration
In order to show how to use the library, a demonstration page was created, that is based on the source in the demos folder.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for solar_angles-0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc71b5d8ac5c12e31743e14525d9264de9878d126f0070ea72ab8bd70aacd8d |
|
MD5 | 9dcbd6e2b8b67ecca59f352791102125 |
|
BLAKE2b-256 | 5b10c7b88eee0287db774eb9359a0a28f8decd1a349251ee7ea2c8fa2b52f526 |