Changeset 125 for branches/newlanguage/sample/stage_separators
- Timestamp:
- Jan 22, 2007, 5:57:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/stage_separators/sample_column.mso
r112 r125 32 32 FlowSheet SectionColumn_Test_with2tray 33 33 PARAMETERS 34 PP as CalcObject(Brief="Physical Properties",File="vrpp");34 PP as Plugin(Brief="Physical Properties",File="vrpp"); 35 35 NComp as Integer; 36 36 … … 43 43 DEVICES 44 44 sec as Section_Column; 45 feed as stream_therm;46 reb as stream_therm;47 cond as stream_therm;45 feed as liquid_stream; 46 reb as vapour_stream; 47 cond as liquid_stream; 48 48 zero as stream; 49 49 … … 59 59 feed.P = 168.3 * "kPa"; 60 60 feed.z = [0.5, 0.5]; 61 feed.v = 0;62 61 63 62 zero.F = 0 * "kmol/h"; … … 71 70 cond.P = 150 * "kPa"; 72 71 cond.T = 281.75 * "K"; 73 cond.v = 0.0;74 72 cond.z = [0.6664, 0.3336]; 75 73 … … 78 76 reb.T = 328.12 * "K"; 79 77 reb.z = [0.001848, 0.9982]; 80 reb.v = 1.0;81 78 82 79 sec.trays.Emv = 1; … … 102 99 #relativeAccuracy = 1e-3; 103 100 NLASolver = "sundials"; 104 time = [0:10:1000]; 101 TimeStep = 10; 102 TimeEnd = 1000; 105 103 106 104 # After running few seconds of transient the steady-state … … 114 112 FlowSheet SectionColumn_Test_with8tray 115 113 PARAMETERS 116 PP as CalcObject(Brief="Physical Properties",File="vrpp");114 PP as Plugin(Brief="Physical Properties",File="vrpp"); 117 115 NComp as Integer; 118 116 … … 126 124 DEVICES 127 125 sec as Section_Column; 128 feed as stream_therm;129 reb as stream_therm;130 cond as stream_therm;126 feed as liquid_stream; 127 reb as vapour_stream; 128 cond as liquid_stream; 131 129 zero as stream; 132 130 … … 145 143 feed.P = 168.3 * "kPa"; 146 144 feed.z = [0.5, 0.5]; 147 feed.v = 0;148 145 149 146 zero.F = 0 * "kmol/h"; … … 157 154 cond.P = 150 * "kPa"; 158 155 cond.T = 281.75 * "K"; 159 cond.v = 0.0;160 156 cond.z = [0.6664, 0.3336]; 161 157 … … 164 160 reb.T = 328.12 * "K"; 165 161 reb.z = [0.001848, 0.9982]; 166 reb.v = 1.0;167 162 168 163 sec.trays.Emv = 1; … … 186 181 187 182 OPTIONS 188 relativeAccuracy = 1e-5; 189 time = [0:1:100]; 183 RelativeAccuracy = 1e-5; 184 TimeStep = 1; 185 TimeEnd = 100; 190 186 #guessFile="SectionColumn_Test_with8tray.rlt"; 191 187 #mode = "steady"; … … 195 191 FlowSheet Distillation_kettle_cond_Test 196 192 PARAMETERS 197 PP as CalcObject(Brief="Physical Properties",File="vrpp");193 PP as Plugin(Brief="Physical Properties",File="vrpp"); 198 194 NComp as Integer; 199 195 … … 212 208 DEVICES 213 209 col as Distillation_kettle_cond; 214 feed as s treamTP;210 feed as source; 215 211 zero as stream; 216 212 … … 224 220 225 221 SPECIFY 226 feed. F = 113.4 * "kmol/h";227 feed. T = 291 * "K";228 feed. P = 168.3 * "kPa";229 feed. z = 1/NComp;222 feed.Outlet.F = 113.4 * "kmol/h"; 223 feed.Outlet.T = 291 * "K"; 224 feed.Outlet.P = 168.3 * "kPa"; 225 feed.Outlet.z = 1/NComp; 230 226 231 227 zero.F = 0 * "kmol/h"; … … 277 273 278 274 OPTIONS 279 relativeAccuracy = 1e-3; 280 time = [0:0.01:1, 2:50]; 275 RelativeAccuracy = 1e-3; 276 TimeStep = 0.01; 277 TimeEnd = 50; 278 #time = [0:0.01:1, 2:50]; 281 279 #guessFile="Distillation_kettle_cond_Test.rlt"; 282 280 #mode = "steady"; … … 285 283 FlowSheet Column_ctrl 286 284 PARAMETERS 287 PP as CalcObject(Brief="Physical Properties",File="vrpp");285 PP as Plugin(Brief="Physical Properties",File="vrpp"); 288 286 NComp as Integer; 289 287 … … 324 322 DEVICES 325 323 col as Distillation_kettle_cond; 326 feed as s treamTP;324 feed as source; 327 325 zero as stream; 328 326 TCcond as PIDIncr_Ideal_AW; … … 421 419 422 420 SPECIFY 423 feed. F = 113.4 * "kmol/h";424 feed. T = 291 * "K";425 feed. P = 168.3 * "kPa";426 feed. z = 1/NComp;421 feed.Outlet.F = 113.4 * "kmol/h"; 422 feed.Outlet.T = 291 * "K"; 423 feed.Outlet.P = 168.3 * "kPa"; 424 feed.Outlet.z = 1/NComp; 427 425 428 426 zero.F = 0 * "kmol/h"; … … 486 484 487 485 OPTIONS 488 relativeAccuracy = 1e-3; 489 time = [0:0.01:0.1, 0.11:0.01:2]*"h"; 486 RelativeAccuracy = 1e-3; 487 TimeStep = 0.01; 488 TimeEnd = 2; 489 TimeUnit = "h"; 490 #time = [0:0.01:0.1, 0.11:0.01:2]*"h"; 490 491 #initialFile = "Column_ctrl.rlt"; 491 492 #guessFile = "Column_ctrl.rlt";
Note: See TracChangeset
for help on using the changeset viewer.