pycba.results.Envelopes#

class Envelopes(vResults)[source]#

Bases: object

Envelopes load effects from a vector of BeamResults

Constructs the envelope of each load effect given a vector of results for the beam.

Parameters:

vResults (List[MemberResults]) – The vector of results from each analysis that are to be enveloped.

Return type:

None.

Methods

augment

Augments this set of envelopes with another compatible set, making this the envelopes of the two sets of envelopes.

plot

Plots the envelopes of bending and shear.

zero_like

Returns a zeroed zet of envelopes like the reference pycba.results.Envelopes.

classmethod zero_like(env)[source]#

Returns a zeroed zet of envelopes like the reference pycba.results.Envelopes. This is necessary since a pycba.results.Envelopes object stores information about the beam from which it came. This facilitates the creation of an envelope of envelopes.

Parameters:

env (Envelopes) – A pycba.results.Envelopes to be used as the basis for a zeroed pycba.results.Envelopes object.

Returns:

A pycba.results.Envelopes object of zero-valued envelopes.

Return type:

Envelopes

augment(env)[source]#

Augments this set of envelopes with another compatible set, making this the envelopes of the two sets of envelopes.

All envelopes must be from the same pycba.bridge.BridgeAnalysis object.

If the envelopes have a different number of analyses (due to differing vehicle lengths, for example), then only the reaction extreme are retained, and not the entire reaction history.

Parameters:

env (Envelopes) – A compatible pycba.results.Envelopes object.

Raises:

ValueError – All envelopes must be for the same bridge.

Return type:

None.

plot(each=False, **kwargs)[source]#

Plots the envelopes of bending and shear.

Parameters:
  • each (Boolean) – Wether or not to show each BMD and SFD in the enveloping. The default is False

  • **kwargs (Dict) – Matplotlib keyword arguments for plotting.

Return type:

None.