Skip to main content

A structural design library.

Project description

limitstates

A structural design and representation library.

Overview

limitstates is a python library for that can represent and design of structural elements according to code and material standards from various countries. Limit states has two main components: a set of classes that representations structural objects, e.g. A Ibeam that is 6m long made or steel; and design libraries that can act on elements and determine capacities, e.g. Canada's CSA s16 steel material standard.

A simple script is shown below where a structural object is created and used.

import limitstates as ls
import limitstates.design.csa.s16.c24 as s16

L = 6
Fy = 350
sectionName = 'W310X118'

# Define the material, in this case a code specific steel with Fy = 350 MPa
mat = s16.MaterialSteelCsa24(Fy, sUnit='MPa')

# Define a steel section from a database, in this case a cisc 12 w section.
steelSections   = ls.getSteelSections(mat, 'csa', 'cisc_12', 'w')
section         = ls.getByName(steelSections, sectionName)

# make a member, in this case a simplely supported beam 6m long beam.
member = ls.initSimplySupportedMember(L, 'm')

# Make a element, which the design library can act on.
beam = s16.BeamColumnSteelCsa24(member, section)

# Check capacity assuming it's laterally supported using CSA's s16 standard.
Mr = s16.checkBeamMrSupported(beam) / 1000

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

limitstates-0.1.0.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

limitstates-0.1.0-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

Details for the file limitstates-0.1.0.tar.gz.

File metadata

  • Download URL: limitstates-0.1.0.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for limitstates-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eeb5c30dafd38f5c791c5b9478f5a2f00b34c9e0772c894dd75f2bfca722ec11
MD5 da5e06b452acc5151b60b379d049a479
BLAKE2b-256 ffe0b5f71deab50b080045a274067787981eb95a35982afb776f71e494e27d89

See more details on using hashes here.

File details

Details for the file limitstates-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: limitstates-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for limitstates-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a6cb1d320d30e9432b41852378a30506bbd473281d65647215520520250ab9
MD5 73e9adca0aee98a1f81f464643c23a89
BLAKE2b-256 d01e565a37d5d19e0db0213c850f945e02117ae4326a267872e6a26451e35132

See more details on using hashes here.

Supported by

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