feat(#38): 跨工序寻优模型模板化(固定主干+配方加载,PRD 5.3 ③跨工序寻优)

This commit is contained in:
2026-08-05 00:57:46 +08:00
parent 793dd0a3b8
commit 11ab182bd5
9 changed files with 1461 additions and 0 deletions
@@ -0,0 +1,92 @@
{
"name": "resin-cross-process-opt",
"industry": "吸附树脂生产(Template-Resin 并行)",
"solver": "random",
"solver_params": {
"n_samples": 400,
"seed": 42
},
"stages": [
{
"name": "反应",
"decision_vars": [
{
"name": "react_temp",
"low": 60,
"high": 85,
"step": 5,
"unit": "℃",
"default": 70
},
{
"name": "react_time",
"low": 180,
"high": 300,
"step": 30,
"unit": "min",
"default": 240
}
],
"transfer_vars": ["conversion"],
"proxy": "0.5 * (react_temp - 60) / 25 + 0.5 * (react_time - 180) / 120"
},
{
"name": "水洗",
"decision_vars": [
{
"name": "wash_cycles",
"low": 3,
"high": 6,
"step": 1,
"unit": "次",
"default": 4
}
],
"transfer_vars": ["impurity_removed"],
"proxy": "conversion * 0.7 + (wash_cycles - 3) / 3 * 0.3"
},
{
"name": "干燥",
"decision_vars": [
{
"name": "dry_temp",
"low": 80,
"high": 120,
"step": 10,
"unit": "℃",
"default": 100
}
],
"transfer_vars": [],
"proxy": ""
}
],
"constraints": [
{
"expr": "react_temp",
"op": "<=",
"bound": 85,
"label": "反应温度上限(防暴聚)"
},
{
"expr": "dry_temp",
"op": ">=",
"bound": 80,
"label": "干燥温度下限(保证含水率)"
},
{
"expr": "wash_cycles",
"op": ">=",
"bound": 3,
"label": "水洗次数下限"
}
],
"objective": {
"expr": "impurity_removed - 0.002 * react_time - 0.003 * dry_temp",
"sense": "max",
"weight": 1.0,
"label": "综合品质(去杂质 - 能耗时耗)"
},
"acceptance_floor": 0.60,
"notes": "PRD 5.3 ③ 跨工序寻优:反应→水洗→干燥三工序串联,最大化综合品质(去杂质扣减能耗/时耗),验收采纳率≥60%。"
}
@@ -0,0 +1,92 @@
{
"name": "ti-cl4-cross-process-opt",
"industry": "海绵钛氯化车间(Template-Ti 一期)",
"solver": "grid",
"solver_params": {
"max_per_var": 6,
"max_total": 5000
},
"stages": [
{
"name": "氯化",
"decision_vars": [
{
"name": "chlorination_temp",
"low": 850,
"high": 950,
"step": 20,
"unit": "℃",
"default": 870
},
{
"name": "cl2_flow",
"low": 180,
"high": 260,
"step": 20,
"unit": "Nm3/h",
"default": 220
}
],
"transfer_vars": ["ti_cl4_yield"],
"proxy": "0.4 * (chlorination_temp - 850) / 100 + 0.6 * (cl2_flow - 180) / 80"
},
{
"name": "精制",
"decision_vars": [
{
"name": "refine_temp",
"low": 135,
"high": 150,
"step": 5,
"unit": "℃",
"default": 140
}
],
"transfer_vars": ["purity"],
"proxy": "ti_cl4_yield * 0.8 + (refine_temp - 135) / 15 * 0.2"
},
{
"name": "还原",
"decision_vars": [
{
"name": "reduction_pressure",
"low": 0.2,
"high": 0.5,
"step": 0.1,
"unit": "MPa",
"default": 0.3
}
],
"transfer_vars": [],
"proxy": ""
}
],
"constraints": [
{
"expr": "chlorination_temp",
"op": "<=",
"bound": 950,
"label": "氯化温度安全上限"
},
{
"expr": "cl2_flow",
"op": ">=",
"bound": 180,
"label": "氯气流量下限(保证反应)"
},
{
"expr": "reduction_pressure",
"op": "<=",
"bound": 0.5,
"label": "还原压力安全上限"
}
],
"objective": {
"expr": "purity - 0.01 * cl2_flow - 0.005 * chlorination_temp",
"sense": "max",
"weight": 1.0,
"label": "综合收率(纯度 - 能耗惩罚)"
},
"acceptance_floor": 0.60,
"notes": "PRD 5.3 ③ 跨工序寻优:氯化→精制→还原三工序串联,最大化综合收率(纯度扣减能耗),验收采纳率≥60%(PRD 第6章里程碑)。"
}