Solution to Homework 2 Chapter 2

Slides:



Advertisements
Similar presentations
Roundoff and truncation errors
Advertisements

Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
Development of Empirical Models From Process Data
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
President UniversityErwin SitompulSMI 9/1 Dr.-Ing. Erwin Sitompul President University Lecture 9 System Modeling and Identification
President UniversityErwin SitompulSMI 2/1 Dr.-Ing. Erwin Sitompul President University Lecture 2 System Modeling and Identification
CHAPTER IV INPUT-OUTPUT MODELS AND TRANSFER FUNCTIONS
Component Reliability Analysis
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Scientific Computing Partial Differential Equations Introduction and
Transfer Functions Chapter 4
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
Chapter 2 Mathematical Modeling of Chemical Processes Mathematical Model (Eykhoff, 1974) “a representation of the essential aspects of an existing system.
Dynamic Response Characteristics of More Complicated Systems
Engineering Analysis – Computational Fluid Dynamics –
Finite Deference Method
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
Lecture 11: Linearization
President UniversityErwin SitompulSMI 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 System Modeling and Identification
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 :
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
TRANSFER FUNCTION Prepared by Mrs. AZDUWIN KHASRI.
President UniversityErwin SitompulSMI 1/1 Dr.-Ing. Erwin Sitompul President University Lecture 1 System Modeling and Identification
State Equations BIOE Processes A process transforms input to output States are variables internal to the process that determine how this transformation.
Lecture 2: Mathematical Modeling Copyright © Thomas Marlin 2013 The copyright holder provides a royalty-free license for use of this material at non-profit.
Nonlinear balanced model residualization via neural networks Juergen Hahn.
KKEK 3152 MODELLING of CHEMICAL PROCESSES. Lumped vs Distributed parameter model.
President UniversityErwin SitompulSMI 6/1 Lecture 6 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Solution to Homework 1 qi h1 h2 q1 qo a1 a2 v1 v2
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
Automatic Control Theory
Chapter 1: Overview of Control
Modeling and Simulation Dr. Mohammad Kilani
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Laplace Transforms Chapter 3 Standard notation in dynamics and control
Transfer Functions Chapter 4
CHAPTER V CONTROL SYSTEMS
Boyce/DiPrima 9th ed, Ch 10.8 Appendix A: Derivation of the Heat Conduction Equation Elementary Differential Equations and Boundary Value Problems, 9th.
Ch 10.1: Two-Point Boundary Value Problems
CHAPTER IV INPUT-OUTPUT MODELS AND TRANSFER FUNCTIONS
Chapter 10 Optimal Control Homework 10 Consider again the control system as given before, described by Assuming the linear control law Determine the constants.
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
Homework 5 A linear time-invariant system is given as below:
Chapter 3 Component Reliability Analysis of Structures.
Time Delays Chapter 6 Time delays occur due to: Fluid flow in a pipe
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Topic 3 Discretization of PDE
Homework 5 A linear time-invariant system is given as below:
Digital Control Systems Waseem Gulsher
State Space Method.
Textbook and Syllabus Textbook: Syllabus:
Homework 9 Refer to the last example.
Homework 1: Electrical System
Topic 3 Discretization of PDE
Equivalent State Equations
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
Linearization of Nonlinear Models
Modeling Approaches Chapter 2 Physical/chemical (fundamental, global)
Interacting vs. Noninteracting Systems
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
Exercise 2-1 For the level controlled process, h2 is selected as its controlled variable, and Qin is the main input of the process. Suppose the sectional.
Chapter 3 Modeling in the Time Domain
Errors and Error Analysis Lecture 2
Topic 3 Discretization of PDE
Presentation transcript:

Solution to Homework 2 Chapter 2 Examples of Dynamic Mathematical Models Solution to Homework 2

Chapter 2 General Process Models State Equations A suitable model for a large class of continuous theoretical processes is a set of ordinary differential equations of the form: t : Time variable x1,...,xn : State variables u1,...,um : Manipulated variables r1,...,rs : Disturbance, nonmanipulable variables f1,...,fn : Functions

Chapter 2 General Process Models Output Equations A model of process measurement can be written as a set of algebraic equations: t : Time variable x1,...,xn : State variables u1,...,um : Manipulated variables rm1,...,rmt : Disturbance, nonmanipulable variables at output y1,...,yr : Measurable output variables g1,...,gr : Functions

State Equations in Vector Form Chapter 2 General Process Models State Equations in Vector Form If the vectors of state variables x, manipulated variables u, disturbance variables r, and vectors of functions f are defined as: Then the set of state equations can be written compactly as:

