Professional Documents
Culture Documents
Dr. H Bock
Tutorial 5
In this tutorial we want to move on to dilution, a problem that is different from an engineering perspective,
but mathematically completely analogous to the previous problems.
The substance to be diluted is fed into a tank as a high-concentration solution (stream 1). Dilution is
achieved with a second stream that consists of pure solvent (stream 2). The diluted solution leaves the tank
via an overflow.
dn(t )
dt
C1 (t )V1 (t )
n(t )
[V1 (t ) V2 (t )]
V
4) Dilution Explicit
A dilution tank with overflow has a capacity of 1m3. It is fed with a 5M aqueous solution of NaOH at 5 litres
per second. NaOH should be diluted to 3M using a second stream of pure water.
What should be the flow rate of the water stream?
How long does it take until the system has reached 99% of the target concentration if initially the
concentration in the tank was 2M?
o First use a graph to get an estimate.
o Then amend your code so it gives you the answer directly. The fprintf function is
useful to do this. Try the following code in the command window to learn how this works:
A=5.6789
fprintf('The area A is
%f m^2.\n',A);
Now add feedback control to maintain constant (target) concentration of the effluent stream. The maximum
flow rate of this stream is 4 litres per second and it can not be negative.
Has the time to steady state changed?
How close can you get to the target concentration? Calculate and plot the relative deviation of the
actual concentration from the target concentration.
Change your control algorithm and see what that does to the systems response.
Once the system has reached steady state there is a sudden 20% increase in the concentration of the
NaOH stream. (You can have Matlab check for steady state, but it is sufficient to choose an appropriate time
point manually.)
How long does your the control system need to compensate?