source: mso/sample/pressure_changers/sample_compressor.mso @ 57

Last change on this file since 57 was 57, checked in by Paula Bettio Staudt, 16 years ago

Added new pressure_changers models

File size: 1.1 KB
Line 
1#*----------------------------------------------------------------------------
2* This file is property of the author and cannot be used, copyed
3* or modified without permission.
4*
5* Copyright (C) 2002-2006  the author
6*-----------------------------------------------------------------------------
7* Author: Marcos L. Alencastro   Date:03/03/2006
8* $Id:$   Estefane da S. Horn
9*-----------------------------------------------------------------------------
10* -> Steady State
11* -> Only Vapour
12* -> Adiabatic
13*#
14
15using "pressure_changers/compressor";
16
17FlowSheet compressor_C1
18
19        DEVICES
20        S1 as streamTP;
21        C1 as centrifugal_compressor;
22       
23        CONNECTIONS
24        S1 to C1.Inlet;
25       
26        PARAMETERS
27        PP              as CalcObject   (Brief="External Physical Properties", File="vrpp");
28        NComp   as Integer              (Default= 1);
29       
30        SET
31        PP.Components = ["nitrogen", "oxygen"];
32        PP.LiquidModel = "IdealLiquid";
33        PP.VapourModel = "Ideal";
34        NComp = PP.NumberOfComponents;
35        C1.Effs = 0.75;
36        PP.Derivatives = 0;
37       
38
39        SPECIFY
40        S1.F = 41.05            * "kmol/h";
41        S1.P = 1                        * "atm";
42        S1.T = 298                      * "K" ;
43        S1.z = [0.79,0.21];
44        C1.Outlet.P = 3 * "atm";
45
46end             
Note: See TracBrowser for help on using the repository browser.