![Ladybug](http://www.ladybug.tools/assets/img/ladybug.png)
[![Build Status](https://travis-ci.com/ladybug-tools/ladybug.svg?branch=master)](https://travis-ci.com/ladybug-tools/ladybug-comfort)
[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/ladybug-comfort/badge.svg)](https://coveralls.io/github/ladybug-tools/ladybug-comfort)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
# ladybug-comfort
Ladybug-comfort is a Python library that adds thermal comfort functionalities to
[ladybug-core](https://github.com/ladybug-tools/ladybug/).
## [API Documentation](https://www.ladybug.tools/ladybug-comfort/docs/)
## 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:
* [CBE Comfort Tool](https://github.com/CenterForTheBuiltEnvironment/comfort_tool) for indoor thermal comfort calculations. Available under GPL.
* [UTCI Fortran Code](http://www.utci.org/utci_doku.php) for outdoor thermal comfort calculations. Available under MIT.
Applicable copyright notices for these works can be found within the relevant .py files.
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | ladybug-comfort-0.13.5.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 58 浏览量
2022-01-12
20:29:24
上传
评论
收藏 11.03MB GZ 举报
温馨提示
共131个文件
py:63个
csv:12个
txt:9个
资源来自pypi官网。 资源全名:ladybug-comfort-0.13.5.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | ladybug-comfort-0.13.5.tar.gz (131个子文件)
setup.cfg 102B
custom.css 939B
standingspline.csv 94KB
seatedspline.csv 94KB
condition.csv 76KB
long_mrt.csv 2KB
solarcal_validation.csv 1KB
short_dmrt.csv 1KB
view_factor.csv 1KB
temperature.csv 822B
set_validation.csv 556B
rel_humidity.csv 504B
prevailing.csv 455B
pmv_validation.csv 287B
Dockerfile 1KB
.dockerignore 43B
boston.epw 1.57MB
chicago.epw 1.56MB
.gitignore 142B
sample_model_grid.hbjson 96KB
layout.html 4KB
TestRoom_2.ill 11.27MB
TestRoom_2_ref.ill 11.27MB
TestRoom_2.ill 7.35MB
TestRoom_2_ref.ill 7.35MB
TestRoom_1_ref.ill 395KB
TestRoom_1.ill 395KB
TestRoom_1_ref.ill 257KB
TestRoom_1.ill 257KB
MANIFEST.in 41B
tox.ini 214B
occ_schedules.json 26KB
grids_info.json 418B
grids_info.json 418B
.releaserc.json 317B
air_speed.json 306B
TestRoom_1_enclosure2.json 188B
TestRoom_2_enclosure.json 109B
TestRoom_1_enclosure.json 109B
LICENSE 34KB
README.md 2KB
ISSUE_TEMPLATE.md 2KB
CONTRIBUTING.md 445B
README.md 374B
CODE_OF_CONDUCT.md 279B
README.md 16B
README.md 16B
scene.mod 634B
.nojekyll 1B
PKG-INFO 3KB
PKG-INFO 3KB
polygonpmv.py 53KB
solarcal.py 41KB
map.py 37KB
solarcal_test.py 33KB
solarcal.py 33KB
adaptive_test.py 31KB
pmv.py 28KB
pmv.py 26KB
utci_test.py 22KB
pmv_test.py 22KB
adaptive.py 21KB
conf.py 21KB
mtx.py 20KB
adaptive.py 20KB
utci.py 18KB
utci.py 18KB
utci.py 18KB
adaptive.py 14KB
mrt.py 10KB
epw.py 10KB
solarcal.py 9KB
pmv.py 8KB
sql.py 8KB
_enclosure.py 7KB
cli_map_test.py 7KB
chart_pmvpolygon_test.py 7KB
_helper.py 6KB
epw_test.py 5KB
wc.py 5KB
tcp.py 4KB
base.py 4KB
air.py 4KB
hi.py 3KB
wbgt.py 3KB
at.py 3KB
humidex.py 2KB
cli_mtx_test.py 2KB
ts.py 2KB
degreetime_test.py 2KB
di.py 2KB
map_test.py 2KB
cli_epw_test.py 2KB
asv.py 2KB
cli_sql_test.py 2KB
wc_test.py 2KB
hi_test.py 2KB
setup.py 1KB
degreetime.py 1KB
humidex_test.py 1KB
共 131 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功