Modelado de sistemas

Solo disponible en BuenasTareas
  • Páginas : 11 (2634 palabras )
  • Descarga(s) : 13
  • Publicado : 15 de junio de 2009
Leer documento completo
Vista previa del texto
Un sistema de tanques en tres diferentes arreglos tienen diferentes concentraciones de sal al inicio de esos tanques reciben un flujo de agua pura a la entrada con un valor de 10 ml/s dado el sistema de tanques encuentre o especifique el menor tiempo para el retiro de la sal en el sistema global.

t|[A]=0 tiempo para cuando la concentracin ? sistema de sal es 0.
a)?1C`A1+CA1=CAi

?2C`A2+CA2=CA1

?3C`A3+CA3=CA2

De las ecuaciones anteriores se obtiene:
C`A1=CAi?1-CA1?1
C`A2=CA1?2-CA2?2
C`A3=CA2?3-CA3?3
C`A1C`A2C`A3= -1?1 0 0 1?2-1?2 00 1?3 -1?3 CA1CA2CA3+ 1?100 CAi

Declaracin de variables.
%Sistema de tres tanques en tres arreglos diferentes.
%Sitema de tres tanques en serie.
function[dc] = S_serie(t,c)
F = 10;
CAi = 0.1;
C2Ai = 0.05;
%C3Ai =0.15;
V1 = 2480;
V2 = 2390;
V3 = 2480;
T1 = V1/F;
T2 = V2/F;
T3 = V3/F;
dc = [(-1/T1) 0 0;(1/T2) (-1/T2) 0;0 (1/T3) (-1/T3)] * c + [(1/T1);0;0] * (CAi * C2Ai)
COMANDOS
>> [t,c] = ode23('S_Serie',[0 2000],[0;0;0]);

dc =
1.0e-004 *
0.2016
0
0
dc =
1.0e-004 *
0.1992
0.0025
0.0000
dc =
1.0e-004 *
0.19840.0033
0.0000
dc =
1.0e-004 *
0.1905
0.0114
0.0002
dc =
1.0e-004 *
0.1870
0.0144
0.0007
dc =
1.0e-004 *
0.1832
0.0182
0.0009
dc =
1.0e-004 *
0.1704
0.0302
0.0021
dc =
1.0e-004 *
0.1653
0.0334
0.0038
dc =
1.0e-004 *
0.1593
0.0388
0.0046
dc =
1.0e-004 *
0.14730.0482
0.0071
dc =
1.0e-004 *
0.1426
0.0504
0.0092
dc =
1.0e-004 *

0.1370
0.0546
0.0105
dc =
1.0e-004 *
0.1257
0.0616
0.0141
dc =
1.0e-004 *
0.1215
0.0628
0.0164
dc =
1.0e-004 *
0.1162
0.0658
0.0181
dc =
1.0e-004 *
0.1057
0.0705
0.0224
dc =

1.0e-004 *

0.1019
0.07070.0246

dc =

1.0e-005 *

0.9702
0.7267
0.2663

dc =

1.0e-005 *

0.8723
0.7522
0.3128

dc =

1.0e-005 *

0.8381
0.7456
0.3328

dc =

1.0e-005 *

0.7928
0.7551
0.3536

dc =

1.0e-005 *

0.6945
0.7599
0.4033

dc =

1.0e-005 *

0.6636
0.7425
0.4199

dc =1.0e-005 *

0.6186
0.7426
0.4407

dc =

1.0e-005 *

0.5341
0.7250
0.4819

dc =

1.0e-005 *

0.5092
0.7020
0.4905

dc =

1.0e-005 *

0.4706
0.6925
0.5068

dc =

1.0e-005 *

0.4048
0.6603
0.5328

dc =

1.0e-005 *

0.3856
0.6368
0.5336

dc =

1.0e-005 *

0.35560.6210
0.5431

dc =

1.0e-005 *

0.2977
0.5762
0.5558

dc =

1.0e-005 *

0.2829
0.5504
0.5481

dc =

1.0e-005 *

0.2566
0.5295
0.5513

dc =

1.0e-005 *

0.2051
0.4727
0.5469

dc =

1.0e-005 *

0.1949
0.4459
0.5289

dc =

1.0e-005 *

0.1715
0.4206
0.5246

dc =1.0e-005 *

0.1255
0.3513
0.4967

dc =

1.0e-005 *

0.1210
0.3263
0.4661

dc =

1.0e-005 *

0.0998
0.2971
0.4529

dc =

1.0e-005 *

0.0665
0.2289
0.4010

dc =

1.0e-005 *

0.0665
0.2129
0.3669

dc =

1.0e-005 *

0.0505
0.1844
0.3460

dc =

1.0e-005 *

0.03150.1320
0.2851

dc =

1.0e-005 *

0.0327
0.1254
0.2595

dc =

1.0e-005 *

0.0232
0.1027
0.2356

dc =

1.0e-005 *

0.0138
0.0694
0.1820

dc =

1.0e-005 *

0.0148
0.0678
0.1675

dc =

1.0e-005 *

0.0100
0.0527
0.1458

dc =

1.0e-005 *

0.0060
0.0348
0.1082...
tracking img