What is the Linearization Process for Water Tank Systems?

Click For Summary

Discussion Overview

The discussion centers on the linearization process for a mathematical model of water tank systems, specifically focusing on the relationship between inflow and outflow rates and their effects on water height. Participants explore the implications of linearization in the context of differential equations, addressing both theoretical and practical aspects of the model.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the differential equation governing the water tank system and attempts to linearize it, expressing confusion about the relationship between the derivatives and the linearized terms.
  • Another participant argues that the original equation is already linear and questions the necessity of linearization, suggesting that the linearized form should be equivalent to the original.
  • A different participant elaborates on the non-linear nature of the outflow equation based on Bernoulli's principle and discusses how to derive the linearized equation through Taylor series expansion.
  • Another contribution emphasizes the importance of assuming small deviations from equilibrium in the linearization process and provides a detailed explanation of how to apply Taylor series to the outflow term.
  • One participant acknowledges the necessity of equilibrium conditions for the linearization to hold and clarifies how this leads to the equivalence of the linearized equation and the original differential equation.
  • A later reply outlines a two-dimensional Taylor expansion approach to further refine the linearization process, discussing how equilibrium conditions simplify the resulting expressions.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and correctness of the linearization process. Some believe the original equation is already linear, while others argue for the need to linearize due to the non-linear nature of the outflow term. The discussion remains unresolved regarding the best approach to linearization.

Contextual Notes

Participants note that the linearization process depends on the assumption of small deviations from an equilibrium state, which may not hold in all scenarios. The discussion also highlights the complexity of the relationship between inflow and outflow rates, particularly in non-linear contexts.

Who May Find This Useful

This discussion may be useful for students and professionals interested in fluid dynamics, control systems, and mathematical modeling, particularly those dealing with differential equations in engineering contexts.

Mårten
Messages
126
Reaction score
1
If you have a water tank with an inflow u, and an outflow v, you have that

[tex] \frac{dV}{dt} = A \frac{dh}{dt} = u - v.[/tex]

You can now linearize this expression so that you get

[tex] A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0),[/tex]

where [tex]\Delta h = h-h_0.[/tex]

I think I know the Taylor mechanism behind this pretty well, but what I can't figure out is how d/dt(h-h0) becomes (u-u0) - (v-v0) (for simplicity, I assume A=1 here). I mean, h0 is a constant, so the derivative of (h-h0) should therefore be the same as the derivative of h, i.e., equal to u-v. What am I doing wrong here - could someone explain?
 
Physics news on Phys.org
I don't understand what you want to do. As you say, the equation you get after "linearization" is very different from the original equation, so there must be a mistake in this linearization process that you're doing. I would say that the original equation is already linear, so the linearized equation is just the same:

[tex]A \frac{d}{dt} (\Delta h) = u-v.[/tex]

But perhaps you're thinking about a different kind of linearization.
 
I'll try to give some more details. The reason you want to do a linearization here, is because the equation is non-linear from the beginning, with, according to Bernoulli, the outflow [itex]v=a \sqrt{2gh}=4.43a \sqrt{h}[/itex], with a = the area of the outflow hole. So the equation then really is

[tex] \frac{dV}{dt} = A \frac{dh}{dt} = u - 4.43a \sqrt{h}.[/tex]

The question is how you come from here to the following equation below

[tex] A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0),[/tex]

when at the same time you know that [itex]A \frac{d}{dt}(h-h0) = A \frac {dh}{dt}[/itex].
 
Last edited:
I still don't quite understand what you're doing. So instead of answering directly, let me try to explain how I would linearize that equation and perhaps you find the answer to your question in my explanation.

In general, linearization means that you assume that something is so small that you can neglect its square. In this case, you assume that h is close to h0, so that [itex]\Delta h = h-h_0[/itex] is small.

