Then new user-added unit operation feature in PRO/II enables third party users to develop own unit operation.
Steps to add new UAUOP
Develop the DLL initially using stand-alone modules for data initialization and storage. At a minimum, design the code to optionally handle input processing, data cross checking, data persistence, post-convergence calculations, and report writing. (PRO/II will query the unit operation to determine which of these functions the unit supports.) A simple conditional branching structure in the unit operation executive routine is all that is needed. Use temporary data to run, test and debug the calculations.
Define the data structure and access information for use by PRO/II. This is done by creating an INI file for the new model.
Modify the code to interface with PRO/II. After the calculations have been debugged, recode the data initialization and data storage modules using the interface routines provided by PRO/II. Instrument the function branching logic in the executive routine to query and interpret PRO/II’s context flag.
Register the new UAUOP with PRO/II by adding a new line in the [UAUOP] section of P2UASReg.ini file.
Registering a new UAUOP with PRO/II
Hints for defining new ini for the new UAUOP
New Interface functions for Component, Stream, and Unit Op Data