© 2024 Jasper van Baten, AmsterCHEM

CapeOpenCompoundConstant

CapeOpenCompoundConstant returns the values of a specified constant of all compounds or a specific compound in the package.

Syntax:

=CapeOpenCompoundConstant(packageName,constantName,basis,orientation,compound)

Arguments:

packageName Name of the package.
constantName The compound constant name, as defined by CAPE-OPEN. See the ribbon for which compound constants are supported for the selected package. Constants either have a real or string value for each compound. For real values, the unit of meaure can be obtained from CapeOpenUnitOfMeasure
basis Optional. Can be "mole" (default), or "mass".
orientation Optional. Orientation can be 'auto'=0 (default), 'horizontal'=1, 'vertical'=2.
compound Optional. Can be "all" (default), or the 1-based compound index, or the name of the compound.

Examples:

=CapeOpenCompoundConstant("myPropertyPackage","CriticalTemperature")

=CapeOpenCompoundConstant("myPropertyPackage","CriticalTemperature",,"horizontal")

=CapeOpenCompoundConstant("myPropertyPackage","CriticalTemperature",,,1)

=CapeOpenCompoundConstant("myPropertyPackage","CriticalVolume","mass")

=CapeOpenCompoundConstant("myPropertyPackage","ChemicalFormula")

Using the wizard

To use the wizard, select the compound constant on the ribbon:

Ribbon

place the cursor at the insert point and click the Insert button:

Wizard

INDEX
basis
chemical formula
compound constants
compound names
constant properties
disclaimer
edit property packages
flash calculations
functions
getting started
license
mixture properties
molecular weight
persistence
phase equilibrium
phases
property package
property package manager
pure compound properties
single phase properties
stand-alone property package
system requirements
temperature dependent properties
two-phase properties
unit of measure
welcome
wizard
CONTENT
 Introduction
 Property Packages
 Function reference
 CapeOpenPackageNames
 CapeOpenUnitOfMeasure
 CapeOpenPhases
 CapeOpenCompoundConstant
 CapeOpenTemperatureDependentProperty
 CapeOpenMixtureProperty
 CapeOpenTwoPhaseProperty
 CapeOpenPhaseEquilibrium
 Disclaimer