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 model FlashPHSteady |
---|
17 | *-------------------------------------------------------------------- |
---|
18 | * |
---|
19 | * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. |
---|
20 | * |
---|
21 | *---------------------------------------------------------------------- |
---|
22 | * Author: Rafael de P. Soares and Paula B. Staudt |
---|
23 | * $Id: sample_flashPH.mso 208 2007-03-15 05:18:39Z arge $ |
---|
24 | *--------------------------------------------------------------------*# |
---|
25 | using "stage_separators/flashPH"; |
---|
26 | |
---|
27 | FlowSheet FlashPHTest |
---|
28 | PARAMETERS |
---|
29 | PP as Plugin(Brief="Physical Properties",File="vrpp"); |
---|
30 | NComp as Integer; |
---|
31 | |
---|
32 | VARIABLES |
---|
33 | Q as heat_rate (Brief="Heat supplied"); |
---|
34 | |
---|
35 | SET |
---|
36 | PP.Components = ["methane", "isobutene", "benzene"]; |
---|
37 | PP.LiquidModel = "IdealLiquid"; |
---|
38 | PP.VapourModel = "Ideal"; |
---|
39 | NComp = PP.NumberOfComponents; |
---|
40 | |
---|
41 | DEVICES |
---|
42 | fl as FlashPHSteady; |
---|
43 | s1 as source; |
---|
44 | |
---|
45 | CONNECTIONS |
---|
46 | s1.Outlet to fl.Inlet; |
---|
47 | Q to fl.Q; |
---|
48 | |
---|
49 | SPECIFY |
---|
50 | s1.Outlet.F = 496.3 * 'kmol/h'; |
---|
51 | s1.Outlet.T = 338 * 'K'; |
---|
52 | s1.Outlet.P = 507.1 * 'kPa'; |
---|
53 | s1.Outlet.z = [0.1, 0.7,0.2]; |
---|
54 | |
---|
55 | fl.OutletL.P = 2.5 * 'atm'; |
---|
56 | |
---|
57 | Q = 0 * 'kJ/h'; |
---|
58 | #fl.OutletL.T = 315.06 * 'K'; |
---|
59 | |
---|
60 | OPTIONS |
---|
61 | Dynamic = false; |
---|
62 | end |
---|