瓢虫舒适是一个python库,添加热舒适功能瓢虫。
ladybug-comfort的Python项目详细描述
瓢虫舒适度
瓢虫舒适是一个python库,添加热舒适功能瓢虫。
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
导数功
瓢虫舒适度是以下软件项目的衍生产品:
ladybug。根据GPL提供。 CBE Comfort Tool用于室内热舒适性计算。根据GPL提供。 UTCI Fortran Code用于室外热舒适性计算。麻省理工学院提供。
这些作品的适用版权声明可以在相关的.py文件中找到。