© 2024 Jasper van Baten, AmsterCHEM

capeTwoPhaseProperty

capeTwoPhaseProperty returns a two-phase mixture property. The result may be a scalar, vector or matrix. Matrix values are represented by a vector of elements.

For the unit of measure of a two-phase property, use capePropertyUnit.

Syntax:

=capeTwoPhaseProperty(propName, phaseName1, phaseName2, T, P, moleFractions1, moleFractions2)

Arguments:

propName Name of the property. For a list of available two-phase properties, click the Two-phase Properties button on the control sheet. Temperature derivatives are indicated with .Dtemperature, pressure derivatives are indicated with .Dpressure, unconstrained mole fraction derivatives are indicated with .DmolFraction and mole number derivatives for one mole of substance are indicated with .Dmoles
phaseName1 First phase for which to calculate the property. For a list of defined phases, click the Phases button on the control sheet.
phaseName2 Second phase for which to calculate the property.
T Temperature at which to calculate the property
P Pressure at which to calculate the property
moleFractions1 Composition of the first phase for which to calculate the property; number of values must correspond to the number of compounds. Composition must be normalized.
moleFractions2 Composition of the second phase for which to calculate the property.

Example:

=capeTwoPhaseProperty("surfaceTension", "vapor", "liquid", 293.15, 101325.0, G3:G8, H3:H8)

This function can be inserted by clicking the Two-phase Property Two-phase Property button on the Unit Operation ribbon.

INDEX
add-In
aggregation state
available properties
capeCompoundConstant
capePropertyUnit
capeFlash
capeFlashedFeed
capeOverallFeedProperty
capeOverallProperty
capePDependentProperty
capeSinglePhaseProperty
capeCompoundNames
compound names
unit of measure
capeStateOfAggregation
capeTDependentProperty
capeTwoPhaseProperty
capeUnitOperationName
compound constants
control sheet
defined phases
Disclaimer
equilibrium calculations
examples
Excel solver
Export Model
feeds
flash calculations
getting started
Import Model
input parameters
Loading and storing models
macros
output parameters
overall properties
parameters
ports
pressure dependent properties
products
property calculations
quick reference
reports
requirements
run-time error
security
single phase properties
solver
state of aggregation
streams
temperature dependent properties
thermodynamic equilibrium calculations
thermodynamic property calculations
two-phase properties
unit operation name
Update links
validation
VBA
welcome
CONTENT
 Introduction
 Ports and streams
 Parameters
 Function reference
 capeUnitOperationName
 capeStateOfAggregation
 capeCompoundConstant
 capePropertyUnit
 capeCompoundNames
 capeTDependentProperty
 capePDependentProperty
 capeSinglePhaseProperty
 capeTwoPhaseProperty
 capeFlash
 capeFlashedFeed
 capeOverallProperty
 capeOverallFeedProperty
 The control sheet
 Using the Excel solver
 Using Macros
 Loading and storing models
 Persistence in AspenPlus
 Examples
 Disclaimer