Professional Documents
Culture Documents
Algoritmos para Punto de Rocio y Burbuja
Algoritmos para Punto de Rocio y Burbuja
BUBLE P yi , P xi , T
DEW P xi , P yi , T
BUBLE T yi , T xi , P
DEW T xi , T yi , P
BUBBLE P
Step 1. Read T, xi , constants
Step 2. Set all {φi } = 1.0
Step 3. Evaluate {Pisat }, use Antoine Equation. Evaluate {γi } and use GE model
P x γ P sat
Step 4. Calculate P = i i iφi i
xi γi Pisat
Step 5. yi = φi P
1
DEW P
Step 1. Read T, yi , constants
Step 2. Set all {φi } = 1.0 , {γi } = 1.0, calculate {Pisat } with Antoine
1
Step 3. Evaluate P = P
yi φi /(γi Pisat )
i
yi φi P
Step 4. Calculate {xi }= γi Pisat
xold
Step 9. Normalice {xi } use xnew
i = P i old
xi
2
BUBBLE T
Step 1. Read P, xi , constants
Step 2. Set all {φi } = 1.0
Bi
Step 3. Calculate {Tisat } = Ai −Ln(P )
− Ci
Bj
Step 9. Calculate T = Aj −Ln(Pjsat )
− Cj
Bj
Step 15. Calculate T = Aj −Ln(Pjsat )
− Cj
3
DEW T
Step 1. Read P, yi , constants
Step 2. Set all {φi } = 1.0 and {γi } = 1.0
Bi
Step 3. Calculate {Tisat } = Ai −Ln(P )
− Ci
Bj
Step 7. Calculate T = Aj −Ln(Pjsat )
− Cj
Bj
Step 13. Calculate T = Aj −Ln(Pjsat )
− Cj
xold
Step 17. Normalice {xi } use xnew
i = P i old
xi
Bj
Step 21. Calculate T = Aj −Ln(Pjsat )
− Cj
4
FLASH CALCULATIONS
Step 1. Read T, P, Zi , constants
Step 2. DEW P calculation with {yi } = {zi }
Step 3. BUBBLE P calculation with {xi } = {zi }
Step 4. Is PDEW < P < PBU BBLE ? Yes go to step 5, no STOP
Step 5. Evaluate {γi }, {φi }, ν
yi γi Pisat
Step 6. Calculate κi = xi
= φi P
P zi (κi −1) dF
P zi (κi −1)2
Step 7. Use F = i 1+ν(κi −1) and dν
=− i [1+ν(κi −1)]2 to find ν (use Newton)
zi
Step 8. Calculate {xi }= 1+ν(κi −1)