LLMs in Process Diagram Engineering: From Optimal PFDs to Validated P&IDs
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 31 references that are in the map. First posted on arXiv 21 Jul 2026.
Builds on
11 of 31 references.
References · 11
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2023Reward Design with Language Modelscited by 261
- 2021PyGAD: An Intuitive Genetic Algorithm Python Librarycited by 25
- 2022Toward automatic generation of control structures for process flow diagrams with large language modelscited by 12
- 2024An Agentic Approach to Automatic Creation of P&ID Diagrams from Natural Language Descriptionscited by 12
- 2022SFILES 2.0: An extended text-based flowsheet representationcited by 10
- 2022Learning from flowsheets: A generative transformer model for autocompletion of flowsheetscited by 10
- 2025Multi-agent systems for chemical engineering: A review and perspectivecited by 9
- 2024Graph-to-SFILES: Control structure prediction from process topologies using generative artificial intelligencecited by 5
- 2025Talking like Piping and Instrumentation Diagrams (P&IDs)cited by 5
- 2025A Multi-agent System for Hybrid Optimizationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Context is all you need: Towards autonomous model-based process design using agentic AI in flowsheet simulations
- 2026GraphRAG for Engineering Diagrams: ChatP&ID Enables LLM Interaction with P&IDs
- 2026Sketch2Simulation: Automating Flowsheet Generation via Multi Agent Large Language Models
- 2026From Text to Simulation: A Multi-Agent LLM Workflow for Automated Chemical Process Design
- 2026DUCTILE: Agentic LLM Orchestration of Engineering Analysis in Product Development Practice
- 2025Solving a Million-Step LLM Task with Zero Errors
- 2026Grounded and Faithful P&ID Reasoning: Constraining Vision-Language Models with Recovered Evidence Graphs
- 2025Leveraging LLM Agents and Digital Twins for Fault Handling in Process Plants