Changeset 595 for branches/gui/sample


Ignore:
Timestamp:
Aug 8, 2008, 6:55:17 PM (15 years ago)
Author:
gerson bicca
Message:

updated compressor model (testing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/pressure_changers/sample_compressor.mso

    r585 r595  
    2828FlowSheet compressor_C1
    2929
    30         DEVICES
    31         S1 as source;
    32         C1 as centrifugal_compressor;
    33        
    34         CONNECTIONS
    35         S1.Outlet to C1.Inlet;
    36        
    3730        PARAMETERS
    3831        PP              as Plugin       (Brief="External Physical Properties",
     
    4437        NComp   as Integer              (Default= 1);
    4538       
     39        DEVICES
     40        S1 as source;
     41        W1 as work_source;
     42        C1 as centrifugal_compressor;
     43       
     44        CONNECTIONS
     45        S1.Outlet to C1.Inlet;
     46        W1.Work to C1.WorkIn;
     47       
     48       
    4649        SET
    4750        NComp = PP.NumberOfComponents;
    4851       
    49         S1.ValidPhases = "Liquid-Only";
     52        S1.ValidPhases = "Vapour-Only";
    5053        S1.CompositionBasis = "Molar";
    5154
     
    5962        C1.Outlet.P = 3 * 'atm';
    6063end
     64
     65FlowSheet compressor_C2
     66
     67        PARAMETERS
     68        PP              as Plugin       (Brief="External Physical Properties",
     69                Type="PP",
     70                Components = ["propane"],
     71                LiquidModel = "IdealLiquid",
     72                VapourModel = "Ideal"
     73        );
     74        NComp   as Integer              (Default= 1);
     75       
     76        DEVICES
     77        S1 as source;
     78        C1 as centrifugal_compressor;
     79       
     80        CONNECTIONS
     81        S1.Outlet to C1.Inlet;
     82       
     83       
     84        SET
     85        NComp = PP.NumberOfComponents;
     86       
     87        S1.ValidPhases = "Vapour-Only";
     88        S1.CompositionBasis = "Molar";
     89
     90        SPECIFY
     91        C1.Effs = 0.75;
     92        S1.F = 41.05            * 'kmol/h';
     93        S1.P = 1                        * 'atm';
     94        S1.T = 298                      * 'K' ;
     95        S1.Composition = [01];
     96       
     97        C1.Outlet.P = 3 * 'atm';
     98end
Note: See TracChangeset for help on using the changeset viewer.