|Excel Thermo Import|
|Excel Unit Operation|
|Matlab Unit Operation|
|Matlab Thermo Import|
|OO Calc Thermo Import|
|SciLab Unit Operation|
|SciLab Thermo Import|
|Python Thermo Import|
The Matlab CAPE-OPEN Unit Operation is a unit operation implementation for which the calculations can be entered in Matlab.
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. This script
can obtain feed properties using the
getFeedProp function. It can then do calculations, using thermo-dynamic
calculations that are based on the underlying thermodynamic system of the simulation environment the unit operation
is running in. It must specify all the product streams using
setProduct, that takes composition and
flow as well as two other properties required to specify the thermodynamic phase equilibrium.
A very simple example script would look like:
f1=getFeedProp(1,'flow') f2=getFeedProp(2,'flow') h1=getFeedProp(1,'enthalpy') h2=getFeedProp(2,'enthalpy') p1=getFeedProp(1,'pressure') p2=getFeedProp(2,'pressure') p=min(p1,p2) f=f1+f2 h=(h1*f1+h2*f2)/f totF=sum(f) setProduct(1,totF,f/totF,'pressure',p,'enthalpy',h)
The Matab unit operation will function in CAPE-OPEN compliant simulation environments that support version 1.1 thermodynamics or version 1.0 thermodynamics (requires Matlab 7.1+). It has been tested in COCO simulator, SciSci ProII, AspenPlus, Honeywell Unisim Design and other simulators.
Matlab version 5.3 (32-bit) or higher, or Matlab version 7.1 (64-bit) or higher must be installed and running at your system. The Matlab CAPE-OPEN unit operation has been tested with Matlab versions 5.3, 6.1, 7.7, 7.8, 7.9, 7.10, 7.11, 7.12, 7.13, 7.14, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 9.0, 9.1, 9.2, 9.3 and 9.4.
The Matlab CAPE-OPEN Unit Operation installer is available from the Downloads Page.
The Matlab CAPE-OPEN Unit Operation is free of charge for personal and academic use.
For commercial use, a license fee must be paid. Licensing is on a per-person basis (and can be used on multiple computers). Commercial license fee is € 400,- (if you are outside the European union or inside Spain, VAT of 21% is applicable).
For other forms of licenses, please contact firstname.lastname@example.org.
Please see the Downloads page for downloading the Matlab CAPE-OPEN Unit Operation.