asce7-0.1
توضیحات
Implementation of the ASCE 7 building code.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | asce7-0.1 |
| نام | asce7 |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Ricky L Teachey Jr <ricky@teachey.org> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/asce7/ |
| مجوز | - |
# ASCE 7
This project is not intended to fully replicate the entire ASCE 7 buildling code, only the parts I find useful.
Proposed, example API (not yet implemented):
```python
# Example calculation module
from asce7.v2016 import Risk, importance_factor
import asce7.v2016.chapter7 as ch7
from asce7.v2016.chapter2 import ASD, Strength
risk = Risk["II"] # or
risk = Risk(2) # or
risk = Risk.II
# Snow importance factor
I_s = ch7.I_s(risk)
# Ground snow load
p_g = ch7.p_g(20)
# Surface roughness
rgh = ch7.roughness("B") # or
rgh = ch7.roughness.B
# Roof exposure
exp = ch7.roof_exposure("Fully") # or
exp = ch7.roof_exposure.fully
# Snow exposure factor
C_e = ch7.C_e(rgh, exp)
# Snow thermal condition
thrml = ch7.thermal_condition("unheated open air") # or
thrml = ch7.thermal_condition.unheated_open_air
# Snow thermal factor
C_t = ch7.C_t(thrml)
# Flat roof snow load
p_f = ch7.p_f(C_e, C_t, I_s, p_g)
# Some load combinations including snow
strn2 = Strength[2](S=p_f)
strn3 = Strength[3](S=p_f)
asd3 = Strength[3](S=p_f)
asd6 = Strength[6](S=p_f)
```
نیازمندی
| مقدار | نام |
|---|---|
| =1.2 | numpy |
| =1. | scipy |
| - | ceng |
| =6. | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl asce7-0.1:
pip install asce7-0.1.whl
نصب پکیج tar.gz asce7-0.1:
pip install asce7-0.1.tar.gz