© 2024 Jasper van Baten, AmsterCHEM

capeOpenTDepProp

Get values for temperature dependent properties for all compounds at specified temperatures. The list of compounds in the package can be obtained using capeOpenCompounds. A list of supported temperature dependent properties can be obtained using capeOpenTDepPropList.

Syntax

[values,...]=capeOpenTDepProp(handle,propNames,T)

Arguments

handle: package handle, as obtained from capeOpenGetPackage

propNames: string. Multiple properties can be specified; separate the properties by a space.

T: column vector of temperatures at which to calculate the values.

Returns

values: matrix of values. Number of columns will match the number of compounds. Number of rows will match the number of specified temperatures. One matrix will be returned for each property.

Example

 
-->handle=capeOpenGetPackage("TEA (CAPE-OPEN 1.1)","C1_C2");
 
-->capeOpenCompounds(handle)

 ans  =
 
!Methane  !
!         !
!Ethane   !
 
-->capeOpenTDepPropList(handle)

 ans  =
 
!heatOfVaporization               !
!                                 !
!heatOfVaporization.Dtemperature  !
!                                 !
!vaporPressure                    !
!                                 !
!vaporPressure.Dtemperature       !
 
 
-->capeOpenPropUnit("temperature")

 ans  =
 
 K   

-->T=[300:10:400]'

 T  =
 
    300.  
    310.  
    320.  
    330.  
    340.  
    350.  
    360.  
    370.  
    380.  
    390.  
    400.  
 
-->capeOpenTDepProp(handle,"vaporPressure",T)

 ans  =
 
   1.0D+09 *
 
    0.2757277    0.0043624  
    0.5300701    0.0053609  
    1.1189611    0.0065507  
    2.6307683    0.0079771  
    6.9958019    0.0097015  
    21.397696    0.0118090  
    76.663049    0.0144175  
    328.15551    0.0176935  
    1714.5325    0.0218743  
    11190.217    0.0273045  
    93543.426    0.0344923  
 
-->[vp dvpdt]=capeOpenTDepProp(handle,"vaporPressure vaporPressure.Dtemperature",T)

 dvpdt  =
 
   1.0D+08 *
 
    0.1685390    0.0009149  
    0.3700461    0.0010877  
    0.8935428    0.0012993  
    2.4039271    0.0015634  
    7.3112417    0.0018994  
    25.546539    0.0023349  
    104.39009    0.0029095  
    508.65021    0.0036814  
    3018.6831    0.0047368  
    22328.041    0.0062068  
    211028.59    0.0082938  

 vp  =
 
   1.0D+09 *
 
    0.2757277    0.0043624  
    0.5300701    0.0053609  
    1.1189611    0.0065507  
    2.6307683    0.0079771  
    6.9958019    0.0097015  
    21.397696    0.0118090  
    76.663049    0.0144175  
    328.15551    0.0176935  
    1714.5325    0.0218743  
    11190.217    0.0273045  
    93543.426    0.0344923  
 
-->[vp dvpdt]=capeOpenTDepProp(handle,["vaporPressure";"vaporPressure.Dtemperature"],T)

 dvpdt  =
 
   1.0D+08 *
 
    0.1685390    0.0009149  
    0.3700461    0.0010877  
    0.8935428    0.0012993  
    2.4039271    0.0015634  
    7.3112417    0.0018994  
    25.546539    0.0023349  
    104.39009    0.0029095  
    508.65021    0.0036814  
    3018.6831    0.0047368  
    22328.041    0.0062068  
    211028.59    0.0082938  

 vp  =
 
   1.0D+09 *
 
    0.2757277    0.0043624  
    0.5300701    0.0053609  
    1.1189611    0.0065507  
    2.6307683    0.0079771  
    6.9958019    0.0097015  
    21.397696    0.0118090  
    76.663049    0.0144175  
    328.15551    0.0176935  
    1714.5325    0.0218743  
    11190.217    0.0273045  
    93543.426    0.0344923  
 
-->capeOpenPropUnit("vaporPressure")

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