Changeset 174 for branches/newlanguage/sample
- Timestamp:
- Mar 2, 2007, 12:31:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/stage_separators/sample_tank.mso
r88 r174 27 27 FlowSheet tank_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 SET … … 40 40 DEVICES 41 41 t as tank; 42 s as s tream_therm;42 s as source; 43 43 44 44 CONNECTIONS 45 s to t.Inlet;45 s.Outlet to t.Inlet; 46 46 Qtank to t.Q; 47 47 48 48 SPECIFY 49 s. P = 480 * "kPa";50 s. T = 310 * "K";51 s. F = 180 * "kmol/h";52 s. z = 1.0/NComp;53 s.v = 0.698;49 s.Outlet.P = 480 * 'kPa'; 50 s.Outlet.T = 310 * 'K'; 51 s.Outlet.F = 180 * 'kmol/h'; 52 s.Outlet.z = 1.0/NComp; 53 # s.v = 0.698; 54 54 55 Qtank = 0 * "J/s";56 t.Outlet.F = 179 * "kmol/h";55 Qtank = 0 * 'J/s'; 56 t.Outlet.F = 179 * 'kmol/h'; 57 57 58 58 SET 59 t.Across = 2.20 * "m^2";59 t.Across = 2.20 * 'm^2'; 60 60 61 61 INITIAL 62 t.Outlet.T = 305 * "K";63 t.Level = 0.5 * "m";62 t.Outlet.T = 305 *'K'; 63 t.Level = 0.5 * 'm'; 64 64 t.Outlet.z([1:2]) = 1.0/NComp; 65 65 66 66 OPTIONS 67 relativeAccuracy = 1e-5; 68 time = [0:100:1000]; 67 RelativeAccuracy = 1e-5; 68 TimeStep = 100; 69 TimeEnd = 1000; 69 70 end 70 71 71 72 FlowSheet tank_cylindrical_Test 72 73 PARAMETERS 73 PP as CalcObject(Brief="Physical Properties",File="vrpp");74 PP as Plugin(Brief="Physical Properties",File="vrpp"); 74 75 NComp as Integer; 75 76 SET … … 84 85 DEVICES 85 86 t as tank_cylindrical; 86 s as s tream_therm;87 s as source; 87 88 88 89 CONNECTIONS 89 s to t.Inlet;90 s.Outlet to t.Inlet; 90 91 Qtank to t.Q; 91 92 92 93 SPECIFY 93 s. F = 500 * "kmol/h";94 s. T = 300 * "K";95 s. P = 400 * "kPa";96 s. z = 1/NComp;97 s.v = 0.368;94 s.Outlet.F = 500 * 'kmol/h'; 95 s.Outlet.T = 300 * 'K'; 96 s.Outlet.P = 400 * 'kPa'; 97 s.Outlet.z = 1/NComp; 98 #s.v = 0.368; 98 99 99 Qtank = 0 * "J/s";100 t.Outlet.F = 490 * "kmol/h";100 Qtank = 0 * 'J/s'; 101 t.Outlet.F = 490 * 'kmol/h'; 101 102 102 103 SET 103 t.radius = 0.9 * "m";104 t.L = 7.12 * "m";104 t.radius = 0.9 * 'm'; 105 t.L = 7.12 * 'm'; 105 106 106 107 INITIAL 107 t.Outlet.T = 280* "K";108 t.Level = 1 * "m";108 t.Outlet.T = 280*'K'; 109 t.Level = 1 * 'm'; 109 110 t.Outlet.z([1:2]) = 1.0/NComp; 110 111 111 112 OPTIONS 112 relativeAccuracy = 1e-5; 113 time = [0:100:1000]; 113 RelativeAccuracy = 1e-5; 114 TimeStep = 100; 115 TimeEnd = 1000; 114 116 end
Note: See TracChangeset
for help on using the changeset viewer.