arXiv:2608.11220cs.AIcs.MA2026-08

用大模型和遗传算法自动生成合规的流程图,省时省力。

LLMs in Process Diagram Engineering: From Optimal PFDs to Validated P&IDs

论文配图:LLMs in Process Diagram Engineering: From Optimal PFDs to Validated P&IDs
图 1 · 摘自论文原文
  • 结合遗传算法与大模型生成最优流程图拓扑结构
  • 生成的流程图满足出口流量要求且无工程规则错误
  • 大模型代理可100%成功转换为合规的管道图,适合工业设计自动化

当前流程图(PFD)的创建及其向管道仪表图(P&ID)的转换主要依赖人工完成。将人工智能引入该任务有望实现流程自动化、节省时间,并通过探索多种拓扑结构和减少人力成本带来经济收益。本文提出P&ID Pilot——一个端到端的AI流程,涵盖流程图生成与转换两阶段。第一阶段聚焦于PFD合成,对比四种方法后发现,结合遗传算法(GA)与大语言模型(LLM)的混合方法在所有方案中实现了最低损失值,同时满足出口流量需求且无工程规则违规。第二阶段采用基于LLM的智能体,通过受限工程软件开发工具包,将生成的PFD转化为以源为依据的、可执行的验证性P&ID,实现100%执行成功率,并保持领域规则与参考图结构的一致性。该统一管道结合了GA/LLM驱动的合成与基于LLM的转换代理,为全流程设计自动化提供了可行路径,显著降低人工工程工作量。

原文摘要 · Abstract (English)

Nowadays, the creation of a process flow diagram (PFD) and its subsequent transformation into a piping and instrumentation diagram (P&ID) is predominantly performed manually. Applying artificial intelligence in the task could potentially lead not only to process automation and time savings, but also to financial gains by exploring numerous diagram's topology options and reducing manual labor. This research presents P&ID Pilot - a practical end-to-end AI pipeline capable of handling flowsheet developing for both stages. The first stage focuses on PFD synthesis, whereas the second is directed toward modifying the generated PFD into P&ID. After comparing four different methods, the hybrid approach combining genetic algorithms (GA) and large language models (LLM) is shown to generate the optimal valid PFD topology, achieving the lowest loss value among all the methods, while satisfying the required outlet flow parameters without engineering-rule violations. For the second stage, the proposed LLM-based agent successfully transforms the generated PFD into a source-grounded P&ID by producing validated, executable modifications through a restricted engineering software development kit, achieving 100% execution success while maintaining compliance with domain-specific rules and reference graph structures. This unified pipeline - coupling GA/LLM-driven synthesis with an LLM-based transformation agent - offers a feasible path toward end-to-end process design automation by producing validated, deployable outputs and substantially reduces manual engineering effort.

流程图生成大模型应用工业自动化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。