source: mso/sample/mixers_splitters/sample_splitter.mso @ 51

Last change on this file since 51 was 33, checked in by Argimiro Resende Secchi, 16 years ago

clean up.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 650 bytes
Line 
1
2using "mixers_splitters/splitter";
3
4FlowSheet TestSplitter
5        PARAMETERS
6        PP      as CalcObject(Brief="Physical Properties",File="vrpp");
7        NComp   as Integer;
8        NOutlet as Integer;
9       
10        DEVICES
11        stream as stream_therm;
12        splitter as splitter_n;
13       
14        CONNECTIONS
15        stream to splitter.Inlet;
16       
17        SET
18        PP.Components = [ "isobutane", "n-pentane"];
19        PP.LiquidModel = "PR";
20        PP.VapourModel = "PR";
21        NComp = PP.NumberOfComponents;
22        splitter.NOutlet = 3;
23
24        SPECIFY
25        stream.F = 153 * "kmol/h";
26        stream.P = 150 * "kPa";
27        stream.T = 298.6 * "K";
28        stream.z = [0.6, 0.4];
29        stream.v = 0;
30        splitter.frac(1) = 0.4;
31        splitter.frac(2) = 0.1;
32
33        OPTIONS
34        relativeAccuracy = 1e-7;
35       
36end
Note: See TracBrowser for help on using the repository browser.