source: mso/sample/heat_exchangers/samples2.mso @ 1

Last change on this file since 1 was 1, checked in by Rafael de Pelegrini Soares, 17 years ago

Initial import of the library

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1
2using "heat_exchangers/HeatExchangerSimplified";
3
4 FlowSheet HeatExchanger_Multipass
5       
6DEVICES
7#===============================================================
8#   Heat Exchanger Multipasses - LMTD Method
9#===============================================================
10
11        exchanger       as Multipass_LMTD;
12        streamhot       as stream_therm;
13        streamcold      as stream_therm;
14
15CONNECTIONS
16
17        streamhot       to exchanger.Inlet.Hot;
18        streamcold      to exchanger.Inlet.Cold;
19       
20PARAMETERS
21
22        PP                      as CalcObject   (File="vrpp.dll");
23        NComp   as Integer;
24        HE              as CalcObject   (File="Heatex.dll");
25SET
26#===============================================================
27#   Components - State Equation - Nshell in series
28#===============================================================
29       
30        PP.LiquidModel          = "RK";
31        PP.VapourModel          = "RK";
32        PP.Components           = ["water"];
33        NComp                           = PP.NumberOfComponents;
34        exchanger.Nshell    = 2;
35       
36SPECIFY
37#============================================
38#   Hot Streams
39#============================================
40        streamhot.F                                     = 100    * "kmol/h";
41        streamhot.T                                     = 450     * "K";
42        streamhot.v                                     = 1;
43        streamhot.P                                     = 1.5     * "atm";
44        streamhot.z                                     = [1];
45
46#============================================
47#   Cold Streams
48#============================================   
49        streamcold.F                                    = 50   * "kmol/h";
50        streamcold.P                                    = 1     * "atm";
51        streamcold.T                                    = 350   * "K";
52        streamcold.v                                    = 0;
53    streamcold.z                                        = [1];
54       
55#============================================
56#   Required Details
57#============================================
58        exchanger.Details.A                     = 65    *"m^2";
59        exchanger.Details.U                 = 0.74  *"W/m^2/K";
60        exchanger.PressureDrop.Hot.Pdrop        = 0*"atm";
61        exchanger.PressureDrop.Cold.Pdrop   = 0*"atm";
62OPTIONS
63#============================================
64#   Simulation Options
65#============================================
66 mode                   = "steady";
67 outputLevel    = "all";
68 relativeAccuracy = 1e-8;
69
70end
Note: See TracBrowser for help on using the repository browser.