Documentos de Académico
Documentos de Profesional
Documentos de Cultura
DIAGRAMA Pxy
ELV Etanol (1) - Agua (2) a 1 atm
105
100
95
T (°C)
90
x1
85 y1
80
75
0 0.2 0.4 0.6 0.8 1
x1
Kojima K., Ochi K., Nakazawa Y., Int.Chem.Eng., 9(2), p342-347, 1969
JAIME AGUILAR – UNIVERSIDAD NACIONAL DE COLOMBIA 2
1
27/4/2016
100
Definir P, xi
95
T (°C)
90
x1 T=∑xi*Teb,i
85 y1
80
Calcular Pi°, γi
75
0 0.2 0.4 0.6 0.8 1
x1
F(T)=1-∑xi γi Pi°/P
yi = xi γi Pi°/P
TK+1=TK – F(T)/F´(T)
Imprima T, yi
|F(T)|<ε
FIN
SI NO
JAIME AGUILAR – UNIVERSIDAD NACIONAL DE COLOMBIA 3
FUNCIONES PROGRAMA
Function Pvap1(T_Pv1 As Double) As Double
F(T)=1-∑xi γi Pi°/P
2
27/4/2016
FUNCIONES PROGRAMA
Function TBurb(xx1 As Double, Presion As Double) As Double
TempIter = xx1 * Teb1(Presion) + (1 - xx1) * Teb2(Presion)
DeltaT = 0.1
FnT = 1 F(T)=1-∑xi γi Pi°/P
While Abs(FnT) > 0.001
FnT = FT(xx1, TempIter , Presion) ' F(T)
FnTdT = FT(xx1, TempIter + DeltaT, Presion) ' F(T+dT)
FTprima = (FnTdT - FnT) / DeltaT ' F'(T)
TempIter = TempIter - FnT / FTprima ‘ T(k+1)=T(k)-F(T)/F'(T)
Wend
TBurb = TempIter
End Function