Density Control in Tank (TL) - Simscape
Show older comments
How do i control the density of the liquid (Not water) in the tank by adding and removing the water to the liquid?
2 Comments
Sam Chak
on 18 Aug 2022
@Keshav Arora, can you provide the formula of density of mixed liquid and water?
Keshav Arora
on 19 Aug 2022
Edited: Keshav Arora
on 19 Aug 2022
Answers (1)
Sam Chak
on 19 Aug 2022
0 votes
I'm don't know how density ρ works in the Simscape watertank. However, you can probably derive something like this:
Referring to the watertank model, where the volume of water in the tank is
, the product of the cross-sectional area of the tank and the height of water in the tank. Thus,
. Suppose that water is pumped the tank through applying the voltage E to the electric water pump and the dynamics is given by
Inserting Eq. (3) that into Eq. (2) yields
From Eq. (1)
Inserting Eq. (5) that into Eq. (4) yields
Clearly, it is a first-order nonlinear system.
Now, you can manipulate the voltage E to achieve the desired density of the mixed liquid and water in the watertank.
The derived density model maybe naive because inside the watertank, the volume of the liquid subtance is ignored.
Categories
Find more on Thermal Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!