Changeset 631 for trunk/sample
- Timestamp:
- Sep 23, 2008, 5:23:00 PM (15 years ago)
- Location:
- trunk/sample/pressure_changers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sample/pressure_changers/sample_compressor.mso
r616 r631 50 50 NComp = PP.NumberOfComponents; 51 51 52 52 S1.ValidPhases = "Vapour-Only"; 53 S1.CompositionBasis = "Molar"; 53 54 C1.CompressorType = "Isentropic Operation"; 54 55 55 56 SPECIFY 56 C1.EfficiencyOperation = 1;57 C1.EfficiencyOperation = 0.80; 57 58 C1.MechanicalEff = 1; 58 S1. Outlet.F = 41.05 * 'kmol/h';59 S1. Outlet.P = 1 * 'atm';60 S1. Outlet.T = 298 * 'K' ;61 S1. Outlet.z= [0.79,0.21];59 S1.F = 41.05 * 'kmol/h'; 60 S1.P = 1 * 'atm'; 61 S1.T = 298 * 'K' ; 62 S1.Composition = [0.79,0.21]; 62 63 63 64 C1.Outlet.P = 3 * 'atm'; … … 88 89 NComp = PP.NumberOfComponents; 89 90 91 S1.ValidPhases = "Vapour-Only"; 92 S1.CompositionBasis = "Molar"; 90 93 C1.CompressorType = "Polytropic Operation"; 91 94 #C1.CompressorType = "Isentropic Operation"; … … 95 98 C1.MechanicalEff = 0.80; 96 99 97 S1.Outlet.F = 4 * 'kmol/h'; 98 S1.Outlet.P = 100 * 'kPa'; 99 S1.Outlet.T = 298 * 'K' ; 100 S1.Outlet.z = [1]; 100 #W1.Work = 2*'kW'; 101 102 S1.F = 4 * 'kmol/h'; 103 S1.P = 100 * 'kPa'; 104 S1.T = 298 * 'K' ; 105 S1.Composition = [1]; 101 106 102 107 C1.Outlet.P = 1500 * 'kPa'; -
trunk/sample/pressure_changers/sample_pump.mso
r372 r631 52 52 P1.Beta = 425e-6 * '1/K'; 53 53 54 S1.ValidPhases = "Vapour-Liquid"; 55 S1.CompositionBasis = "Molar"; 56 54 57 SPECIFY 55 S1. Outlet.F = 1000 * 'kmol/h';56 S1. Outlet.P = 10 * 'atm';57 S1. Outlet.T = 298 * 'K' ;58 S1. Outlet.z= [1,0];58 S1.F = 1000 * 'kmol/h'; 59 S1.P = 10 * 'atm'; 60 S1.T = 298 * 'K' ; 61 S1.Composition = [1,0]; 59 62 60 63 P1.Pdrop = -8 * 'kPa'; … … 74 77 NComp as Integer; 75 78 79 DEVICES 80 p1 as pump; 81 s1 as source; 82 76 83 SET 77 84 NComp = PP.NumberOfComponents; 78 85 79 DEVICES 80 p1 as pump; 81 s1 as source; 86 s1.ValidPhases = "Vapour-Liquid"; 87 s1.CompositionBasis = "Molar"; 88 89 82 90 83 91 CONNECTIONS … … 85 93 86 94 SPECIFY 87 s1. Outlet.F = 826 * 'kmol/h';88 s1. Outlet.P = 549 * 'kPa';89 s1. Outlet.T = 313 * 'K';90 s1. Outlet.z= 1/NComp;95 s1.F = 826 * 'kmol/h'; 96 s1.P = 549 * 'kPa'; 97 s1.T = 313 * 'K'; 98 s1.Composition = 1/NComp; 91 99 #s1.Outlet.v = 0.68; 92 100 -
trunk/sample/pressure_changers/sample_turbine.mso
r372 r631 30 30 DEVICES 31 31 S1 as source; 32 HT1 as Hidraulic_Turbine;32 HT1 as Hidraulic_Turbine; 33 33 34 34 CONNECTIONS … … 48 48 NComp = PP.NumberOfComponents(); 49 49 50 S1.ValidPhases = "Vapour-Liquid"; 51 S1.CompositionBasis = "Molar"; 52 50 53 SPECIFY 51 54 HT1.Beta = 425e-6 / 'K'; … … 53 56 HT1.Eff = 0.72; 54 57 55 S1. Outlet.F = 1000 * 'kmol/h';56 S1. Outlet.P = 5 * 'atm' ;57 S1. Outlet.T = 298 * 'K' ;58 S1. Outlet.z= [1];58 S1.F = 1000 * 'kmol/h'; 59 S1.P = 5 * 'atm' ; 60 S1.T = 298 * 'K' ; 61 S1.Composition = [1]; 59 62 60 63 #HT1.Pdrop = 100 * 'kPa'; -
trunk/sample/pressure_changers/sample_valve.mso
r247 r631 48 48 49 49 SPECIFY 50 s1. Outlet.P = 150 * 'kPa';51 s1. Outlet.T = 281.75 * 'K';52 s1. Outlet.z= [0.664, 0.336];50 s1.P = 150 * 'kPa'; 51 s1.T = 281.75 * 'K'; 52 s1.Composition = [0.664, 0.336]; 53 53 54 54 v1.x = 0.866; … … 87 87 88 88 SPECIFY 89 s1. Outlet.P = 185 * 'kPa';90 s1. Outlet.T = 328.12 * 'K';91 s1. Outlet.z= [0.001848, 0.9982];89 s1.P = 185 * 'kPa'; 90 s1.T = 328.12 * 'K'; 91 s1.Composition = [0.001848, 0.9982]; 92 92 93 93 v1.x = 0.3363; … … 104 104 end 105 105 106 FlowSheet valve_linear_Test107 108 DEVICES109 S1 as source;110 V1 as valve;111 112 CONNECTIONS113 S1.Outlet to V1.Inlet;114 115 PARAMETERS116 PP as Plugin(Brief="Physical Properties",117 Type="PP",118 Components = [ "isobutane", "benzene"],119 LiquidModel = "PR",120 VapourModel = "PR"121 );122 NComp as Integer (Default= 1);123 124 SET125 NComp = PP.NumberOfComponents;126 V1.valve_type = "linear"; #"parabolic", "equal", "quick", "hyperbolic"127 128 SPECIFY129 S1.Outlet.P = 2169.78 * 'kPa';130 S1.Outlet.T = 394.26 * 'K' ;131 S1.Outlet.z = [1];132 133 V1.Qv = 113.56 * 'm^3/h';134 V1.x = 0.5;135 V1.cv = 10 * 'm^3/h/kPa^0.5';136 137 OPTIONS138 Dynamic = false;139 NLASolver(140 RelativeAccuracy = 1e-6141 );142 end
Note: See TracChangeset
for help on using the changeset viewer.