geolib.models.dstability.loads

This module handles the four types of loads in DStability.

Classes

Consolidation(**data)

DStabilityLoad(**data)

Base Class for Loads.

Earthquake(**data)

Inherits DStabilityLoad.

LineLoad(**data)

DStability Lineload.

TreeLoad(**data)

Inherits DStabilityLoad.

UniformLoad(**data)

UniformLoad.

class geolib.models.dstability.loads.Consolidation(**data)
Parameters:

data (Any)

degree: Annotated[float]
layer_id: int
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

to_internal_datastructure()
Return type:

PersistableConsolidation

class geolib.models.dstability.loads.DStabilityLoad(**data)

Base Class for Loads.

Parameters:

data (Any)

label: Optional[str]
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

abstract to_internal_datastructure()
class geolib.models.dstability.loads.Earthquake(**data)

Inherits DStabilityLoad.

Parameters:

data (Any)

free_water_factor: float
horizontal_factor: float
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

vertical_factor: float
class geolib.models.dstability.loads.LineLoad(**data)

DStability Lineload.

Parameters:

data (Any)

angle: Annotated[float]
angle_of_distribution: Annotated[float]
location: Point
magnitude: Annotated[float]
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

to_internal_datastructure()
Return type:

PersistableLineLoad

class geolib.models.dstability.loads.TreeLoad(**data)

Inherits DStabilityLoad.

Parameters:

data (Any)

angle_of_distribution: float
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

to_internal_datastructure()
Return type:

PersistableTree

tree_top_location: Point
width_of_root_zone: float
wind_force: float
class geolib.models.dstability.loads.UniformLoad(**data)

UniformLoad.

Parameters:

data (Any)

angle_of_distribution: Annotated[float]
end: float
end_greater_than_start()
magnitude: Annotated[float]
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

start: float
to_internal_datastructure()
Return type:

PersistableUniformLoad