YTUP
Journals
About
Services
Guides
Sign InSubmit Article
HomeJournalsSigma Journal of Engineering and Natural Sciences10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-numerical-analysis-of-flash-calculation-using-soave-redlich-kwong-equation-of-st
SJSigma Journal of Engineering and Natural Sciences
Get Alerted Download PDF
AbstractKeywords1. Introduction2. Mathematical Modeling3. Results And Discussion4. ConclusionsNomenclatureShare and CiteRelated Articles
Article Open Access1 January 2017

Numerical analysis of flash calculation using Soave Redlich- Kwong equation of state with matlab

Order Reprints Cite Share

Bilal HUSSAIN*, and Muhammad AHSAN

* Author to whom correspondence should be addressed.

Sigma Journal of Engineering and Natural Sciences 2017, Vol. 35, Issue 3, pp. 427-439; doi.org/10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-numerical-analysis-of-flash-calculation-using-soave-redlich-kwong-equation-of-st

Download PDF

Abstract

Flash calculation is an important process in the industry to study the phase equilibrium. The mathematical modeling of flash calculation is getting significant in industrial problem solving. In this research, Soave Redlich Kwong (SRK) equation is used to calculate the thermodynamic properties of the mixture in the critical region. From the literature, experimental data is selected to study the behavior of four different binary mixtures. Mathematical modeling was performed to study the behavior of pressure with a mole fraction of the liquid phase and vapor phase mixture at equilibrium. An initial guess of K-values is done by using Wilson equation. The equilibrium is established when the convergence is occurring on applied condition of fugacity coefficient. The behavior is compared with the experimental data present in literature which show that this isothermal flash calculation almost follows the same trend like as experimental data.

Keywords: Mathematical modeling; flash calculation; Soave Redlich-Kwong equation of state; methane; carbon dioxide; hydrogen.

1. Introduction

In chemical engineering application, such as azeotropic distillation, supercritical extraction, petroleum and reservoir engineering the calculation of chemical and phase equation have great importance [22]. EOS has an important role in chemical engineering design. To study the mixture phase behavior at typical temperature and pressure ranges the equation of state is widely use and can be applied to mixtures of variety components ranging from light gas to heavy liquid [4; 6; 8; 19]. The phase equilibrium of mixtures depends on the suitable choice of mixing rules and on selected attractive term for pure components [13]. At the start, these equations are used only for non-polar and to some degree polar compounds. For polar and non-polar mixtures, the phase equilibrium is calculated by the equation of state. These equations are used to develop complex phase behavior model of the non-ideal mixture [20]. The cubic EOS have the inherent limitation of saturated liquid d ensity prediction by parameters obtained from critical parameters and acentric factor [3; 14; 21].

Corresponding Author/Sorumlu Yazar: e-mail/e-ileti: ahsan@scme.nust.edu.pk, tel: (+92) 333 6057 937 427

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

The temperature, pressure and chemical potentials of the two phases at equilibrium state must be equal in heat, mass transfer and boundary displacement. When the chemical potential of the two phases is equal the fugacity became equal also. Above mentioned three limitations must be satisfied in chemical equilibrium for every component of the mixture [5]. The first equation of state developed was Van der Waals which estimates the existence of vapor liquid together. Subsequently, Redlich-Kwong equation was developed to improve the accuracy of Vander Waal equation by introducing the term of temperature dependence. Soave improved the Redlich-Kwong by introducing the more temperature dependence term which is a function of acentric function and this additional modification lead more precise calculation of vapor pressure liquid density and equilibrium ratio [19]. At some specific temperature, the value of this function become zero and after that, by increasing the temperature it also starts to increase. This modification is suitable for nonpolar compounds but not for polar compounds. After that Soave again give two parameters modification for temperature dependence function. This new modification lead to solving the thermodynamic properties for both polar and non-polar compounds with the best correlation with the experimental data [2; 18]. SRK is preferred to other equation of states in chemical and petroleum industry due to its simplicity and easy to use [1]. Constant critical compressibility factor and saturated liquid density prediction are the two limitations of SRK [9]. At high pressure and at a critical point it predicts the accurate fugacity of liquid compounds. SRK is used to study the volume liquid equilibrium, volume liquid-liquid equilibrium and liquid-liquid equilibrium [7]. In volume liquid equilibrium of mixture, SRK gives a satisfactory prediction of fugacity of both subcritical and supercritical compound in the mixture. However, at high temperature, the SRK behavior is not so satisfactory for heavy and polar compounds [12]. SRK EOS require critical pressure, critical temperature and acentric factor for all component of the mixture for the calculation of mean field attraction ‘a’ and effective volume pressure ‘b’ [10]. For mixture with a finite number of components, there are many numerical techniques to do the isothermal flash calculation. This calculation is done for those systems in which feed is divided into two phases’ liquid and vapor at vapor liquid equilibrium as shown in Figure 1.

