© 2024 Jasper van Baten, AmsterCHEM

capeOpenSetBasis

Sets the basis to 'mole' or 'mass'. Affects all properties that have a molar or mass basis. Generally, these are fractions, phase fractions, all extensive properties and densities.

Syntax

capeOpenSetBasis(basis)

Arguments

basis: string; valid values are 'mole' (default) or 'mass'

Returns

None

Example


» capeOpenPropUnit('fraction')

ans =

mole fraction

» capeOpenPropUnit('phaseFraction')

ans =

mole fraction

» capeOpenPropUnit('vaporFraction')

ans =

mole fraction

» capeOpenPropUnit('density')

ans =

mol / m3

» capeOpenPropUnit('enthalpy')

ans =

J / mol

» capeOpenSetBasis('mass')
» capeOpenPropUnit('fraction')

ans =

mass fraction

» capeOpenPropUnit('phaseFraction')

ans =

mass fraction

» capeOpenPropUnit('vaporFraction')

ans =

mass fraction

» capeOpenPropUnit('density')

ans =

kg / m3

» capeOpenPropUnit('enthalpy')

ans =

J / kg

INDEX
Basis conversions
Calculations
capeOpen1PhaseProp
capeOpen1PhasePropList
capeOpen2PhaseProp
capeOpen2PhasePropList
capeOpenAbout
capeOpenAggregationState
capeOpenCompoundConstant
capeOpenCompounds
capeOpenConstantList
capeOpenCreatePackage
capeOpenEquilibrium
capeOpenEquilibriumProp
capeOpenFlashPropList
capeOpenGetPackage
capeOpenGetPackageName
capeOpenGetPackages
capeOpenHelp
capeOpenKillAllPackages
capeOpenKillPackage
capeOpenPackageManagers
capeOpenPackages
capeOpenPDepPropList
capeOpenPhases
capeOpenPropUnit
capeOpen Quick Reference
capeOpenSetBasis
capeOpenShowMessages
capeOpenTDepProp
capeOpenTDepPropList
capeOpenThermoVersion
Disclaimer
Equilibrium calculations
Information
License
Matrix dimension conventions
Obtaining package information
Package information
Package maintenance
Property calculations
Registration with Matlab
pathdef.m
System requirements
Welcome
CONTENT
 Welcome
 Introduction
 Package Maintenance
 Package information
 Property and equilibrium calculations
 General functions
 capeOpenThermoVersion
 capeOpenShowMessages
 capeOpenSetBasis
 capeOpenPropUnit
 capeOpen Quick Reference
 capeOpenHelp
 capeOpenAbout
 License and disclaimer