feat(config): Add AtomizerSpec v2.0 schema and migrate all studies

Added JSON Schema:
- optimization_engine/schemas/atomizer_spec_v2.json

Migrated 28 studies to AtomizerSpec v2.0 format:
- Drone_Gimbal studies (1)
- M1_Mirror studies (21)
- M2_Mirror studies (2)
- SheetMetal_Bracket studies (4)

Each atomizer_spec.json is the unified configuration containing:
- Design variables with bounds and expressions
- Extractors (standard and custom)
- Objectives and constraints
- Optimization algorithm settings
- Canvas layout information
This commit is contained in:
2026-01-20 13:11:23 -05:00
parent f067497e08
commit cb6b130908
31 changed files with 12281 additions and 0 deletions

View File

@@ -0,0 +1,325 @@
{
"meta": {
"version": "2.0",
"created": "2026-01-17T15:35:12.034330Z",
"modified": "2026-01-17T15:35:12.034330Z",
"created_by": "migration",
"modified_by": "migration",
"study_name": "m1_mirror_flatback_lateral",
"description": "Lateral support optimization with new U-joint expressions (lateral_inner_u, lateral_outer_u). Focus on WFE and MFG only - no mass objective.",
"tags": [
"CMA-ES-100",
"mirror",
"zernike",
"opd"
],
"engineering_context": "Optimize lateral support geometry using new U-joint parameterization"
},
"model": {
"sim": {
"path": "ASSY_M1_assyfem1_sim1.sim",
"solver": "nastran"
},
"nx_settings": {
"nx_install_path": "C:\\Program Files\\Siemens\\DesigncenterNX2512",
"simulation_timeout_s": 600
}
},
"design_variables": [
{
"id": "dv_001",
"name": "lateral_inner_u",
"expression_name": "lateral_inner_u",
"type": "continuous",
"bounds": {
"min": 0.2,
"max": 0.95
},
"baseline": 0.4,
"units": "unitless",
"enabled": true,
"description": "U-joint ratio for inner lateral support (replaces lateral_inner_pivot)",
"canvas_position": {
"x": 50,
"y": 100
}
},
{
"id": "dv_002",
"name": "lateral_outer_u",
"expression_name": "lateral_outer_u",
"type": "continuous",
"bounds": {
"min": 0.2,
"max": 0.95
},
"baseline": 0.4,
"units": "unitless",
"enabled": true,
"description": "U-joint ratio for outer lateral support (replaces lateral_outer_pivot)",
"canvas_position": {
"x": 50,
"y": 180
}
},
{
"id": "dv_003",
"name": "lateral_middle_pivot",
"expression_name": "lateral_middle_pivot",
"type": "continuous",
"bounds": {
"min": 15.0,
"max": 27.0
},
"baseline": 22.42,
"units": "mm",
"enabled": true,
"description": "Middle pivot position on lateral support",
"canvas_position": {
"x": 50,
"y": 260
}
},
{
"id": "dv_004",
"name": "lateral_inner_angle",
"expression_name": "lateral_inner_angle",
"type": "continuous",
"bounds": {
"min": 25.0,
"max": 35.0
},
"baseline": 31.96,
"units": "degrees",
"enabled": true,
"description": "Inner lateral support angle",
"canvas_position": {
"x": 50,
"y": 340
}
},
{
"id": "dv_005",
"name": "lateral_outer_angle",
"expression_name": "lateral_outer_angle",
"type": "continuous",
"bounds": {
"min": 8.0,
"max": 17.0
},
"baseline": 9.08,
"units": "degrees",
"enabled": true,
"description": "Outer lateral support angle",
"canvas_position": {
"x": 50,
"y": 420
}
}
],
"extractors": [
{
"id": "ext_001",
"name": "Zernike WFE Extractor",
"type": "zernike_opd",
"builtin": true,
"config": {
"inner_radius_mm": 135.75,
"outer_radius_mm": 500.0,
"n_modes": 50,
"filter_low_orders": 4,
"displacement_unit": "mm",
"reference_subcase": 2
},
"outputs": [
{
"name": "wfe_40_20",
"metric": "filtered_rms_nm"
},
{
"name": "wfe_60_20",
"metric": "filtered_rms_nm"
},
{
"name": "mfg_90",
"metric": "filtered_rms_nm"
}
],
"canvas_position": {
"x": 740,
"y": 100
}
},
{
"id": "ext_002",
"name": "Mass Extractor",
"type": "mass",
"builtin": true,
"outputs": [
{
"name": "mass_kg",
"metric": "total"
}
],
"canvas_position": {
"x": 740,
"y": 250
}
}
],
"objectives": [
{
"id": "obj_001",
"name": "Filtered RMS WFE at 40 deg relative to 20 deg (annular)",
"direction": "minimize",
"weight": 6.0,
"source": {
"extractor_id": "ext_001",
"output_name": "wfe_40_20"
},
"target": 4.0,
"units": "nm",
"canvas_position": {
"x": 1020,
"y": 100
}
},
{
"id": "obj_002",
"name": "Filtered RMS WFE at 60 deg relative to 20 deg (annular)",
"direction": "minimize",
"weight": 5.0,
"source": {
"extractor_id": "ext_001",
"output_name": "wfe_60_20"
},
"target": 10.0,
"units": "nm",
"canvas_position": {
"x": 1020,
"y": 200
}
},
{
"id": "obj_003",
"name": "Manufacturing deformation at 90 deg polishing (J1-J3 filtered, annular)",
"direction": "minimize",
"weight": 3.0,
"source": {
"extractor_id": "ext_001",
"output_name": "mfg_90"
},
"target": 20.0,
"units": "nm",
"canvas_position": {
"x": 1020,
"y": 300
}
}
],
"constraints": [
{
"id": "con_001",
"name": "Maximum blank mass constraint (still enforced even though mass not optimized)",
"type": "hard",
"operator": "<=",
"threshold": 120.0,
"source": {
"extractor_id": "ext_002",
"output_name": "mass_kg"
},
"penalty_config": {
"method": "quadratic",
"weight": 1000.0
},
"canvas_position": {
"x": 1020,
"y": 400
}
}
],
"optimization": {
"algorithm": {
"type": "CMA-ES",
"config": {
"sigma0": 0.3
}
},
"budget": {
"max_trials": 100
},
"canvas_position": {
"x": 1300,
"y": 150
}
},
"canvas": {
"edges": [
{
"source": "dv_001",
"target": "model"
},
{
"source": "dv_002",
"target": "model"
},
{
"source": "dv_003",
"target": "model"
},
{
"source": "dv_004",
"target": "model"
},
{
"source": "dv_005",
"target": "model"
},
{
"source": "model",
"target": "solver"
},
{
"source": "solver",
"target": "ext_001"
},
{
"source": "solver",
"target": "ext_002"
},
{
"source": "ext_001",
"target": "obj_001"
},
{
"source": "ext_001",
"target": "obj_002"
},
{
"source": "ext_001",
"target": "obj_003"
},
{
"source": "ext_002",
"target": "con_001"
},
{
"source": "obj_001",
"target": "optimization"
},
{
"source": "obj_002",
"target": "optimization"
},
{
"source": "obj_003",
"target": "optimization"
},
{
"source": "con_001",
"target": "optimization"
}
],
"layout_version": "2.0"
}
}