Model 2: 2D 16-DOF Reference Assembly
- otaf.example_models.models_2_D.model2.eval_scaled_credal_set_constraints(x_scaled, max_std_vect, tracker=None, experiment_key=None, tol=0.16, capa=1.0, hM=10.0, hF=10.2)[source]
Map scaled deviations to real values and evaluate constraints.
- Parameters:
x_scaled (np.ndarray) – The scaled standard deviation vector inputs.
max_std_vect (np.ndarray) – The upper-bound limits for standard deviation mapping.
tracker (Any, optional) – Data logging tracker instance. Default is None.
experiment_key (Any, optional) – Unique identifier key for tracking logs. Default is None.
tol (float, default 0.16) – The baseline design tolerance.
capa (float, default 1.0) – The process capability standard multiplier.
hM (float, default 10.0) – Height parameter for the male component.
hF (float, default 10.2) – Height parameter for the female component.
- Returns:
The calculated constraint evaluation bounds array.
- Return type:
np.ndarray
- otaf.example_models.models_2_D.model2.get_distribution_params(tol=0.16, capa=1.0, hM=10.0, hF=10.2)[source]
Compute defect distribution parameters and variance vectors.
- Parameters:
tol (float, default 0.16) – Tolerance limit value used to compute standard deviations.
capa (float, default 1.0) – Process capability index factor.
hM (float, default 10.0) – Height parameter for the male component.
hF (float, default 10.2) – Height parameter for the female component.
- Returns:
RandDeviationVect (otaf.distribution.ComposedDistribution) – The joint normal defect distribution model.
deviation_symbols (list of sympy.Symbol) – The symbolic tracking parameters for spatial deviations.
max_std_vect (np.ndarray) – A 1D array of calculated maximum standard deviations.
np.ndarray – A 1D array of zero-initialized mean parameter offsets.
- Return type:
tuple[Any, list[sp.Symbol], np.ndarray, np.ndarray]
- otaf.example_models.models_2_D.model2.get_scaled_credal_set_constraints_function(max_std_vect, tracker=None, experiment_key=None, tol=0.16, capa=1.0, hM=10, hF=10.2)[source]
- otaf.example_models.models_2_D.model2.get_system_of_constraints_assembly_model(hM=10.0, hF=10.2, L1=30.0, L2=70.0, L3=30.0, lM=10.0, lF=10.2)[source]
Construct the complete system of constraints assembly model.
- Parameters:
hM (float, default 10.0) – Height parameter for the male component.
hF (float, default 10.2) – Height parameter for the female component.
L1 (float, default 30.0) – Length of the first section.
L2 (float, default 70.0) – Length of the second section.
L3 (float, default 30.0) – Length of the third section.
lM (float, default 10.0) – Interface length for the male component.
lF (float, default 10.2) – Interface length for the female component.
- Returns:
The initialized assembly model with embedded optimization variables.
- Return type: