Skip to main content

A library for analysis and design of structures based on NSCP 2015.

Project description

Usage

The following functions are currently available in this module.

  • Functions for analyzing and designing RC beams for flexure

Example code

from structuralpy import rc_beam

# Beam analysis and design
b = 300             # beam width (mm)
h = 600             # beam depth (mm)
fcp = 20.7          # concrete strength (MPa)
fy = 415            # rebar strength (MPa)
As = 600            # tension rebar area (mm^2)
cover_bot = 65      # cover to centroid of tension reinforcement (mm)
Mu = 300e6          # factored moment (N-mm)

print(analyze_flexure(b, h, fcp, fy, As, cover_bot, Asp=0, cover_top=None, n_iter=10))
print(design_flexure_size(Mu, fcp, fy, cover_bot, aspect_ratio=2.0))
print(design_flexure_rebar(Mu, b, h, fcp, fy, cover_bot, cover_top=None))

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

structuralpy-0.0.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

structuralpy-0.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file structuralpy-0.0.4.tar.gz.

File metadata

  • Download URL: structuralpy-0.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for structuralpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2885ea4e435c7f8be626ab623cbe4e382324d951efedc21c797d64c3be56c75e
MD5 b982f538c733b713749d07f11e0c0256
BLAKE2b-256 842554e13b6444f75e6e803f9edb092653a50428b801863d2a0207c023b8a374

See more details on using hashes here.

File details

Details for the file structuralpy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: structuralpy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for structuralpy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 39541d88457507a6fdd202c649b7f9cbf244c45ee0ca3057b576c15471a19eb7
MD5 cde7022c8131c93fce8b0c03a8f24ac0
BLAKE2b-256 69fa7e6612b36b37ac3beef1f751b2690744d69516c171f600a0824d75c038a1

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