mission

CAPE-OPEN
COCO
Excel Thermo Import
Excel Unit Operation
Matlab Unit Operation
Matlab Thermo Import
OO Calc Thermo Import
REFPROP PPM
SciLab Unit Operation
SciLab Thermo Import
» 
Help
Python Thermo Import
FlowExchange
ThermoSystemAdapter

ScanIt

downloads

services

links

about us

contact us

capeOpenAggregationState

Returns the state of aggregation of a given phase

Syntax

state=capeOpenAggregationState(handle,name)

Arguments

handle: package handle, as obtained from capeOpenGetPackage

name: identifier of the phase, as present in the list returned by capeOpenPhases

Returns

state: string, state of aggregation. Will be "Vapor", "Liquid", "Solid" or "Unknown".

Example

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

-->capeOpenPhases(handle)

 ans  =
 
!Vapor   !
!        !
!Liquid  !
  
 
-->capeOpenAggregationState(handle,"Liquid")

 ans  =
 
 Liquid   
    

INDEX
CONTENT