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

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/newlanguage/sample/stage_separators/sample_tray.mso
r86 r202 27 27 FlowSheet tray_Test 28 28 PARAMETERS 29 PP as CalcObject(Brief="Physical Properties",File="vrpp");29 PP as Plugin(Brief="Physical Properties",File="vrpp"); 30 30 NComp as Integer; 31 31 … … 38 38 DEVICES 39 39 t1 as tray; 40 feed as s tream_therm;41 inL as stream_therm;42 inV as stream_therm;40 feed as source; 41 inL as liquid_stream; 42 inV as vapour_stream; 43 43 44 44 CONNECTIONS … … 48 48 49 49 SPECIFY 50 feed.F = 113.4 * "kmol/h"; 51 feed.T = 291 * "K"; 52 feed.P = 1.66 * "atm"; 53 feed.z = [0.5, 0.5]; 54 feed.v = 0; 50 feed.Outlet.F = 113.4 * 'kmol/h'; 51 feed.Outlet.T = 291 * 'K'; 52 feed.Outlet.P = 1.66 * 'atm'; 53 feed.Outlet.z = [0.5, 0.5]; 55 54 56 inL.P = 165 * "kPa";57 inL.T = 310 * "K";58 inL.F = 61.99 * "kmol/h";55 inL.P = 165 * 'kPa'; 56 inL.T = 310 * 'K'; 57 inL.F = 61.99 * 'kmol/h'; 59 58 inL.z = [0.1641, 0.8359]; 60 inL.v = 0.0;61 59 62 inV.F = 147.1 * "kmol/h"; 63 inV.v = 1.0; 64 inV.P = 150 * "kPa"; 65 inV.T = 321 * "K"; 60 inV.F = 147.1 * 'kmol/h'; 61 inV.P = 150 * 'kPa'; 62 inV.T = 321 * 'K'; 66 63 inV.z = [0.0584, 0.9416]; 67 64 68 65 t1.Emv = 1; 69 t1.OutletV.F = 147.1 * "kmol/h";66 t1.OutletV.F = 147.1 * 'kmol/h'; 70 67 71 68 SET 72 t1.V = 4 * "ft^3";73 t1.Ah = 0.394 * "ft^2";74 t1.lw = 20.94 * "in";75 t1.hw = 0.125 * "ft";76 t1.Q = 0 * "kW";69 t1.V = 4 * 'ft^3'; 70 t1.Ah = 0.394 * 'ft^2'; 71 t1.lw = 20.94 * 'in'; 72 t1.hw = 0.125 * 'ft'; 73 t1.Q = 0 * 'kW'; 77 74 t1.beta = 0.6; 78 75 t1.alfa = 4; 79 t1.Ap = 3.94 * "ft^2";76 t1.Ap = 3.94 * 'ft^2'; 80 77 81 78 INITIAL 82 t1.OutletL.T = 290 * "K";79 t1.OutletL.T = 290 *'K'; 83 80 t1.Level = 0.9 * t1.hw; 84 81 t1.OutletL.z(1) = 0.5; 85 82 86 83 OPTIONS 87 relativeAccuracy = 1e6;88 time = [0:1:100];84 RelativeAccuracy = 1e6; 85 TimeEnd = 100; 89 86 end
Note: See TracChangeset
for help on using the changeset viewer.