CapeOpenMixtureProperty returns the values of a specified mixture property for a specified phase, at specified temperature, pressure and composition.
Syntax:
=CapeOpenMixtureProperty(packageName,propertyName,phaseName,T,P,composition,compositionBasis,propertyBasis,orientation,transposed,normalizeComposition)
Arguments:
packageName | Name of the package. |
propertyName | The mixture property name, as defined by CAPE-OPEN. See the ribbon for which mixture properties are supported for the selected package. Mixture properties can be a scalar, or a vector with a value for each compound, or a square matrix the size of the number of compounds. Matrices are by default represnted as a vector. The unit of meaure can be obtained from CapeOpenUnitOfMeasure |
phaseName | The name of the phase. See the ribbon for which phases are defined by the selected package. |
T | The temperature, in K. |
P | The pressure, in Pa. |
composition | The composition, in mol/mol or kg/kg. |
compositionBasis | Optional. The basis for composition. Can be "mole" (default), or "mass". |
propertyBasis | Optional. The basis for the property. Can be "mole" (default), or "mass". |
orientation | Optional. Orientation can be 'auto'=0 (default), 'horizontal'=1, 'vertical'=2, 'matrix'=3 (if applicable). |
transposed | Optional. Can be "0" or "false" (default), or "1" or "true". Applies to matrix properties in all orientations. |
normalizeComposition | Optional. By default, the composition vector is normalized. Value can be "0" or "false", or "1" or "true" (default). Turning off composition normalization can be useful for composition perturbation, but note that the Property Package may internally normalizat composition. |
Example:
=CapeOpenMixtureProperty("myPropertyPackage","enthalpy","vapor",298.15,101325,A3:A8)
To use the wizard, select the mixture dependent property on the ribbon:
place the cursor at the insert point and click the Insert button: