source: trunk/sample/heat_exchangers/DPHE_diagram.mso @ 997

Last change on this file since 997 was 997, checked in by cenpes, 6 years ago

New modifications

File size: 2.6 KB
RevLine 
[997]1#*----------------------------------------------
2* FlowSheet generated automaticaly by EMSO-GUI
3*----------------------------------------------*#
4
5using "heat_exchangers/DoublePipe";
6
7FlowSheet DPHE_diagram
8        PARAMETERS
9        PP as Plugin(Brief="Physical Properties",
10                Type="PP",
11                Components = ["aniline","water"],
12                LiquidModel = "PR",
13                VapourModel = "PR"
14        );
15        NComp as Integer;
16        SET
17        NComp = PP.NumberOfComponents;
18
19        DEVICES
20        DoublePipe_LMTD_1 as DoublePipe_LMTD;
21
22        SET
23        DoublePipe_LMTD_1.InnerLaminarCorrelation = "Schlunder";
24        DoublePipe_LMTD_1.InnerTransitionCorrelation = "Gnielinski";
25        DoublePipe_LMTD_1.InnerTurbulentCorrelation = "SiederTate";
26        DoublePipe_LMTD_1.OuterLaminarCorrelation = "Schlunder";
27        DoublePipe_LMTD_1.OuterTransitionCorrelation = "Gnielinski";
28        DoublePipe_LMTD_1.OuterTurbulentCorrelation = "SiederTate";
29        DoublePipe_LMTD_1.CalculationApproach = "Simplified";
30        DoublePipe_LMTD_1.Qestimated = 1 * 'kW';
31        DoublePipe_LMTD_1.Geometry.DoInner = 0.04826 * 'm';
32        DoublePipe_LMTD_1.Geometry.DiInner = 0.04089 * 'm';
33        DoublePipe_LMTD_1.Geometry.DiOuter = 0.07793 * 'm';
34        DoublePipe_LMTD_1.Geometry.Lpipe = 3 * 'm';
35        DoublePipe_LMTD_1.Geometry.Kwall = 0.057 * 'kW/m/K';
36        DoublePipe_LMTD_1.Geometry.Rfi = 0.0018 * 'm^2*K/kW';
37        DoublePipe_LMTD_1.Geometry.Rfo = 0.0021 * 'm^2*K/kW';
38        DoublePipe_LMTD_1.FlowDirection = "counter";
39
40        SPECIFY
41
42        INITIAL
43
44        GUESS
45        DoublePipe_LMTD_1.OutletInner.T = 377 * 'K';
46
47        DEVICES
48        simple_sink_1 as simple_sink;
49
50        SET
51
52        SPECIFY
53
54        INITIAL
55
56        GUESS
57       
58
59        DEVICES
60        simple_sink_2 as simple_sink;
61
62        SET
63
64        SPECIFY
65
66        INITIAL
67
68        GUESS
69
70        DEVICES
71        source_1 as source;
72
73        SET
74        source_1.CompositionBasis = "Molar";
75        source_1.ValidPhases = "Vapour-Liquid";
76
77        SPECIFY
78        source_1.Composition(1) = 0;
79        source_1.Composition(2) = 1;
80        source_1.F = 3 * 'kmol/h';
81        source_1.T = 330 * 'K';
82        source_1.P = 5 * 'bar';
83
84        INITIAL
85
86        GUESS
87
88        DEVICES
89        source_2 as source;
90
91        SET
92        source_2.ValidPhases = "Vapour-Liquid";
93
94        SPECIFY
95        source_2.Composition(1) = 1;
96        source_2.Composition(2) = 0;
97        source_2.F = 1 * 'kmol/h';
98        source_2.T = 373.15 * 'K';
99        source_2.P = 5.7 * 'bar';
100
101        INITIAL
102
103        GUESS
104
105        CONNECTIONS
106        DoublePipe_LMTD_1.OutletOuter to simple_sink_1.Inlet;
107        DoublePipe_LMTD_1.OutletInner to simple_sink_2.Inlet;
108        source_1.Outlet to DoublePipe_LMTD_1.InletOuter;
109        source_2.Outlet to DoublePipe_LMTD_1.InletInner;
110
111        OPTIONS
112        Dynamic = false;
113        GuessFile = "/home/thales/Desktop/arquivo_rlt/DPHE_diagram.rlt";
114        Integration = "original";
115        NLASolver(
116                File = "nlasolver",
117                RelativeAccuracy = 1e-3,
118                AbsoluteAccuracy = 1e-6,
119                MaxIterations = 100
120        );
121        DAESolver(
122                File = "sundials",
123                RelativeAccuracy = 1e-3,
124                AbsoluteAccuracy = 1e-6,
125                EventAccuracy = 1e-2
126        );
127end
Note: See TracBrowser for help on using the repository browser.