Skip to main content

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

Project description


Build Status Coverage Status

Python 2.7 Python 3.6 IronPython


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

API Documentation


pip install ladybug-comfort


"""Get the percentage of time outdoor conditions are comfortable with/without sun + wind"""
from ladybug.epw import EPW

epw_file_path = './tests/epw/chicago.epw'
epw = EPW(epw_file_path)
utci_obj_exposed = epw.get_universal_thermal_climate_index(
  include_wind=True, include_sun=True)
utci_obj_protected = epw.get_universal_thermal_climate_index(
  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 theses works can be found within the relevant .py files.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ladybug-comfort, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size ladybug_comfort-0.5.0-py2.py3-none-any.whl (346.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ladybug-comfort-0.5.0.tar.gz (326.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page