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 Hairpin Heat Exchanger - Incremental approach |
---|
17 | *-------------------------------------------------------------------- |
---|
18 | * |
---|
19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
20 | * |
---|
21 | *---------------------------------------------------------------------- |
---|
22 | * Author: Gerson B. Bicca |
---|
23 | * $Id: Sample_HairpinIncr.mso $ |
---|
24 | *--------------------------------------------------------------------*# |
---|
25 | |
---|
26 | using "heat_exchangers/HairpinIncr"; |
---|
27 | |
---|
28 | FlowSheet Hairpin_Incremental |
---|
29 | |
---|
30 | PARAMETERS |
---|
31 | PP as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR",Components = ["aniline","benzene"]); |
---|
32 | NComp as Integer; |
---|
33 | |
---|
34 | DEVICES |
---|
35 | |
---|
36 | Pipe as HairpinIncr; |
---|
37 | InletHot as simple_source; |
---|
38 | InletCold as simple_source; |
---|
39 | OutletHot as simple_sink; |
---|
40 | OutletCold as simple_sink; |
---|
41 | |
---|
42 | |
---|
43 | CONNECTIONS |
---|
44 | |
---|
45 | InletCold.Outlet to Pipe.LowerPipe.InletInner; |
---|
46 | InletHot.Outlet to Pipe.UpperPipe.InletOuter; |
---|
47 | |
---|
48 | Pipe.LowerPipe.OutletOuter to OutletHot.Inlet; |
---|
49 | Pipe.UpperPipe.OutletInner to OutletCold.Inlet; |
---|
50 | |
---|
51 | SET |
---|
52 | |
---|
53 | NComp = PP.NumberOfComponents; |
---|
54 | |
---|
55 | # Number of incremental points |
---|
56 | Pipe.N = 8; |
---|
57 | |
---|
58 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
59 | # Options |
---|
60 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
61 | |
---|
62 | Pipe.UpperPipe.InnerTurbulentCorrelation = "SiederTate"; |
---|
63 | Pipe.UpperPipe.InnerLaminarCorrelation = "Schlunder"; |
---|
64 | Pipe.UpperPipe.OuterTurbulentCorrelation = "SiederTate"; |
---|
65 | Pipe.UpperPipe.OuterLaminarCorrelation = "Schlunder"; |
---|
66 | |
---|
67 | Pipe.LowerPipe.InnerTurbulentCorrelation = "SiederTate"; |
---|
68 | Pipe.LowerPipe.InnerLaminarCorrelation = "Schlunder"; |
---|
69 | Pipe.LowerPipe.OuterTurbulentCorrelation = "SiederTate"; |
---|
70 | Pipe.LowerPipe.OuterLaminarCorrelation = "Schlunder"; |
---|
71 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
72 | # Double Pipe Geometrical Parameters and Alocation |
---|
73 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
74 | |
---|
75 | Pipe.DoInner = 42.16*'mm'; |
---|
76 | Pipe.DiInner = 35.05*'mm'; |
---|
77 | Pipe.DiOuter = 52.50*'mm'; |
---|
78 | Pipe.Kwall = 0.057 *'kW/m/K'; |
---|
79 | Pipe.Lpipe = 9*'m'; |
---|
80 | Pipe.Donozzle_Inner = 36.63*'mm'; |
---|
81 | Pipe.Dinozzle_Inner = 36.63*'mm'; |
---|
82 | Pipe.Donozzle_Outer = 42.72*'mm'; |
---|
83 | Pipe.Dinozzle_Outer = 42.72*'mm'; |
---|
84 | Pipe.Rfi = 0.00022*'m^2*K/W'; |
---|
85 | Pipe.Rfo = 0.00018*'m^2*K/W'; |
---|
86 | |
---|
87 | SPECIFY |
---|
88 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
89 | # Hot Stream |
---|
90 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
91 | InletHot.Outlet.F = 47.2038 * 'kmol/h'; |
---|
92 | InletHot.Outlet.T = 338.71 * 'K'; |
---|
93 | InletHot.Outlet.P = 413.685 * 'kPa'; |
---|
94 | InletHot.Outlet.z = [1,0]; |
---|
95 | |
---|
96 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
97 | # Cold Stream |
---|
98 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
99 | InletCold.Outlet.F = 58.0694 * 'kmol/h'; |
---|
100 | InletCold.Outlet.T = 288.71 * 'K'; |
---|
101 | InletCold.Outlet.P = 413.685 * 'kPa'; |
---|
102 | InletCold.Outlet.z = [0,1]; |
---|
103 | |
---|
104 | OPTIONS |
---|
105 | |
---|
106 | Dynamic = false; |
---|
107 | GuessFile = "GuessHairpin_Incremental"; |
---|
108 | |
---|
109 | end |
---|
110 | |
---|
111 | |
---|
112 | |
---|