Conversion between PFDs/P&IDs and SFILES 2.0 strings.
Project description
SFILES 2.0
This repository is published together with the paper: SFILES 2.0: An extended text-based flowsheet representation
The repository contains functionality for the conversion between PFD-graphs/P&ID-graphs and SFILES 2.0 strings. In the paper, we describe the structure of the graphs, notation rules of the SFILES 2.0, and the conversion algorithm.
Installation
To install the SFILES 2.0 package via pip
, simply run:
pip install SFILES2
Exploring the Repository and Demonstrations
For users who want to explore the functionality with the provided demonstrations and example files:
git clone https://github.com/process-intelligence-research/SFILES2.git
After creating and activating a new virtual environment (python 3.9), you can use the requirements.txt file to install all required packages:
pip install -r requirements.txt
Demonstration of functionality
You can either have a look at the demonstration.ipynb
which demonstrates SFILES 2.0 strings for a variety of PFDs and P&IDs or run the python file run_demonstration.py
.
References
If you use this package or find it helpful in your research, please consider citing:
@article{vogel2023sfiles,
title={SFILES 2.0: an extended text-based flowsheet representation},
author={Vogel, Gabriel and Hirtreiter, Edwin and Schulze Balhorn, Lukas and Schweidtmann, Artur M},
journal={Optimization and Engineering},
volume={24},
number={4},
pages={2911--2933},
year={2023},
publisher={Springer}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sfiles2-1.0.2.tar.gz
.
File metadata
- Download URL: sfiles2-1.0.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad695fabe210cb1f2060794cb521a4eb1a54c01a47cffea3c2f6b53b526da081 |
|
MD5 | a7364ec977ddc622fb4778da80eb3f33 |
|
BLAKE2b-256 | 12e28efc0bfab932a690f95d3071e96f92c0493c3e1406017b47dc88a4f90cf1 |
File details
Details for the file sfiles2-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: sfiles2-1.0.2-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72933b2e6813c0de475104fdbdfec8f8dff6bc616c7989a2c2bd4d0b6f84bca |
|
MD5 | 40563c44735d2d0b5a073b4a8ee01352 |
|
BLAKE2b-256 | 87b668743b42d573d458ef59b2695428b94230dd9d6c8e6a1fe189862aae0364 |