HH_Calibration#
- class PySeismoSoil.class_hh_calibration.HH_Calibration(vs_profile: Vs_Profile, *, GGmax_curves: PySeismoSoil.class_curves.Multiple_GGmax_Curves | None = None, Tmax_profile: numpy.ndarray | None = None)[source]#
Bases:
object
Class implementation of the “HH calibration procedure” (HHC procedure). The HHC procedure generates parameters of each soil layer for the HH model. The users can provide only a shear-wave velocity (Vs) profile, or they can also provide pre-defined G/Gmax curves for the soil layers, if they have such laboratory measurements.
- For more information, refer to the following paper:
J. Shi and D. Asimaki (2017) “From stiffness to strength: Formulation and validation of a hybrid hyperbolic nonlinear soil model for site‐response analyses.” Bulletin of the Seismological Society of America. 107 (3), 1336-1355.
- Parameters:
vs_profile (Vs_Profile) – The Vs profile of interest.
GGmax_curves (Multiple_GGmax_Curves | None) – The G/Gmax curves of each layer. If
None
, HH parameters will be determined from the Vs profile alone. If the user supplies this parameter, it will be used to calibrate the MKZ model, which eventually goes into calibrating the HH parameters.Tmax_profile (np.ndarray | None) – The profile of shear strength of each soil layer (not including the rock half space at the bottom). If
None
, it will be determined using the empirical formula by Ladd (1991).
- vs_profile#
Same as the input parameter.
- Type:
- GGmax_curves#
Same as the input parameter.
- Type:
PySeismoSoil.class_curves.Multiple_GGmax_Curves or
None
- Tmax_profile#
Same as the input parameter.
- Type:
np.ndarray | None
- Raises:
TypeError – When input arguments have invalid types
ValueError – When input arguments have invalid data dimensions etc.
Methods Summary
fit
([show_fig, save_fig, fig_output_dir, ...])Calculate the HH parameters with the given Vs profile and/or G/Gmax curves.
Methods Documentation
- fit(show_fig: bool = False, save_fig: bool = False, fig_output_dir: str | None = None, save_HH_G_file: bool = False, HH_G_file_dir: str | None = None, profile_name: str | None = None, verbose: bool = True) HH_Param_Multi_Layer [source]#
Calculate the HH parameters with the given Vs profile and/or G/Gmax curves.
- Parameters:
show_fig (bool) – Whether to show figures G/Gmax and stress-strain curves of MKZ, FKZ, and HH for each layer.
save_fig (bool) – Whether to save the figures to the hard drive. Only effective if
show_fig
is set toTrue
.fig_output_dir (str | None) – The output directory for the figures. Only effective if
show_fig
andsave_fig
are bothTrue
.save_HH_G_file (bool) – Whether to save the HH parameters to the hard drive (as a “HH_G” file).
HH_G_file_dir (str | None) – The output directory for the “HH_G” file. Only effective if
save_HH_G_file
isTrue
.profile_name (str | None) – The name of the Vs profile, such as “CE.12345”. If
None
, a string of current date and time will be used as the profile name.verbose (bool) – Whether to print progresses on the console.
- Returns:
HH_G_param – The HH parameters of each layer.
- Return type: