source: mso/sample/heat_exchangers/sampleLMTD.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.2 KB
Line 
1
2using "Heat_exchangers/HeatExchangerSimplified.mso";
3
4FlowSheet LMTD_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_LMTD;
22streamhot       as streamTP;
23streamcold  as streamTP;
24       
25CONNECTIONS
26
27streamhot               to exchanger.Inlet.Hot;
28streamcold      to exchanger.Inlet.Cold;
29       
30SPECIFY
31
32exchanger.Fc                                                                            = 1;
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 = 350*"K";
45       
46OPTIONS
47 mode                     = "steady";
48 end
Note: See TracBrowser for help on using the repository browser.