© 2024 Jasper van Baten, AmsterCHEM

Function reference

In addition to the global variables that are defined when running the Matlab script, the following functions can be used:

getAggregationStateget the state of aggregation for a given phase
getAggregationStateNameget the name of the state of aggregation for a given phase
getCompoundConstantget a constant property for each compound
getEquilibriumcalculate thermodynamic phase equilibrium
getEquilibriumPropertycalculate a property at thermodynamic phase equilibrium
getFeedEquilibriumget the thermodynamic phase equilibrium of a feed
getFeedPropget a property of a feed
getNumberOfFeedsreturns the number of feeds
getNumberOfProductsreturns the number of products
getParameterget the value of a parameter
getPDependentPropertyget a value for each compound that only depends on pressure
getPropertyUnitOfMeasureget a textual unit of measure description for a property
getSinglePhasePropertycalculate a mixture property for a given phase
getTDependentPropertyget a value for each compound that only depends on temperature
getTwoPhasePropertycalculate a mixture property for the combination of two given phases
getUnitOperationNamereturns the name of the unit operation
logMessagesend a textual message
setParameterset the value of parameter
setProductspecify the state of a product stream; must be called for each product
setReportset the content of a report
INDEX
Acknowledgements
Additional files
Boolean parameters
Calculation
compNames
Dimensionality
Disclaimer
DOs and DONTs
Error trapping
Example
Feeds
Files
Formulas
Function reference
getAggregationState
getAggregationStateName
getCompoundConstant
getEquilibrium
getEquilibriumProperty
getFeedEquilibrium
getFeedProp
getNumberOfFeeds
getNumberOfProducts
getParameter
getPDependentProperty
getPropertyUnitOfMeasure
getSinglePhaseProperty
getTDependentProperty
getTwoPhaseProperty
getUnitOperationName
Global variables
Integer parameters
License
Loading models
logMessage
M files
Model files
nComp
nPhase
Parameters
phaseAggregationStates
phaseNames
Products
Real parameters
Reports
Requirements
Saving models
setParameter
setProduct
setReport
String parameters
SUM files
Welcome
CONTENT
 Welcome
 Feed and product ports
 Parameters
 Reports
 Matlab Calculation Script
 Additional files
 Global variables
 Function reference
 getAggregationState
 getAggregationStateName
 getCompoundConstant
 getEquilibrium
 getEquilibriumProperty
 getFeedEquilibrium
 getFeedProp
 getNumberOfFeeds
 getNumberOfProducts
 getParameter
 getPDependentProperty
 getPropertyUnitOfMeasure
 getSinglePhaseProperty
 getTDependentProperty
 getTwoPhaseProperty
 getUnitOperationName
 logMessage
 setParameter
 setProduct
 setReport
 Saving and loading models
 Persistence in AspenPlus
 License and disclaimer