You are on page 1of 11

Universidad

Nacional

FACULTAD DE INGENIERA QUMICA E


INDUSTRIAS ALIMENTARAS
ESCUELA PROFESIONAL DE

"Pedro Ruiz
Gallo"

INGENIERIA
QUIMICA

ASIGNATURA

Simulacion de procesos Industriales

INTEGRANTE

:
Cerquera Gonzalez Antony
Delgado Clavo Yuly Magaly

DOCENTE

ING. Segundo Vasques

Lambayeque, 15 de septiembre de 2015


METODO DE EULER
Ejercicio 1.- Un tanque cilndrico de 0.5 m de radio y 1.5 m de altura se encuentra inicialmente lleno de agua. En
un instante dado se comienza a introducir agua en el tanque con caudal constante de 10^-3 m3/s y se abre una
vlvula en su base que diga salir la misma con caudal proporcional a su altura en el tanque Q2=2*10^-3*H
QO=
0.001 m3/s
Q2= 2*10^-3*H
Determinar la H del agua en el tanque al cabo de 10 min (600s)?
PASO 1.- Veciado y llenado TK, ENE (estado estacionario)
PASO 2.- Entrado - Salida + Generacin - Consumo = Acumulacin

E - S + G - C = A= dm/dt
E-S=dm/dt

(*Q0)-(*Q2)=
(Qo-Q2)=dv/dt
(d*(*V))/dt
(Q0 - Q2)= (dv/dt)=((d*A*h)/dt)=(A*d*h)/(dt)
(Q0 - Q2)/A=(dh/dt)
f(t,h)

calculo de rea:

A=*^2
3.141
= 6
= 0.5
0.785
A(m2)= 4

calculo de h
h=(Xf-Xi)/n 60
Xf= 600
X0= 0
n= 10

Ecuacin:
Derivada:
103 2103 h
2

r
halt =e(0.0025641t)

Q0= 0.001
Q2= 0.002

dh
dt

+0.5

Cuadro de clculos

dh/dt

H(aprox)

f(t0,h0)=(Q0Q2*H0)/A
f(t1,h1)=(Q0Q2*H1)/A
f(t2,h2)=(Q0Q2*H2)/A
f(t3,h3)=(Q0Q2*H3)/A
f(t4,h4)=(Q0Q2*H4)/A
f(t5,h5)=(Q0Q2*H5)/A
f(t6,h6)=(Q0Q2*H6)/A
f(t7,h7)=(Q0Q2*H7)/A
f(t8,h8)=(Q0Q2*H8)/A
f(t9,h9)=(Q0Q2*H9)/A
f(t10,h10)=(Q0Q2*H10)/A
f(t11,h11)=(Q0Q2*H11)/A

t0=0
t1=t0+
h
t2=t1+
h
t3=t2+
h
t4=t3+
h
t5=t4+
h
t6=t5+
h
t7=t6+
h
t8=t7+
h
t9=t8+
h
t10=t9
+h
t11=t10
+h
t12=t11
+h

H0
H1=H0+
(h*f(t0,h0))
H2=H1+
(h*f(t0,h0))
H3=H2+
(h*f(t0,h0))
H4=H3+
(h*f(t0,h0))
H5=H4+
(h*f(t0,h0))
H6=H5+
(h*f(t0,h0))
H7=H6+
(h*f(t0,h0))
H8=H7+
(h*f(t0,h0))
H9=H8+
(h*f(t0,h0))
H10=H9+
(h*f(t0,h0))
H11=H10+
(h*f(t0,h0))
H12=H11+
(h*f(t0,h0))

H(solucin exacta)
H'(t0)=EXP(0.0025641*t)+0.5
H'(t1)=EXP(0.0025641*t)+0.5
H'(t2)=EXP(0.0025641*t)+0.5
H'(t3)=EXP(0.0025641*t)+0.5
H'(t4)=EXP(0.0025641*t)+0.5
H'(t5)=EXP(0.0025641*t)+0.5
H'(t6)=EXP(0.0025641*t)+0.5
H'(t7)=EXP(0.0025641*t)+0.5
H'(t8)=EXP(0.0025641*t)+0.5
H'(t9)=EXP(0.0025641*t)+0.5
H'(t10)=EXP(0.0025641*t)+0.5
H'(t11)=EXP(0.0025641*t)+0.5
H'(t12)=EXP(0.0025641*t)+0.5

CALCULOS DE d (h)/d (t)

(103 )((2103)1.5)/(0.7854)
= -0.002546473
f (t 0,h 0)=

(103 )((2103)1.449070537)/(0.7854)
= -0.002416783
f (t 1,h 1)=

(10 )((210 )1.400734885)/(0.7854)


= -0.002293697
f (t 2,h 2)=

(103 )((2103)1.354860941)/(0.7854)
= -0.00217688
f (t 3, h 3)=

(103 )((2103)1.311323333)/(0.7854)
= -0.002066013
f (t 4, h 4)=