Now, let's look at your differential equation
[tex]A \frac{dh}{dt} = u - 4.43a \sqrt{h}.[/tex]
On the left-hand side, you get
[tex]A \frac{dh}{dt} = A \frac{d}{dt} (h_0 + \Delta h) = A \frac{d}{dt} (\Delta h)[/tex]
because [itex]h_0[/itex] is a constant. That's also what you got. Now for the right-hand side:
[tex]u - 4.43a \sqrt{h} = u - 4.43a \sqrt{h_0 + \Delta h}.[/tex]
To get any further, you have to develop this in a Taylor series around [itex]h=h_0[/itex]:
[tex]u - 4.43a \sqrt{h} = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} (h-h_0) + \frac{4.43a}{8h_0\sqrt{h_0}} (h-h_0)^2 - \frac{4.43a}{16h_0^2\sqrt{h_0}} (h-h_0)^3 + \cdots[/tex]
Then you neglect the terms with [itex](h-h_0)^2[/itex] and [itex](h-h_0)^3[/itex] and higher powers. Of course, in practise you wouldn't even compute these terms. So altogether you get
[tex]A \frac{d}{dt} (\Delta h) = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} \Delta h.[/tex]
That is what I would call the linearization of the differential equation.

Now back to your equation. The term
[tex]\frac{4.43a}{2\sqrt{h_0}} \Delta h[/tex]
on the right-hand side is how much the outflow changes (up to first order) when the height changes from [itex]h_0[/itex] to [itex]h_0+\Delta h[/itex], so you can denote it by [itex]\Delta v[/itex]. So you can write the equation
[tex]A \frac{d}{dt} (\Delta h) = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} \Delta h.[/tex]
as
[tex]A \frac{d}{dt} (\Delta h) = u_0 - v_0 - \Delta v[/tex]
where [itex]u_0[/itex] and [itex]v_0[/itex] are the inflow and outflow when the height is [itex]h=h_0[/itex]. There is no term [itex]\Delta u[/itex] because the inflow u does not depend on the height h, but in general you would have
[tex]A \frac{d}{dt} (\Delta h) = u_0 + \Delta u - v_0 - \Delta v.[/tex]
That's another form in which you can write the linearized equation.

Finally, why do you want to linearize the equation in the first place? One reason is to assess the stability of some equilibrium point of the equation. The height [itex]h_0[/itex] is an equilibrium point if the inflow and the outflow are equal. In that case, [itex]u_0 = v_0[/itex] and thus the linearized equation becomes
[tex]A \frac{d}{dt} (\Delta h) = \Delta u - \Delta v.[/tex]
That is the only way I can see that you can get to that equation, and in that case, there is no problem.
 
Thank you very much for that thorough answer!

One of the points that I missed from the beginning, was just the fact that a precondition is that you have equilibrium in the system, i.e., inflow equals outflow, so the water level doesn't change, [itex]\frac{dh}{dt}=0[/itex], so u_0=v_0. So all in all you get

[tex]A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0) =[/tex]

[tex]A \frac{dh}{dt} = u - v.[/tex]

That these two equations above are equal was the first thing I couldn't see from the beginning.

Now, these equations are non-linear, because [itex]v=a \sqrt{2gh}=4.43 \sqrt{h}[/itex] (I presume a=A=1 here). So I tried to do a twodimensional Taylorexpansion, since water level change depends on both inflow, u, and outflow, v:

[tex]\frac{dh}{dt} = \frac{d}{dt}(\Delta h) = f(u,h) = u -4.43\sqrt{h} \approx[/tex]

[tex]f(u_0,h_0) + f'_u(u_0,h_0)(u-u_0) + f'_h(u_0,h_0)(h-h_0) =[/tex]

[tex]\left(u_0 - 4.43\sqrt{h_0}\right) + \Bigl( 1\cdot (u-u_0)\Bigr) + \left(-4.43\frac{1}{2\sqrt{h_0}}(h-h_0)\right).[/tex]

As we said, just at (u_0,h_0) we had equilibrium, so [itex]v_0=4.43\sqrt{h_0}[/itex] equals u_0, and so the leftmost parenthesis in the lowest equation above disappears (this was also something I failed to see at first). So finally we get the approximated linearization as

[tex]\frac{d}{dt}(\Delta h) \approx \Delta u -4.43\frac{1}{2\sqrt{h_0}}\Delta h .[/tex]

This equation could be solved, for instance by Laplace transformation methods, and you receive a function which approximates [itex]\Delta h(t)[/itex] pretty well around (u_0,h_0).

I hope I got it all right now - hopefully someone else could have use of this, which I myself had a hard time with.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
3K
Replies
4
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K