Professional Documents
Culture Documents
Figure 1 and Figure 2 shows the Algorithm of the Data Reduction and Vapor-Liquid Equilibrium
that were used in the MATLAB program on discussing the isothermal vapor-liquid equilibrium of
cyclohexanone + hexanal at 313.15K.
For the Data Reduction, Iterative Optimization was used for the parameter estimation of Non-
Random Two-Liquid Activity Coefficient (NRTL) Model, which uses Particle Swarm Optimization as a
minimization technique, Gamma-Phi Approach of Binary Mixture and Excess Gibbs Free Energy for the
Experimental Values. The MATLAB program starts with declaring values of the Antoine constants for the
calculation of vapor pressure, and experimental data and physical properties for the calculation of
fugacity coefficient, vapor mole fraction, and excess Gibbs free energy. Initial bounds and guess are set
for the iterative optimization which are used to optimize the objective function by determining the
minimum function of the solutions or particles taking into consideration the particle’s position,
movement speed, and updates from other solutions. If the calculated objective is less than ε , the values
for the estimated parameters are stated, which will be use for the calculation of excess Gibbs free
energy. However, if the objective is not less than ε , the parameters will be re-initialize using the
minimization technique. The results will be used to plot the model of the experimental G E and γ i vs.
Mole Fraction in the Liquid-Phase ¿ ¿).
The Vapor Liquid Equilibrium are expressed in terms of fugacity coefficient, and the technique is
based on the Durem’s theorem (“for any closed system formed initially from given masses of prescribed
chemical species, the equilibrium state is completely determined when any two independent variables
are fixed”). Virial Equation of State was used to derive the fugacity of the binary mixture. The MATLAB
program starts with declaring values of the Antoine constants for the calculation of vapor pressure,
NRTL parameters for the activity coefficient, and experimental data and physical properties for the
calculation of fugacity coefficient, vapor mole fraction, and excess Gibbs free energy. Values were set for
malar fraction which is 0.0001:0.0001:0.9999 and 1 for the fugacity coefficient. If the calculated Pcalc is
less than ε , the values for the vapor molar fraction and Pcalc are declared. If the values of Pcalc and
y i ,calc are iterated to molar fraction, the excess Gibbs free energy are calculated and re-initialize using
the minimization technique. The results will be used to plot the model of the Experimental Pcalc vs Mole
Fraction in the Liquid-Phase x i and the Vapor-Phase y i.
CONCLUSION
From OT