Figure 1. Isothermal flash process The process to do the flash calculations the SRK equation of state is used to find out the volumes of liquid and vapor phases. In literature, the vapor and liquid mole fraction are used as input. In this model, the value of compressibility factor is used as input to the algorithm. The algorithm used this value to calculate the vapor and liquid mole fraction. In the flash calculation,

Numerical Analysis of Flash Calculation using Soave … / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

the challenging task is to solve t he differential of SRK equation by changing the pressure to find out the volume of both liquid and vapor phases. To overcome this issue, the innovative mathematical approach is used in MATLAB by applying the Newton-Raphson method. This is basic aim of this research. The volume of both phases’ leads to finding out the compressibility factor. Compressibility factor is used to find out mole fractions of both phases. After that fugacity, the calculation is down. The convergence of both phases fugacity leads to solving the most accurate K-values. In this research, experimental data of different mixtures are taken from literature and by applying numerical technique the behavior between pressure and mole fraction of liquid and vapor phase mixture equilibrium is noted. This behavior is compared with the experimental date it shows that the results from numerical technique are following the same trend as the experimental behavior of mixtures.

2. Mathematical Modeling

For phase equilibrium, the isothermal flash calculation is done around vapor fraction by iterating pressure. The temperature and pressure are two independent variables. Loop is applied for iterating pressure to satisfy the applied condition. Guess initial K values, where (1) There are some empirical correlations to calculate the phase fraction by K-value. Wilson equation is used to find the K-value. If the K-value is near to the equilibrium the solution will converge. .

Richford Rice procedure is used to calculate the liquid mole fraction (xi) and vapor mole fraction (yi) of the mixture. On equation (5) the Newton-Raphson method is applied to solve the value of liquid mole fraction by applying the condition of equation (7) (3) (4) ∑

For the molar volume of both liquid and vapor phase, solve the SRK EOS which gives the appropriate vapor liquid equilibrium behavior of mixture [16]. As the composition of both phases

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

is different, so for the roots of cubic EOS, two different solutions are required. The iterative method is used to solve the cubic roots of the EOS. (12) Calculate the compressibility factor (13) Calculate the fugacity in both phases for each component. For vapor phase fugacity replace the xi with yi and subscript L with V. The purpose of fugacity calculation is to find out the deviation of gases from ideal behavior. The fugacity is the effective pressure of real gases calculated at a constant temperature. The fugacity coefficient which is dimensionless quantity is the relation between the fugacity and the ideal gas pressure. ln

(14) If the condition of vapor fugacity and liquid fugacity is given in equation (15) satisfied the equilibrium [17] the solution will converge at recent vapor and liquid composition for pure fluid at VLE else uses the equation (20) to update the new K-value and again repeat the process till equilibrium achieved. 1

(20) The flow chart shown in Figure 2 has been used in the process to obtain results through mathematical modeling.It highlights the iterative procedure which is carried out to obtain accurate results.

Numerical Analysis of Flash Calculation using Soave … / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Figure 2. Flow chart of the flash calculation The operating parameters of all the cases for flash calculation using SRK is given in Table 1.

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Table 1. Operating parameters for flash calculation Parameters

3. Results And Discussion

The mathematical model is applied on all mixtures hydrogen propane, methane n-butane, carbon dioxide propane and methane n-decane. The phase behavior, mixing rule ability and behavior of mathematical and experimental approach is noted of every case. The isotherms of pressure-volume relationship are obtained for the hydrogen, methane and carbon dioxide [11]. The temperature varying from 1.15 K to 34.15, 110.15 K to 190.15 K and 233.15 K to 263.15 K respectively as shown in figure 3-5. The isotherm shows that when the pressure become near to zero the behavior of gases starts becoming constant with respect to pressure.

Numerical Analysis of Flash Calculation using Soave … / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Due to the presence of hydrogen in a mixture of hydrogen and propane the range of pressure become limited and huge deviation is noted in the mixture. For the more accurate behavior of hydrogen-containing mixture, the binary interaction parameter is used. By this convergence between phases become more accurate as shown in figure 6. In methane n-butane mixture the phase behavior for both phases coverage almost as the experimental behavior of mixture. This presents that the accurate prediction can be generated at the critical conditions of the mixture as shown in figure 7. In figure 8 The deviation is noted in a mixture containing polar compounds and mixture containing carbon dioxide. But for pure components, the vapor pressure is regenerated in more accurately. The mixture of methane and n-decane having a huge difference between volatilites. The mixing rules of EOS are accurately followed by the mixture. When the graphical trend of mixture taken from calculated and experimental results compared with each other show that graph from calculated results follows the experimental trend as shown in figure 9.

