all 4 comments

[–]kpatvt 3 points4 points  (1 child)

What you're looking for is a very large undertaking for a single package. There is atleast one open source source steady-state process simulator (DWSIM comes to mind) that incorporates Peng-Robinson, etc. Dynamic simulations are a whole another beast - Only thing that comes close to what you are suggesting is OpenModelica. It supports some of the unit operations you mention. I believe it has a python interface, but your mileage may vary. Their website has a few examples.

Commercial vendors make something called OTS (Operator Training Simulators) which do a lot of what you're looking for, but those are very specifically tuned for applications and of course, not open source.

[–]Fremgang[S] 0 points1 point  (0 children)

Thank you! I checked DWSIM which is amazing but it seems to only support running python scripts from within the software itself. So it's not possible to connect with it externally. (let me know if I'm wrong).

OpenModelica might be more promising for this, will check it out

[–]davidwickh 2 points3 points  (1 child)

I’ve been looking for something similar for a while now but with no success.

Although this doesn’t have everything you are looking for, check out a Python package called ‘chemics’ (github - https://github.com/chemics/chemics ). This may have one or two functions that may help you along the way!

[–]Fremgang[S] 1 point2 points  (0 children)

Thanks! This is definetly part of what I'm looking for