PROCEDURE FOR CALCULATING COMFORT IMPACT OF SOLAR GAIN ON OCCUPANTS BY ASHRAE 55-2020
Convert a solar gain on human to radiant temperature.
Install
pip install solartotr
Usage
import solartotr
# 自动计算时角
t = solartotr.get_hour_angle()
# 自动计算太阳赤纬角
sun_angle = solartotr.get_sun_angle()
print("Sun angle:", sun_angle)
# 根据时角、地理纬度和太阳赤纬角计算太阳高度角
b = solartotr.get_h(t=t, latitude=40, sun_angle=sun_angle)
print(b)
# 根据太阳高度角和海拔高度计算直射太阳辐射
i_dir = solartotr.get_i_dir(b=0, height=800)
# 根据直射太阳辐射、环境温度、太阳高度角和太阳相对于人正面的夹角计算辐射温度
tr = solartotr.solar_to_tr(i_dir=i_dir, ta=30, b=0, sharp=120)
print(tr)
Parameters
t: 时角,单位为度,正午为0度,取值-180度到180度latitude: 地理纬度,单位为度,北纬为正,南纬为负sun_angle: 太阳赤纬角,单位为度,北纬为正,南纬为负b: 太阳高度角,单位为度,0-90i_dir: 直射太阳辐射,单位为W/m2ta: 环境温度,单位为摄氏度b: 太阳高度角,单位为度sharp: 太阳相对于人正面的夹角,单位为度tr: 辐射温度,单位为摄氏度
References
ASHRAE 55-2020, Thermal Environmental Conditions for Human Occupancy.
Metadata
Release files for solartotr 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| solartotr-0.0.2.tar.gz | 5.4 kB | Without provenance | Details for solartotr-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solartotr-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for solartotr-0.0.2-py3-none-any.whl |
Total release size: 10.9 kB
Release files / solartotr-0.0.2.tar.gz
| Download URL | solartotr-0.0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90722e87cffa3103014a772e2dc9c14cfb0972a707abb130a78609c84a5587b1
|
|
BLAKE2b-256 checksum How to use checksums |
80b46aef9de38e00fd1b25ea1d1c5e516bb0f0f5d89e858f5622f65b953f99b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / solartotr-0.0.2-py3-none-any.whl
| Download URL | solartotr-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b1bf9b699e75a5cbd14ce760854b6b1960e6f6414e58d90152642c8c51b7848
|
|
BLAKE2b-256 checksum How to use checksums |
e0fed528b243642fe4dac8b7beb10d912017c9638a79c9c4ece9fd1dd82f7e10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for solartotr 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.