pyDEXPI - An open-source tool in Python that implements the DEXPI data model

Smart, machine-readable Piping and Instrumentation Diagram (P&ID) data is key to unlocking innovation in the process industry, especially for emerging applications like Generative Artificial Intelligence (GenAI) - see examples of GenAI for the process industry. pyDEXPI helps enable this by making the DEXPI standard accessible and usable in Python.
pyDEXPI is an open-source tool in Python that implements the DEXPI data model. Importantly, pyDEXPI includes a Pydantic data class model of the DEXPI data model. This allows building Python applications with the DEXPI standard. pyDEXPI further provides functions to load a Proteus .xml export of DEXPI, the current DEXPI exchange format, into the data model.
pyDEXPI implements a parser to a graph representation of Piping and Instrumentation Diagrams (P&IDs) using NetworkX. This allows the user to work easily with the graph data.
Supports DEXPI version 1.3.
Features
- DEXPI data model as Pydantic classes in Python.
- Load Proteus .xml files to a pyDEXPI instance.
- pyDEXPI toolkit to analyze and manipulate pyDEXPI models.
- Parse pyDEXPI instance to graph in NetworkX.
- Synthetic DEXPI P&ID generation for generative Artificial Intelligence (AI).
Citation
Please reference this software package as:
@InProceedings{pyDEXPI,
author = {Goldstein, Dominik P. and Schulze Balhorn, Lukas and Alimin, Achmad Anggawirya and Schweidtmann, Artur M.},
booktitle = {Proceedings of the 35th European Symposium on Computer Aided Process Engineering (ESCAPE35)},
title = {pyDEXPI:{A} {Python} framework for piping and instrumentation diagrams using the {DEXPI} information model},
year = {2025},
address = {Ghent, Belgium},
month = {July},
doi = {https://doi.org/10.69997/sct.139043},
}