1 | |
---|
2 | using "Heat_exchangers/HeatExchangerDiscretized.mso"; |
---|
3 | |
---|
4 | |
---|
5 | FlowSheet E_Shell_Discretized_LMTD |
---|
6 | |
---|
7 | DEVICES |
---|
8 | #=============================================================== |
---|
9 | # Definições do equipamento e das correntes |
---|
10 | #=============================================================== |
---|
11 | exchanger as E_Shell_LMTD_Disc; |
---|
12 | streamhot_in as stream_therm; |
---|
13 | streamcold_in as stream_therm; |
---|
14 | |
---|
15 | CONNECTIONS |
---|
16 | #=============================================================== |
---|
17 | # Conexões do equipamento e das correntes |
---|
18 | #=============================================================== |
---|
19 | streamhot_in to exchanger.Unity(1).Inlet.Hot; |
---|
20 | streamcold_in to exchanger.Unity(7).Inlet.Cold; |
---|
21 | |
---|
22 | PARAMETERS |
---|
23 | #=============================================================== |
---|
24 | # Parâmetros |
---|
25 | #=============================================================== |
---|
26 | PP as CalcObject (File="vrpp.dll"); |
---|
27 | NComp as Integer; |
---|
28 | HE as CalcObject (File="Heatex.dll"); |
---|
29 | |
---|
30 | SET |
---|
31 | #=============================================================== |
---|
32 | # Fluidos e Alocação |
---|
33 | #=============================================================== |
---|
34 | PP.Components = ["benzene","toluene"]; |
---|
35 | HE.HotSide = "Shell"; |
---|
36 | HE.LMTDcorrection = "Fakeri"; |
---|
37 | PP.LiquidModel = "PR"; |
---|
38 | PP.VapourModel = "PR"; |
---|
39 | NComp = PP.NumberOfComponents; |
---|
40 | #===================================================================== |
---|
41 | # Parâmetros geométricos do casco |
---|
42 | #===================================================================== |
---|
43 | exchanger.Tpass = 4; |
---|
44 | exchanger.Dishell = 0.75 *"m"; |
---|
45 | exchanger.Lcf = 0.043 *"m"; |
---|
46 | exchanger.Nss = 1; |
---|
47 | exchanger.Donozzle_Shell = 0.1937 *"m"; |
---|
48 | exchanger.Dinozzle_Shell = 0.1937 *"m"; |
---|
49 | exchanger.Honozzle_Shell = 0.0225 *"m"; |
---|
50 | exchanger.Hinozzle_Shell = 0.02155 *"m"; |
---|
51 | |
---|
52 | #===================================================================== |
---|
53 | # Parâmetros geométricos dos tubos |
---|
54 | #===================================================================== |
---|
55 | exchanger.Ntt = 500; |
---|
56 | exchanger.Pattern = 30; |
---|
57 | exchanger.pitch = 0.0254 *"m"; |
---|
58 | exchanger.Ltube = 5.5 *"m"; |
---|
59 | exchanger.Ditube = 0.013395 *"m"; |
---|
60 | exchanger.Dotube = 0.015875 *"m"; |
---|
61 | exchanger.Kwall = 0.57 *"kW/m/K"; |
---|
62 | exchanger.Donozzle_Tube = 0.203 *"m"; |
---|
63 | exchanger.Dinozzle_Tube = 0.203 *"m"; |
---|
64 | #===================================================================== |
---|
65 | # Parâmetros geométricos dos defletores |
---|
66 | #===================================================================== |
---|
67 | exchanger.Lcd = 0.0047 *"m"; |
---|
68 | exchanger.Bc = 25; |
---|
69 | exchanger.Ltd = 0.00039 *"m"; |
---|
70 | exchanger.Nb = 6; |
---|
71 | |
---|
72 | SPECIFY |
---|
73 | #============================================ |
---|
74 | # Corrente Quente |
---|
75 | #============================================ |
---|
76 | streamhot_in.F = 40 * "mol/s"; |
---|
77 | streamhot_in.T = 393.15* "K"; |
---|
78 | streamhot_in.v = 0 ; |
---|
79 | streamhot_in.z = [1,0] ; |
---|
80 | streamhot_in.P = 740 * "kPa"; |
---|
81 | #============================================ |
---|
82 | # Corrente Fria |
---|
83 | #============================================ |
---|
84 | streamcold_in.F = 122 * "mol/s"; |
---|
85 | streamcold_in.T = 333.15 * "K"; |
---|
86 | streamcold_in.v = 0; |
---|
87 | streamcold_in.z = [0,1]; |
---|
88 | streamcold_in.P = 2210*"kPa"; |
---|
89 | #===================================================================== |
---|
90 | # Espaçamento dos Defletores |
---|
91 | #===================================================================== |
---|
92 | exchanger.Unity.Baffles.Ls = 0.622 *"m"; |
---|
93 | exchanger.Unity.Baffles.Lsi = 0.807 *"m"; |
---|
94 | |
---|
95 | OPTIONS |
---|
96 | #============================================ |
---|
97 | # Simulation Options |
---|
98 | #============================================ |
---|
99 | mode = "steady"; |
---|
100 | relativeAccuracy = 1e-6; |
---|
101 | |
---|
102 | end |
---|