- #1
zyho
- 5
- 0
I am doing Control on Three Tank System using Simulink and I am newbie in Simulink. I am having a problem in the Simulation of Simulink. I am having the equation as below:
az1×Sn×sign(h1-h2)√(2g|h1-h2|)
where
az1, Sn and g is constant.
h1 and h2 is the input of the system.
This equation is the subsystem of one block.
To do it in Simulink, I can actually represent the equation with each block. I am having some difficulties on finding the correct blocks.
Is there any way to do it? Possibly using function block to run the equation?
Please Advice.
az1×Sn×sign(h1-h2)√(2g|h1-h2|)
where
az1, Sn and g is constant.
h1 and h2 is the input of the system.
This equation is the subsystem of one block.
To do it in Simulink, I can actually represent the equation with each block. I am having some difficulties on finding the correct blocks.
Is there any way to do it? Possibly using function block to run the equation?
Please Advice.