TQSCOM

Fortran

TQSCOM(NCOM, NAMES, STOI, IWSG, IWSE)

C-interface

tq_scom(TC_INT num,tc_components_strings* components,TC_FLOAT* stoi,TC_INT* iwsg,TC_INT* iwse);

Full name:

Set System Component.

Purpose:

A new set of system components can be defined. The new number of components must be the same as previously. The number of system components can be changed by suspending a component by TQCSSC.

Comments:

  • The set of components must be linearly independent.
  • The names of the new system components are given in NAMES.
  • STOI is a matrix with dimension STOI (1:NCOM,1:NCOM) which gives the stoichiometry of the new components expressed in the old ones.
  • The default set for components is taken from in the input thermodynamic data file.
  • Legal values for the array elements in NAMES are constituent names.
  • The components are numbered as 1 NCOM in the order they are supplied in this call. The conversion from component name to index is also done by TQGSCI.

Arguments

Name

Type

Value set on call or returned

NCOM

Integer

Set to the number of components.

NAMES

Character*24 array

Set to component names.

STOI

Double precision matrix

Stoichiometry matrix in old components.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace