In addition to the global variables that are defined when running the SciLab script, the following functions can be used:
| getAggregationState | get the state of aggregation for a given phase |
| getAggregationStateName | get the name of the state of aggregation for a given phase |
| getCompoundConstant | get a constant property for each compound |
| getEquilibrium | calculate thermodynamic phase equilibrium |
| getEquilibriumProperty | calculate a property at thermodynamic phase equilibrium |
| getFeedEquilibrium | get the thermodynamic phase equilibrium of a feed |
| getFeedProp | get a property of a feed |
| getNumberOfFeeds | returns the number of feeds |
| getNumberOfProducts | returns the number of products |
| getParameter | get the value of a parameter |
| getPDependentProperty | get a value for each compound that only depends on pressure |
| getPropertyUnitOfMeasure | get a textual unit of measure description for a property |
| getSinglePhaseProperty | calculate a mixture property for a given phase |
| getTDependentProperty | get a value for each compound that only depends on temperature |
| getTwoPhaseProperty | calculate a mixture property for the combination of two given phases |
| getUnitOperationName | returns the name of the unit operation |
| logMessage | send a textual message to the simulation environment |
| setParameter | set the value of parameter |
| setProduct | specify the state of a product stream; must be called for each product |
| setReport | set the content of a report |