Skip to main content

Convert a solar gain on human to radiant temperature.

Project description

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-90
  • i_dir: 直射太阳辐射,单位为W/m2
  • ta: 环境温度,单位为摄氏度
  • b: 太阳高度角,单位为度
  • sharp: 太阳相对于人正面的夹角,单位为度
  • tr: 辐射温度,单位为摄氏度

References

ASHRAE 55-2020, Thermal Environmental Conditions for Human Occupancy.

Project details


Download files

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

Source Distribution

solartotr-0.0.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solartotr-0.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file solartotr-0.0.2.tar.gz.

File metadata

  • Download URL: solartotr-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for solartotr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 90722e87cffa3103014a772e2dc9c14cfb0972a707abb130a78609c84a5587b1
MD5 628f07ffcc9d155217858a30789f6c62
BLAKE2b-256 80b46aef9de38e00fd1b25ea1d1c5e516bb0f0f5d89e858f5622f65b953f99b7

See more details on using hashes here.

File details

Details for the file solartotr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: solartotr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for solartotr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b1bf9b699e75a5cbd14ce760854b6b1960e6f6414e58d90152642c8c51b7848
MD5 9619d56f409c8421d787769cb232d1cb
BLAKE2b-256 e0fed528b243642fe4dac8b7beb10d912017c9638a79c9c4ece9fd1dd82f7e10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page