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

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

updated heat exchangers model and samples

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