Skip to main content

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 PyPIRelease PyPI - Version

The latest release can be found on the Releases page. All packages are distributed through PyPi.

Documentation Documentation Status

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 DevelopmentTest Flake8 Coverage Status

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.

Metadata

Release files for solar-angles 0.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solar-angles 0.26
File Size Uploaded
solar_angles-0.26.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for solar-angles 0.26
File Interpreter ABI Platform
solar_angles-0.26-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / solar_angles-0.26.tar.gz

Download URL solar_angles-0.26.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8ada6bc1cd4465d467d10dd62aad6a50523fe6bb68707964099d3862bf6f36
BLAKE2b-256 checksum
How to use checksums
3ed40b73ede40713be04004905cc989832389febaeda98c2c43d5a018796d05b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / solar_angles-0.26-py3-none-any.whl

Download URL solar_angles-0.26-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdc71b5d8ac5c12e31743e14525d9264de9878d126f0070ea72ab8bd70aacd8d
BLAKE2b-256 checksum
How to use checksums
5b10c7b88eee0287db774eb9359a0a28f8decd1a349251ee7ea2c8fa2b52f526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.26 This release

2 release files

0.25

2 release files

0.22

1 release file

0.21

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page