pycba.load#

PyCBA - Load module

The load matrix represents the loads as a List of Lists. Each list entry represents a single load and must be in the following format:

Span No. | Load Type | Load Value | Distance a | Load Cover c

Load Types are:

1 - Uniformly Distributed Loads, which only have a load value; distances a and c are set to “0”.

2 - Point Loads, located at a from the left end of the span; distances c is set to “0”.

3 - Partial UDLs, starting at a for a distance of c (i.e. the cover) where $L >= a+c$.

4 - Moment Load, located at a; distances c is set to “0”.

It has dimension M x 5, where M is the number of loads applied to the beam.

The type alias LoadMatrix is defined as

LoadMatrix#

The central part of internal API.

This represents a generic version of type ‘origin’ with type arguments ‘params’. There are two kind of these aliases: user defined and special. The special ones are wrappers around builtin collections and ABCs in collections.abc. These must have ‘name’ always set. If ‘inst’ is False, then the alias can’t be instantiated, this is used by e.g. typing.List and typing.Dict.

alias of List[List[Union[int, float]]]

Functions

add_LM

Adds two load matrices and returns the sum; this enables superposition

factor_LM

Applies a factor to the loads in a LoadMatrix object

parse_LM

This function parses the Load Matrix and returns a list of Load objects

Classes

Load

Beam load container and processor

LoadCNL

A typed namedtuple for Consistent Nodal Loads

LoadML

Moment load applied at a along member

LoadMaMb

Member end moment loads

LoadPL

Point Load class: CNLs and member results

LoadPUDL

Concrete class for Partial UDLs

LoadUDL

Uniformly Distributed Load: CNLs and member results

MemberResults

Class for storing the results for a single member