Column User Subroutine and Procedure Data

 

You may supply a Fortran routine, either as a subroutine linked to PRO/II or as an in-line procedure to calculate kinetic reaction rates. Use this window to supply real, integer and supplemental data values to these routines.

 

Note: Although you may specify more than one user subroutine and/or procedure in the same unit operation, the same set of real, integer and supplemental data values will be used by all of them. This must be taken into account when the routines are written.

 

Usage

This window is accessed by pressing the Subroutine/Procedure Data button for a selected reaction set on the Column Reaction Selection Window.

 

Entering Data

Data are supplied to the subroutine or procedure in the three tables. Each table represents an array in the Fortran calculation. For each, you must enter the number of the array element and then the value that is associated with this element. The limits on these arrays are:

 

image\EDIT03.gif Real Data - up to 70 elements

image\EDIT03.gif Integer Data - up to 10 elements

image\EDIT03.gif Supplemental Data - up to 200 elements

 

You must know which elements of each array are used by the calculation and enter the required data. Values may be entered for any or all of the elements in the arrays. The elements defined need not be contiguous and may be entered in any order. See Editing Tabular Data for further information on tabular data entry.

 

PRO/II knows nothing about the data requirements of the rate calculation and so no restrictions are imposed in the data entry. You must check the validity and completeness of the data in the subroutine or procedure.

 

You may also enter data into the variables in the Real Data table using the Define system.

 

The variables in the Real Data table are also available to other unit operations by means of SPECs, VARYs and DEFINEs. The other tables are used solely by the kinetic rate subroutine or procedure.

 

image\SML_LINE.gif

 

Toolbar

OK and Cancel Buttons