4.4: TQSTCA | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
TOC | Group 4 | TQSTTP | TQSTEC | Group 5 | A-Z | Group 4 |
Use TQSTCA to set the constituent amounts for a stream.
FORTRAN: CALL TQSTCA(IDENTS,INDEXP,INDEXC,VAL,NOERR)
C: tqstca(idents,indexp,indexc,val,&noerr)
;
Pascal: tqstca(idents,indexp,indexc,val,noerr)
;
Basic: Call tqstca(idents,indexp,indexc,val,noerr)
Name | Type | Value set on call or returned |
IDENTS | CHARACTER | Set to the name of a stream |
INDEXP | INTEGER | Set to the index number for a phase |
INDEXC | INTEGER | Set to the index number for a constituent |
VAL | DOUBLE PRECISION | Set to a stream constituent amount |
NOERR | INTEGER | Returns an error number |
IDENTS, INDEXP, INDEXC, and VAL are all input. IDENTS is a name previously defined by calling TQSTTP. VAL must be greater than zero and is entered with the default unit, or a unit set using TQCSU (see Chapter 2).
See Appendix B.1 for details on how ChemApp deals with the extensive properties of streams. Note that the same phase constituent can be a part of several streams.
The total number of all the stream constituents defined in all streams must not be greater than the maximum number of constituents of the version of ChemApp used (see TQSIZE, parameter 'NA'). This implies that this limit is reached when defining one stream with 'NA' constituents, or 'NA' streams with one constituent each.
Note that it is not possible to use TQSETC and TQSTCA/TQSTEC interchangeably for setting conditions.
Note that some solution phase models might not permit the usage of their phase constituents as incoming species. TQPCIS can be used to check for these cases.
TQSTTP, TQSTEC, TQSTRM, TQSTXP
See TQSTTP
ChemApp Programmer's Manual, Edition 3.6 | © GTT-Technologies, 2003 |