Skip to main content

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 pyproject.toml file to install all required packages:

pip install .

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sfiles2-1.1.0.tar.gz (420.2 kB view details)

Uploaded Source

Built Distribution

sfiles2-1.1.0-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file sfiles2-1.1.0.tar.gz.

File metadata

  • Download URL: sfiles2-1.1.0.tar.gz
  • Upload date:
  • Size: 420.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for sfiles2-1.1.0.tar.gz
Algorithm Hash digest
SHA256 438d46729b51c5fc6a79d0c606c66f8000a40455b09f99cd6d2f765e60772ceb
MD5 4eaf02c228ea24e58eeb51e63571dddf
BLAKE2b-256 9e0ea952f9b7fce37ca61222860cd96d6a5490e60f2252a3c0ed30e48b0ce9db

See more details on using hashes here.

File details

Details for the file sfiles2-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sfiles2-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for sfiles2-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ea23c111fc71d8b0707de57cabcb3946965c63c64599f8885c48e8e64f0abe0
MD5 ba66c51b0ebb4c407650b783a7424a8f
BLAKE2b-256 9bae632396192ce82c5828ff50f9a4f23a697f4d3d827dd4530bdd5d00874eca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page