source: branches/new_gui/sample/pressure_changers/sample_turbine.mso @ 891

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

samples for pressure changers

File size: 1.8 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 Hidraulic turbine
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Andrey Copat, Estefane S. Horn, Marcos L. Alencastro
23* $Id: sample_turbine.mso 585 2008-07-28 23:31:29Z bicca $
24*--------------------------------------------------------------------*#
25
26using "pressure_changers/turbine";
27using "streams/sources";
28
29FlowSheet HTurbine_HT1
30       
31        DEVICES
32        S1 as source;
33        HT1 as HidraulicTurbine;
34       
35        CONNECTIONS
36        S1.Outlet to HT1.Inlet;
37       
38        PARAMETERS
39        PP              as Plugin               (Brief="External Physical Properties",
40                Type="PP",
41                Components = ["water", "benzene"],
42                LiquidModel = "PR",
43                VapourModel = "PR"
44        );
45        Mw              as positive     (Brief = "Molar Mass", Unit = 'kg/kmol');
46        NComp   as Integer              (Default= 1);
47       
48        SET
49        NComp = PP.NumberOfComponents();
50       
51        S1.ValidPhases = "Vapour-Liquid";
52        S1.CompositionBasis = "Molar";
53
54        SPECIFY
55        HT1.Beta = 425e-6 / 'K';
56        HT1.Meff = 0.95;
57        HT1.Eff = 0.72;
58       
59        S1.F = 1000                     * 'kmol/h';
60        S1.P = 5                        * 'atm' ;
61        S1.T = 298                      * 'K' ;
62        S1.Composition = [1];
63       
64        #HT1.Pdrop = 100        * 'kPa';
65        HT1.Outlet.P = 1        * 'atm';
66       
67end
Note: See TracBrowser for help on using the repository browser.