Skip to main content

A structural design library.

Project description

A structural design and representation library. Documentation can be viewed here.

Overview

limitstates is a python library that can represent and design 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 2024 steel material standard. Limitstates is currently incomplete and in public beta testing. Expect breaking changes before the first version release.

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

Installation

pip install limitstates

Documentation

https://limitstates.readthedocs.io/en/latest/

Library Organization

There are four main parts of the limitstates library: units, objects, design, analysis.

The units library is a light-weight module for unit conversions. All structural objects in the limitstates libary are dependant on the unit library for conversions. See units api reference for more detail.

The objects library contains generic classes that represent and manipulate structural elements. Members of the object library are not specific to any code, for example a W530x150 cross section has the same geometry for American and Canadian codes. See the objects api reference for more detail.

The design library contains specialized objects for a particular design code, and functions that act on them. For example, "BeamColumnSteelCsa24" is a code specific implementations of the generic "BeamColumn" class, and the function "checkBeamMrSupported", acts on it to determine a sections unsupported moment. Design libraries are divided by country and material standard. Currently, content only exists for Canadian design codes. See design api reference for more detail.

The Analysis library will contain functions that act on structural objects to analyze them. The analysis Library is a work in progress.

Deveopment Roadmap

Version one of limitstates will release when the library can design most major elements in canadian design codes, and the core objects can handle American/EU design codes. The specific items required for version 1 are below:

Object Library

  • Create a section element for reinforced concrete
  • Improve section and material database documentation
  • Support plotting for concrete elements / sections
  • Support plotting for CLT elements / sections
  • Add section summary to section plotting
  • Add an generic design example showing how database can be used.

Design

CSA o86

  • Add Examples.
  • Add beam shear checks.

CSA S16

  • Develop multi-span beam checks.
  • Add beam shear checks.

CSA A23.3

  • Complete code checks for basic concrete beams in moment/shear.
  • Add section solvers for concrete that can determine steel required based on input capacities.
  • Complete code checks for basic concrete columns in compression / bending.
  • Complete code checks for basic concrete columns in compression / bending with slenderness effects.
  • Add examples for basic concrete checks
  • Add examples for concrete in compression

US/EU Standards

  • Ensure all basic design objects are compatible with US codes and units.

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.2.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

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

limitstates-0.2.0-py3-none-any.whl (540.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for limitstates-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b4384446a4ca4f50f034e74f3686071b6f2a726bf59b4bee278f64cf7d30e24f
MD5 20102dca902f78a8bd523742dc3feef5
BLAKE2b-256 725971d9e0f4068e48de9e07895a6374e3e0e0254b3717d91c09c1472200212a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: limitstates-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 540.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35601b4d310f2b40b3bd54f3e4cb26f9ff8cbb81c24c3506f56e5be9304ecb34
MD5 b14bdd00e5bc216df2b3cc5a40deb0e7
BLAKE2b-256 e0b762d3ee39d7972cc4f138827cd9e7a408ebb6d1e7d51734263b8c89b0f259

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