Output Equations in Vector Form Chapter 2 General Process Models Output Equations in Vector Form If the vectors of output variables y, disturbance variables rm, and vectors of functions g are defined as: Then the set of algebraic output equations can be written compactly as:

Heat Exchanger in State Space Form Chapter 2 General Process Models Heat Exchanger in State Space Form Tl q V ρ T cp T q Tj If , then State Space Equations

Double-Pipe Heat Exchanger in State Space Form Chapter 2 General Process Models Double-Pipe Heat Exchanger in State Space Form Processes with distributed parameters are usually approximated by a series of well-mixed lumped parameter processes. This is also the case for the heat exchanger, as shown in the next figure, which is divided into n well-mixed heat exchangers. The space variable is divided into n equal lengths within the interval [0, L]. After rearrangement, the mathematical model of the heat exchanger is of the form: After rearrangement, the mathematical model of the heat exchanger is of the form: where and

Double-Pipe Heat Exchanger in State Space Form Chapter 2 General Process Models Double-Pipe Heat Exchanger in State Space Form We introduce the state parameters

Chapter 2 General Process Models Difference Quotient The derivation with respect to space, δT/δτ, will now be approximated by using a difference quotient. The difference quotient itself is the equation that can be used to approximately calculate the slope of a function at a certain point. There are three formations of difference quotient: Forward Difference Backward Difference Central Difference

Double-Pipe Heat Exchanger in State Space Form Chapter 2 General Process Models Double-Pipe Heat Exchanger in State Space Form Replacing δT/δτ with its corresponding difference will result a model that consists of a set of ordinary differential equations only. The equation set can then be re-written in state space form. State Space Equations

Taylor series expansion Chapter 2 Linearization Linearization Linearization is a procedure to replace a nonlinear original model with its linear approximation. Linearization is done around a constant operating point. It is assumed that the process variables change only very little and their deviations from steady state remain small. Operating point Linearization Taylor series expansion Nonlinear Model Linear Model

Chapter 2 Linearization Linearization The approximation model will be in the form of state space equations An operating point x0(t) is chosen, and the input u0(t) is required to maintain this operating point. In steady state, there will be no state change at the operating point, or x0(t) = 0

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series Scalar Case A point near x0 Only the linear terms are used for the linearization

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series Vector Case where

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series n : Number of states m : Number of inputs

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series Performing the same procedure for the output equations,

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series r : Number of outputs

Taylor Expansion Series Chapter 2 Linearization Taylor Expansion Series Nonlinear Model Linear Model

Single Tank System qi The model of the system is already derived as: V Chapter 2 Linearization Single Tank System qi The model of the system is already derived as: V h qo v1 The relationship between h and h in the above equation is nonlinear. An operating point for the linearization is chosen, (h0,qi,0).

Chapter 2 Linearization Single Tank System The linearization around (h0,qi,0) for the state equation can be calculated as:

Single Tank System The linearization for the ouput equation is: Chapter 2 Linearization Single Tank System The linearization for the ouput equation is: Note that the input of the linearized model is now Δqi. To obtain the actual value of state and output, the following equation must be enacted:

Chapter 2 Linearization Single Tank System The Matlab-Simulink model of the linearized system is shown below. All parameters take the previous values.

Single Tank System The simulation results : Original model Chapter 2 Linearization Single Tank System The simulation results : Original model : Linearized model

Chapter 2 Linearization Single Tank System If the input qi deviates from the operating point, the linearized model will deliver inaccurate output. : Original model : Linearized model

Chapter 2 Linearization Single Tank System If the input qi deviates from the operating point, the linearized model will deliver inaccurate output. : Original model : Linearized model

Chapter 2 Linearization Homework 3 Linearize the the interacting tank-in-series system for the operating point resulted by the parameter values as given in Homework 2. For qi, use the last two digits of your Student ID. For example: 08  qi= 8 liters/s. Submit the complete calculation of the linearization. Submit also the mdl-file and the screenshots of the Matlab-Simulink file + scope. qi h1 h2 q1 a1 a2 v1 v2

Homework 3A qi2 qi1 hmax h a qo v Chapter 2 Linearization Homework 3A Linearize the the triangular-prism-shaped tank as given in Homework 2A. For the operating point, use qi1 = 5 liter/s and qi2 equals the last two digits of your Student ID divided by 10. For example: 03  qi2= 0.3 liter/s, 17  qi2= 1.7 liter/s. Submit the complete calculation of the linearization. Submit also the mdl-file (softcopy) and the screenshots of the Matlab-Simulink file + scope (hardcopy). v qi1 qo a qi2 hmax h