A piping and instrumentation diagram (P&ID) is a central reference document in chemical process engineering. Currently, chemical engineers manually review P&IDs through visual inspection to find and rectify errors. However, engineering projects can involve hundreds to thousands of P&ID pages, creating a significant revision workload. This study proposes a rule-based method to support engineers with error detection and correction in P&IDs. The method is based on a graph representation of P&IDs, enabling automated error detection and correction, i.e., autocorrection, through rule graphs. We use our pyDEXPI Python package to generate P&ID graphs from DEXPI-standard P&IDs. In this study, we developed 33 rules based on chemical engineering knowledge and heuristics, with five selected rules demonstrated as examples. A case study on an illustrative P&ID validates the reliability and effectiveness of the rule-based autocorrection method in revising P&IDs.
翻译:管道与仪表图(P&ID)是化工工艺工程中的核心参考文件。目前,化学工程师通过目视检查人工审核P&ID,以发现并纠正错误。然而,工程项目可能涉及数百至数千张P&ID图纸,造成巨大的修订工作量。本研究提出一种基于规则的方法,用于辅助工程师进行P&ID的错误检测与修正。该方法基于P&ID的图结构表示,通过规则图实现自动化错误检测与修正(即自动纠错)。我们使用自研的pyDEXPI Python工具包,从符合DEXPI标准的P&ID中生成P&ID图。本研究基于化工工程知识与启发式规则开发了33条规则,并以其中5条精选规则为例进行演示。针对一个示例P&ID的案例研究验证了基于规则的自动纠错方法在修订P&ID中的可靠性和有效性。