Density Control in Tank (TL) - Simscape

How do i control the density of the liquid (Not water) in the tank by adding and removing the water to the liquid?

2 个评论

@Keshav Arora, can you provide the formula of density of mixed liquid and water?
The formula for density liquid and water is y= -0.0031x + 11889 Where y is density and x is volume of water in (ml)

请先登录,再进行评论。

回答(1 个)

Sam Chak
Sam Chak 2022-8-19
Hi @Keshav Arora, thanks for the density equation.
I'm don't know how density ρ works in the Simscape watertank. However, you can probably derive something like this:
... Eq. (1)
... Eq. (2)
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
. ... Eq. (3)
Inserting Eq. (3) that into Eq. (2) yields
... Eq. (4)
From Eq. (1)
... Eq. (5)
Inserting Eq. (5) that into Eq. (4) yields
... Eq. (6)
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.

类别

帮助中心File Exchange 中查找有关 Thermal Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by