Numerical Analysis of Flash Calculation using Soave … / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Figure 8. Mole fraction of carbon dioxide at various pressures

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Figure 9. Mole fraction of methane at various pressures Comparison based on the pressure of experimental [15]and model for all the cases are given in Table 2.

Numerical Analysis of Flash Calculation using Soave … / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

Table 2. Comparison of experimental and model pressure data Hydrogen propane Mole fraction

4. Conclusions

In this research for phase equilibrium the mathematical modeling is applied on SRK EOS on four set of applied for four set of mixtures to discuss the phase behavior. The results of mathematical modeling are following same behavior of experimental result which shows that modeling by using SRK EOS give a reliable solution to predict the phase behavior. Here the mole fraction of a component of both phases at VLE is estimated at different pressures which show the dependence of pressure on mole fraction at VLE. The comparison of modeling and experimental

B. Hussain, M. Ahsan / Sigma J Eng & Nat Sci 35 (3), 427-439, 2017

results show that our approach to the problem is accurate the deviation of model results of carbon dioxide propane mixture is found due to the presence of carbon dioxide in the mixture.

Nomenclature

SRK= Soave Redlich Kwong = fugacity of a component in a mixture, Pa Ki= K-values of nth component, dimensionless k=binary interaction parameter, dimensionless L=Liquid mole fraction, dimensionless Pc=critical pressure,atm p=pressure, Pa R=ideal gas constant, Pa m3/K mole t=time, seconds Tc=critical temperature, Kelvin T=temperature, Kelvin V=vapor mole fraction x=x-coordinate, xi=mole fraction of ith component in liquid yi =mole fraction of an ith component in the vapor ω=acentric factor ∅ =fugacity coefficient for a component in a mixture. Dimensionless

Share and Cite

HUSSAIN, B.; AHSAN, M. Numerical analysis of flash calculation using Soave Redlich- Kwong equation of state with matlab. Sigma Journal of Engineering and Natural Sciences 2017, Vol. 35, pp. 427-439. https://doi.org/10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-numerical-analysis-of-flash-calculation-using-soave-redlich-kwong-equation-of-st

Export:

Related Articles

A new application of fractional glucose-insulin model and numerical solutionsZafer ÖZTÜRK, Halis BİLGİL et al., 1 January 2024Investigation of physical and chemical properties of Batmans stoneHakan TUTUMLU, Ercan AYDOĞMUŞ, 1 January 2022Numerical Analysis of a Gas Separation of Ch4Co2 Using Hollow Fiber Membrane ModuleSalman QADIR, Arshad HUSSAIN et al., 1 January 2018Anaerobic digestion of cattle manureTamer COŞKUN, Neslihan MANAV et al., 1 January 2011
Publication History
Published1 January 2017
Versionv1
AccessOpen Access
10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-numerical-analysis-of-flash-calculation-using-soave-redlich-kwong-equation-of-st
Article Figures (9)
Figure 1Figure 2Figure 3Figure 4Figure 5Figure 6Figure 7Figure 8Figure 9
Related Articles
A new application of fractional glucose-insulin model and numerical solutionsZafer ÖZTÜRK, Halis BİLGİL et al.Sigma Journal of Engineering and Natural Sciences, 1 January 2024Investigation of physical and chemical properties of Batmans stoneHakan TUTUMLU, Ercan AYDOĞMUŞSigma Journal of Engineering and Natural Sciences, 1 January 2022Numerical Analysis of a Gas Separation of Ch4Co2 Using Hollow Fiber Membrane ModuleSalman QADIR, Arshad HUSSAIN et al.Sigma Journal of Engineering and Natural Sciences, 1 January 2018
Sigma Journal of Engineering and Natural Sciences coverSigma Journal of Engineering and Natural Sciences Download PDF

Subscribe to YTUP

Stay connected and receive the latest research updates directly in your inbox.

YTUP — Yıldız Technical University Publishing

Advancing knowledge and fostering innovation through high-quality, peer-reviewed academic publications.

About YTU

Discover

  • ›Articles
  • ›Journals
  • ›Research Topics
  • ›Open Access Policy

Guidelines

  • ›Author guidelines
  • ›Services for authors
  • ›Policies and publication ethics
  • ›Editor guidelines
  • ›Fee policy

Explore

  • ›Articles
  • ›Research Topics
  • ›Journals
  • ›How we publish

Support

  • ›Help center
  • ›Emails and alerts
  • ›Contact us
  • ›Submit
  • ›Career opportunities
YTU Logo

© 2026 Yıldız Technical University (Istanbul, Turkey)

Terms and ConditionsTerms of UsePrivacy PolicyPrivacy SettingsDisclaimer
Like this platform? Join our teamHave feedback or questions?
Supervisor