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 cooler and heater operation |
---|
17 | *-------------------------------------------------------------------- |
---|
18 | * |
---|
19 | * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. |
---|
20 | * |
---|
21 | *---------------------------------------------------------------------- |
---|
22 | * Author: Gerson B. Bicca |
---|
23 | * $Id: Sample_Heater.mso 89 2006-12-11 15:26:11Z paula $ |
---|
24 | *--------------------------------------------------------------------*# |
---|
25 | |
---|
26 | using "heat_exchangers/heater"; |
---|
27 | |
---|
28 | FlowSheet Sample_Heater |
---|
29 | |
---|
30 | DEVICES |
---|
31 | |
---|
32 | Heater as heater; |
---|
33 | streamcold as simple_source; |
---|
34 | Heat as energy_source; |
---|
35 | |
---|
36 | CONNECTIONS |
---|
37 | |
---|
38 | streamcold.Outlet to Heater.Inlet(1); |
---|
39 | Heat.OutletQ to Heater.InletQ; |
---|
40 | |
---|
41 | |
---|
42 | PARAMETERS |
---|
43 | |
---|
44 | PP as Plugin (Type ="PP", LiquidModel = "PR",VapourModel = "PR", |
---|
45 | Components = ["isobutane","benzene"]); |
---|
46 | NComp as Integer; |
---|
47 | |
---|
48 | SET |
---|
49 | |
---|
50 | NComp = PP.NumberOfComponents; |
---|
51 | Heater.Ninlet = 1; |
---|
52 | |
---|
53 | SPECIFY |
---|
54 | |
---|
55 | streamcold.Outlet.F = 10 * 'kmol/h'; |
---|
56 | streamcold.Outlet.P = 1 * 'atm'; |
---|
57 | streamcold.Outlet.T = 310 * 'K'; |
---|
58 | streamcold.Outlet.z = [0.5,0.5]; |
---|
59 | |
---|
60 | # Heater.Outlet.T = 360*'K'; |
---|
61 | Heater.Outlet.P = 0.999* 'atm'; |
---|
62 | Heat.OutletQ.Q = 51* 'kW'; |
---|
63 | |
---|
64 | OPTIONS |
---|
65 | Dynamic = false; |
---|
66 | end |
---|
67 | |
---|
68 | FlowSheet Sample_Cooler |
---|
69 | |
---|
70 | DEVICES |
---|
71 | |
---|
72 | Cooler as cooler; |
---|
73 | streamhot as simple_source; |
---|
74 | Heat as energy_source; |
---|
75 | |
---|
76 | CONNECTIONS |
---|
77 | |
---|
78 | streamhot.Outlet to Cooler.Inlet(1); |
---|
79 | Heat.OutletQ to Cooler.InletQ; |
---|
80 | |
---|
81 | |
---|
82 | PARAMETERS |
---|
83 | |
---|
84 | PP as Plugin (Type ="PP", LiquidModel = "PR",VapourModel = "PR", |
---|
85 | Components = ["isobutane","benzene"]); |
---|
86 | NComp as Integer; |
---|
87 | |
---|
88 | SET |
---|
89 | |
---|
90 | NComp = PP.NumberOfComponents; |
---|
91 | Cooler.Ninlet = 1; |
---|
92 | |
---|
93 | SPECIFY |
---|
94 | |
---|
95 | streamhot.Outlet.F = 10 * 'kmol/h'; |
---|
96 | streamhot.Outlet.P = 1 * 'atm'; |
---|
97 | streamhot.Outlet.T = 310 * 'K'; |
---|
98 | streamhot.Outlet.z = [0.5,0.5]; |
---|
99 | |
---|
100 | # Cooler.Outlet.T = 300*'K'; |
---|
101 | Cooler.Outlet.P = 0.999* 'atm'; |
---|
102 | Heat.OutletQ.Q = 10* 'kW'; |
---|
103 | |
---|
104 | OPTIONS |
---|
105 | Dynamic = false; |
---|
106 | end |
---|