{'fraction_non_alphanumeric': 0.018337408312958436, 'fraction_numerical': 0.004278728606356968, 'mean_word_length': 5.1773584905660375, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Generating an industrial process graph from 3D pipe routing information

The automatic generation of digital twins of industrial processes requires the integration of several sources of information. If the twin is expected to accurately capture thermo-hydraulic phenomena, dimensions of tanks and other process components as well as detailed pipe routing information is relevant. Such information is not comprehensively captured in P&IDs (Piping & Instrumentation Diagrams), but it is available from 3D CAD models. However, information about control loops is not available from 3D CAD models, but is available from P&IDs. Previous research has demonstrated the extraction of such information from machine-readable P&IDs and 3D CAD models and converting this information to graphs. Further research is expected on applying graph matching methods for integrating these separate graphs to a common graph-based data structure that captures all of the desired information. This common model could support further work to develop digital twins. A major obstacle to this is that the graphs that have currently been generated from P&IDs and 3D CAD models are at very different abstraction levels, so graph matching methods are not feasible. This article address this obstacle by building on previous work, in which graphs were generated from P&IDs and 3D CAD models. The contribution of this paper is several novel algorithms for preprocessing a 3D CAD generated graph, until it is at the same level of abstraction as a P&ID generated graph of the same industrial process. The algorithms are demonstrated in the context of a laboratory process.