In addition to the functions that you can use, the following global variables are defined. They must not be redefined.
| nComp | number of compounds |
| compNames | names of the compounds; cell array with one string for each compound |
| nPhase | number of defined phases |
| phaseNames | names of defined phases; cell array with one string for each defined phase |
| phaseAggregationStates | aggregation states for defined phases; one integer for each string (see getAggregationState) |
Note that if the material objects that represent the material streams only implement thermodynamic standard version 1.0, and not 1.1, the value for nPhase will be 0 and the phaseNames and phaseAggregationStates will be set to empty arrays.