1 / 22

Problem Solving in Chemical Engineering with Numerical Methods Nonlinear Algebraic Equations (NLE)

Problem Solving in Chemical Engineering with Numerical Methods Nonlinear Algebraic Equations (NLE) Ordinary Differential Equations (ODE) Linear, Nonlinear and Stepwise Regression Linear and Nonlinear Programming Mordechai Shacham Department of Chemical Engineering

timothymay
Download Presentation

Problem Solving in Chemical Engineering with Numerical Methods Nonlinear Algebraic Equations (NLE)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Problem Solving in Chemical Engineering with Numerical Methods Nonlinear Algebraic Equations (NLE) Ordinary Differential Equations (ODE) Linear, Nonlinear and Stepwise Regression Linear and Nonlinear Programming Mordechai Shacham Department of Chemical Engineering Ben-Gurion University of the Negev Beer-Sheva, Israel

  2. Chemical Engineer’s Tools of Trade - Until ~ 1970 Properties Calculation Documentation Graphical Solution

  3. An Assignment for Computer Solution - 1971 • Use an equation of state and an ideal gas enthalpy polynomial to calculate volume, compressibility factor enthalpy and entropy of methane gas at various temperatures in the range 0.5 ≤ Tr ≤ 3 and various pressures in the range P ≥ 1 and Pr ≤ 3. • Plot graphs of the changes of compressibility factor, enthalpy and entropy as function of temperature and plot a Mollier diagram. • Time to complete: 3 months

  4. An Algol Program for Carrying Out the Calculations and Printing the Results • Non-intuitive commands and syntax rules make the program difficult and time consuming to prepare and debug. • Only large and complex assignments worth the effort of computer solution.

  5. An Iteration Method with Memory for the Solution of a Non-linear Equation1 1Shacham and Kehat, Chemical Engineering Science, 1972, Vol. 27, pp. 2099-2101.

  6. POLYMATH Versions and Developers

  7. POLYMATH Solution of the Assignment(Partial) Click on the arrow to solve “Program” includes equations and variable definitions Time to prepare and debug: ≈ 10 min

  8. How Should POLYMATH be Used in CRE courses? Fogler H. S., “An Appetizing Structure of Chemical Reaction Engineering for Undergraduates”, Chem. Eng. Ed.,27(2), 110(1993)

  9. The Book that Demonstrates how to Use Numerical Methods for Problem Solving in Various ChE Courses

  10. Textbooks Where POLYMATH is Used for Problem Solving

  11. The PolyMathLite App* *PolyMathLite is an Android app produced by PolyMath Software. (http://www.polymathlite.com)

  12. Example 1 – Educational Use of PolyMathLite for Process Safety Analysis Consider the manufacture of a polyol lubricant by step-wise condensation of propylene oxide with butanol: C4H9OH + (n+1) C3H6O →heat + C4H9(OC3H6)nOCH2CHOHCH3 • The catalyzed alcohol is initially charged into the reactor, up to the “initial” level. • The oxide is fed into the reactor at a constant rate, until the batch is ready and the reactor is full. • Excess heat of the reaction is removed via an external heat removal system.

  13. Example 1 – Temp. Runaway in a Polymerization Reaction* • Economical considerations dictate that the reaction should be completed at the highest possible rate. • The reaction rate is a function of the temperature, catalyst concentration and liquid phase oxide concentration (which is function of the pressure). • The limits on the reactor temperature and catalyst concentration are set by considerations of thermal degradation and purification difficulties. • To maximize the reaction rate, the pressure must be kept as high as possible for the entire duration of the batch. *Shacham et al. Computers & Chemical Engineering, 24, 415-421 (2000)

  14. Example 1 –Typical Student Assignment • Simulate the normal operation of the semi-batch reactor ( Cooling recirculation flow rate, Fc = 3300 kg/min). • Check the effects of the reduction of Fc by reducing it to Fc = 2500 kg/min. • Check the effects of cooling failure with 10 minutes duration. Introduce such a failure 12 hrs after the startup. • Rework (c), but increase Fc to 5000 kg/min after the failure. • Check the effects of the failure of the bursting disk to open at the specified rupture pressure (= 8 atm).

  15. PolyMathLite Model of the Polymerization Reactor Normal cooling recirculation flow-rate Highest pressure allowed

  16. PolyMathLite Model of the Polymerization Reactor – Equation’s Section If the bursting disk is open the oxide feed stops and the vapor discharged The model contains complete documentation, including the description of the variables and their units.

  17. Polymerization Reactor Results – Normal Operating Conditions Molecular weight of the polymer (kg/mol) Maximal pressure (bar) Maximal temp. (°C) in the reactor

  18. Reactor’s Operation with Cooling Media Failure Fc=if (t<700) then (3300) else (if (t>710) then (3300) else (0)) Molecular weight of the polymer (kg/mol) Maximal pressure (bar) Maximal temp. (° C) in the reactor

  19. Reactor’s Temperature - Normal Operation and Temperature Runaway Normal operation Temperature runaway Cooling failure for 10 minutes

  20. Reactor’s Pressure - Normal Operation and Temperature Runaway Normal operation Temperature runaway Cooling failure for 10 minutes

  21. Results of the Safety Analysis for Example 1 a. Simulate the normal operation of the semi-batch reactor Tmax = 111.8 °C;Pmax = 6.35 bar and MWfinal = 2895 kg/mol; b. Check the effects of the reduction of the cooling re-circulationmass flow rate to Fc =2500 kg/min Tmax = 303 °C;Pmax = 8.15 bar and MWfinal = 893 kg/mol; c. Check the effects of cooling failure with 10 minutes duration Tmax = 215.6 °C;Pmax = 8.3 bar and MWfinal = 1269 kg/mol; d. Rework (c), but increase Fc to 5000 kg/min after the failure. Tmax = 105.6 °C;Pmax = 6.9 bar and MWfinal = 2565 kg/mol; e. Check the effects of the failure of the bursting disk to open The model cannot handle properly such a scenario

  22. Main Research Directions • Derivation of QSPRs (Quantitative Structure Property Relationships) for prediction of physical and thermodynamic properties (linear and stepwise regression). • Parameter estimation in complex dynamic systems (Nonlinear programming, stepwise regression, solution of an ODE system) • Determination of chemical equilibrium composition in complex systems (Solution of complex NLE system, Nonlinear programming) . • Simulation of chemical and biochemical processes to determine environmental and safety related operating limits (Solution of complex NLE and DOE systems).

More Related