CHE302 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS. Professor Dae Ryook Yang

Similar documents
CHBE320 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS. Professor Dae Ryook Yang

LAPLACE TRANSFORM AND TRANSFER FUNCTION

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Class Meeting # 10: Introduction to the Wave Equation

Ordinary Differential Equations

Chapter 1 Fundamental Concepts

Intermediate Differential Equations Review and Basic Ideas

ENV 6015 Solution to Mixing Problem Set

CHE302 LECTURE VI DYNAMIC BEHAVIORS OF REPRESENTATIVE PROCESSES. Professor Dae Ryook Yang

Problem Set on Differential Equations

Chapter 5: Control Volume Approach and Continuity Principle Dr Ali Jawarneh

Design of a control system

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Chapter 3 Boundary Value Problem

Open loop vs Closed Loop. Example: Open Loop. Example: Feedforward Control. Advanced Control I

Order Reduction of Large Scale DAE Models. J.D. Hedengren and T. F. Edgar Department of Chemical Engineering The University of Texas at Austin

Chapter 7: Inverse-Response Systems

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2008

CSE 3802 / ECE Numerical Methods in Scientific Computation. Jinbo Bi. Department of Computer Science & Engineering

Theory of! Partial Differential Equations!

Chapter 8 The Complete Response of RL and RC Circuits

10. State Space Methods

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Sumudu Decomposition Method for Solving Fractional Delay Differential Equations

Chapter 7 Response of First-order RL and RC Circuits

u(x) = e x 2 y + 2 ) Integrate and solve for x (1 + x)y + y = cos x Answer: Divide both sides by 1 + x and solve for y. y = x y + cos x

STATE-SPACE MODELLING. A mass balance across the tank gives:

Theory of! Partial Differential Equations-I!

Lecture 20: Riccati Equations and Least Squares Feedback Control

Basic Circuit Elements Professor J R Lucas November 2001

(1) (2) Differentiation of (1) and then substitution of (3) leads to. Therefore, we will simply consider the second-order linear system given by (4)

CHEMICAL KINETICS: 1. Rate Order Rate law Rate constant Half-life Temperature Dependence

R.#W.#Erickson# Department#of#Electrical,#Computer,#and#Energy#Engineering# University#of#Colorado,#Boulder#

Chapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis

Augmented Reality II - Kalman Filters - Gudrun Klinker May 25, 2004

Sliding Mode Extremum Seeking Control for Linear Quadratic Dynamic Game

Sliding Mode Controller for Unstable Systems

10.37 Chemical and Biological Reaction Engineering, Spring 2007 Prof. K. Dane Wittrup Lecture 10: Non ideal Reactor Mixing Patterns

Predator - Prey Model Trajectories and the nonlinear conservation law

Dynamic Effects of Feedback Control!

Vehicle Arrival Models : Headway

Differential Equations

ENGI 9420 Engineering Analysis Assignment 2 Solutions

EXERCISES FOR SECTION 1.5

A First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 1 Solutions

( ) = Q 0. ( ) R = R dq. ( t) = I t

Embedded Systems and Software. A Simple Introduction to Embedded Control Systems (PID Control)

6.2 Transforms of Derivatives and Integrals.

The motions of the celt on a horizontal plane with viscous friction

Hybrid Control and Switched Systems. Lecture #3 What can go wrong? Trajectories of hybrid systems

Optima and Equilibria for Traffic Flow on a Network

Sub Module 2.6. Measurement of transient temperature

Structural Dynamics and Earthquake Engineering

2.4 Cuk converter example

Experimental Buck Converter

System of Linear Differential Equations

2. Nonlinear Conservation Law Equations

Math 334 Test 1 KEY Spring 2010 Section: 001. Instructor: Scott Glasgow Dates: May 10 and 11.

Scheduling of Crude Oil Movements at Refinery Front-end

1 Subdivide the optimization horizon [t 0,t f ] into n s 1 control stages,

Chapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis

Vanishing Viscosity Method. There are another instructive and perhaps more natural discontinuous solutions of the conservation law

Problemas das Aulas Práticas

Signal processing. A. Sestieri Dipartimento di Meccanica e Aeronautica University La Sapienza, Rome

MATH 128A, SUMMER 2009, FINAL EXAM SOLUTION

Transform Techniques. Moment Generating Function

Hamilton Jacobi equations

Math 36. Rumbos Spring Solutions to Assignment #6. 1. Suppose the growth of a population is governed by the differential equation.

Signal and System (Chapter 3. Continuous-Time Systems)

Comparison between the Discrete and Continuous Time Models

Solutions to Assignment 1

Fractional Method of Characteristics for Fractional Partial Differential Equations

t dt t SCLP Bellman (1953) CLP (Dantzig, Tyndall, Grinold, Perold, Anstreicher 60's-80's) Anderson (1978) SCLP

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Chapter 5 Digital PID control algorithm. Hesheng Wang Department of Automation,SJTU 2016,03

Lecture 13 RC/RL Circuits, Time Dependent Op Amp Circuits

Chapter 2: Principles of steady-state converter analysis

