build_surrogate
Builds a surrogate model from simulation design variants and holdout checks, enabling millisecond predictions with error bars for engineering cases.
Instructions
Build an instant-answer model of this case: Studio solves n variants (default 60, one at a time, in the background, surviving this client closing), holds some out to check the fit, then surrogate_predict answers in milliseconds with an error bar. parameters: 1 to 5 of {"path": "boundaries.x1.force", "min": 100, "max": 1000, "unit": "N"}; any number update_case can change (omit unit for a plain number such as materials.solid.nu). An imported CAD shape has no dimensions to vary: template dimensions (geometry.params.*) can vary, an imported STEP cannot. outputs: names in the results' metrics, e.g. max_vm_pa, max_disp_m, t_max_k, dp_pa; left out = the main ones for this physics. Below 60 solves the error bar is less reliable. mesh_checks: mesh convergence studies at that many design points (each takes about three solves). Poll surrogate_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| mode | No | ||
| case_id | Yes | ||
| outputs | No | ||
| language | No | ja | |
| parameters | Yes | ||
| mesh_checks | No |