/ladybug-comfort

Ladybug comfort plugin

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Ladybug

Build Status Coverage Status

Python 2.7 Python 3.6 IronPython

ladybug-comfort

Ladybug-comfort is a Python library that adds thermal comfort functionalities to Ladybug.

Installation

pip install ladybug-comfort

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:

ladybug. Available under GPL. 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.