pybtls.bridge.bridge.Bridge#
- class Bridge(length, no_lane)[source]#
Bases:
objectA 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 a load effect to the bridge.
Attributes
lengthno_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]) –Influence weight (0.0 to 1.0).
The default is 1.0 for all lanes.
threshold (
float) –Threshold for POT analysis.
The default is 0.0.
- Return type:
None