Documentos de Académico
Documentos de Profesional
Documentos de Cultura
1
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Santa Cruz-Bolivia
1. INTRODUCCIN
SIMULACION Y OPTIMIZACION
En la actualidad los procesos de control son sntomas del proceso industrial
que posee la sociedad. Estos sistemas se usan tpicamente en sustituir un
trabajador pasivo que controla un determinado sistema (ya sea elctrico,
mecnico, entre otros.) con una posibilidad nula o casi nula de error, y un
grado de eficiencia mucho ms grande que el de un trabajador. Los sistemas
de control ms modernos en ingeniera automatizan procesos en base a
muchos parmetros y reciben el nombre de controladores de automatizacin
programables (PAC).
Los controladores son los instrumentos diseados para detectar y corregir
los errores producidos al comparar y computar el valor de referencia o set
point, con el valor medido del parmetro ms importante a controlar en un
proceso. Son variables las caractersticas de los controladores debido a sus
tipos, ya que en un controlador de accin proporcional la seal de
accionamiento es proporcional a la seal de error del sistema, es decir en
este tipo de controlador, si la seal de error es cero, tambin lo ser la salida.
El reactor tubular consiste sencillamente en un tubo, a lo largo del cual fluye
la mezcla reaccionante a condiciones tales (temperatura, concentraciones),
que ocurre la reaccin qumica.
Puede estar provisto de un intercambiador para la transferencia de calor.
Idealmente no existen gradientes radiales con respecto a la velocidad, la
temperatura y la concentracin.
2
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
2. OBJETIVOS
3. MARCO TERICO
REACTORES TUBULARES
Son sistemas continuos donde existe movimiento estacionario de
alguno o todos los reactivos, en una direccin espacial, sin mezcla
inducida de los elementos del fluido; el modo de flujo hace que, a
diferencia de los tanques agitados, la composicin vare de forma
continua en dicha direccin.
Se emplean fundamentalmente para reacciones en fase gas, aunque
tambin con fluidos y slidos. Los diseos concretos presentan
3
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
4
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
VENTAJAS
Facilidad de control
Economa en la mano de obra
Sencillez mecnica
Adaptabilidad a la transmisin de calor
Altas presiones
Calidad invariable del producto
Elevada capacidad.
DESVENTAJAS
Instrumentacin cara.
Alto costo de operacin (mantenimiento, limpieza).
Flujo de calor de la seccin radiante de horno no uniforme.
La desventaja principal del reactor tubular es la dificultad en controlar la
temperatura dentro del reactor.
ECUACIN DE ARRHENIUS
5
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
() =
se tiene
y como:
que
6
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
diagrama de Moody
es la representacin grfica en escala doblemente logartmica del factor de
friccin en funcin del nmero de Reynolds y la rugosidad relativa de
una tubera
Se pueden distinguir dos situaciones diferentes, el caso en que el flujo sea
laminar y el caso en que el flujo sea turbulento.
En el caso de flujo laminar el factor de friccin depende nicamente
del nmero de Reynolds. Para flujo turbulento, el factor de friccin depende
tanto del nmero de Reynolds como de la rugosidad relativa de la tubera,
7
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
por eso en este caso se representa mediante una familia de curvas, una para
Diagrama de fanning
8
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
9
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
La cintica es:
Tcontinuo T
Reactor Flujo pistn
= +
Estado estacionariotimplica que no
z hay variaciones con el tiempo
= CA
10
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Estado estacionario.-
11
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
.
=
.
= 1
= +
= Cp + .
12
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Cp = . ( 0 )
.
= +
v z P 1 r* vz
vz + =-
z z r r t
(2.22.)
13
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
2
P
dR
2 2r 2 2
vz 1 d 2v z 1 2r d (4)
4l
R
R
2r n
v z v z 1 n
R
d
(5)
En ambos casos :
P = caida de presin en el reactor
dR ,l dimensiones del reactor
viscosidad del fluido
= .
. = 1 3
= 1 /
= 0.5
= 50 /2 min
= 20 + 273 = 293
=
= 1
14
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
= 300 /
= 0.00831 /
= 25 + 273 = 298
= 400 /
=-393.5 /
= + ( )
Variables de entrada.-
AHr=Calor de reaccin
E=Energa de activacin
T0=Temperatura a la entrada del reactor
Cpa=Capacidades calorficas de especie .
Tw=Temperatura media
ko =Constante de velocidad de reaccin inicial
Cao =Concentracin inicial de la especie A
15
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Variables de proceso
k =Constante de velocidad de reaccin en funcin de T
Variables de salida
V =Volumen de reactor
Tf =temperatura de salida
=
6. CONCLUSIN
16
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
7. BIBLIOGRAFA
http://html.rincondelvago.com/metodo-de-diferencias-finitas.html
http://www.academia.edu/7366181/Diferenciaci%C3%B3n_num%C3%A9rica
http://cursos.aiu.edu/Metodos%20Numericos/PDF/Tema%204.pdf
17
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
http://ocw.unican.es/ciencias-experimentales/metodos-numericos/practicas-
2/40_Practicas_LeccionH.pdf
http://www.dma.uvigo.es/~lino/Tema6.pdf
https://www.derivadas.es/2008/04/28/metodos-numericos-para-derivadas-e-
integrales/
8. ANEXO
functiondxdz=OdeReactorFlujoPiston(t,x)
Ca=x(1);
T=x(2);
globalKo globalCp
globalvz globalAHr
global R global h
global E globalAz
global d global Tm
dxdz=[-(Ko/vz)*exp(-E/(R*(T+273)))*Ca
(AHr*Ko)/(vz*d/Cp)*exp(-E/(R*(T+273)))*Ca-
(u*Az)/(vz*d*Cp)*T+(u*Az)/(vz*d*Cp)*Tw];
end
functionvarargout = ReactorFlujoPiston(varargin)
% REACTORFLUJOPISTON MATLAB code for ReactorFlujoPiston.fig
% REACTORFLUJOPISTON, by itself, creates a new
REACTORFLUJOPISTON or raises the existing
% singleton*.
%
% H = REACTORFLUJOPISTON returns the handle to a new
REACTORFLUJOPISTON or the handle to
% the existing singleton*.
%
18
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
% REACTORFLUJOPISTON('CALLBACK',hObject,eventData,handles,...)
calls the local
% function named CALLBACK in REACTORFLUJOPISTON.M with the
given input arguments.
%
% REACTORFLUJOPISTON('Property','Value',...) creates a new
REACTORFLUJOPISTON or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before ReactorFlujoPiston_OpeningFcn gets called.
An
% unrecognized property name or invalid value makes property
application
% stop. All inputs are passed to ReactorFlujoPiston_OpeningFcn via
varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only
one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
19
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
ifnargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
globalKo Zini=0;
globalvz Zfin=10;
global R Caini=20;
global E Tini=15;
global d
globalCp Ko=450;
globalAHr vz=4000;
global h R=8.314472;
globalAz E=5486;
global Tm d=1.78;
Cp=4.16;
globalZini AHr=12;
globalZfin h=750;
globalCaini Az=46;
globalTini Tm=21;
axes(handles.axes1);
background=imread('FlujoPiston.jpg');
axisoff;
imshow(background);
set(handles.listbox1,'Enable','off')
WriteDatos(handles)
20
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
handles.output = hObject;
% --- Outputs from this function are returned to the command line.
functionvarargout = ReactorFlujoPiston_OutputFcn(hObject, eventdata,
handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
functionWriteDatos(handles)
globalKo global h
globalvz globalAz
global R global Tm
global E
global d globalZini
globalCp globalZfin
globalAHr globalCaini
globalTini
set(handles.Ko,'String',Ko)
set(handles.vz,'String',vz)
set(handles.R,'String',R)
set(handles.E,'String',E)
set(handles.d,'String',d)
set(handles.Cp,'String',Cp)
21
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
set(handles.AHr,'String',AHr)
set(handles.h,'String',h)
set(handles.Az,'String',Az)
set(handles.Tm,'String',Tm)
set(handles.Zini,'String',Zini)
set(handles.Zfin,'String',Zfin)
set(handles.Caini,'String',Caini)
set(handles.Tini,'String',Tini)
functionReadDatos(handles)
globalKo
globalvz
global R
global E
global d
globalCp
globalAHr
global h
globalAz
global Tm
globalZini
globalZfin
globalCaini
globalTini
Ko=str2double(get(handles.Ko,'String'));
vz=str2double(get(handles.vz,'String'));
R=str2double(get(handles.R,'String'));
E=str2double(get(handles.E,'String'));
d=str2double(get(handles.d,'String'));
Cp=str2double(get(handles.Cp,'String'));
AHr=str2double(get(handles.AHr,'String'));
h=str2double(get(handles.h,'String'));
Az=str2double(get(handles.Az,'String'));
Tm=str2double(get(handles.Tm,'String'));
22
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Zini=str2double(get(handles.Zini,'String'));
Zfin=str2double(get(handles.Zfin,'String'));
Caini=str2double(get(handles.Caini,'String'));
Tini=str2double(get(handles.Tini,'String'));
switch grafico
case 1
plot(handles.axes2,x,y)
legend(handles.axes2,'Conc. de A','Temp. reactor')
xlabel(handles.axes2,'Distancia')
ylabel(handles.axes2,'Temperatura y Concentracion')
case 2
plot(handles.axes2,x,y(:,1))
legend(handles.axes2,'Conc. de A')
xlabel(handles.axes2,'Distancia')
ylabel(handles.axes2,'Concentracion')
case 3
plot(handles.axes2,x,y(:,2))
legend(handles.axes2,'Temp. reactor')
xlabel(handles.axes2,'Distancia')
ylabel(handles.axes2,'Temperatura')
end
23
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
globalZini
globalZfin
globalCaini
globalTini
global x
global y
24
SIMULACION Y OPTIMIZACION DE PROCESOS PRQ-220
Zspan=[ZiniZfin];
x0=[CainiTini];
[x,y]=ode45('OdeReactorFlujoPiston',Zspan,x0);
plot(handles.axes2,x,y)
legend(handles.axes2,'Conc. de A','Temp. reactor')
xlabel(handles.axes2,'Distancia')
ylabel(handles.axes2,'Temperatura y Concentracion')
set(handles.listbox1,'Enable','on')
INDICE
1. Introduccin ............................................................................................. 2
2. Objetivos .................................................................................................. 3
6. Conclusin ............................................................................................. 16
7. Bibliografa ............................................................................................. 17
8. anexo ..................................................................................................... 18