Beruflich Dokumente
Kultur Dokumente
Melanie Rondot August 5, 2004 University of Illinois at Chicago NSF-REU 2004 Advisors: Professor Andreas Linninger Andrs Malcolm, graduate student
Pharmaceutical Process
Flow diagram for typical pharmaceutical process:
Source: EPA Office of Compliance Sector Notebook Project: Profile of the Pharmaceutical Manufacturing Industry; September 1997
Condenser
Reactor
Product
Organic solvents
Project Description
Surface condensation Condenser Model using MATLAB
Steady State Dynamic
Uncertainty
Operating Conditions Estimated Parameters
Control System
Condenser Model
Gas Inlet Coolant Inlet Gas Outlet Coolant Outlet Condensate Outlets
Fcool,Tcooln-1 Fcool,Tcooln Coolant Tcooln , Ncool Qw-cooln Wall, Twalln Qw-gn Fgn-1,Tgn-1
Gas TgN,NgN
Fgn,Tgn
Fcon,Tcon
Condenser Theory
Energy Balances Mass Balances Diffusion Equations
Diffusion Equations
No condensation
yI yg F
n condensate
=0
Diffusion-Controlled Condensation
n Fcondensate
1 yn A.DAB .C I .ln = n 1 yg
MATLAB Model
User defines Condenser geometry Physical properties Initial temperatures Initial flow rates Program calculates system variables (h, Dab, Cp, etc)
S te a dy S tate Conde ns e r 400 200 0 Fc onb (mol/s ) VOC Conc . (mol fr.) 0.4 0.2 0 30 20 10 1 0.5 0 ga s wa ll 0 0.5 1 1.5 2 2.5 3
c oola nt gas w all
0.5
1.5
2.5
0.5
1.5
2.5
0.5
1.5
2.5
0.5
1.5
2.5
Fc on (mol/s )
0.5
2.5
0.5
2.5
Explanation
Appropriate concentration gradient --> condensation
Qga s (kJ /s ) S tea dy S ta te Condens e r 1
Energy balances
Qcond (kJ /s )
-1 30 20 10 0 30
0.5
1.5
n w g
=Q
n w cool
0.5
1.5
Qdis p (kJ /s )
20 10 0
0.5
Limiting Condition
Heat Transfer Limited Condensation
n Tgn Twn Tgn = Twn ; Fcondensate =
( H
c oola nt gas wa ll 3
n Qw g v g
(Twn )
1 Qgas (kJ /s )
S tea dy S ta te Condens e r 400 Temp (K) 300 200 0.4 0.2 0 30 25 20 1 0.5 gas wa ll 0 0.5 1 1.5 2 2.5 3
0.5
0.5
1.5
2.5
0 30 nd (kJ /s ) 20
0.5
0.5
1.5
2.5
con (mol/s )
Dynamic Model
Introduces change into system Simultaneous solution of mass and energy balances using ode15s Initial values obtained from steady state solution
Uncertain Parameters
Operating Conditions
Inlet Gas Temperature Inlet Coolant Temperature Inlet Flowrate of Condensable Species
Estimated Parameters
Heat Transfer Coefficient of Gas Diffusion Coefficient
SS Uncertainty Evaluation:
y = 0.8814x - 41.819 R2 = 1
266.6
266.5
345
346
347
348
349
350
351
352
353
354
355
356
228.0
228.4
228.8
229.2
229.6
230.0
230.4
230.8
231.2
231.6
232.0
232.4
y = -4.7536x + 337.95 R2 = 1
270
268
266
264
262
260 13.8
14.0
14.2
14.4
14.6
14.8
15.0
15.2
15.4
15.6
15.8
16.0
16.2
SS Uncertainty Evaluation:
285
Outlet Gas Temperature vs. Heat Transfer Coefficient of Gas (Initial Value)
y = -450.94x + 326.71 R2 = 0.9991
280
275
Outlet Gas Temperature (K)
270
270
265
265
260
260
255
255
250 0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
250 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 Diffusion Coefficient (Initial Value) ( mol / (s*m^2*atm) )
SS Uncertainty Evaluation:
Outlet Gas Temperature vs. Variation in Inlet Coolant Temperature and Inlet Condensable Flowrate
y = 0.9423x + 266.65 R2 = 1
Outlet Gas Temperature (K) Outlet Gas Temperature (K) 270
y = 1.0037x + 266.66 2 R =1
270
269
269
268
268
267
267
266 0 1 2 3 4 5 6 Level of Variation in Inlet Coolant Temperature and Inlet Condensable Flowrate
278
Outlet Gas Temperature vs. Variation in Inlet Gas Temperature and Inlet Condensable Flowrate
276
274
272
y = 1.8291x + 266.66 R2 = 1
270
268
266 0 1 2 3 4 5 6 Level of Variation in Inlet Gas Temperature and Inlet Condensable Flowrate
Control System
Influence system toward operation about set point by adjusting coolant flowrate
Error:
e = Tg (n + 1) Tsp
Control Action:
Gc = kc *(e +
1 TI
edt )
Control System:
260 Temp (K)
Tsp = 268.2K
250
240
230
50
100 Time (s )
150
200
250
50
100 Time (s )
150
200
250
15
10
Error (K)
50
100 Time (s )
150
200
250
Control System:
Acknowledgements
Faculty, graduate students, and post-doctoral researchers in the Chemical Engineering Department at the University of Illinois at Chicago, particularly Professor Andreas Linninger and Andrs Malcolm The National Science Foundation