geolib.models.dsheetpiling.profiles

Profile and Layer classes which are used by both D-Foundations and DSheetPiling. D-Foundations often requires more parameters, which are unused for DSheetPiling.

Classes

CPT(**data)

Internal Placeholder CPT measurements as used in D-Foundations/D-Sheetpiling.

CPTRule(**data)

Placeholder class for CPT interpretation options.

SoilLayer(**data)

Layer in a D-Sheetpiling Profile.

SoilProfile(**data)

D-Sheetpiling Profile.

class geolib.models.dsheetpiling.profiles.CPT(**data)

Internal Placeholder CPT measurements as used in D-Foundations/D-Sheetpiling.

It is here because input files can contain CPTs coupled to a Profile.

Todo

  • Add Friction and other parameters?

  • Unify with DFoundations

Parameters:

data (Any)

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

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

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

model_fields: ClassVar[dict[str, FieldInfo]] = {'qc': FieldInfo(annotation=List[float], required=True), 'z': FieldInfo(annotation=List[float], required=True)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

qc: List[float]
z: List[float]
class geolib.models.dsheetpiling.profiles.CPTRule(**data)

Placeholder class for CPT interpretation options.

Parameters:

data (Any)

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

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

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

model_fields: ClassVar[dict[str, FieldInfo]] = {}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class geolib.models.dsheetpiling.profiles.SoilLayer(**data)

Layer in a D-Sheetpiling Profile.

Parameters:

data (Any)

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

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

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

model_fields: ClassVar[dict[str, FieldInfo]] = {'soil': FieldInfo(annotation=str, required=True), 'top_of_layer': FieldInfo(annotation=float, required=True), 'water_pressure_bottom': FieldInfo(annotation=float, required=False, default=0.0), 'water_pressure_top': FieldInfo(annotation=float, required=False, default=0.0)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

soil: str
top_of_layer: float
water_pressure_bottom: float
water_pressure_top: float
class geolib.models.dsheetpiling.profiles.SoilProfile(**data)

D-Sheetpiling Profile.

Parameters:

data (Any)

coordinate: Point
layers: Annotated[List[SoilLayer]]
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

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

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

model_fields: ClassVar[dict[str, FieldInfo]] = {'coordinate': FieldInfo(annotation=Point, required=False, default=Point(label='', id=None, x=0.0, y=0.0, z=-999.0, tolerance=0.0001)), 'layers': FieldInfo(annotation=List[SoilLayer], required=True, metadata=[MinLen(min_length=1)]), 'name': FieldInfo(annotation=str, required=True)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

name: str
classmethod top_of_layer_validator(v)
classmethod top_of_layers_must_be_decreasing(v)