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 Comments

@Keshav Arora, can you provide the formula of density of mixed liquid and water?
Keshav Arora
Keshav Arora on 19 Aug 2022
Edited: Keshav Arora on 19 Aug 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)

Sign in to comment.

Answers (1)

Sam Chak
Sam Chak on 19 Aug 2022
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.

Categories

Asked:

on 18 Aug 2022

Answered:

on 19 Aug 2022

Community Treasure Hunt

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

Start Hunting!