Ladybug comfort is a Python library that adds thermal comfort functionalities to Ladybug.
Project description
ladybug-comfort
Ladybug-comfort is a Python library that adds thermal comfort functionalities to ladybug-core.
API Documentation
Installation
pip install ladybug-comfort
If you want to also include the dependencies needed for thermal mapping use:
pip install -U honeybee-energy[mapping]
To check if the Ladybug-comfort command line interface is installed correctly,
use ladybug-comfort --help
.
Usage
"""Get the percentage of time outdoor conditions are comfortable with/without sun + wind"""
from ladybug.epw import EPW
from ladybug_comfort.collection.utci import UTCI
epw_file_path = './tests/epw/chicago.epw'
epw = EPW(epw_file_path)
utci_obj_exposed = UTCI.from_epw(epw, include_wind=True, include_sun=True)
utci_obj_protected = UTCI.from_epw(epw, include_wind=False, include_sun=False)
print(utci_obj_exposed.percent_neutral) # comfortable percent of time with sun + wind
print(utci_obj_protected.percent_neutral) # comfortable percent of time without sun + wind
derivative work
Ladybug-comfort is a derivative work of the following software projects:
- CBE Comfort Tool for indoor thermal comfort calculations. Available under GPL.
- UTCI Fortran Code for outdoor thermal comfort calculations. Available under MIT.
Applicable copyright notices for these works can be found within the relevant .py files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ladybug-comfort-0.18.41.tar.gz
(146.4 kB
view hashes)
Built Distribution
Close
Hashes for ladybug_comfort-0.18.41-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d91a484a49ff42c5eaf88c98b9e0fe88175dec0e4798fb431f1b584dca24a0 |
|
MD5 | 1239e5b693aa889255d014833f49ffe4 |
|
BLAKE2b-256 | 83a502bc0578947317ec8edd3fbec72afb39acbfe783434d654cf9d5eba75bbf |