pybtls.bridge.influence_line.InfluenceLine#

class InfluenceLine(IL_type)[source]#

Bases: object

An InfluenceLine instance in Python stores the data for creating a CInfluenceLine instance in C++.

All length units are in m.

Parameters:

IL_type (Literal["discrete","built-in"]) – Influence line type.

Methods

set_IL

Set influence line data.

set_IL(**kwargs)[source]#

Set influence line data.

Keyword Arguments:
  • discrete (For) –

    • position : Union[list,np.ndarray]

      Discrete influence line position (X).

    • ordinate : Union[list,np.ndarray]

      Discrete influence line ordinate (Y).

    • compress_tolerance : float, optional

      The maximum relative error (0.001~0.1) allowed for a discrete influence line to be simplified (to boost simulation).

      The default is None.

  • built-in (For) –

    • type : Literal[1,2,3,4,5,6,7,8,9]

      Built-in influence line type.

      What the number represents:

      (The support numbering starts from the left side.)

      1: The mid-span sagging BM of a simply supported beam.

      2: The 2nd support hogging BM of a two-span continuous beam.

      3: The 1st support SF of a simply supported beam.

      4: The 2nd support SF of a simply supported beam.

      5: The 3rd support SF of a two-span continuous beam.

      6: The 1st support SF of a two-span continuous beam.

      7: The total weights of vehicle being on the beam.

      8: The 2nd support hogging BM of a three-span continuous beam.

      9: The 3rd support hogging BM of a three-span continuous beam.

      (Beams’ first and last supports are pin.)

    • length : float

      Built-in influence line length.

Return type:

None.