Files
iAOP/templates/ti-cl4/recipe-optim/config/recipe_optim.template.yaml
T

69 lines
2.1 KiB
YAML

# Ti-2 配方动态优化 · 优化问题模板(Issue #78 / PRD 5.3 ②)
#
# 声明式描述「给定质量目标 + 工艺约束,求最优配方/参数」:
# 入:质量目标 + 约束;出:参数/配方建议(PRD §5.3 架构表)。
# 切换行业/车间只改本模板资产,引擎零改动(PRD「超参包驱动」)。
#
# 本示例对应「氯化车间/海绵钛(Template-Ti)」二期配方优化场景:
# 在 TiCl₄ 纯度达标(≥ target_value)前提下,寻优反应温度/氯气配比,
# 同时满足工艺约束(温度上限、氯气/钛配比、禁止组合)。
problem_id: recipe_optim_ti
template: iAOP-Template-Ti
description: 氯化车间配方优化(二期,数据就绪后接 #79 求解器)
variables:
- name: clf_temp
kind: bounds
meaning: 氯化炉反应温度
unit: "℃"
bounds: [800, 920]
initial: 860
- name: cl2_ratio
kind: bounds
meaning: 氯气与高钛渣配比
unit: "ratio"
bounds: [0.8, 1.4]
initial: 1.0
- name: feed_rate
kind: bounds
meaning: 进料速率
unit: "kg/h"
bounds: [300, 600]
initial: 450
integer: false
- name: catalyst
kind: choices
meaning: 催化剂型号
choices: ["A", "B", "C"]
objective:
sense: maximize
target: Ti_purity
target_value: 99.5
description: 最大化 TiCl₄ 纯度(PRD 超参包 target 字段)
terms:
- variable: clf_temp
coefficient: 0.01
- variable: cl2_ratio
coefficient: 2.0
constraints:
- kind: box
variable: clf_temp
bounds: [820, 900]
reason: 反应温度运行安全区间(运行期收紧,低于 820 反应不充分、高于 900 副产物激增)
- kind: linear
coefficients: {clf_temp: 1.0, feed_rate: -0.5}
op: "<="
rhs: 700
reason: 温度-进料耦合上限(防止局部过热)
- kind: ratio
numerator: cl2_ratio
denominator: cl2_ratio
op: ">="
value: 0.0
reason: 配比非负(占位示例,真实配比约束见工艺手册)
- kind: forbidden
combination: {catalyst: "C", clf_temp: 910}
reason: C 型催化剂禁止与 910℃ 高温组合(安全告警)