|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|
This SciLab package allows for importing CAPE-OPEN version 1.1 thermodynamic and physical Property Packages into SciLab. A command driven package allows for selecting a CAPE-OPEN Property Package, and then perform thermodynamic and physical property calculations as well as thermodynamic equilibrium calculations inside SciLab.
The package defines all the interfaces to communicate with CAPE-OPEN thermodynamic and physical Property Packages; it does not implement the thermodynamic engine itself. To use this package, you will need to have the 32-bit version of SciLab 5.02 (or higher) or the 64-bit version of SciLab 5.4 (or higher), as well as a CAPE-OPEN version 1.1 compliant thermo system installed (for example, TEA which is shipped with the freely available CAPE-OPEN simulation environment COCO Simulator).
To get started with the SciLab CAPE-OPEN thermo import, type capeOpenQuickRef in SciLab after installation.
-->handle=capeOpenGetPackage("TEA (CAPE-OPEN 1.1)","C1_C2"); -->//let's calculate and plot the phase envelope at 1 atm for this system -->frac=0:0.05:1; -->X=[frac' 1-frac'] X = 0. 1. 0.05 0.95 0.1 0.9 0.15 0.85 0.2 0.8 0.25 0.75 0.3 0.7 0.35 0.65 0.4 0.6 0.45 0.55 0.5 0.5 0.55 0.45 0.6 0.4 0.65 0.35 0.7 0.3 0.75 0.25 0.8 0.2 0.85 0.15 0.9 0.1 0.95 0.05 1. 0. -->P=101325; -->tbub=capeOpenEquilibriumProp(handle,"temperature",X,"pressure",P,"vaporFraction",0); -->tdew=capeOpenEquilibriumProp(handle,"temperature",X,"pressure",P,"vaporFraction",1); -->plot(frac',[tdew tbub])
SciLab CAPE-OPEN Thermo Import will function with CAPE-OPEN version 1.1 compliant thermodynamic Property Package Managers and stand-alone Property Packages. Note that the ThermoSystemAdapter can be used to convert CAPE-OPEN version 1.0 compliant Thermo Systems to CAPE-OPEN version 1.1.
A 32-bit version of SciLab 5.02 (or higher), or a 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 Thermo Import installer is available from the Downloads Page.
SciLab CAPE-OPEN Thermo Import 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 firstname.lastname@example.org.
Please see the Downloads page for downloading the SciLab CAPE-OPEN Thermo Import installer.
The RegisterWithScilab.exe utility will - if invoked for an All Users installation - add the appropriate statements to the SciLab.start file for the CAPE-OPEN Thermo Import libraries to be loaded properly. This utility will modify C:\Program Files\SciLab-<version>\etc\scilab.start file by default. To this it will add the exec statement for capeOpenThermoImportInit.sci, which will in turn load the SciLab CAPE-OPEN thermo routines.
For Windows Vista and later, a virtual store copy of scilab.start may exist, e.g. C:\Users\<myname>\AppData\Local\VirtualStore\Program Files\SciLab-<version>\etc\scilab.start. In this case, the modifications made to the system copy will not affect SciLab for the current user, and it will appear as if the registration has failed. This situation will only occur on systems on which the user has edited the scilab.start file.
To resolve this situation, please manually copy the added lines from the system copy of scilab.start to the user copy.
For a Current-User installation, the scilab.ini file in the version sub-folder of the SciLab sub folder of the user's roaming application data folder will be created or modified. This file applies to both the 32-bit and 64-bit versions of SciLab.