Changeset 574 for branches/gui/sample/reactors
- Timestamp:
- Jul 25, 2008, 11:18:50 AM (15 years ago)
- Location:
- branches/gui/sample/reactors
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/sample/reactors/fogler/chap2/series_reactors.mso
r446 r574 239 239 V(1) = 0.0*'l'; 240 240 241 for i in [2:N] 241 for i in [2:N] do 242 242 "Molar balance" 243 243 V(i) - V(i-1) = -0.5*Inlet.F*dx*(1/r(i-1) + 1/r(i)); # second order … … 250 250 Outlet.F = Inlet.F; 251 251 252 for i in [1:N] 252 for i in [1:N] do 253 253 "Rate of reaction" 254 254 (-r(i)) = sum(a*X(i)^[0:(NT-1)]); … … 293 293 294 294 SPECIFY 295 "Inlet conversion"296 295 Inlet.X = 0.0; 297 "Required conversion"298 296 R1.Outlet.X = 0.8; 299 297 … … 316 314 317 315 SPECIFY 318 "Inlet molar flow"319 316 Inlet.F = 0.866541*'mol/s'; 320 "Inlet conversion"321 317 Inlet.X = 0.0; 322 318 … … 350 346 351 347 SPECIFY 352 "Inlet molar flow"353 348 Inlet.F = 0.866541*'mol/s'; 354 "Inlet conversion"355 349 Inlet.X = 0.0; 356 350 357 "Required conversion"358 351 R1.Outlet.X = 0.8; 359 352 … … 392 385 393 386 SPECIFY 394 "Inlet molar flow"395 387 Inlet.F = 5.0*'mol/s'; 396 "Inlet conversion"397 388 Inlet.X = 0.0; 398 389 399 "Required CSTR conversion"400 390 CSTR.Outlet.X = 0.6; 401 "Required PFR conversion"402 391 PFR.Outlet.X = 0.6; 403 392 … … 435 424 436 425 SPECIFY 437 "Inlet molar flow"438 426 Inlet.F = 0.866541*'mol/s'; 439 "Inlet conversion"440 427 Inlet.X = 0.0; 441 428 442 "Required 1st reactor conversion"443 429 R1.Outlet.X = 0.4; 444 "Required 2nd reactor conversion"445 430 R2.Outlet.X = 0.8; 446 431 … … 478 463 479 464 SPECIFY 480 "Inlet molar flow"481 465 Inlet.F = 0.866541*'mol/s'; 482 "Inlet conversion"483 466 Inlet.X = 0.0; 484 467 485 "Required 1st reactor conversion"486 468 R1.Outlet.X = 0.4; 487 "Required 2nd reactor conversion"488 469 R2.Outlet.X = 0.8; 489 470 … … 524 505 525 506 SPECIFY 526 "Inlet molar flow"527 507 Inlet.F = 0.866541*'mol/s'; 528 "Inlet conversion"529 508 Inlet.X = 0.0; 530 509 531 "Required 1st reactor conversion"532 510 R1.Outlet.X = 0.5; 533 "Required 2nd reactor conversion"534 511 R2.Outlet.X = 0.8; 535 512 … … 570 547 571 548 SPECIFY 572 "Inlet molar flow"573 549 Inlet.F = 0.866541*'mol/s'; 574 "Inlet conversion"575 550 Inlet.X = 0.0; 576 551 577 "Required 1st reactor conversion"578 552 R1.Outlet.X = 0.5; 579 "Required 2nd reactor conversion"580 553 R2.Outlet.X = 0.8; 581 554 -
branches/gui/sample/reactors/fogler/chap3/equilibrium_conversion.mso
r202 r574 110 110 111 111 SPECIFY 112 "Inlet molar fraction"113 112 Inlet.z = [1.0, 0.0]; 114 115 "Inlet pressure"116 113 P = 2.0*'atm'; 117 "Inlet temperature"118 114 T = 340*'K'; 119 115 120 "Equilibrium constant"121 116 Kc = 0.1*'mol/l'; 122 117 … … 178 173 179 174 SPECIFY 180 "Inlet molar fraction"181 175 Inlet.z = [1.0, 0.0]; 182 176 183 "Inlet pressure"184 177 P = 2.0*'atm'; 185 "Inlet temperature"186 178 T = 340*'K'; 187 179 188 "Equilibrium constant"189 180 Kc = 0.1*'mol/l'; 190 181 -
branches/gui/sample/reactors/fogler/chap3/oxidation_of_so2.mso
r202 r574 108 108 109 109 SPECIFY 110 "Inlet molar fraction"111 110 Inlet.z = [0.28, 0.1512, 0.0, 0.5688]; 112 "Inlet pressure"113 111 P = 1485*'kPa'; 114 "Inlet temperature"115 112 T = (227 + 273.15)*'K'; 116 113 -
branches/gui/sample/reactors/fogler/chap4/membrane_reactor.mso
r188 r574 94 94 95 95 SPECIFY 96 "Pressure"97 96 P = 8.2*'atm'; # Isobaric system 98 "Temperature"99 97 T = 500*'K'; # Isotermic system 100 98 101 "Specific rate of reaction"102 99 k = 0.7*'1/min'; 103 100 -
branches/gui/sample/reactors/fogler/chap4/molarflow_pfr.mso
r188 r574 88 88 89 89 SPECIFY 90 "Input total molar concentration"91 90 Cto = 0.1*'mol/l'; 92 91 93 "Input molar flow"94 92 Fo = [10, 0]*'mol/min'; 95 93 -
branches/gui/sample/reactors/fogler/chap4/semibatch_reactor.mso
r202 r574 85 85 86 86 SPECIFY 87 "Specific rate of reaction"88 87 k = 2.2*'l/mol/s'; 89 88 90 "Inlet concentration"91 89 Co = [0.0, 0.025, 0.0, 0.0]*'mol/l'; 92 90 -
branches/gui/sample/reactors/fogler/chap4/spheric_reactor.mso
r188 r574 103 103 104 104 SPECIFY 105 "Input molar concentration of A"106 105 Ca0 = 320*'mol/m^3'; 107 "Input molar flow of A"108 106 Fa0 = 440*'mol/s'; 109 "Initial pressure"110 107 P0 = 2000*'kPa'; 111 "Input mass flow"112 108 m = 44*'kg/s'; 113 109 -
branches/gui/sample/reactors/fogler/chap8/acetic_anhydride.mso
r202 r574 145 145 146 146 SPECIFY 147 "Inlet molar flow"148 147 R.Fao = (8000/58)*'kmol/h'; 149 148 … … 187 186 188 187 SPECIFY 189 "Inlet molar flow"190 188 R.Fao = (18.8*2e-3)*'mol/s'; 191 189 -
branches/gui/sample/reactors/fogler/chap8/series_reactions.mso
r383 r574 123 123 124 124 SPECIFY 125 "Inlet temperature"126 125 To = 283*'K'; 127 "Inlet concentration of A"128 126 Co= 0.3*'mol/m^3'; 129 127 -
branches/gui/sample/reactors/fogler/chap9/cstr_startup.mso
r383 r574 139 139 140 140 SPECIFY 141 "Inlet molar flow"142 141 CSTR.Fo = [80, 1000, 0, 100]*'lbmol/h'; 143 "Inlet reactor temperature"144 142 CSTR.To = (75 + 460)*'degR'; 145 "Molar flow of cooling water"146 143 CSTR.mc = 1e3*'lbmol/h'; 147 144 … … 186 183 187 184 SPECIFY 188 "Inlet molar flow"189 185 CSTR.Fo = [80, 1000, 0, 100]*'lbmol/h'; 190 "Inlet reactor temperature"191 186 CSTR.To = (70 + 460)*'degR'; # Reduction of temperature: 75°F to 70°F 192 "Molar flow of cooling water"193 187 CSTR.mc = 1e3*'lbmol/h'; 194 188 … … 242 236 243 237 SPECIFY 244 "Inlet molar flow"245 238 CSTR.Fo = [80, 1000, 0, 100]*'lbmol/h'; 246 "Inlet reactor temperature"247 239 CSTR.To = (70 + 460)*'degR'; 248 240 -
branches/gui/sample/reactors/sample_batch.mso
r313 r574 74 74 75 75 SPECIFY 76 "Feed conditions"77 76 feed.T = 300*'K'; 78 77 feed.P = 1*'atm'; … … 81 80 feed.z = [0,1,0,0,0]; 82 81 83 "Reactor volume"84 82 reac.Vr = 1 * 'l'; 85 83 -
branches/gui/sample/reactors/sample_cstr.mso
r245 r574 62 62 Reac.Outlet.F = Reac.Inlet.F; 63 63 64 "Adiabatic"65 64 Reac.q = 0 * 'J/s'; 66 65 Reac.Outlet.P = 1 * 'atm'; -
branches/gui/sample/reactors/sample_pfr.mso
r213 r574 65 65 EQUATIONS 66 66 67 for z in [1:Reac.NDisc] 67 for z in [1:Reac.NDisc] do 68 68 69 69 "Reaction Rate = k*C(1)" … … 84 84 s1.Outlet.z = [1, 0, 0]; 85 85 86 "Adiabatic"87 86 Reac.q = 0 * 'J/s'; 88 87 … … 93 92 INITIAL 94 93 95 for z in [2:Reac.NDisc+1] 94 for z in [2:Reac.NDisc+1] do 96 95 97 96 Reac.str(z).T = Reac.Inlet.T;
Note: See TracChangeset
for help on using the changeset viewer.