Engineering With Python Rotating Header Image

Posts Tagged ‘arrays’

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

‘Graphical’ Evaluation to Calculate the Number of Transfer Units – 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 […]

‘Graphical’ Evaluation to Calculate the Number of Transfer Units – 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. 653.  I don’t have a copy of […]

Fitting Polynomials and Correlation Equations to Vapor Pressure Data – Problem Description

Reference: This is Problem 3 in the ASEE 1997 problem set.   We will be fitting vapor pressure data for benzene to  a polynomial and then to a couple of correlating equations. Concepts: Put the data into arrays so that we can work with it Use Ipython with Scite editor to edit and save files Import […]

Reversible, Exothermic, Gas Phase Reaction in a Catalytic Reactor – Programming Approach

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

Steady-State Material Balances on a Separation Train – Programming Approach

Plan your solution: Draw a picture, in this case, list all of your data and equations (see the first post of this series) Remember the fundamentals (steady state material balance) and apply Draw your material or energy balance envelope (continuous distillation at wikipedia) Remember [Accumulation = In – Out + Source/Sink] Think about what you […]