source: branches/gui/sample/pressure_changers/sample_pump.mso @ 740

Last change on this file since 740 was 740, checked in by gerson bicca, 13 years ago

improved centrifugal_pump model

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
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 centrifugal_pump and pump (simplified)
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Estefane S. Horn, Paula B. Staudt
23* $Id: sample_pump.mso 740 2009-03-03 20:47:16Z bicca $
24*--------------------------------------------------------------------*#
25using "pressure_changers/pump";
26
27FlowSheet Pump_P1
28       
29        DEVICES
30        S1 as source;
31        P1 as centrifugal_pump;
32       
33        CONNECTIONS
34        S1.Outlet to P1.Inlet;
35       
36        PARAMETERS
37        PP              as Plugin       (Brief="External Physical Properties",
38                Type="PP",
39                Components = ["water"],
40                LiquidModel = "PR",
41                VapourModel = "PR"
42        );
43        Mw              as positive     (Brief = "Molar Mass", Unit = 'kg/kmol');
44        NComp   as Integer              (Default= 1);
45
46        SET
47        NComp = PP.NumberOfComponents;
48        P1.MechanicalEff = 0.95;
49        P1.PumpEfficiency = 0.72;
50        P1.SuctionArea = 0.001*'m^2';
51       
52        S1.ValidPhases = "Vapour-Liquid";
53        S1.CompositionBasis = "Molar";
54       
55        SPECIFY
56        S1.F = 1000             * 'kmol/h';
57        S1.P = 10                       * 'atm';
58        S1.T = 298                      * 'K' ;
59        S1.Composition = [1];   
60       
61        P1.StaticHead = 10              * 'm';
62        P1.Outlet.P = 18        * 'atm';
63       
64end
65
66FlowSheet pump_Test
67        PARAMETERS
68        PP              as Plugin       (Brief="External Physical Properties",
69                Type="PP",
70                Components = ["water", "benzene"],
71                LiquidModel = "PR",
72                VapourModel = "PR"
73        );
74        NComp   as Integer;
75
76DEVICES
77        p1 as pump;
78        s1 as source;
79
80        SET
81        NComp = PP.NumberOfComponents;
82       
83        s1.ValidPhases = "Vapour-Liquid";
84        s1.CompositionBasis = "Molar";
85       
86
87       
88        CONNECTIONS
89        s1.Outlet to p1.Inlet;
90
91        SPECIFY
92        s1.F = 826 * 'kmol/h';
93        s1.P = 549 * 'kPa';
94        s1.T = 313 * 'K';
95        s1.Composition = 1/NComp;
96        #s1.Outlet.v = 0.68;
97       
98        p1.dP = 90 * 'kPa';
99
100        OPTIONS
101        Dynamic = false;
102end
Note: See TracBrowser for help on using the repository browser.