|Excel Unit Operation|
|Matlab Unit Operation|
|Matlab Thermo Import|
|OO Calc Thermo Import|
|SciLab Unit Operation|
|SciLab Thermo Import|
The SciLab CAPE-OPEN Unit Operation is a unit operation implementation for which the calculations can be entered in SciLab.
To get started with the SciLab CAPE-OPEN unit operation, start your CAPE-OPEN capable simulation environment. Insert a SciLab 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 SciLab tab you can enter the SciLab 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 SciLab unit operation will function in CAPE-OPEN compliant simulation environments that support version 1.1 thermodynamics. It has been tested in the COCO simulator and ProSimPlus 3.
The 32-bit version of SciLab 5.02 (or higher) or the 64-bit version of SciLab 5.4 (or higher) must be installed and running at your system. You can obtain a copy of SciLab from http://www.SciLab.org/.
The SciLab CAPE-OPEN Unit Operation installer is available from the Downloads Page.
The SciLab 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 € 150,- (if you are outside the European union or inside Spain, VAT of 21% is applicable).
For other forms of licenses, please contact email@example.com.
Please see the Downloads page for downloading the SciLab CAPE-OPEN Unit Operation.
This membrane separator SciLab CAPE-OPEN unit operation was provided by Torbjørn Pettersen - Thermos AS - Norway:
The example is set up in COFE and is available for download: