Engineering With Python Rotating Header Image

Posts under ‘Finding roots of an equation’

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’ – 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 […]

Calculate a Four-Component ‘Flash’ – 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 Seader, “Equilibrium Stage Separation Operations in Chemical Engineering”, Wiley, NY 1981 pg. 279. Problem Description: Rosen and Adams were […]