source:mso/sample/reactors/fogler/chap3/oxidation_of_so2.mso@41

Last change on this file since 41 was 41, checked in by Rodolfo Rodrigues, 16 years ago

Removed flowsheets with problems

File size: 3.0 KB
Line
1#*---------------------------------------------------------------------
2* Expressing Cj=hj(X)
3*----------------------------------------------------------------------
4* Solved problem from Fogler (1999)
5* Problem number: 3-7
6* Page: 87 (Brazilian edition, 2002)
7*----------------------------------------------------------------------
8*
9*   Description:
10*               Expressing of the molar concentration as function of molar
11*       conversion for a continuous reactor which occurs the oxidation
12*       reaction:
13*               2SO2 + O2 -> 2SO3
14*
15*   Assumptions:
17*       * isotermic and isobaric system
18*       * gaseous phase
19*
20*       Specify:
21*               * the inlet stream (z,P,T)
22*               * the parameters of reaction
23*               * the outlet conversion
24*
25*----------------------------------------------------------------------
26* Author: Christiano D. Wetzel Guerra and Rodolfo Rodrigues
27* GIMSCOP/UFRGS - Group of Integration, Modeling, Simulation, Control,
28*                                       and Optimization of Processes
29* \$Id\$
30*--------------------------------------------------------------------*#
31
32using "types";
33
34
35#*---------------------------------------------------------------------
36* Model of a stream
37*--------------------------------------------------------------------*#
38
39Model stream
40        PARAMETERS
41ext     NComp   as Integer (Brief="Number of chemical components", Lower=1);
42
43        VARIABLES
44        C(NComp)as conc_mol(Brief="Concentration", Unit="mol/l", Lower=0);
45        z(NComp)as fraction(Brief="Molar fraction");
46end
47
48
49#*---------------------------------------------------------------------
50* Example 3-7: Cj=hj(X)
51*--------------------------------------------------------------------*#
52
53FlowSheet pfr
54        PARAMETERS
55        NComp   as Integer;
56        stoic(NComp) as Real(Brief="Stoichiometric coefficients");
57        k       as Real (Brief="Specific rate of reaction", Unit="l/mol/s");
58        R               as Real (Brief="Universal gas constant", Unit="atm*l/mol/K", Default=0.082);
59
60        VARIABLES
61        Inlet   as stream; # Inlet stream
62        Outlet  as stream; # Outlet stream
63        X               as fraction     (Brief="Molar conversion", Lower=0);
64        r               as reaction_mol (Brief="Rate of reaction of A", Unit="mol/l/s");
65        T               as temperature  (Brief="Temperature", Unit="K");
66        P               as pressure     (Brief="Pressure", Unit="atm");
67        Theta(NComp)as Real     (Brief="Parameter Theta");
68        epsilon as Real         (Brief="Parameter epsilon");
69
70        EQUATIONS
71        "Outlet molar fraction"
72        Outlet.C = Outlet.z*sum(Outlet.C);
73
74        "Inlet concentration"
75        Inlet.C = Inlet.z*P/(R*T);
76
77        "Outlet concentration"
78        Outlet.C = Inlet.C(1)*(Theta + stoic*X)/(1 + epsilon*X);
79
80        "Parameter Theta"
81        Theta = Inlet.z/Inlet.z(1);
82
83        "Parameter epsilon"
84        epsilon = Inlet.z(1)*sum(stoic);
85
86        "Rate of reaction"
87        (-r) = k*Outlet.C(1)*Outlet.C(2);
88
89        SET
90        NComp = 4; # A, B, C and I
91        stoic = [-1.0, -0.5, 1.0, 0.0];
92        k = 200*"l/mol/s";
93
94        SPECIFY
95        "Inlet molar fraction"
96        Inlet.z = [0.28, 0.1512, 0.0, 0.5688];
97        "Inlet pressure"
98        P = 1485*"kPa";
99        "Inlet temperature"
100        T = (227 + 273.15)*"K";
101
102        "Outlet molar conversion"
103        X = 0.5;
104
105        OPTIONS