S3D.s3d_optimizer
The S3D.s3d_optimizer
namespace provides access to the Machine Learning (ML) optimizer.
S3D.s3d_optimizer.run
#
Run the ML optimizer on your model.
Key | Type | Description |
---|---|---|
opt_obj? | object | If omitted, default settings will be used. See settings in example below. |
Sample input for the S3D.s3d_optimizer.run
function#
{
"function": "S3D.s3d_optimizer.run",
"arguments": {
"opt_obj": {
"general": {
"autocommit": null
},
"analysis": {
"animate": true,
"step_params": {
"alpha": null,
"beta": null
},
"collect_data": true,
"alt_models": 5,
"method": "hill_climbing",
"hc_steps": 40,
"variables": [
null,
{
"name": "Sec1: W21x48",
"operation": "change-section",
"opts": {
"library": ["American", "AISC", "W shapes"],
"section_number": 1,
"exclusion_string": [],
"inclusion_string": [],
"change_shape": [],
"change_lib": [],
"dim_limits": {
"depth_lower_limit": 15,
"depth_upper_limit": 22,
"width_lower_limit": null,
"width_upper_limit": null
},
"disabled": false
}
},
{
"name": "Sec2: W24x84",
"operation": "change-section",
"opts": {
"library": ["American", "AISC", "W shapes"],
"section_number": 2,
"exclusion_string": [],
"inclusion_string": [],
"change_shape": [],
"change_lib": [],
"dim_limits": {
"depth_lower_limit": null,
"depth_upper_limit": null,
"width_lower_limit": null,
"width_upper_limit": null
},
"disabled": false
}
},
{
"name": "Sec3: HSS2-1/2x1-1/2x1/8",
"operation": "change-section",
"opts": {
"library": ["American", "AISC", "Rectangular HSS"],
"section_number": 3,
"exclusion_string": [],
"inclusion_string": [],
"change_shape": [],
"change_lib": [],
"dim_limits": {
"depth_lower_limit": null,
"depth_upper_limit": null,
"width_lower_limit": null,
"width_upper_limit": null
},
"disabled": false
}
},
{
"name": "Sec4: L2.5x2.5x3/8",
"operation": "change-section",
"opts": {
"library": ["American", "AISC", "Equal angles"],
"section_number": 4,
"exclusion_string": [],
"inclusion_string": [],
"change_shape": [],
"change_lib": [],
"dim_limits": {
"depth_lower_limit": null,
"depth_upper_limit": null,
"width_lower_limit": null,
"width_upper_limit": null
},
"disabled": false
}
},
null,
{
"name": "Sec6: ST12x40",
"operation": "change-section",
"opts": {
"library": ["American", "AISC", "ST shapes"],
"section_number": 6,
"exclusion_string": [],
"inclusion_string": [],
"change_shape": [],
"change_lib": [],
"dim_limits": {
"depth_lower_limit": null,
"depth_upper_limit": null,
"width_lower_limit": null,
"width_upper_limit": null
},
"disabled": false
}
}
],
"criteria": [
{
"operation": "value-limits",
"opts": {
"displacement_y": {
"min": null,
"max": null,
"abs": null
}
}
},
{
"operation": "utility-check",
"opts": {
"check_name": "Deflection/Span",
"utility_limit": 0.98
}
},
{
"operation": "utility-check",
"opts": {
"check_name": "Material Yield",
"utility_limit": 0.98
}
},
{
"operation": "utility-check",
"opts": {
"check_name": "Material Strength",
"utility_limit": 0.98
}
}
],
"material_rates": {
"wood": {
"cost": 0.75,
"co2": 0.25
},
"steel": {
"cost": 2,
"co2": 1.4
},
"concrete": {
"cost": 1.5,
"co2": 1.8
}
}
}
}
}
}