Page 1 of 1

Python Unit Operation

Posted: 05 May 2021, 06:18
by jasper
A new, CAPE-OPEN based, Python Unit Operation PMC is available from here:

https://www.amsterchem.com/pythonunitoperation.html

The Python Unit Operation can be used in CAPE-OPEN 1.1 and 1.2 compliant PMEs. In 32-bit (x86) PMEs, a 32-bit Python Unit Operation will require a 32-bit Python installation. For 64-bit (x64) PMEs, a 64-bit Python Unit Operation will require a 64-bit Python installation. The unit operation has a rich GUI, based on the Scintilla editor control:
editwindow.png
editwindow.png (97.34 KiB) Viewed 19801 times
A Configure function is defined that allows for creation of material-, energy- and information ports, for real-, integer-, boolean-, string- and real-array parameters, text reports, and even image reports:
profileplot.png
profileplot.png (42.38 KiB) Viewed 19801 times
Instructions in the form of examples are provided here:

https://www.amsterchem.com/pythonunitop ... ample.html

A reference on the provided API is here:

https://www.amsterchem.com/pythonunitoperationhelp.html

The unit operation is free for academic use.