Pyflowsheet

Latest version: v0.2.1

Safety actively analyzes 623626 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

* Version 0.2.0 was not running after restructuring of source files. Restored package by adding all submodules correctly in setup.py

0.2.0

**New Features**
* Added an "Internals" System. You can now add any instance derived from BaseInternal to the internals list of a unit operation. These internals can represent tubes in a heat exchanger, trays or packing in a column, or special realisations of pumps and compressors.

**Breaking Change**: It is not possible to define internals by a string anymore.
python
U3=pfd.unit(Vessel("Fermenter","Fermenter", position=(200,190), capLength=20, showCapLines=False, size=(80,140),internals=[Stirrer(type=StirrerType.Anchor), Jacket()] ))

* Changed how vertical/horizontal vessels work: Now every vessel is vertical by default, but can be rotated either with the rotate(angle) method or by passing the angle as parameter into the constructor.
python
BA11=Vessel("DS10-BA11","Horizontal Vessel", angle=90, position=(560,400), size=(40,100), capLength=20,internals=[CatalystBed()] )

* Compressor unit operation

**Bugfixes**
* Multiple calls to .rotate(angle) do not rotate the ports anymore while keeping the unit itself at the same angle.
* Rotating a unit now influences the area that is blocked for pathfinding.

0.1.1

* Alpha version
* Basic drawing functions implemented
* [svgwrite](https://github.com/mozman/svgwrite) backend for vector output
* Limited library of unit operations
* Mixer / Splitter
* Heat Exchanger
* Vessel (vertical/horizontal)
* Distillation Column (optional reboiler and condenser, some internals)
* Pump
* Stream flag / Feed / Product
* Valve
* BlackBox Unit Operation (catch all for non-implemented icons)
* Arbitary Rotation
* Horizontal Flipping
* Stream routing via Dykstra algorithm (using the [python-pathfinding package](https://github.com/brean/python-pathfinding) )

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.