Engineering With Python Rotating Header Image

Posts from ‘August, 2009’

Dynamics of a Heated Tank with Proportional/Integral (PI) Control – Solution

Solve the problem: Okay, let’s open our IPython window, pull up our script and set Kc = 0.0.  Also, be sure that both the proportional and integral parts of your controller is on.  It doesn’t make a lot of difference since Kc is zero, but it keeps everything straight.  Also, ensure that Ti is ‘on’ […]

Dynamics of a Heated Tank with Proportional/Integral (PI) Control – 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 (Proportional/Integral Contoller) Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer […]

Dynamics of a Heated Tank with Proportional/Integral (PI) Control – Problem Description

Reference: This is problem 10 from an article  “A Collection of Representative Problems in Chemical Engineering for Solution by Numerical Methods”.  These problems came from Session 12 of the ASEE Chemical Engineering Summer School held in Snowbird, Utah in 1997.  In this problem, you will be modeling the temperature of a tank heated with a […]

Reversible, Exothermic, Gas Phase Reaction in a Catalytic Reactor – Solution

Solve the problem: Okay, let’s open our IPython window, pull up our script and run to see what happens.  We should see the following plot. Where is the plot for x and y?  This only has the temperature.  Hmmm, well, the range for x is only from 0.0 to 1.0 and the temperature in the […]

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

Reversible, Exothermic, Gas Phase Reaction in a Catalytic Reactor – Problem Description

Reference: This is problem 8.24 in “Problem Solving in Chemical Engineering with Numerical Methods” by Michael Cutlip and Mordecai Shacham, Prentice-Hall ISBN 0-13-862566-2.  In this problem, you will be designing a gas phase catalytic reactor with a pressure drop to accomplish a reversible gas phase reaction. Concepts: Solve a system of ordinary differential equations with […]

Steady-State Material Balances on a Separation Train – Solution

Solve the problem: Execute the script and let’s see what the molar flow rates of D_1, D_2, B_1 and B_2 are?  I’m on the edge of my seat…however, I have been working for a while and kinda need to go, if you know what I mean, but I digress, let’s see it. Molar Flow Rates […]