THE MYSTERY OF STOCHASTIC MECHANICS. Edward Nelson Department of Mathematics Princeton University

MTH Feburary 2012 Final term PAPER SOLVED TODAY s Paper

Georey E. Hinton. University oftoronto. Technical Report CRG-TR February 22, Abstract

Linear Control System EE 711. Design. Lecture 8 Dr. Mostafa Abdel-geliel

First Order RC and RL Transient Circuits

Symmetry Reduction for a System of Nonlinear Evolution Equations

ECE 2100 Circuit Analysis

Stochastic Model for Cancer Cell Growth through Single Forward Mutation

Linear Response Theory: The connection between QFT and experiments

( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is

Laplace Transforms. Examples. Is this equation differential? y 2 2y + 1 = 0, y 2 2y + 1 = 0, (y ) 2 2y + 1 = cos x,

ME 391 Mechanical Engineering Analysis

Online Appendix to Solution Methods for Models with Rare Disasters

Math 2214 Solution Test 1A Spring 2016

An Introduction to Malliavin calculus and its applications

TUNING OF NONLINEAR MODEL PREDICTIVE CONTROL FOR QUADRUPLE TANK PROCESS

EXPLICIT TIME INTEGRATORS FOR NONLINEAR DYNAMICS DERIVED FROM THE MIDPOINT RULE

Some Basic Information about M-S-D Systems

EECE251. Circuit Analysis I. Set 4: Capacitors, Inductors, and First-Order Linear Circuits

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

METHOD OF CHARACTERISTICS AND GLUON DISTRIBUTION FUNCTION

where the coordinate X (t) describes the system motion. X has its origin at the system static equilibrium position (SEP).

Transcription:

CHE302 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS Professor Dae Ryook Yang Fall 200 Dep. of Chemical and Biological Engineering Korea Universiy CHE302 Process Dynamics and Conrol Korea Universiy 4-

THE RATIONALE FOR MATHEMATICAL MODELING Where o use To improve undersanding of he process To rain plan operaing personnel To design he conrol sraegy for a new process To selec he conroller seing To design he conrol law To opimize process operaing condiions A Classificaion of Models Theoreical models (based on physicochemical law) Empirical models (based on process daa analysis) Semi-empirical models (combined approach) CHE302 Process Dynamics and Conrol Korea Universiy 4-2

DYNAMIC VERSUS STEADY-STATE MODEL Dynamic model Describes ime behavior of a process Changes in inpu, disurbance, parameers, iniial condiion, ec. Described by a se of differenial equaions : ordinary (ODE), parial (PDE), differenial-algebraic(dae) Iniial Condiion, x(0) Inpu, u() Parameer, p() Dynamic Model (ODE, PDE) Oupu, y() Seady-sae model Seady sae: No furher changes in all variables No dependency in ime: No ransien behavior Can be obained by seing he ime derivaive erm zero CHE302 Process Dynamics and Conrol Korea Universiy 4-3

Conservaion law MODELING PRINCIPLES Wihin a defined sysem boundary (conrol volume) rae of rae of rae of accumulaion = inpu oupu rae of rae of + generaion disappreance Mass balance (overall, componens) Energy balance Momenum or force balance Algebraic equaions: relaionships beween variables and parameers CHE302 Process Dynamics and Conrol Korea Universiy 4-4

MODELING APPROACHES Theoreical Model Follow conservaion laws Based on physicochemical laws Variables and parameers have physical meaning Difficul o develop Can become quie complex Exrapolaion is valid unless he physicochemical laws are invalid Used for opimizaion and rigorous predicion of he process behavior Empirical model Based on he operaion daa Parameers may no have physical meaning Easy o develop Usually quie simple Requires well designed experimenal daa The behavior is correc only around he experimenal condiion Exrapolaion is usually invalid Used for conrol design and simplified predicion model CHE302 Process Dynamics and Conrol Korea Universiy 4-5

DEGREE OF FREEDOM (DOF) ANALYSIS DOF Number of variables ha can be specified independenly N F = N V - N E N F : Degree of freedom (no. of independen variables) N V : Number of variables N E : Number of equaions (no. of dependen variables) Assume no equaion can be obained by a combinaion of oher equaions Soluion depending on DOF If N F = 0, he sysem is exacly deermined. Unique soluion exiss. If N F > 0, he sysem is underdeermined. Infiniely many soluions exis. If N F < 0, he sysem is overdeermined. No soluions exis. CHE302 Process Dynamics and Conrol Korea Universiy 4-6

LINEAR VERSUS NONLINEAR MODELS Superposiion principle α, β R, and for a linear operaor, L Then L( αx () + βx ()) = αlx ( ()) + βlx ( ()) Linear dynamic model: superposiion principle holds Easy o solve and analyical soluion exiss. Usually, locally valid around he operaing condiion Nonlinear: No linear 2 2 α, β R, u () y () and u () y () 2 2 αu () + βu () αy () + βy () 2 2 α, β R, x(0) y () and x (0) y () 2 2 αx (0) + βx (0) αy () + βy () 2 2 Usually, hard o solve and analyical soluion does no exis. CHE302 Process Dynamics and Conrol Korea Universiy 4-7

ILLUSTRATION OF SUPERPOSITION PRINCIPLE u () u 2 ().5 2.5 u() + y () y 2 () y() Valid only for linear process For example, if y()=u() 2, (u ()+.5u 2 ()) 2 is no same as u () 2 +.5u 2 () 2. CHE302 Process Dynamics and Conrol Korea Universiy 4-8

TYPICAL LINEAR DYNAMIC MODEL Linear ODE dy() τ d Nonlinear ODE = y () + Ku() ( τ and K are conan, s order) n n d y () d y () + a n n + + n 0 d d ay () m m d u () d u () = bm + bm bu 0 () (nh order) m + + m d d dy() τ = y + d 2 () Ku() dy() τ y () = y ()sin( y) + Ku() d dy() dy() y () τ = y () + K u () τ = Ku() d d e + CHE302 Process Dynamics and Conrol Korea Universiy 4-9

MODELS OF REPRESENTATIVE PROCESSES Liquid sorage sysems Sysem boundary: sorage ank Mass in: q i (vol. flow, indep. var) Mass ou: q (vol, flow, dep. var) No generaion or disappearance (no reacion or leakage) No energy balance DOF=2 (h, q i ) - = If f h = h R, he ODE is linear. ( ) / V (R V is he resisance o flow) If f( h) = CV ρgh/ gc, he ODE is nonlinear. (C V is he valve consan) dh A qi q qi f( h) d = = Mass ou rae Oule flow is a Mass in rae Accumulaion rae in ank funcion of head CHE302 Process Dynamics and Conrol Korea Universiy 4-0 q i V h Area = A Conrol volume q

Coninuous Sirred Tank Reacor (CSTR) Liquid level is consan (No acc. in ank) Consan densiy, perfec mixing Reacion: A B (r = k 0 exp(-e/rt)c A ) Sysem boundary: CSTR ank Componen mass balance dca V = qc ( c ) Vkc d Energy balance DOF analysis No. of variables: 6 (q, c A, c Ai, T i, T, T c ) No. of equaion:2 (wo dependen vars.: c A, T) DOF=6 2 = 4 Ai A A c Ai, q i, T i Independen variables: 4 (q, c Ai, T i, T c ) Parameers: kineic parameers, V, U, A, oher physical properies Disurbances: any of q, c Ai, T i, T c, which are no manipulaable CHE302 Process Dynamics and Conrol Korea Universiy 4- V, T h Cooling medium, T c dt VρCp = qρcp( Ti T) + ( HVkc ) A + UA( Tc T) d c A, q, T

STANDARD FORM OF MODELS From he previous example dca q = ( c Ai c A) kc A = f ( c A, Tqc,, Ai) d V dt q q UA = ( T T) + ( Hkc ) + ( T T) = f ( c, TqT,,, T) d V C C Sae-space model i A c 2 A c i ρ p ρ p x = dx/ d = fxud (,, ) where x = [ x,, x ], u= [ u,, u ], d= [ d,, d ] x: saes, [c A T] T u: inpus, [q T c ] T d: disurbances, [c Ai T i ] T T T T n m l y: oupus can be a funcion of above, y=g(x,d,u), [c A T] T If higher order derivaives exis, conver hem o s order. CHE302 Process Dynamics and Conrol Korea Universiy 4-2

CONVERT TO ST -ORDER ODE Higher order ODE n n d x () d x () + an 0 () 0 () n + + ax = bu n d d Define new saes ( n ) x = x, x = x, x = x,, x = x 2 3 A se of s -order ODE s x = x x 2 = x 2 3 x = a x a x ax + bu n n n n 2 n 0 0 n CHE302 Process Dynamics and Conrol Korea Universiy 4-3

SOLUTION OF MODELS ODE (sae-space model) Linear case: find he analyical soluion via Laplace ransform, or oher mehods. Nonlinear case: analyical soluion usually does no exis. Use a numerical inegraion, such as RK mehod, by defining iniial condiion, ime behavior of inpu/disurbance Linearize around he operaing condiion and find he analyical soluion PDE Conver o ODE by discreizaion of spaial variables using finie difference approximaion and ec. TL TL dt ( ) L ( j) v v = v + Tw T = T L L( j ) + TL( j) + Tw z τ d z HL z τhl τhl TL TL( j) TL( j ) ( j =, N) z z CHE302 Process Dynamics and Conrol Korea Universiy 4-4

LINEARIZATION Equilibrium (Seady sae) Se he derivaives as zero: 0= fxud (,, ) Overbar denoes he seady-sae value and ( xud,, ) is he equilibrium poin. (could be muliple) Solve hem analyically or numerically using Newon mehod Linearizaion around equilibrium poin Taylor series expansion o s order 0 f f f( xu, ) = fxu (, ) + ( x x) + ( u u) + x ( xu, ) u ( xu, ) Ignore higher order erms Define deviaion variables: x = x x, u = u u f f x = x + u = Ax + Bu x u ( xu, ) ( xu, ) Jacobian f f x x n f = x fn fn x xn CHE302 Process Dynamics and Conrol Korea Universiy 4-5