 Timestamp:
 Mar 14, 2007, 1:17:25 AM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/newlanguage/sample/stage_separators/sample_condenser.mso
r86 r202 29 29 FlowSheet condenser_Test 30 30 PARAMETERS 31 PP as CalcObject(Brief="Physical Properties",File="vrpp");31 PP as Plugin(Brief="Physical Properties",File="vrpp"); 32 32 NComp as Integer; 33 33 … … 44 44 c1 as condenser; 45 45 sp as splitter; 46 s1 as s tream_therm;46 s1 as source; 47 47 48 48 CONNECTIONS … … 52 52 53 53 SPECIFY 54 s1.P = 152 * "kPa"; 55 s1.T = 298.6 * "K"; 56 s1.F = 153 * "kmol/h"; 57 s1.z = [0.664, 0.336]; 58 s1.v = 1.0; 54 s1.Outlet.P = 152 * 'kPa'; 55 s1.Outlet.T = 298.6 * 'K'; 56 s1.Outlet.F = 153 * 'kmol/h'; 57 s1.Outlet.z = [0.664, 0.336]; 59 58 60 59 sp.frac = 0.444445; 61 c1.OutletV.F = 0 * "kmol/h";62 c1.OutletL.F = 153 * "kmol/h";60 c1.OutletV.F = 0 * 'kmol/h'; 61 c1.OutletL.F = 153 * 'kmol/h'; 63 62 64 Q = 3.71e6 * "kJ/h";63 Q = 3.71e6 * 'kJ/h'; 65 64 66 65 SET 67 c1.V = 2 * "m^3";68 c1.Across = 1 * "m^2";66 c1.V = 2 * 'm^3'; 67 c1.Across = 1 * 'm^2'; 69 68 70 69 INITIAL 71 c1.OutletL.T = 280 * "K";72 c1.Level = 1 * "m";70 c1.OutletL.T = 280 *'K'; 71 c1.Level = 1 * 'm'; 73 72 c1.OutletL.z(1) = 0.65; 74 73 75 74 OPTIONS 76 time = [0:20:1000]; 75 TimeEnd = 1000; 76 TimeStep = 20; 77 77 end 78 78 79 79 FlowSheet condenserSteady_Test 80 80 PARAMETERS 81 PP as CalcObject(Brief="Physical Properties",File="vrpp");81 PP as Plugin(Brief="Physical Properties",File="vrpp"); 82 82 NComp as Integer; 83 83 … … 93 93 DEVICES 94 94 c1 as condenserSteady; 95 s1 as s tream_therm;95 s1 as source; 96 96 97 97 CONNECTIONS … … 100 100 101 101 SPECIFY 102 s1. P = 152 * "kPa";103 s1. T = 298.6 * "K";104 s1. F = 153 * "kmol/h";105 s1. z = [0.664, 0.336];106 s1.v = 1.0; 107 Q = 3.71e6 * "kJ/h";108 c1.DP = 100 * "kPa";102 s1.Outlet.P = 152 * 'kPa'; 103 s1.Outlet.T = 298.6 * 'K'; 104 s1.Outlet.F = 153 * 'kmol/h'; 105 s1.Outlet.z = [0.664, 0.336]; 106 107 Q = 3.71e6 * 'kJ/h'; 108 c1.DP = 100 * 'kPa'; 109 109 110 110 OPTIONS 111 mode = "steady"; 112 time = [0:20:1000]; 111 Dynamic = false; 113 112 end
Note: See TracChangeset
for help on using the changeset viewer.