Changeset 616 for trunk/sample/pressure_changers/sample_compressor.mso
- Timestamp:
- Sep 5, 2008, 9:42:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sample/pressure_changers/sample_compressor.mso
r213 r616 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.OutletWork to C1.WorkIn; 47 48 46 49 SET 47 50 NComp = PP.NumberOfComponents; 51 52 53 C1.CompressorType = "Isentropic Operation"; 48 54 49 55 SPECIFY 50 C1.Effs = 0.75; 56 C1.EfficiencyOperation = 1; 57 C1.MechanicalEff = 1; 51 58 S1.Outlet.F = 41.05 * 'kmol/h'; 52 59 S1.Outlet.P = 1 * 'atm'; … … 56 63 C1.Outlet.P = 3 * 'atm'; 57 64 end 65 66 FlowSheet compressor_C2 67 68 PARAMETERS 69 PP as Plugin (Brief="External Physical Properties", 70 Type="PP", 71 Components = ["propane"], 72 LiquidModel = "PR", 73 VapourModel = "PR" 74 ); 75 NComp as Integer (Default= 1); 76 77 DEVICES 78 S1 as source; 79 W1 as work_source; 80 C1 as centrifugal_compressor; 81 82 CONNECTIONS 83 S1.Outlet to C1.Inlet; 84 W1.OutletWork to C1.WorkIn; 85 86 87 SET 88 NComp = PP.NumberOfComponents; 89 90 C1.CompressorType = "Polytropic Operation"; 91 #C1.CompressorType = "Isentropic Operation"; 92 93 SPECIFY 94 C1.EfficiencyOperation = 0.75; 95 C1.MechanicalEff = 0.80; 96 97 S1.Outlet.F = 4 * 'kmol/h'; 98 S1.Outlet.P = 100 * 'kPa'; 99 S1.Outlet.T = 298 * 'K' ; 100 S1.Outlet.z = [1]; 101 102 C1.Outlet.P = 1500 * 'kPa'; 103 end
Note: See TracChangeset
for help on using the changeset viewer.