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/Heatex"; |
---|
26 | |
---|
27 | FlowSheet ShellandTubes_NTU |
---|
28 | |
---|
29 | PARAMETERS |
---|
30 | |
---|
31 | PP as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR", |
---|
32 | Components = ["water","n-butane", "benzene" ]); |
---|
33 | NComp as Integer; |
---|
34 | |
---|
35 | DEVICES |
---|
36 | |
---|
37 | exchanger as Heatex_NTU; |
---|
38 | streamhot as source; |
---|
39 | streamcold as source; |
---|
40 | OutCold as sink; |
---|
41 | OutHot as sink; |
---|
42 | |
---|
43 | SET |
---|
44 | |
---|
45 | NComp = PP.NumberOfComponents; |
---|
46 | |
---|
47 | exchanger.ExchangerType = "Shell and Tube"; |
---|
48 | |
---|
49 | CONNECTIONS |
---|
50 | |
---|
51 | streamhot.Outlet to exchanger.InletHot; |
---|
52 | streamcold.Outlet to exchanger.InletCold; |
---|
53 | |
---|
54 | exchanger.OutletHot to OutHot.Inlet; |
---|
55 | exchanger.OutletCold to OutCold.Inlet; |
---|
56 | |
---|
57 | SPECIFY |
---|
58 | |
---|
59 | exchanger.Details.Ud = 210*'W/(m^2*K)'; |
---|
60 | exchanger.Details.Uc = 210*'W/(m^2*K)'; |
---|
61 | |
---|
62 | exchanger.HotSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
63 | exchanger.ColdSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
64 | |
---|
65 | streamhot.Outlet.F = 36 * 'kmol/h'; |
---|
66 | streamhot.Outlet.T = 363.15 * 'K'; |
---|
67 | streamhot.Outlet.P = 120 * 'kPa'; |
---|
68 | streamhot.Outlet.z = [1,0,0]; |
---|
69 | |
---|
70 | streamcold.Outlet.F = 10 * 'kmol/h'; |
---|
71 | streamcold.Outlet.P = 120 * 'kPa'; |
---|
72 | streamcold.Outlet.T = 303.15 * 'K'; |
---|
73 | streamcold.Outlet.z = [0.1,0.7, 0.2]; |
---|
74 | |
---|
75 | exchanger.Details.A = 15*'m^2'; |
---|
76 | |
---|
77 | OPTIONS |
---|
78 | |
---|
79 | Dynamic = false; |
---|
80 | |
---|
81 | end |
---|
82 | |
---|
83 | FlowSheet ShellandTubes_LMTD |
---|
84 | |
---|
85 | PARAMETERS |
---|
86 | |
---|
87 | PP as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR", |
---|
88 | Components = ["water","n-butane", "benzene" ]); |
---|
89 | NComp as Integer; |
---|
90 | |
---|
91 | DEVICES |
---|
92 | |
---|
93 | exchanger as Heatex_LMTD; |
---|
94 | streamhot as source; |
---|
95 | streamcold as source; |
---|
96 | OutCold as sink; |
---|
97 | OutHot as sink; |
---|
98 | |
---|
99 | SET |
---|
100 | |
---|
101 | NComp = PP.NumberOfComponents; |
---|
102 | |
---|
103 | exchanger.LMTDcorrection = "Bowmann"; |
---|
104 | exchanger.ExchangerType = "Shell and Tube"; |
---|
105 | |
---|
106 | |
---|
107 | CONNECTIONS |
---|
108 | |
---|
109 | streamhot.Outlet to exchanger.InletHot; |
---|
110 | streamcold.Outlet to exchanger.InletCold; |
---|
111 | |
---|
112 | exchanger.OutletHot to OutHot.Inlet; |
---|
113 | exchanger.OutletCold to OutCold.Inlet; |
---|
114 | |
---|
115 | SPECIFY |
---|
116 | |
---|
117 | exchanger.Details.Ud = 210*'W/(m^2*K)'; |
---|
118 | exchanger.Details.Uc = 210*'W/(m^2*K)'; |
---|
119 | |
---|
120 | exchanger.HotSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
121 | exchanger.ColdSide.PressureDrop.Pdrop = 0.1*'kPa'; |
---|
122 | |
---|
123 | streamhot.Outlet.F = 36 * 'kmol/h'; |
---|
124 | streamhot.Outlet.T = 363.15 * 'K'; |
---|
125 | streamhot.Outlet.P = 120 * 'kPa'; |
---|
126 | streamhot.Outlet.z = [1,0,0]; |
---|
127 | |
---|
128 | streamcold.Outlet.F = 10 * 'kmol/h'; |
---|
129 | streamcold.Outlet.P = 120 * 'kPa'; |
---|
130 | streamcold.Outlet.T = 303.15 * 'K'; |
---|
131 | streamcold.Outlet.z = [0.1,0.7, 0.2]; |
---|
132 | |
---|
133 | exchanger.Details.A = 15*'m^2'; |
---|
134 | |
---|
135 | OPTIONS |
---|
136 | |
---|
137 | Dynamic = false; |
---|
138 | GuessFile = "GuessShellandTubes"; |
---|
139 | |
---|
140 | end |
---|