Академический Документы
Профессиональный Документы
Культура Документы
Problem statement:
Given a volume fraction of dye (Inert) in the outlet of a packed bed reactor, Obtain the mean and
the variance of the E-plot for the outlet concentration of dye in a packed bed reactor.
Plot the internal age distribution of the reactor.
Assumptions:
Methods
1. C curve was transcribed into numeric data
2. The graph was normalised.
3. Appropriate relationships were employed to obtain the unknowns in the problem statement
For a pulse input the C-curve is related to the external age distribution by the following relationship:
C tc = t = E ta = t t0
Where
[A]out (tc )
C tc =
N
A
vin
=
This gives
2 = 69.8852 mins
ta =0
C curve
18
16
14
12
10
8
6
4
2
0
20
30
40
50
60
Clock Time(mins)
Figure 1: C-curve
70
80
E curve
18
16
14
12
10
8
6
4
2
0
10
20
30
ta Age Time(mins)
40
50
40
50
Figure 2: E-curve
Icurve
0.06
0.05
0.04
0.03
0.02
0.01
10
20
30
t Age Time(mins)
a
Figure 3: I-curve
1
2
3
4
Appendix
function [] = mycre()
% chemical reaction engineering homework
% conversion of a c curve to an e curve
% read data from excel sheet
5
6
num = xlsread('cre','B2:C49');
7
8
timet = num(:,1)-25;
9
10
11
t times Et = timet.*num(:,2);
discretization = min(timet):(max(timet) - min(timet))/500:max(timet);
12
13
14
15
smoothEt = spline(timet,num(:,2),discretization);
16
17
18
19
20
21
22
23
24
figure(1)
25
26
27
28
29
30
31
32
33
34
figure (2)
plot(discretization ,smoothEt,'b-')
xlabel('time(mins)'),ylabel('External age fraction')
title('E curve')
35
36
37
38
39
40
41
42
I = zeros(length(discretization),1);
for i = 2: length(discretization)
I(i) = (1/tmean)*(1 - trapz(discretization(1:i), smoothEt(1:i))/graph area);
end
43
44
45
46
47
48
figure (3)
plot(discretization(2:end),I(2:end),'r-')
xlabel('time(mins)'),ylabel('internal age fraction')
title('I curve')
end