Applying the Concept of Regular Expressions in P&I Diagrams

  research topic Copyright: © IG

Regular Expression (RegEx for short) is a group of characters used to look up a particular pattern of text. A regular expression is a pattern that is compared from left to right with a string of characters. Regular expressions are used to replace text in a string, check the shape, extract a substring from a string based on a pattern match, etc. For example, the following regex can be used to find all tenses in text: [0-2]?[0-9]:[0-5][0-9] (e.g. 21:30 or 7:45).

So, the concept of Regular Expressions allows to design text patterns in a short form. A similar concept for P&I diagrams would realize a search in attachments for certain patterns, which can be defined briefly and concisely.

Thus, many applications are conceivable, e.g., an automatic search in P&I diagrams for places where it is necessary to interlock, a semi-automated HAZOP analysis. It provides a basis for the widespread use of machine learning applications in the field of process industry, an automatic check of quality of equipment or its diagrams. Another application is in the field of asset identification: an analysis of assets can be done with an algorithm that works based on a database of capability patterns. The result of the analysis is the list of capabilities of the equipment.



+49 241 80 97745