Error%
(H'(t0)-H0)/
(H'(t0))
(H'(t1)-H1)/
(H'(t1))
(H'(t2)-H2)/
(H'(t2))
(H'(t3)-H3)/
(H'(t3))
(H'(t4)-H4)/
(H'(t4))
(H'(t5)-H5)/
(H'(t05))
(H'(t6)-H6)/
(H'(t6))
(H'(t7)-H7)/
(H'(t7))
(H'(t8)-H8)/
(H'(t8))
(H'(t9)-H9)/
(H'(t9))
(H'(t10)-H10)/
(H'(t10))
(H'(t11)-H11)/
(H'(t11))
(H'(t12)-H12)/
(H'(t12))

(103 )( ( 2103 )1.270003071)/( 0.7854)


= -0.001960792
f (t 5, h 5)=

(10 )((210 )1.230787229)/(0.7854)


= -0.00186093
f (t 6, h 6)=

(10 )((210 )1.193568628)/(0.7854)


= -0.001766154
f (t 7, h 7)=

(103 )((2103)1.15824555)/(0.7854)
= -0.001676205
f (t 8,h 8)=

(103 )((2103)1.124721458)/(0.7854)
= -0.001590836
f (t 9,h 9)=

CALCULOS DE RANGO H (aproximada)


H 0=1.5
H 1=1.5+(600.002546473) = 1.347211612
H 2=1.347211612+(1200.002157402) = 1.217767515
H 3=1.217767515+(1800.001827776) = 1.108100974
H 4=1.108100974+(2400.001548513) = 1.015190206
H 5=1.015190206+(3000.001311918) = 0.936475125
H 6=0.936475125+(3600.001111472) = 0.869786794
H 7=0.869786794+( 4200.000941652) = 0.813287666
H 8=0.813287666+(4800.000797779) = 0.765420948
H 9=0.765420948+(5400.000675887) = 0.72486771

600

H 10=0.72486771+ -0.00057262)= 0.690510535


CALCULOS DE RANGO H (aproximada)

H ' (t 0)=exp(0.002564160)+0.5 =1.5

H ' (t 0)=exp(0.0025641120)+0.5 =1.357404051

H ' (t 0)=exp(0.0025641180)+0.5 =1.235141707

H ' (t 0)=exp(0.0025641240)+0.5 =1.130313478

H ' (t 0)=exp(0.0025641300)+0.5 =1.040433329

H ' (t 0)=exp(0.0025641360)+0.5 =0.963369726

H ' (t 0)=exp(0.0025641420)+ 0.5 =0.89729508

H ' (t 0)=exp(0.0025641480)+ 0.5 =0.840642411

H ' (t 0)=exp(0.0025641540)+0.5 =0.750420443

H ' (t 0)=exp(0.0025641600)+0.5 =0.714711503

CALCULOS DE RANGO (Error)(%)

H ' (t 0)H 0 /( H ' (t 0)) =|( 1.357404051-1.347211612)/( 1.347211612)|*100= 0.75087732

H ' (t 1)H 1 /( H ' (t 1)) =|( 1.235141707-1.217767515)/( 1.217767515)|*100=1.40665572

H ' (t 2)H 2 /( H ' (t 2)) =|( 1.108100974-1.130313478)/( 1.130313478)|*100=1.96516314

H ' (t 3)H 3 /( H ' (t 3)) =|( 1.015190206-1.040433329)/( 1.040433329)|*100=2.42621245

H ' (t 4)H 4 /( H ' (t 4)) =|( 0.936475125-0.963369726)/( 0.963369726)|*100=2.7917216

H ' (t 5)H 5 /( H ' (t 5)) =|( 0.869786794-0.89729508)/( 0.89729508)|*100=3.06569002

H ' (t 6)H 6 /( H ' (t 6)) =|( 0.813287666-0.840642411)/( 0.840642411)|*100=3.25402867

H ' (t 7)H 7 /( H ' (t 7)) =|( 0.765420948-0.792068183)/( 0.792068183)|*100=3.3642602

H ' (t 8)H 8 /( H ' (t 8)) =|( 0.72486771-0.750420443)/( 0.750420443)|*100=3.4051223

H ' (t 9)H 9 /( H ' (t 9)) =|( 0.690510535-0.714711503)/( 0.714711503)|*100=3.38611704

CUADRO DE RESUMEN

dh/dt

t(tiempo)
0

H(solucin
aproximada)
1.5

-0.002546473

60

1.347211612

1.357404051

-0.002157402

120

1.217767515

1.235141707

180

1.108100974

1.130313478

-0.001548513

240

1.015190206

1.040433329

-0.001311918

300

0.936475125

0.963369726

-0.001111472

360

0.869786794

0.89729508

-0.000941652

420

0.813287666

0.840642411

-0.000797779
-0.000675887

480
540

0.765420948
0.72486771

0.792068183
0.750420443

-0.001827776

H(solucin exacta)
1.5

error%
0.750877
32
1.406655
72
1.965163
14
2.426212
45
2.791721
6
3.065690
02
3.254028
67
3.364260
2
3.405122

-0.00057262

600

0.690510535

0.714711503

3
3.386117
04

RESPUESTA:
Con 10 interacciones=H600=0.714711503m con un error de 3.38611704%
Con 30 interacciones=H600=0.714711503m con un 0.879254715

Mtodo De Runge Kutta Cuarto Orden


Solucin:

1
Y i+1= yi+ ( K 1 +2 K 2+ 2 K 3 + K 4)
6
K 1=(X i ,Y i )
K
h
K 2=( X i + , Y i + 1 )
2
2
K2
h
K 3=( X i + , Y i + )
2
2
h
K 4 =( X i+ , Y i+ K 3)
2

h=(

X f X i
)
n

n = Numero de

Datos:

T0= 0 seg
H0 = 1.5 m
Tf = 600 seg
Hf = ? M
r = 0.5 m

Ecuacin:
Derivada:

103 2103 h dh
=
dt
r 2

(0.0025641t)

halt =e

+0.5

Donde vamos a tomar un numero de 10 interacciones: n=10

h=(

6000
)
10

h=

Donde Xi = X0 + (h* i)
i = Numero de

1era Iteracin

X1 = 0 + (60* 1)

X1 = 60

K 1=0.1528

1032103 (1.5)
r 2
K
1032103 (1.5+ 1 )
2
K 2=60
2
r
K
1032103 (1.5+ 2 )
2
K 3=60
2
3
3
r
10 210
(1.5+ K 3)
K 4 =60
2
r
K 1=60

K 2=0.1411
K 3=0.1420
K 4 =0.1311

1
Y 1=1.5+ (K 1 +2 K 2+2 K 3 + K 4 )
6

Y 1=1.36

2da Iteracin

X2 = 0 + (60* 2)

10 210 (1.36)
K 1=60
r 2
K1
3
3
10 210 (1.36+ )
2
K 2=60
2
r
K2
3
3
10 210 (1.36+ )
2
K 3=60
2
3
3
r
10 210
(1.36+ K 3 )
K 4 =60
2
r

X1 = 120

K 1=0.1314
K 2=0.1214
K 3=0.1221
K 4 =0.1127

1
Y 2=1.36+ (K 1 +2 K 2+ 2 K 3 + K 4)
6

Y 2=1.23815

3era Iteracin

X3 = 0 + (60* 3)

X1 = 180

K 1=0.1128

1032103 (1.23815)
r 2
K1
3
3
10 210 (1.23815+ )
2
K 2=60
2
r
K2
3
3
10 210 (1.23815+ )
2
K 3=60
2
r
K 1=60

K 2=0.1042
K 3=0.1035
K 4 =0.0970

1032103 (1.23815+ K 3)
K 4 =60
r 2
1
Y 3=1.23815+ (K 1 +2 K 2+ 2 K 3 + K 4)
6

Y 3=1.13397

4ta Iteracin

X4 = 0 + (60* 4)

X4 = 240

K 2=0.0895
o K 1=0.0969

K 3=0.0900

K 4 =0.0831
Y 4 =1.04414

5ta Iteracin

X4 = 0 + (60* 5)

X4 = 300
o

K 1=0.0831

K 3=0.0773

K 2=0.0768

K 4 =0.0713
Y 4 =0.96704

6ta Iteracin

X6 = 0 + (60* 6)

X6 = 360

K 2=0.0659
o K 1=0.0714

K 3=0.0663

K 4 =0.0612
Y 6=0.90087

7ma Iteracin

X7 = 0 + (60* 7)

X7 = 420

K 2=0.0566
o K 1=0.0612

K 3=0.0569

K 4 =0.0526
Y 7=0.84407

8va Iteracin

X8 = 0 + (60* 8)

X8 = 480

K 2=0.0486
o K 1=0.0526

K 3=0.0489

K 4 =0.0451
Y 7=0.79532

9na Iteracin

X9 = 0 + (60* 9)

X9 = 540
o

K 1=0.0451

K 3=0.0419

K 2=0.0417

K 4 =0.0387
Y 9=0.75348

10ma Iteracin

X10 = 0 + (60* 10)

X7 = 600

K 2=0.0358
o K 1=0.0387

K 3=0.0360
K 4 =0.0332

Y 7=0.71756

Reemplazamos los 600 seg en ecuacin exacta

halt =e(0.0025641t)

+0.5

halt =0.714711503

Calculamos el error relativo:

Er =

0.7147115030.71756
100
0.714711503

Er =
Respuesta:

El Mtodo de Euler nos da como respuesta H600=0.714711503m con un error%=


0.879254715% y por el Mtodo Kutta Cuarto Orden nos da como respuesta

a H600= halt= 0.714711503m y con error%=0.398552.