- #1
Maniac_XOX
- 86
- 5
- Homework Statement
- I am trying to linearize a first order equation for water level inside a tank with Taylor series to then find the matrices in state-space equations with which I can model the system in Simulink
- Relevant Equations
- $$\frac {dH}{dt} = \frac {Fin V}{A} - \frac {Fout \sqrt{H}}{A}$$
------------EDIT----------------------------------------------------------------------------
Check comment #7 for neater and faster explanation of the question statement
---------------------------------------------------------------------------------------------
The symbols represent:
H, water level
t, time
Fin, rate f flow of water inside the tank
Fout, rate of flow of water out of the tank
A, cross-sectional area of the tank
Through the application of deviation variables and taylor's series I have gotten to the linearized equation:
$$ \frac {dH}{dt} = \frac {Fout}{2A} - \frac {Fout}{2A}\frac{H_s^{\frac{1}{2}}}{H^{\frac{1}{2}}}$$
where the s indicates the steady-state value of the original variable, as per definition of deviation variables.
How do I go from there to the state space equations:
##
x'= Ax + Bu ##
##
y= Cx + Du ##
That is the part that I am currently struggling with. I need to find those equation with respective matrices so that i can input the vlaues in a simulink state-space block. Thank you for any help!
Check comment #7 for neater and faster explanation of the question statement
---------------------------------------------------------------------------------------------
The symbols represent:
H, water level
t, time
Fin, rate f flow of water inside the tank
Fout, rate of flow of water out of the tank
A, cross-sectional area of the tank
Through the application of deviation variables and taylor's series I have gotten to the linearized equation:
$$ \frac {dH}{dt} = \frac {Fout}{2A} - \frac {Fout}{2A}\frac{H_s^{\frac{1}{2}}}{H^{\frac{1}{2}}}$$
where the s indicates the steady-state value of the original variable, as per definition of deviation variables.
How do I go from there to the state space equations:
##
x'= Ax + Bu ##
##
y= Cx + Du ##
That is the part that I am currently struggling with. I need to find those equation with respective matrices so that i can input the vlaues in a simulink state-space block. Thank you for any help!
Last edited: