Protein Digestion: A Dynamic Model Student Name 1 & Student Name 2 Process Control: Design Challenge I.

Slides:



Advertisements
Similar presentations
Dynamic Behavior of Closed-Loop Control Systems
Advertisements

Continuous Stirred Tank Reactor
Lecture 3: Common Simple Dynamic Systems
H(s) x(t)y(t) 8.b Laplace Transform: Y(s)=X(s) H(s) The Laplace transform can be used in the solution of ordinary linear differential equations. Let’s.
Chapter 4 Modelling and Analysis for Process Control
ERT 210 Process Control & dynamics
The Effect of Caffeine on Neurological Dopamine Production Process Dynamics & Control October 13 th, 2004 Student Name 1 Student Name 2.
Solving Linear Equations Rule 7 ‑ 1: We can perform any mathematical operation on one side of an equation, provided we perform the same operation on the.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Process Dynamics Lecture 1 ChE 479 Fall 2000 Pr. Alexander Couzis.
Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous for.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Meiling chensignals & systems1 Lecture #2 Introduction to Systems.
Chapter 3 1 Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous.
CHAPTER IV INPUT-OUTPUT MODELS AND TRANSFER FUNCTIONS
CHAPTER III LAPLACE TRANSFORM
Transfer Functions Chapter 4
SE 207: Modeling and Simulation Introduction to Laplace Transform
Selected Differential System Examples from Lectures
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: First-Order Second-Order N th -Order Computation of the Output Signal Transfer.
Chapter 3 mathematical Modeling of Dynamic Systems
3-2 Solving Equations by Using Addition and Subtraction Objective: Students will be able to solve equations by using addition and subtraction.
Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous for.
(e.g., deviation variables!)
Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous for.
Prepared by Mrs. Azduwin Binti Khasri
Approximate Analytical Solutions to the Groundwater Flow Problem CWR 6536 Stochastic Subsurface Hydrology.
Part II Process Dynamics.  Process model types 1.Mathematical model 2.Fundamental and empirical model 3.Steady-state and dynamic model 4.Lumped (ODE)
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
Lecturer CS&E Department,
Lecture 4: Electrical Circuits
Modeling Chemical Systems BIOE Chemical Systems Every physiologic systems depends on multiple chemical reactions Examples include hormone-receptor.
MESB374 Chapter8 System Modeling and Analysis Time domain Analysis Transfer Function Analysis.
Elimination Method: Solve the linear system. -8x + 3y=12 8x - 9y=12.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
TRANSFER FUNCTION Prepared by Mrs. AZDUWIN KHASRI.
The Laplace Transform.
Nonlinear balanced model residualization via neural networks Juergen Hahn.
DYNAMIC BEHAVIOR OF PROCESSES :
University of Warwick: AMR Summer School 4 th -6 th July, 2016 Structural Identifiability Analysis Dr Mike Chappell, School of Engineering, University.
1 Lesson 2 Classification of the System response Linear system.
Substitution Method: Solve the linear system. Y = 3x + 2 Equation 1 x + 2y=11 Equation 2.
H(s) 8.b Laplace Transform:
CHAPTER III LAPLACE TRANSFORM
Chapter 6 Laplace Transform
Simulating the Production of Ethanol
CHAPTER IV INPUT-OUTPUT MODELS AND TRANSFER FUNCTIONS
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
Time Delays Chapter 6 Time delays occur due to: Fluid flow in a pipe
BDU20303 Electromechanical & Control System Sem I 11/12 Chapter 3: Time Response Analysis (First Order System)
Signals and Systems Using MATLAB Luis F. Chaparro
Modeling in the Time Domain
G1 and G2 are transfer functions and independent of the
Important Properties of Laplace Transforms
State Space Method.
Example 1: Find the magnitude and phase angle of
Review Differential Rate Laws ... rate (M s-1) = k [A]a [B]b
Unit-Impulse Response
Solve the linear system.
Review Differential Rate Laws ... rate (M s-1) = k [A]a [B]b
Chapter 2. Mathematical Foundation
Review Differential Rate Laws ... rate (M s-1) = k [A]a [B]b
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
13. Reactor Engineering: Reactor Design
G1 and G2 are transfer functions and independent of the
Exercise 1 For the unit step response shown in the following figure, find the transfer function of the system. Also find rise time and settling time. Solution.
Presentation transcript:

Protein Digestion: A Dynamic Model Student Name 1 & Student Name 2 Process Control: Design Challenge I

Our System F 3, X a, X b, X c F 1, X ai F 2, X bi The Stomach V Assumptions: Well mixed Constant: V, X bi, density, flow rates Reaction: ODEs

Steady State Solution Original Conditions INPUT: Clear [xa,xb,xc]; eqns = {F1*Xai-V*k*xa*xb-F3*xa == 0, F2*Xbi-V*k*xa*xb-F3*xb == 0, V*k*xb*xa-F3*xc == 0, F1 == 15, F2 == 7, F3 == F1+F2, k == 5, Xai == 150, Xbi == 1000, V == 1000}; NSolve[eqns, {xa,xb,xc}] OUTPUT: {{xc® ,xa® ,xb® },{xc® ,xa® ,xb® }} Exit concentrations:Protein: mg/ml Enzyme: mg/ml Tryptophan: mg/ml Decrease Initial Enzyme Concentration INPUT: Clear [xa,xb,xc]; eqns = {F1*Xai-V*k*xa*xb-F3*xa == 0, F2*Xbi-V*k*xa*xb-F3*xb == 0, V*k*xb*xa-F3*xc == 0,F1 == 15, F2 == 7, F3 == F1+F2, k == 5, Xai == 150, Xbi == 500, V == 1000}; NSolve[eqns, {xa,xb,xc}] OUTPUTl: {{xc® ,xa® ,xb® },{xc® ,xa® ,xb® }} Exit concentrations:Protein: mg/ml Enzyme: 56.8 mg/ml Tryptophan: mg/ml K5 ml·min/mg F115 ml/min F27 ml/min V1000 ml Xai150 mg/ml Xbi1000 mg/ml Given Values

Steady State Solution Increase Inlet Flow Rate INPUT Clear [xa,xb,xc]; eqns = {F1*Xai-V*k*xa*xb-F3*xa == 0, F2*Xbi-V*k*xa*xb-F3*xb == 0, V*k*xb*xa-F3*xc == 0, F1 == 30, F2 == 7, F3 == F1+F2, k == 5, Xai == 150, Xbi == 1000, V == 1000}; NSolve[eqns, {xa,xb,xc}] OUTPUT {{xc® ,xa® ,xb® },{xc®189.21,xa® ,xb® }} Exit concentrations:Protein: mg/ml Enzyme: 67.6 mg/ml Tryptophan: mg/ml INPUT: Clear [xa,xb,xc]; eqns = {F1*Xai-V*k*xa*xb-F3*xa == 0, F2*Xbi-V*k*xa*xb-F3*xb == 0, V*k*xb*xa-F3*xc == 0,F1 == 15, F2 == 7, F3 == F1+F2, k == 5, Xai == 150, Xbi == 1000, V == 1000}; NSolve[eqns, {xa,xb,xc}] OUTPUT: {{xc® ,xa® ,xb® },{xc® ,xa® ,xb® }} Exit concentrations:Protein: mg/ml Enzyme: mg/ml Tryptophan: mg/ml Original Conditions

Mathematical Solution ODEs Laplace Procedure 1.Linearize ODE 2.Subtract original steady state 3.Find τ’s and k’s 4.Laplace 5.Rearrange to find transfer functions 6.Substitute to get one equation 7.Inverse Laplace with Maple®

Mathematical Solution Laplace Transform: Where

Mathematical Solution Cont. Inverse Laplace via Maple® Step Response Impulse Response Fuzzy Math

Step Response Matlab® Input function hdot=stomachstep(t,h) hdot=zeros(3,1); F1=15; F2=7; F3=22; V=1000; k=5; Xbi=1000; if t<100 Xai=100; else Xai=150; end; hdot(1)=(F1*Xai-V*k*h(1)*h(2)-F3*h(1))/V; hdot(2)=(F2*Xbi-V*k*h(1)*h(2)-F3*h(2))/V; hdot(3)=(k*V*h(1)*h(2)-F3*h(3))/V; t0=0; tf=400; h0=[ ]; tf],h0); plot(t,h(:,2),t,h(:,3))

Step Response Matlab® Output

Step Response Simulink® Diagram

Step Response Simulink® Output for Enzyme

Step Response Simulink® Output for Tryptophan

Impulse Response function hdot=stomachimpulse(t,h) hdot=zeros(3,1); F1=15; F2=7; F3=22; V=1000; k=5; Xbi=1000; if t 105 Xai=200; else Xai=500; end; hdot(1)=(F1*Xai-V*k*h(1)*h(2)-F3*h(1))/V; hdot(2)=(F2*Xbi-V*k*h(1)*h(2)-F3*h(2))/V; hdot(3)=(k*V*h(1)*h(2)-F3*h(3))/V; t0=0; tf=400; h0=[ ]; tf],h0); plot(t,h(:,2),t,h(:,3)) Matlab® Input

Impulse Response Matlab® Output

Impulse Response Simulink® Diagram

Impulse Response Simulink® Output for Enzyme

Impulse Response Simulink® Output for Tryptophan

Final Thoughts Linear approximation is valid Step response is as expected Impulse response as expected Matlab® & Simulink® agree Model will provide basis for more complex systems Conclusions Vary k values Explore larger/smaller step and impulse values Make model more realistic Model multiple food components Recommendations

References Biglione, N., Yousef, M., & Rodgers, V.G.J., (2004). Process Dynamics & Control in Design 52:185: Lab # 1: Programming and Simulation using Matlab® and Simulink®. Seborg, D.E., Edgar, T.F., & Millichamp, D.A. (2004). Process Dynamics and Control (2nd ed.). Hoboken, NJ: John Wiley & Sons. Vander, A., Sherman, J., Luciano, D. (2001). Human Physiology: The Mechanisms of Body Function (8th ed.). Boston: McGraw Hill.