4.5: TQSTEC

TOCGroup 4TQSTCATQSTRMGroup 5A-ZGroup 4

SET-EQUILIBRIUM-CONDITION-WHEN-STREAM-INPUT

Use TQSTEC to set an invariant state variable for the equilibrium calculation when the input conditions are defined by streams.

Synopsis

FORTRAN: CALL TQSTEC(OPTION,INDEXP,VAL,NOERR)

C: tqstec(option,indexp,val,&noerr);

Pascal: tqstec(option,indexp,val,noerr);

Basic: Call tqstec(option,indexp,val,noerr)


Name Type Value set on call or returned
OPTION CHARACTER Set to a string as shown in Table 13
INDEXP INTEGER Set to the index number for a phase, if necessary
VAL DOUBLE PRECISION Set to the value of the condition
NOERR INTEGER Returns an error number

OPTION, INDEXP, and VAL are all input. See Table 13 for the mnemonics of the possible state variables. VAL is entered with a default unit, or a unit set using TQCSU (see Chapter 2).

Note: It is not possible to use TQSETC and TQSTCA/TQSTEC interchangeably for setting conditions.

See also

TQSTTP, TQSTCA, TQSTRM, TQSTXP

Examples

See TQSTTP


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