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 commentaires

Sam Chak
Sam Chak le 18 Août 2022
@Keshav Arora, can you provide the formula of density of mixed liquid and water?
Keshav Arora
Keshav Arora le 19 Août 2022
Modifié(e) : Keshav Arora le 19 Août 2022
The formula for density liquid and water is y= -0.0031x + 11889 Where y is density and x is volume of water in (ml)

Connectez-vous pour commenter.

Réponses (1)

Sam Chak
Sam Chak le 19 Août 2022

0 votes

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.

Catégories

En savoir plus sur Thermal Analysis dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by