Skip to content
Preprint

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

Jul 2026 · 0 citations · 31 references
Computer Science

TL;DR

A 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.

Abstract

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.

View source

Similar papers

Review Open access 2026

Formalizing Model Selection in LLMOps: A Systematic UML-Based Process Model

The proposed model aims to support the formalization of model selection processes, improve decision-making, and enhance the traceability and transparency of LLMOps practices and forms part of a broader research effort toward the formalization of the entire LLMOps life cycle.

M. Chernigovskaya, A. Nahhas, Christian Haertel et al. · 0 citations
Conference Open access Aug 2026

Automated Generation of SysML Activity Diagrams from Industrial Requirements Using LLMs

Evaluated on real-world system-level requirements documents, comprising more than 720 requirements and 72 use cases, the approach generates system-level diagrams comparable to those created by experts and provides valuable architectural recommendations.

Bastian Franze, Dominik Fuchß, Friedrich Wattenberg et al. · 0 citations
Open access Jul 2026

Empowering Automated Process Analysis through LLM-Based Literature Mining, Flowsheet Digitization, and Simulation

It is shown that the integrated pipelines presented can faithfully collect and digitize chemical process information by comparing to expert-curated datasets and manually drawn flowsheets and are on par with expert interpretations with significantly less manual effort.

Jan-Frederic Laub · 0 citations
Open access Aug 2026

Modernizing CAD-Based Infrastructure Design Workflows Through Internal Automation, Data Standards, and Process Modelling

A three-stage framework consisting of intelligent dependency graph generation, optimization of design processes and automation of tasks within processes is proposed in this study to improve the current practices in modernizing CAD workflows within infrastructure projects.

Janvi Vijaykumar Saddi, H. Lathiya, Akhilesh Korpe et al. · 0 citations
Book Open access Aug 2026

An Automatic HCPN Modeling Method for Microservice-Orchestrated Network Operation Workflows

An automated HCPN modeling method is proposed that transforms Netflix Conductor workflow specifications into hierarchical HCPN models using predefined rules and preserves workflow structure, control flow, and data dependencies, and generates models suitable for formal verification.

Guoshuai Li, Tao Sun, Wenjie Zhong · 0 citations
Review Open access 2023

Robotic Process Automation for Modern Enterprise Workflows

The authors establish the main issues associated with scalability, security, and maintainability and show future research perspectives of sustainable adoption of RPA in large-scale enterprise settings.

Kenji Sato, Aiko Yamamoto · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.