pybtls.bridge.bridge.Bridge#

class Bridge(length, no_lane)[source]#

Bases: object

A Bridge instance in Python stores the data for creating a CBridge instance in C++.

Parameters:
  • length (float) – Bridge length in m.

  • no_lane (int) – Number of bridge lanes.

Methods

add_load_effect

Add a load effect to the bridge.

Attributes

length

no_lane

add_load_effect(inf_line_surf, inf_weight=None, threshold=0.0)[source]#

Add a load effect to the bridge.

Parameters:
  • inf_line_surf (Union[InfluenceLine,list[InfluenceLine],InfluenceSurface]) –

    An InfluenceLine (same IL for all lanes);

    An InfluenceLine list (one IL per lane);

    An InfluenceSurface (for all lanes).

  • inf_weight (list[float], optional) –

    Influence weight (0.0 to 1.0).

    The default is 1.0 for all lanes.

  • threshold (float, optional) –

    Threshold for POT analysis.

    The default is 0.0.

Return type:

None.