Changeset 595 for branches/gui/sample
- Timestamp:
- Aug 8, 2008, 6:55:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/sample/pressure_changers/sample_compressor.mso
r585 r595 28 28 FlowSheet compressor_C1 29 29 30 DEVICES31 S1 as source;32 C1 as centrifugal_compressor;33 34 CONNECTIONS35 S1.Outlet to C1.Inlet;36 37 30 PARAMETERS 38 31 PP as Plugin (Brief="External Physical Properties", … … 44 37 NComp as Integer (Default= 1); 45 38 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 46 49 SET 47 50 NComp = PP.NumberOfComponents; 48 51 49 S1.ValidPhases = " Liquid-Only";52 S1.ValidPhases = "Vapour-Only"; 50 53 S1.CompositionBasis = "Molar"; 51 54 … … 59 62 C1.Outlet.P = 3 * 'atm'; 60 63 end 64 65 FlowSheet 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'; 98 end
Note: See TracChangeset
for help on using the changeset viewer.