20: Fluid Composition and Properties

Command Purpose
add_water Compute the mole fractions of a composition variable to include ambient water vapor pressure. The computation is done on a continuous basis.
gas_prop Compute and update gas properties based on input variables in a continuous manner.
init_composition Initialize gas composition for the test cell by reading specification files and updating shared memory.
init_emission Initialize emission data by reading a specification file and updating shared memory for streams in use at a test cell.
init_properties Initialize properties data in shared memory for CyFlex, including setting default values and processing thermodynamic data.
set_composition

Update a composition variable by reading concentrations from specified real variables and transmitting the information via an event message at a defined process interval.

update_composition Update gas composition data based on received events, calculate molar mass, and write to files when specified conditions are met.