© 2024 Jasper van Baten, AmsterCHEM

Welcome

Welcome to the Matlab CAPE-OPEN unit operation. This is a steady-state CAPE-OPEN unit operation that allows you to do calculation in Matlab. A CAPE-OPEN unit operation can be plugged in to CAPE-OPEN compliant simulation environments. All main-stream process simulators have support for CAPE-OPEN. As an example, you can use this unit operation in the free CAPE-OPEN flowsheet simulator COCO.

Getting started

To get started with the Matlab CAPE-OPEN unit operation, start your CAPE-OPEN capable simulation environment. Insert a Matlab CAPE-OPEN unit operation. Edit a unit operation. Define feed and product ports. Go back to the simulation environment and connect streams to the ports.

Now edit the unit operation again. On the Matlab tab you can enter the Matlab calculation script.

Requirements

Matlab 5 or higher must be installed and running on your system.

The Matlab CAPE-OPEN Unit Operation uses CAPE-OPEN version 1.1 thermodynamics. It will therefore only run in simulation environments that support this CAPE-OPEN version.

Acknowledgements

The Matlab CAPE-OPEN unit operation was developed by AmsterCHEM.

This program uses zlib (C) 1995-1998 Jean-loup Gailly and Mark Adler. The deflate format used by zlib was defined by Phil Katz. The deflate and zlib specifications were written by L. Peter Deutsch.

This software uses libxml2, Copyright (C) 1998-2002 Daniel Veillard. All Rights Reserved.

This software is based in part on minizip, Copyright (C) 1998-2005 Gilles Vollant.

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
 Saving and loading models
 Persistence in AspenPlus
 License and disclaimer