source: mso/sample/heat_exchangers/sampleNTU.mso @ 45

Last change on this file since 45 was 45, checked in by gerson bicca, 16 years ago

updated heat exchanger model

File size: 1.1 KB
Line 
1
2using "Heat_exchangers/HeatExchangerSimplified.mso";
3
4FlowSheet NTU_Method
5
6PARAMETERS
7
8PP        as CalcObject (Brief="Physical Properties",File="vrpp");
9NComp as Integer;
10       
11
12       
13DEVICES
14exchanger       as HeatExchanger_NTU;
15streamhot       as streamTP;
16streamcold  as streamTP;
17
18SET
19
20PP.LiquidModel          = "PR";
21PP.VapourModel          = "PR";
22PP.Components   = ["water","n-butane", "benzene", "n-octane" ];
23NComp                                           = PP.NumberOfComponents;
24exchanger.HE.FlowDirection    = "Cocurrent";
25
26CONNECTIONS
27
28streamhot               to exchanger.Inlet.Hot;
29streamcold              to exchanger.Inlet.Cold;
30       
31SPECIFY
32
33exchanger.Details.U                             = 210*"W/(m^2*K)";
34exchanger.PressureDrop.Hot.Pdrop        = 0.1*"kPa";
35exchanger.PressureDrop.Cold.Pdrop   = 0.2*"kPa";
36streamhot.F             = 20    * "kmol/h";
37streamhot.T             = 450     * "K";
38streamhot.P             = 120    * "kPa";
39streamhot.z             = [1,0,0,0];
40streamcold.F            = 10 * "kmol/h";
41streamcold.P            = 120 * "kPa";
42streamcold.T            = 300 * "K";   
43streamcold.z            = [0,0.5, 0.1, 0.4];
44exchanger.Outlet.Cold.T = 340*"K";
45       
46OPTIONS
47 mode   = "steady";
48 end
Note: See TracBrowser for help on using the repository browser.