Chapter 3
Chapter 3
BY : Naol Bekele
Naol Bekele
CHAPTER THREE (PART THREE )
❑ In this part there will be sevens lessons:
➢Lesson six: computer simulation and linearization of non linear system
• In Part Ill we study the dynamic and static behavior of several, simple processing systems
• Understanding the dynamics of such simple systems allows us to analyze the behavior of
more complex systems such as the chemical processes
Naol Bekele
Cont…
• The analysis is limited to linear dynamic systems
• This may seem incompatible with the fact that most of the chemical engineering processes
are modeled by nonlinear equations
• However, linear techniques are very valuable and of great practical importance for the
following reason:
(1) There is no general theory for the analytic solution of nonlinear differential equations,
and consequently no comprehensive analysis of nonlinear dynamic systems
Naol Bekele
Cont…
(2) A nonlinear system can be adequately approximated by a linear system near some
operating conditions
(3) Significant advances in the linear control theory permit the synthesis and design of very
effective controllers even for nonlinear processes
➢ the concept of linearization and the procedure for approximating nonlinear systems with
linear ones which will be studied in lesson 6.
➢The Laplace transforms, which we will discuss in lesson 7, offer a very simple and elegant
procedure for the solution of linear differential equations (lesson 8) and consequently for
the analysis of the behavior of linear systems.
Naol Bekele
Cont…
➢In the remaining chapters of Part Ill we will discuss
• The development of simple input-output models for chemical processes, using the Laplace
transforms (lesson 9)
• The dynamic analysis of various typical processes (lesson 10 through 12)
Naol Bekele
LESSON SIX : computer simulation and linearization of non linear
Outlines
system
➢In order to find the dynamic behavior of a chemical process, we have to integrate the
state equations used to model the process
➢But most of the processing systems that we will be interested in are modeled by nonlinear
differential equations,
➢and it is well known that there is no general mathematical theory for the analytical
solution of nonlinear equations
➢ Only for linear differential equations are closed-form, analytic solutions available
Naol Bekele
Cont…
➢ When confronted with the dynamic analysis of nonlinear systems, there are several things
▪ Alternative 2 can be used in very few cases, whereas alternatives I and 3 are, in principle, always feasible
Naol Bekele
Cont …
➢Numerical solutions are also preferred for the equations which can be solved analytically,
when the analytic solutions are very complex and provide little insight in the behavior of
the system
Naol Bekele
Cont…..
2) the need of one hardware element per mathematical operation prohibits the simulation of large, complex
systems
3) the nonlinear terms are simulated by rather expensive hardware elements (function generators) with
limited flexibility
Naol Bekele
Cont…
➢ Linearization is the process by which we approximate nonlinear systems with linear ones
➢ It is widely used in the study of process dynamics and design of control systems for the
following reasons:
1. We can have closed-form, analytic solutions for linear systems. Thus we can have a
complete and general picture of a process's behavior independently of the particular values
of the parameters and input variables
This is not possible for nonlinear systems, and computer simulation provides us only
with the behavior of the system at specified values of inputs and parameters
Naol Bekele
11
Cont…
2. All the significant developments toward the design of effective control systems have
➢ First, we will study the linearization of a nonlinear equation with one variable and then
we will extend it to multivariable systems
Naol Bekele
12
Cont…
➢ Expand the nonlinear function f(x) into a Taylor series around the point Xo and take
➢ If we neglect all terms of order two and higher, we take the following approximation for
the value of f(x):
Naol Bekele
13
➢ It is well known that the error introduced in the approximation (6.3) is of the same order
of magnitude as the term
X is very close to Xo, where the value of the term I is very small
➢ In eq. (6.1), replace f(x) by its linear approximation given by eq. (6.3) and take
Naol Bekele
14
.
➢This equation is the linearized approximation of the initial dynamic system given by
eq. (6.1).
Example
Consider the tank system shown in Figure 6.2a. The total mass balance yields
Naol Bekele
Cont..
➢where A is the cross-sectional area of the tank and h the height of the liquid level. If
the outlet flow rate F is a linear function of the liquid's level,
Naol Bekele
Cont..
➢which is a linear differential equation (modeling a linear dynamic sys tem) and no
approximation is needed
Naol Bekele
cont..
Naol Bekele
18
Outlines
which, if introduced in the nonlinear dynamic system (6.7), yields the following linearized
approximate model
➢Let us now introduce the concept of the deviation variable, which we will find very helpful in later
chapters for the control of processing systems
➢Suppose that x s is the steady-state value of x describing the initial dynamic system (6.1). Then
Naol Bekele
cont..
➢ Consider Xs the point of linearization for eq. (6.1) (i.e., Xo = Xs). Then eq. (6.1) yields the
following linearized model:
Naol Bekele
20
cont..
➢ Equation (6.12) is the linearized approximation of the nonlinear dynamic system (6.1),
expressed in terms of the deviation variable x‘
➢ The notion of the deviation variable is very useful in process control. Usually we will be
concerned with maintaining the value of a process variable (temperature, concentration,
pressure, flow rate, volume, etc.) at some desired steady state
➢ Expand the nonlinear functions f1(X1, x2) and f2(X1, x2) into Taylor series around the
point (x1,0, X2,o) and take
Naol Bekele
22
cont..
And
➢
➢ Neglect terms of order two and higher and take the following approximations
Naol Bekele
23
cont..
➢ Substitute the foregoing linear approximations of f,(x1, X2) and f2(X1, x2) into eqs. (6.16)
and (6.17) of the initial nonlinear dynamic system and take
➢ These last two equations are linear differential equations and constitute the linearized,
approximate model of the initial nonlinear system described by eqs. (6.16) and (6.17).
Naol Bekele
24
cont..
➢ Let us now express the linearized system in terms of deviation variables. Select the steady state (x 1,s, x2,s)
as the point around which
➢ you will make the linearization [i.e., in eqs. (6.18) and (6.19) put x1,o = x1,s and X2,o = x2,s], At the steady
state, eqs. (6.16) and (6.17) yield
➢ Subtract eq. (6.20) from (6.18) and (6.21) from (6.19) and take
Naol Bekele
25
cont..
eqs. (6.22) and (6.23) take the following form in terms of deviation variables
Naol Bekele
26
Example : Linearization of a No isothermal CSTR
➢ The modeling equations for a CSTR were given in Example 4.10 by eqs. (4.8a), (4.9a), and (4.10b). Assume
that the volume V of the reacting
➢ mixture remains constant. Then the dynamic model of the reactor is reduced to the following
Naol Bekele
27
cont..
.
➢ where, 1/Ʈ = Fi/ V. This model is nonlinear due to the presence of the nonlinear term
➢ e-E/RT cA, while all the other terms are linear. Thus to linearize eqs. (6.28) and (6.29), we
need only to linearize the nonlinear term around some point (cA,o, To).
Naol Bekele
28
cont..
➢ Substituting the approximation above into eqs. (6.28) and (6.29), we take the following
linearized model for a nonisothermal CSTR
➢ We can proceed a step further to develop a more convenient form for eqs. (6.30) and (6.31) using the
deviation variables. Assume that T0 and cA,o are the steady-state conditions for the CSTR
Naol Bekele
29
cont..
.
Naol Bekele
30
cont..
➢ Define devotion variables
Naol Bekele
31
LESSON SEVEN: LAPLACE TRANSFORMS
➢ The use of Laplace transforms offers a very simple and elegant method of solving linear
or linearized differential equations which result from the mathematical modeling of
chemical processes
✓ Simple development of input-output models which are very useful for control purposes
(see lesson 9)
Naol Bekele
32
cont..
The bar on top of f(S) variable will signify the Laplace transform of that variable
Remarks
1.A more rigorous definition of the Laplace transform is given by eq. (7.la):
Naol Bekele
33
cont..
➢ If the function/(t) is piecewise continuous and defined for every value of time from t = 0
to t = the rigorous definition (7.la) reduces to that of(7.l).
2. From the definition (7.1) or (7.la) we notice that Laplace transformation is
transformation of a function from the time domain (where time is the independent
variable) to the s-domain (with s the independent variable). s is a variable defined in the
complex plane (i.e., s = a + jb).
3. From the definition (7.1) or (7.la), we notice that the Laplace transform of the function
f(t) exists if the integral takes a finite value (i.e., remains bounded)
Naol Bekele
34
cont..
➢ Now, if a - s > 0 or s < a, then the integral in (7.2) becomes unbounded. Consequently, the
Laplace transform of 𝑒 𝑎𝑡 is defined only for s > a, which yields finite values for the integral
in (7.2).
Naol Bekele
35
cont..
Naol Bekele
36
cont..
Then
Proof:
Ramp function
then,
Naol Bekele
37
cont..
➢ Proof:
Trigonometric functions
Proof
Naol Bekele
38
cont..
Step function
➢ Proof
Naol Bekele
40
cont..
Translated functions
➢ Consider the function f(t) shown in Figure 7.2a. If this function is delayed by to seconds,
we take the function shown in Figure 7.2b, and if it is advanced by to seconds, then we
have the curve of Figure 7.2c. The relationship among the three curves is
Naol Bekele
41
cont…
Naol Bekele
42
cont…
➢ Consider the function in Figure 7.3a. The height is 1/A and the width A. Thus the area
under the curve is
➢ It can also be described as the difference of two step functions of equal size 1/A . The
first step function occurs at time t = 0 while the second is delayed by A units of time.
Thus if
Naol Bekele
43
cont…
Naol Bekele
44
cont…
Naol Bekele
45
cont…
Naol Bekele
46
cont…
Naol Bekele
47
cont…
Naol Bekele
48
Naol Bekele