site_class.py
subsurfaceio.functions.site_class
Site class functions.
Functions:
| Name | Description |
|---|---|
get_average_blow_count |
Calculation function. |
get_average_shear_velocity |
Calculation function. |
get_average_undrained_shear_strength |
Calculation function. |
get_site_class |
Calculation function. |
get_site_class_average |
Calculation function. |
get_site_class_average_blow_count |
Calculation function. |
get_site_class_average_shear_velocity |
Calculation function. |
get_site_class_average_undrained_shear_strength |
Calculation function. |
get_site_class_label |
Calculation function. |
get_site_period |
Calculation function. |
get_average_blow_count
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
depth
|
float
|
Depth below ground surface to bottom of layer |
required |
blow_count
|
float
|
SPT measured blow count |
required |
average_top_depth
|
float
|
Special average top depth |
0.0
|
average_bottom_depth
|
float
|
Special average bottom depth |
30.0
|
Returns:
| Name | Type | Description |
|---|---|---|
average_blow_count |
float
|
Average SPT blow count to 30 m depth |
get_average_shear_velocity
get_average_shear_velocity(
depth,
shear_velocity,
average_top_depth=0.0,
average_bottom_depth=30.0,
shallow_velocity_extrapolation_method=None,
)
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
depth
|
float
|
Depth below ground surface to bottom of layer |
required |
shear_velocity
|
float
|
Shear wave velocity of soil |
required |
average_top_depth
|
float
|
Special average top depth |
0.0
|
average_bottom_depth
|
float
|
Special average bottom depth |
30.0
|
shallow_velocity_extrapolation_method
|
str
|
Method for shallow velocity extrapolation |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
average_shear_velocity |
float
|
Average shear wave velocity to 30 m depth |
get_average_undrained_shear_strength
get_average_undrained_shear_strength(
depth,
undrained_shear_strength,
average_top_depth=0.0,
average_bottom_depth=30.0,
)
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
depth
|
float
|
Depth below ground surface to bottom of layer |
required |
undrained_shear_strength
|
float
|
Undrained shear strength of soil |
required |
average_top_depth
|
float
|
Special average top depth |
0.0
|
average_bottom_depth
|
float
|
Special average bottom depth |
30.0
|
Returns:
| Name | Type | Description |
|---|---|---|
average_undrained_shear_strength |
float
|
Average undrained shear strength to 30 m depth |
get_site_class
get_site_class(
is_e_site_class=False,
is_f1_site_class=False,
is_f2_site_class=False,
is_f3_site_class=False,
is_f4_site_class=False,
)
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
is_e_site_class
|
bool
|
Thickness of clay with [PI (%) > 20 & wc (%) ≥ 40 & Su (kPa) < 24] > 3 |
False
|
is_f1_site_class
|
bool
|
Soils vulnerable to potential failure / collapse under seismic loading: liquefiable soils, quick / highly sensitive clays, collapsible weakly cemented soils |
False
|
is_f2_site_class
|
bool
|
Thickness of Peat and/or highly organic clays > 3 |
False
|
is_f3_site_class
|
bool
|
Thickness of Very high plasticity clays [PI (%) > 75] > 8 |
False
|
is_f4_site_class
|
bool
|
Thickness of Very thick, soft/medium stiff clays [Su (kPa) < 50] > 36 |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
site_class |
str
|
Seismic site class |
get_site_class_average
get_site_class_average(
values_to_average,
depth,
average_top_depth=0.0,
average_bottom_depth=30.0,
)
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
values_to_average
|
float
|
Values used for averaging |
required |
depth
|
float
|
Depth below ground surface to bottom of layer |
required |
average_top_depth
|
float
|
Special average top depth |
0.0
|
average_bottom_depth
|
float
|
Special average bottom depth |
30.0
|
Returns:
| Name | Type | Description |
|---|---|---|
site_class_average |
float
|
Special average for site class determination |
get_site_class_average_blow_count
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
average_blow_count
|
float
|
Average SPT blow count to 30 m depth |
required |
Returns:
| Name | Type | Description |
|---|---|---|
site_class |
str
|
Seismic site class |
get_site_class_average_shear_velocity
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
average_shear_velocity
|
float
|
Average shear wave velocity to 30 m depth |
required |
Returns:
| Name | Type | Description |
|---|---|---|
site_class |
str
|
Seismic site class |
get_site_class_average_undrained_shear_strength
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
average_undrained_shear_strength
|
float
|
Average undrained shear strength to 30 m depth |
required |
Returns:
| Name | Type | Description |
|---|---|---|
site_class |
str
|
Seismic site class |
get_site_class_label
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
site_class
|
str
|
Seismic site class |
required |
Returns:
| Name | Type | Description |
|---|---|---|
site_class_label |
str
|
Label for seismic site class |
get_site_period
Calculation function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shear_velocity
|
float
|
Shear wave velocity of soil |
required |
depth
|
float
|
Depth below ground surface to bottom of layer |
required |
site_period_method
|
Any
|
site_period_method |
'weighted average'
|
Returns:
| Name | Type | Description |
|---|---|---|
site_period |
float
|
Natural period of site |