用多智能体大模型把工艺草图自动转为可运行的模拟模型。
Sketch2Simulation: Automating Flowsheet Generation via Multi Agent Large Language Models
- 分三步走:解析草图、生成模型、验证结构,由不同智能体协作完成。
- 四类化工案例全部成功生成可执行模型,连接一致率超0.93,物流一致率超0.96。
- 适合工艺设计与模拟自动化研究者,尤其关注从手绘图到仿真落地的场景。
将工艺草图转化为可执行模拟模型仍是过程系统工程中的主要瓶颈,需大量手动操作和特定仿真器知识。尽管生成式AI在工程图理解与语言模型辅助流程图生成方面取得进展,但两者仍脱节:图理解方法常止于提取的图结构,而文本到模拟流程则依赖结构化输入而非原始视觉图像。为此,我们提出一个端到端的多智能体大语言模型系统,可直接将工艺图转换为可执行的Aspen HYSYS流程图。该框架将任务分解为三个协同层:图解析与解释、模拟模型合成、多层级验证。专用智能体分别负责视觉解析、基于图的中间表示构建、HYSYS COM接口代码生成、执行及结构验证。我们在四个复杂度递增的化工案例上评估该框架,涵盖简单脱盐流程至含多个循环回路的工业芳烃生产流程。系统在所有案例中均生成可执行的HYSYS模型,在两个较简单的案例中实现完全结构保真,复杂案例表现良好,连接一致性高于0.93,物流一致性高于0.96。结果表明该系统实现了可行的端到端草图到模拟工作流,同时揭示了密集循环结构、隐含图语义和仿真器接口限制等仍存挑战。
原文摘要 · Abstract (English)
Converting process sketches into executable simulation models remains a major bottleneck in process systems engineering, requiring substantial manual effort and simulator-specific expertise. Recent advances in generative AI have improved both engineering-diagram interpretation and LLM-assisted flowsheet generation, but these remain largely disconnected: diagram-understanding methods often stop at extracted graphs, while text-to-simulation workflows assume structured inputs rather than raw visual artifacts. To bridge this gap, we present an end-to-end multi-agent large language model system that converts process diagrams directly into executable Aspen HYSYS flowsheets. The framework decomposes the task into three coordinated layers: diagram parsing and interpretation, simulation model synthesis, and multi-level validation. Specialized agents handle visual interpretation, graph-based intermediate representation construction, code generation for the HYSYS COM interface, execution, and structural verification. We evaluate the framework on four chemical engineering case studies of increasing complexity, from a simple desalting process to an industrial aromatic production flowsheet with multiple recycle loops. The system produces executable HYSYS models in all cases, achieving complete structural fidelity on the two simpler cases and strong performance on the more complex ones, with connection consistency above 0.93 and stream consistency above 0.96. These results demonstrate a viable end-to-end sketch-to-simulation workflow while highlighting remaining challenges in dense recycle structures, implicit diagram semantics, and simulator-interface constraints.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。