1 | #*------------------------------------------------------------------- |
---|
2 | * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. |
---|
3 | * |
---|
4 | * This LIBRARY is free software; you can distribute it and/or modify |
---|
5 | * it under the therms of the ALSOC FREE LICENSE as available at |
---|
6 | * http://www.enq.ufrgs.br/alsoc. |
---|
7 | * |
---|
8 | * EMSO Copyright (C) 2004 - 2007 ALSOC, original code |
---|
9 | * from http://www.rps.eng.br Copyright (C) 2002-2004. |
---|
10 | * All rights reserved. |
---|
11 | * |
---|
12 | * EMSO is distributed under the therms of the ALSOC LICENSE as |
---|
13 | * available at http://www.enq.ufrgs.br/alsoc. |
---|
14 | * |
---|
15 | *-------------------------------------------------------------------- |
---|
16 | * Sample file for simplified Shell and Tubes Heat Exchanger |
---|
17 | *-------------------------------------------------------------------- |
---|
18 | * |
---|
19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
20 | * |
---|
21 | *---------------------------------------------------------------------- |
---|
22 | * Author: Gerson B. Bicca |
---|
23 | * $Id: sample_ShellandTubes.mso 100 2007-01-09 14:15:56Z bicca $ |
---|
24 | *--------------------------------------------------------------------*# |
---|
25 | using "heat_exchangers/HeatExchangerSimplified"; |
---|
26 | |
---|
27 | FlowSheet ShellandTubes_NTU |
---|
28 | |
---|
29 | PARAMETERS |
---|
30 | |
---|
31 | PP as Plugin (Brief="Physical Properties",File="vrpp"); |
---|
32 | NComp as Integer; |
---|
33 | |
---|
34 | DEVICES |
---|
35 | |
---|
36 | exchanger as Shell_and_Tubes_NTU; |
---|
37 | streamhot as source; |
---|
38 | streamcold as source; |
---|
39 | OutCold as sink; |
---|
40 | OutHot as sink; |
---|
41 | |
---|
42 | SET |
---|
43 | |
---|
44 | PP.LiquidModel = "PR"; |
---|
45 | PP.VapourModel = "PR"; |
---|
46 | PP.Components = ["water","n-butane", "benzene" ]; |
---|
47 | NComp = PP.NumberOfComponents; |
---|
48 | |
---|
49 | exchanger.ShellType = "Fshell"; |
---|
50 | |
---|
51 | CONNECTIONS |
---|
52 | |
---|
53 | streamhot.Outlet to exchanger.InletHot; |
---|
54 | streamcold.Outlet to exchanger.InletCold; |
---|
55 | |
---|
56 | exchanger.OutletHot to OutHot.Inlet; |
---|
57 | exchanger.OutletCold to OutCold.Inlet; |
---|
58 | |
---|
59 | SPECIFY |
---|
60 | |
---|
61 | exchanger.Details.Ud = 210*'W/(m^2*K)'; |
---|
62 | exchanger.Details.Uc = 210*'W/(m^2*K)'; |
---|
63 | |
---|
64 | exchanger.HotSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
65 | exchanger.ColdSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
66 | |
---|
67 | streamhot.Outlet.F = 36 * 'kmol/h'; |
---|
68 | streamhot.Outlet.T = 363.15 * 'K'; |
---|
69 | streamhot.Outlet.P = 120 * 'kPa'; |
---|
70 | streamhot.Outlet.z = [1,0,0]; |
---|
71 | |
---|
72 | streamcold.Outlet.F = 10 * 'kmol/h'; |
---|
73 | streamcold.Outlet.P = 120 * 'kPa'; |
---|
74 | streamcold.Outlet.T = 303.15 * 'K'; |
---|
75 | streamcold.Outlet.z = [0.1,0.7, 0.2]; |
---|
76 | |
---|
77 | exchanger.Details.A = 15*'m^2'; |
---|
78 | |
---|
79 | OPTIONS |
---|
80 | |
---|
81 | Dynamic = false; |
---|
82 | |
---|
83 | end |
---|
84 | |
---|
85 | FlowSheet ShellandTubes_LMTD |
---|
86 | |
---|
87 | PARAMETERS |
---|
88 | |
---|
89 | PP as Plugin (Brief="Physical Properties",File="vrpp"); |
---|
90 | NComp as Integer; |
---|
91 | |
---|
92 | DEVICES |
---|
93 | |
---|
94 | exchanger as Shell_and_Tubes_LMTD; |
---|
95 | streamhot as source; |
---|
96 | streamcold as source; |
---|
97 | OutCold as sink; |
---|
98 | OutHot as sink; |
---|
99 | |
---|
100 | SET |
---|
101 | |
---|
102 | PP.LiquidModel = "PR"; |
---|
103 | PP.VapourModel = "PR"; |
---|
104 | PP.Components = ["water","n-butane", "benzene" ]; |
---|
105 | NComp = PP.NumberOfComponents; |
---|
106 | |
---|
107 | exchanger.LMTDcorrection = "Bowmann"; |
---|
108 | exchanger.ShellType = "Fshell"; |
---|
109 | |
---|
110 | |
---|
111 | CONNECTIONS |
---|
112 | |
---|
113 | streamhot.Outlet to exchanger.InletHot; |
---|
114 | streamcold.Outlet to exchanger.InletCold; |
---|
115 | |
---|
116 | exchanger.OutletHot to OutHot.Inlet; |
---|
117 | exchanger.OutletCold to OutCold.Inlet; |
---|
118 | |
---|
119 | SPECIFY |
---|
120 | |
---|
121 | exchanger.Details.Ud = 210*'W/(m^2*K)'; |
---|
122 | exchanger.Details.Uc = 210*'W/(m^2*K)'; |
---|
123 | |
---|
124 | exchanger.HotSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
125 | exchanger.ColdSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
126 | |
---|
127 | streamhot.Outlet.F = 36 * 'kmol/h'; |
---|
128 | streamhot.Outlet.T = 363.15 * 'K'; |
---|
129 | streamhot.Outlet.P = 120 * 'kPa'; |
---|
130 | streamhot.Outlet.z = [1,0,0]; |
---|
131 | |
---|
132 | streamcold.Outlet.F = 10 * 'kmol/h'; |
---|
133 | streamcold.Outlet.P = 120 * 'kPa'; |
---|
134 | streamcold.Outlet.T = 303.15 * 'K'; |
---|
135 | streamcold.Outlet.z = [0.1,0.7, 0.2]; |
---|
136 | |
---|
137 | exchanger.Details.A = 15*'m^2'; |
---|
138 | |
---|
139 | OPTIONS |
---|
140 | |
---|
141 | Dynamic = false; |
---|
142 | GuessFile = "GuessShellandTubes"; |
---|
143 | |
---|
144 | end |
---|