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
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
Instructions in the form of examples are provided here:
A reference on the provided API is here:
The unit operation is free for academic use.Statistics: Posted by jasper — 05 May 2021, 06:18
]]>