© 2024 Jasper van Baten, AmsterCHEM

Function reference

In addition to the global variables that are defined when running the SciLab 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 to the simulation environment
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
Examples
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
Model files
nComp
nPhase
Parameters
phaseAggregationStates
phaseNames
Products
Real parameters
Reports
Requirements
Saving models
SCI files
setParameter
setProduct
setReport
String parameters
SUM files
Welcome
CONTENT
 Welcome
 Feed and product ports
 Parameters
 Reports
 SciLab 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
 License and disclaimer