Zero of a Nonlinear System of Algebraic Equations f(x) = 0

Slides:



Advertisements
Similar presentations
Programming Tips: While Loops and Comparisons 1Daniel Baur / Numerical Methods for Chemical Engineerse Daniel Baur ETH Zurich, Institut für Chemie- und.
Advertisements

Boundary Value Problems and Partial Differential Equations (PDEs)
Lecture 5 Newton-Raphson Method
Fixed point iterations and solution of non-linear functions
Numerical Solution of Nonlinear Equations
Distillation Modeling and Dynamics Distillation Part 2.
Partial Differential Equations (PDEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / BVP and PDE Daniel Baur ETH Zurich, Institut für Chemie-
Numerical Differentiation and Quadrature (Integration) 1Daniel Baur / Numerical Methods for Chemical Engineers / Numerical Quadrature Daniel Baur ETH Zurich,
Linear Regression 1Daniel Baur / Numerical Methods for Chemical Engineers / Linear Regression Daniel Baur ETH Zurich, Institut für Chemie- und Bioingenieurwissenschaften.
ROOTS OF EQUATIONS Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
Systems of Linear Equations
Cross-current cascade of ideal stages Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
Response Surface Method Principle Component Analysis
Linear Systems of Equations Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Stripping process design Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
Counter-current cascade of ideal stages Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
Conceptual model Examples: Heat flow on a wire Air flow around a plane’s wing Response to medication.
Dynamical Systems Analysis I: Fixed Points & Linearization By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Response Surfaces max(S(  )) Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Representation on the x-y plane Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
Non Linear Regression Y i = f(  x i ) +  i Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Nonlinear Algebraic Systems 1.Iterative solution methods 2.Fixed-point iteration 3.Newton-Raphson method 4.Secant method 5.Matlab tutorial 6.Matlab exercise.
Linear Regression Y i =  0 +  1 x i +  i Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften.
Ordinary Differential Equations (ODEs)
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Systems of Linear Equations Iterative Methods
Boundary Value Problems and Least Squares Minimization
Computational Method in Chemical Engineering (TKK-2109)
Numerical Methods for Solving ODEs Euler Method. Ordinary Differential Equations  A differential equation is an equation in which includes derivatives.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
1 Solution of Nonlinear Equation Dr. Asaf Varol
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Quadrature rules 1Michael Sokolov / Numerical Methods for Chemical Engineers / Numerical Quadrature Michael Sokolov ETH Zurich, Institut für Chemie- und.
Numerical Differentiation and Quadrature (Integration)
Solution of Nonlinear Functions
Ordinary Differential Equations (ODEs) 1Michael Sokolov / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Michael Sokolov ETH Zurich, Institut.
4 Numerical Methods Root Finding Secant Method Modified Secant
Solving equations with polynomials – part 2. n² -7n -30 = 0 ( )( )n n 1 · 30 2 · 15 3 · 10 5 · n + 3 = 0 n – 10 = n = -3n = 10 =
Principal Component Analysis (PCA)
Linear Regression 1Michael Sokolov / Numerical Methods for Chemical Engineers / Linear Regression Michael Sokolov ETH Zurich, Institut für Chemie- und.
Linear Systems of Equations Iterative and Relaxation Methods Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und.
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
TRANSFER FUNCTION Prepared by Mrs. AZDUWIN KHASRI.
Mass Transfer 2 Section # 1.
Lecture 2: Mathematical Modeling Copyright © Thomas Marlin 2013 The copyright holder provides a royalty-free license for use of this material at non-profit.
Absorption design with nonlinear equilibrium Prof. Dr. Marco Mazzotti - Institut für Verfahrenstechnik.
Algebra Review. Systems of Equations Review: Substitution Linear Combination 2 Methods to Solve:
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Nonlinear Regression 1Michael Sokolov / Numerical Methods for Chemical Engineers / Nonlinear Regression Michael Sokolov ETH Zurich, Institut für Chemie-
Chapter 15 Chemical Equilibrium. Equilibrium - Condition where opposing processes occur at the same time. - Processes may be physical changes or chemical.
CHEM-E7130 Process Modeling Lecture 5
Stability and instability in nonlinear dynamical systems
Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
4 Numerical Methods Root Finding Secant Method Modified Secant
Zero of a Nonlinear Function f(x) = 0
Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
Single equilibrium stage
Non-linear Least-Squares
Computers in Civil Engineering 53:081 Spring 2003
Today (2/23/16) Learning objectives:
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
Engineering Analysis ENG 3420 Fall 2009
Chemical Reaction Engineering Asynchronous Video Series
Chemical Reaction Engineering
Multiple linear regression
Presentation transcript:

Zero of a Nonlinear System of Algebraic Equations f(x) = 0 Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/ HCI F135 – Zürich (Switzerland) E-mail: lattuada@chem.ethz.ch http://www.morbidelli-group.ethz.ch/education/index

Definition of the Problem Research of the zero (x) in a interval Research of the zero within the uncertainty interval [a,b] Types of algorithms available: Substitution algorithms Methods based on functions approximation In the defined intervals, at least one zero exists We are looking for one zero, and not all of them Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 2

Substitution method It needs simple functions It often diverges (even with linear functions) It requires a preliminary study to assure convergence Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 3

Example f(x) = 0 z=f1(x,y) = 0 z=f2(x,y) = 0 Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 4

Projection on the (x-y) Plane f(x) = 0 Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 5

Function Linearization First order Taylor expansion: Matrix form: Compact form: Newton Method Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 6

Application to Example Nonlinear system: Linearization: ((x0, y0) is the starting point) Starting point: (x0, y0) = (0, 0) Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 7

Graphical Interpretation Nonlinear system: Linearized system: Linearized system in (x0, y0) = (0, 0) : Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 8

Projection on the (x-y) Plane Nonlinear system: Linearized system: Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 9

Effect of Different Starting Points Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 10

Gas/Liquid Adsorption Column Aim: To adsorb a dilute component in the gas (G) phase (e.g. ammonia) in the liquid (L) phase Hypotheses: Steady state conditions are reached The column can be described as a series of N equilibrium stages (plates) The liquid and the gas fluxes are constant along the column For more info on adsorption columns: http://www.cheresources.com/packcolzz.shtml Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 11

Gas/Liquid Adsorption Column Lx0 Gy1 Mass balance on n-th plate Plate 1 Mass balance on first n plates Lxn-1 Gyn Plate n or: Lxn Gyn+1 Plate N Legend L = liquid flow rate G = gas flow rate xi = liquid conc. in i-th plate yi = gas conc. in i-th plate LxN GyN+1 Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 12

Gas/Liquid Adsorption Column Mass balance on first n plates Equilibrium condition Lx0 Gy1 Plate 1 y x y1 y3 x2 x3 Lxn-1 Gyn Plate n Lxn Gyn+1 y2 Plate N Target residual concentration x1 LxN GyN+1 Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 13

Examples Increase L/G Decrease K Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 14

Nonlinear Gas-Liquid Equilibrium Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 15

The Nonlinear Problem Mass balance on n-th plate Equilibrium condition (nonlinear) Final Equation Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 16

Matlab fsolve Function Marco Lattuada – Statistical and Numerical Methods for Chemical Engineers Nonlinear Systems of Algebraic Equations – Page # 17