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:
@@ -0,0 +1,435 @@
|
||||
{
|
||||
"meta": {
|
||||
"version": "2.0",
|
||||
"created": "2026-01-17T15:35:12.038964Z",
|
||||
"modified": "2026-01-17T15:35:12.038964Z",
|
||||
"created_by": "migration",
|
||||
"modified_by": "migration",
|
||||
"study_name": "m1_mirror_zernike_optimization",
|
||||
"description": "Telescope primary mirror support structure optimization using Zernike wavefront error metrics with neural acceleration",
|
||||
"tags": [
|
||||
"mirror",
|
||||
"zernike"
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"sim": {
|
||||
"path": "ASSY_M1_assyfem1_sim1.sim",
|
||||
"solver": "nastran"
|
||||
},
|
||||
"nx_settings": {
|
||||
"nx_install_path": "C:\\Program Files\\Siemens\\NX2506",
|
||||
"simulation_timeout_s": 600
|
||||
}
|
||||
},
|
||||
"design_variables": [
|
||||
{
|
||||
"id": "dv_001",
|
||||
"name": "lateral_inner_angle",
|
||||
"expression_name": "lateral_inner_angle",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 25.0,
|
||||
"max": 28.5
|
||||
},
|
||||
"baseline": 26.79,
|
||||
"units": "degrees",
|
||||
"enabled": false,
|
||||
"description": "Lateral support inner angle",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_002",
|
||||
"name": "lateral_outer_angle",
|
||||
"expression_name": "lateral_outer_angle",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 13.0,
|
||||
"max": 17.0
|
||||
},
|
||||
"baseline": 14.64,
|
||||
"units": "degrees",
|
||||
"enabled": false,
|
||||
"description": "Lateral support outer angle",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_003",
|
||||
"name": "lateral_outer_pivot",
|
||||
"expression_name": "lateral_outer_pivot",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 9.0,
|
||||
"max": 12.0
|
||||
},
|
||||
"baseline": 10.4,
|
||||
"units": "mm",
|
||||
"enabled": false,
|
||||
"description": "Lateral outer pivot position",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 260
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_004",
|
||||
"name": "lateral_inner_pivot",
|
||||
"expression_name": "lateral_inner_pivot",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 9.0,
|
||||
"max": 12.0
|
||||
},
|
||||
"baseline": 10.07,
|
||||
"units": "mm",
|
||||
"enabled": false,
|
||||
"description": "Lateral inner pivot position",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 340
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_005",
|
||||
"name": "lateral_middle_pivot",
|
||||
"expression_name": "lateral_middle_pivot",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 18.0,
|
||||
"max": 23.0
|
||||
},
|
||||
"baseline": 20.73,
|
||||
"units": "mm",
|
||||
"enabled": false,
|
||||
"description": "Lateral middle pivot position",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 420
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_006",
|
||||
"name": "lateral_closeness",
|
||||
"expression_name": "lateral_closeness",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 9.5,
|
||||
"max": 12.5
|
||||
},
|
||||
"baseline": 11.02,
|
||||
"units": "mm",
|
||||
"enabled": false,
|
||||
"description": "Lateral support closeness parameter",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 500
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_007",
|
||||
"name": "whiffle_min",
|
||||
"expression_name": "whiffle_min",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 35.0,
|
||||
"max": 55.0
|
||||
},
|
||||
"baseline": 40.55,
|
||||
"units": "mm",
|
||||
"enabled": true,
|
||||
"description": "Whiffle tree minimum parameter",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 580
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_008",
|
||||
"name": "whiffle_outer_to_vertical",
|
||||
"expression_name": "whiffle_outer_to_vertical",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 68.0,
|
||||
"max": 80.0
|
||||
},
|
||||
"baseline": 75.67,
|
||||
"units": "degrees",
|
||||
"enabled": true,
|
||||
"description": "Whiffle tree outer to vertical angle",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 660
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_009",
|
||||
"name": "whiffle_triangle_closeness",
|
||||
"expression_name": "whiffle_triangle_closeness",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 50.0,
|
||||
"max": 65.0
|
||||
},
|
||||
"baseline": 60.0,
|
||||
"units": "mm",
|
||||
"enabled": false,
|
||||
"description": "Whiffle tree triangle closeness",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 740
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_010",
|
||||
"name": "blank_backface_angle",
|
||||
"expression_name": "blank_backface_angle",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 3.5,
|
||||
"max": 5.0
|
||||
},
|
||||
"baseline": 4.23,
|
||||
"units": "degrees",
|
||||
"enabled": false,
|
||||
"description": "Mirror blank backface angle",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 820
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "dv_011",
|
||||
"name": "inner_circular_rib_dia",
|
||||
"expression_name": "inner_circular_rib_dia",
|
||||
"type": "continuous",
|
||||
"bounds": {
|
||||
"min": 480.0,
|
||||
"max": 620.0
|
||||
},
|
||||
"baseline": 534.0,
|
||||
"units": "mm",
|
||||
"enabled": true,
|
||||
"description": "Inner circular rib diameter",
|
||||
"canvas_position": {
|
||||
"x": 50,
|
||||
"y": 900
|
||||
}
|
||||
}
|
||||
],
|
||||
"extractors": [
|
||||
{
|
||||
"id": "ext_001",
|
||||
"name": "Zernike WFE Extractor",
|
||||
"type": "zernike_opd",
|
||||
"builtin": true,
|
||||
"config": {
|
||||
"inner_radius_mm": 0,
|
||||
"outer_radius_mm": 500.0,
|
||||
"n_modes": 50,
|
||||
"filter_low_orders": 4,
|
||||
"displacement_unit": "mm",
|
||||
"reference_subcase": 2
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "rel_filtered_rms_40_vs_20",
|
||||
"metric": "filtered_rms_nm"
|
||||
},
|
||||
{
|
||||
"name": "rel_filtered_rms_60_vs_20",
|
||||
"metric": "filtered_rms_nm"
|
||||
},
|
||||
{
|
||||
"name": "mfg_90_optician_workload",
|
||||
"metric": "filtered_rms_nm"
|
||||
}
|
||||
],
|
||||
"canvas_position": {
|
||||
"x": 740,
|
||||
"y": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"objectives": [
|
||||
{
|
||||
"id": "obj_001",
|
||||
"name": "Filtered RMS WFE at 40 deg relative to 20 deg reference",
|
||||
"direction": "minimize",
|
||||
"weight": 5.0,
|
||||
"source": {
|
||||
"extractor_id": "ext_001",
|
||||
"output_name": "rel_filtered_rms_40_vs_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 reference",
|
||||
"direction": "minimize",
|
||||
"weight": 5.0,
|
||||
"source": {
|
||||
"extractor_id": "ext_001",
|
||||
"output_name": "rel_filtered_rms_60_vs_20"
|
||||
},
|
||||
"target": 10.0,
|
||||
"units": "nm",
|
||||
"canvas_position": {
|
||||
"x": 1020,
|
||||
"y": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "obj_003",
|
||||
"name": "Optician workload at 90 deg polishing orientation (filtered RMS with J1-J3)",
|
||||
"direction": "minimize",
|
||||
"weight": 1.0,
|
||||
"source": {
|
||||
"extractor_id": "ext_001",
|
||||
"output_name": "mfg_90_optician_workload"
|
||||
},
|
||||
"target": 20.0,
|
||||
"units": "nm",
|
||||
"canvas_position": {
|
||||
"x": 1020,
|
||||
"y": 300
|
||||
}
|
||||
}
|
||||
],
|
||||
"constraints": [
|
||||
{
|
||||
"id": "con_001",
|
||||
"name": "Maximum von Mises stress in mirror assembly",
|
||||
"type": "hard",
|
||||
"operator": "<=",
|
||||
"threshold": 10.0,
|
||||
"source": {
|
||||
"extractor_id": "ext_001",
|
||||
"output_name": "rel_filtered_rms_40_vs_20"
|
||||
},
|
||||
"penalty_config": {
|
||||
"method": "quadratic",
|
||||
"weight": 1000.0
|
||||
},
|
||||
"canvas_position": {
|
||||
"x": 1020,
|
||||
"y": 400
|
||||
}
|
||||
}
|
||||
],
|
||||
"optimization": {
|
||||
"algorithm": {
|
||||
"type": "TPE",
|
||||
"config": {
|
||||
"n_startup_trials": 15,
|
||||
"seed": 42
|
||||
}
|
||||
},
|
||||
"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": "dv_006",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "dv_007",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "dv_008",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "dv_009",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "dv_010",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "dv_011",
|
||||
"target": "model"
|
||||
},
|
||||
{
|
||||
"source": "model",
|
||||
"target": "solver"
|
||||
},
|
||||
{
|
||||
"source": "solver",
|
||||
"target": "ext_001"
|
||||
},
|
||||
{
|
||||
"source": "ext_001",
|
||||
"target": "obj_001"
|
||||
},
|
||||
{
|
||||
"source": "ext_001",
|
||||
"target": "obj_002"
|
||||
},
|
||||
{
|
||||
"source": "ext_001",
|
||||
"target": "obj_003"
|
||||
},
|
||||
{
|
||||
"source": "ext_001",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user