5.2: TQCEL

TOCGroup 5TQCETQCENGroup 1A-ZGroup 5

CALCULATE-EQUILIBRIUM-AND-LIST-RESULTS

Use TQCEL to calculate the equilibrium with current settings of global conditions or streams, and list the results in the form of a ChemSage format output table.

Synopsis

FORTRAN: CALL TQCEL(OPTION,INDEXP,INDEXC,VALS,NOERR)

C: tqcel(option,indexp,indexc,vals,&noerr);

Pascal: tqcel(option,indexp,indexc,vals,noerr);

Basic: Call tqcel(option,indexp,indexc,vals,noerr)


Name Type Value set on call or returned
OPTION CHARACTER Set to a string as shown in Table 16
INDEXP INTEGER Set to the index number for a phase, if necessary
INDEXC INTEGER Set to the index number for a constituent, if necessary
VALS Array of 2 of
DOUBLE PRECISION
Set to an initial estimate of the target variable, or the lower and upper limits of an incoming amount, if necessary
NOERR INTEGER Returns an error number

The parameters and their conditions are identical to those for TQCE. A result table is produced after finishing the calculations and is written to unit LIST, see Table 6. The amount unit used in the output table is the one which is currently selected (i.e. 'mol' by default).

See also

TQCE, TQSETC, TQCEL, TQSTEC, TQSHOW, TQMAPL

Examples

See TQCE


ChemApp Programmer's Manual, Edition 3.6© GTT-Technologies, 2003