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):
# 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)
Metadata
Release files for asce7 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asce7-0.1.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asce7-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / asce7-0.1.tar.gz
| Download URL | asce7-0.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a1f43a30935014fe076dde0c978fa0a07d6fb3951b94bbb9d6a6bb7734f3b3a
|
|
BLAKE2b-256 checksum How to use checksums |
b607928b40a4c84b81fce15b3d4e811979300e646a26ccec4ead7c0da175b94e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / asce7-0.1-py3-none-any.whl
| Download URL | asce7-0.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a917283296de091dbfc4aea04bd61ba1de48a0c28e82996e1cbf2eb3688690e
|
|
BLAKE2b-256 checksum How to use checksums |
8503af1e4413ad883c5381dea23353a7ca017407bafbf7310bc964c712764cf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|