GithubHelp home page GithubHelp logo

sangnguyens / sfiles2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from process-intelligence-research/sfiles2

0.0 0.0 0.0 1.16 MB

Conversion between PFDs/P&IDs and SFILES 2.0 strings

License: MIT License

Python 21.87% Jupyter Notebook 78.13%

sfiles2's Introduction

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.

How to use this repository?

To use the SFILES 2.0 code, first clone the repository:

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

The repository contains a notebook for demonstration. To use this notebook, you need to install the ipykernel:

source activate envname # activate environment
python -m ipykernel install --user --name envname --display-name "Python (envname)"

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.

sfiles2's People

Contributors

edwinhirtreiter avatar arturschweidtmann avatar gavogel avatar lukasschbal avatar tonyzyl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.