Engineering With Python Rotating Header Image

Posts from ‘October, 2009’

Solving a Binary Batch Distillation – Solution

Solve the Problem: Let’s run the program and see what the plot looks like: Well, not much more to say.  From the plot, x_w(t = 5 hours) is about 0.35.  Henley and Seader calculated xw (t = 5 hours) = 0.351.  I’d say pretty close.  It’s easy to calculate W(t).   It is 100 kg – […]

Solving a Binary Batch Distillation – Programming Approach

Plan your solution: Draw a picture, in this case, list all of your data Remember the fundamentals and apply Draw your material or energy balance envelope (If necessary, list out your equations and problem data) Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer you want […]

Solving a Binary Batch Distillation – Problem Description

Reference: This is from E.M. Rosen and R. N. Adams, “A Review of Spreadsheet Usage in Chemical Engineering Calculations”, Computers and Chemical Engineering, Vol. 11, No. 6, pp. 723-736, but they took it from Henley and Rosen, “Materal and Energy Balance Computations”, Wiley, NY 1969 pg. 362.  Very similar to an earlier problem that we […]

Solution of Equilibrium Equations – Solution

Solve the Problem: Let’s see what the output of the program looks like: As a check, I added up the mole fractions to ensure they add up to 1.0.  If they didn’t, something is wrong.  Let’s compare to the what Rosen and Adams calculated. CH4 R&A = 0.226  EWP = 0.226 H2O R&A = 0.110  […]

Solution of Equilibrium Equations – Programming Approach

Plan your solution: Draw a picture, in this case, list all of your data Remember the fundamentals and apply Draw your material or energy balance envelope (If necessary, list out your equations and problem data) Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer you want […]

Solution of Equilibrium Equations – Problem Description

Reference: This is from E.M. Rosen and R. N. Adams, “A Review of Spreadsheet Usage in Chemical Engineering Calculations”, Computers and Chemical Engineering, Vol. 11, No. 6, pp. 723-736, but they took it from Henley and Rosen, “Materal and Energy Balance Computations”, Wiley, NY 1969 pg. 376.  I will also be using information from C. […]

Calculate a Four Component ‘Flash’ – Solution

Solve the Problem: Let’s see what the output of the program looks like: We can see that the mole fractions are propane = 0.071, butane = 0.183, pentane = 0.310 and hexane = 0.435 and they (whew!) add up to 1.0 which is a good sign.  We calculate α = 0.1219 and Rosen and Adams […]

Calculate a Four-Component ‘Flash’ – Programming Approach

Plan your solution: Draw a picture, in this case, list all of your data Remember the fundamentals and apply Draw your material or energy balance envelope (If necessary, not in this case) Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer you want You need to […]