PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS

Similar documents
CALCULATION OF THE COMPRESSIBILITY FACTOR AND FUGACITY IN OIL-GAS SYSTEMS USING CUBIC EQUATIONS OF STATE

18 a 21 de novembro de 2014, Caldas Novas - Goiás THERMODYNAMIC MODELING OF VAPOR-LIQUID EQUILIBRIUM FOR PETROLEUM FLUIDS

UNIVERSITY OF CALGARY. Modelling Water-Hydrocarbon Mutual Solubility in Multiphase Equilibrium Calculations. Hongbo Yu A THESIS

PETE 310 Lectures # 36 to 37

Accuracy of vapour ^ liquid critical points computed from cubic equations of state

"Energy Applications: Impact of Data and Models"

Peng-Robinson Equation of State Predictions for Gas Condensate Before and After Lumping

UNIVERSITY OF CALGARY. Development of a Four-Phase Compositional Simulator Using Equations of State. Yizheng Wei A THESIS

EOS Higher Oil School 2017/5/26

Thermophysical Properties of Ethane from Cubic Equations of State

Adam G. Hawley Darin L. George. Southwest Research Institute 6220 Culebra Road San Antonio, TX 78238

On Two Flash Methods for Compositional Reservoir Simulations: Table Look-up and Reduced Variables

Modeling Vapor Liquid Equilibrium of Binary and Ternary Systems of CO 2 + Hydrocarbons at High-Pressure Conditions

PREDICTION OF SATURATED LIQUID VOLUMES FROM A MODIFIED VAN DER WAALS EQUATION. By Charles R. Koppany

SOFTWARE INTELIGENT PACKAGE FOR PHASE EQULIBRIA (PHEQ) IN SYSTEMS APPLIED IN CHEMISTRY AND CHEMICAL ENGINEERING

Predictive Equation of State

USE OF EQUATIONS OF STATE (EOS) SOFTWARE. Donald P. Mayeaux. President A+ Corporation, LLC Black Bayou Rd. Gonzales, LA USA

MULTIPHASE EQUILIBRIUM CALCULATIONS WITH GAS SOLUBILITY IN WATER FOR ENHANCED OIL RECOVERY

Preliminary Evaluation of the SPUNG Equation of State for Modelling the Thermodynamic Properties of CO 2 Water Mixtures

Rigorous calculation of LNG flow reliefs using the GERG-2004 equation of state

Aspen Dr. Ziad Abuelrub

Vapor liquid equilibrium of carbon dioxide with ethyl caproate, ethyl caprylate and ethyl caprate at elevated pressures

MODELING THE PHASE EQUILIBRIUM OF THE CLOVE OIL + CO 2 SYSTEM

This paper was prepared for presentation at the Unconventional Resources Technology Conference held in Denver, Colorado, USA, August 2014.

Overall: 75 ECTS: 7.0

Simulating Condensation in a Supercritical Gas Jet

Thermodynamic Properties of Refrigerant R116 from Cubic Equations of State

Modelling the Solubility of Solid Aromatic Compounds in Supercritical Fluids

DEVELOPMENT OF A COMPOSITIONAL RESERVOIR SIMULATOR FOR ASPHALTENE PRECIPITATION BASED ON A THERMODYNAMICALLY CONSISTENT MODEL.

PHASE EQUILIBRIUM CALCULATIONS OF HIGHLY POLAR SYSTEMS

A generalized set of correlations for plus fraction characterization

Vapor liquid equilibria of carbon dioxide with diethyl oxalate, ethyl laurate, and dibutyl phthalate binary mixtures at elevated pressures

A modification of Wong-Sandler mixing rule for the prediction of vapor-liquid equilibria in binary asymmetric systems

Yutaek Seo. Subsea Engineering

Vapour Liquid Equilibrium in Asymmetric Mixtures of n-alkanes with Ethane

CHAPTER SIX THERMODYNAMICS Vapor-Liquid Equilibrium in a Binary System 6.2. Investigation of the Thermodynamic Properties of Pure Water

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

REV. CHIM. (Bucureºti) 58 Nr

MODELING OF PHASE EQUILIBRIA FOR BINARY AND TERNARY MIXTURES OF CARBON DIOXIDE, HYDROGEN AND METHANOL

PVT Course for Oil and Gas Professionals

Cohesion Factor Relations for Cubic Equations of State: Soave-Redlich-Kwong Equation of State

CH2351 Chemical Engineering Thermodynamics II Unit I, II Phase Equilibria. Dr. M. Subramanian

Equations of State. Equations of State (EoS)

SIMULIS THERMODYNAMICS

Chemical and Engineering Thermodynamics

DISTILLATION. Keywords: Phase Equilibrium, Isothermal Flash, Adiabatic Flash, Batch Distillation

THERMODYNAMIC BEHAVIOR OF HYDROGEN/NATURAL GAS MIXTURES

The Rachford-Rice Contest

Course Name: Thermodynamics for Chemical Engineers

Comparison of the GERG-2008 and Peng-Robinson Equations of State for Natural Gas Mixtures

An improved component retrieval method for cubic equations of state with non-zero binary interaction coefficients for natural oil and gas

Vapor-hydrate phases equilibrium of (CH 4 +C 2 H 6 ) and (CH 4 +C 2 H 4 ) systems

arxiv: v1 [physics.comp-ph] 27 Jan 2019

Solubility of solids in supercritical fluids using equations of state - excess Gibbs free energy models.

EQUATION OF STATE DEVELOPMENT

Hydrate Formation: Considering the Effects of Pressure, Temperature, Composition and Water

Vapor liquid equilibria of carbon dioxide with ethyl benzoate, diethyl succinate and isoamyl acetate binary mixtures at elevated pressures

Diffusion and Reaction in Fe-Based Catalyst for Fischer- Tropsch Synthesis Using Micro Kinetic Rate Expressions

SPE A Pseudo-Black-Oil Method for Simulating Gas Condensate Reservoirs S.-W. Wang, SPE, and I. Harmawan, SPE, Unocal Indonesia Co.

ChBE BIBLE. Robert A. Pinnick. 28 April 2006

THE BEST EQUATION OF STATE AND CORRELATION DENSITY AND VISCOSITY

PHASE EQUILIBRIUM OF MULTICOMPONENT MIXTURES: CONTINUOUS MIXTURE GIBBS FREE ENERGY MINIMIZATION AND PHASE RULE

ScienceDirect. Modelling CO 2 Water Thermodynamics Using SPUNG Equation of State (EoS) concept with Various Reference Fluids

P1: IML/FFX P2: IML/FFX QC: IML/FFX T1: IML AT029-FM AT029-Manual AT029-Manual-v8.cls December 11, :59. Contents

Temperature Prediction for High Pressure High Temperature Condensate Gas Flow Through Chokes

Modelling of methane gas hydrate incipient conditions via translated Trebble-Bishnoi-Salim equation of state

PREDICTION OF PETROLEUM FRACTION ENTHALPIES FROM THE SECOND (ALPHA) MODIFICATION OF THE VAN DER WAALS EQUATION. Part 4. I. Review/Introduction

SOLUBILITY OF CO 2 IN BRANCHED ALKANES IN ORDER TO EXTEND THE PPR78 MODEL TO SUCH SYSTEMS

Cooling Temperatures of Binary Mixed Refrigerants: Vapor-Liquid-Liquid Equilibrium versus Vapor-Liquid Equilibrium

Agung Ari Wibowo, S.T, M.Sc THERMODYNAMICS MODEL

PREDICTION OF VAPOR PRESSURES AND MIXTURE VLE FROM A SECOND MODIFICATION OF THE VAN DER WAALS EQUATION. Part 3

New correlation for hydrogen-natural gas mixture compressibility factor

DETERMINATION OF CRITICAL CONDITIONS FOR THE ESTERIFICATION OF ACETIC ACID WITH ETHANOL IN THE PRESENCE OF CARBON DIOXIDE

Predictive Equation of State

A New Three Parameter Cubic Equation of State

Application of Simulated Annealing Technique to Non-Linear Optimization of PC-SAFT for Petroleum Reservoir Fluids

Prediction of Asphaltene Instability under Gas Injection with the PC-SAFT Equation of State

Chemical Engineering Thermodynamics

The Advanced Chemical Engineering Thermodynamics. The thermodynamics properties of fluids (II) Ji-Sheng Chang Q&A_-10-11/17/2005(10)

Solubility of Supercritical CO 2 in Polystyrene during Foam Formation via Statistical Associated Fluid Theory (SAFT) Equation of State

A Cubic Hard-Core Equation of State

Analyzing solubility of acid gas and light alkanes in triethylene glycol

Modeling and Computation of Phase Equilibrium. Using Interval Methods. Department of Chemical and Biomolecular Engineering, University of Notre Dame

Simulation of gas sweetening process using new formulated amine solutions by developed package and HYSYS

CONTENTS. Notes to Students Acknowledgments ABOUT THE AUTHORS UNIT I FIRST AND SECOND LAWS 1

Fluid Phase Equilibria

Preface Acknowledgments Nomenclature

4.3 CONCLUSION: HOW TO CHOOSE A MODEL The right questions Ionic liquids What is the property of interest?

Thermodynamic Models & Physical Properties

Generalized binary interaction parameters in the Wong Sandler mixing rules for mixtures containing n-alkanols and carbon dioxide

PHASE EQUILIBRIUM COMPUTATIONAL ALGORITHMS OF CONTINUOUS MIXTURES

Enhanced Oil Recovery with CO2 Injection

Reservoir Eng FOB :18 Page i Second Edition

CFD Simulation of Flashing and Boiling Flows Using FLUENT

CM 3230 Thermodynamics, Fall 2016 Lecture 16

Reliable Computation of High Pressure Solid-Fluid Equilibrium

Prediction of methanol content in natural gas with the GC-PR-CPA model Hajiw, Martha; Chapoy, Antonin; Coquelet, Christophe; Lauermann, Gerhard

Status and results of group contribution methods

DEVELOPING BINARY INTERACTION PARAMETERS FOR EQUATIONS OF STATE

Dynamic Simulation of Heat Exchanger with Multicomponent Phase Change

Transcription:

PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS A. M. BARBOSA NETO 1, A. C. BANNWART 1 1 University of Campinas, Mechanical Engineering Faculty, Energy Department Petroleum Division E-mail for contact: aneto@dep.fem.unicamp.br ABSTRACT The aim of this work is to show a computational tool capable of carrying out isothermal two-phase PT-flash using a multicomponent approach. PVTpetro consists of a compositional PVT simulator and it was developed to predict phase behavior and thermodynamic properties of hydrocarbon mixtures. One of the modules of this program is two-phase PT-flash, used for oil and gas systems. This is based on the modelling of vapor-liquid equilibria using cubic equations of state (EoS). Rachford-Rice equation was implemented, allowing the quantity and composition of each existing phase to be determined, whereas, for compressibility factor and fugacity of distributed components in each phase, SRK and PR EoS were applied. Results were compared to commercial simulators, so that the generated responses presented similar results. 1. INTRODUCTION Exploration and production in offshore reservoirs often mean working under extreme and complicated conditions. In this sense, phase behavior modeling of oil-gas systems is very important from an economical and environmental point of view. Phase equilibria calculations form the basis of a large range of petroleum and chemical engineering applications, such as compositional reservoir simulation, miscibility studies, wellbore and pipe flow and separation processes (Gaganis and Varotsis, 2014). When strong compositional effects are in system, these calculations are applied in fluid thermodynamic modeling (Qui, et al., 2014). In these cases, compositional simulation allows a more realistic description of component transfer between phases (Wei et al., 2011). Moreover, prediction of thermodynamic properties and phase behavior becomes more accurate and reliable. Flash calculations and multiphase equilibria algorithm are necessary to determine the number of phases in equilibrium, compositions and quantity of each phase and their proprieties. Thus, the use of a computational tool capable of characterizing an oil-gas system in distinct pressure and temperature conditions is essential. Barbosa Neto (2015) developed a compositional PVT simulator, which predicts the phase behavior at PT conditions using phase calculations based on cubic Equations of State (EoS). The program is commonly used to study phase equilibria applied to petroleum fluids. Based on this context, the main aim of this work is to show a software capable of carrying out an isothermal two-phase PT-flash using a compositional approach.

2. PHASE EQUILIBRIA MODELING To obtain a compositional approach in an oil-gas system, an algorithm including isothermal two-phase PT-flash and Vapor-Liquid Equilibrium (VLE) was needed. A PVTpetro simulator, developed by Barbosa Neto (2015), is capable of evaluating the phase behavior of multicomponent systems and was used in this work. The algorithm implemented in PVTpetro considers the existence of two phases: oil and gas, in equilibrium. Thermodynamic modeling of these phases was based on the VLE theory using phi-phi approach, according to Danesh (1998). In order to do this, the equality of the component fugacity in the existing phases was used as the criteria for equilibrium (Michelsen, 1982; Ahmed, 2007), as shown in Equation 1 for the LVE. f il = f iv ; i = 1, N c (1) Superscripts, L and V are indexes of the oil and gas phases, respectively; f [bar] represents fugacity and N c corresponds to the number of components. In terms of multicomponent systems of hydrocarbons, fugacity depends on pressure p [bar] and temperature T [K], as well as phase composition (x, y) (Michelsen and Mollerup, 2007), as shown in Equation 2: f il = f i(t, p, x) f iv = f i(t, p, y) (2) 2.1. Flash Calculation Flash calculation problems consider that feed stream, with global composition represented for a set of molar fractions (z i ), contains one mol of chemical species that do not react. Thus, Equations 3 and 4, respectively, give global and component balance equations for two phases in equilibrium. L + V = 1 Lx i + Vy i = z i (3) (4) In Equations 3 and 4, L is the moles number of liquid, with molar fraction x i ; V is the moles number of vapor, with molar fraction y i. These equations can be combined resulting in Equation 5: Vy i + (1 V)x i = z i ; i = 1, N c (5) Substituting the definition of equilibrium ratio (K i = y i x i ) and solving for x i and y i using Equation 5, results in: x i = y i = z i 1 V + VK i K i z i 1 V + VK i (6) (7)

The value of V can be determined by the solution of the non-linear Rachford-Rice equation (Rachford-Rice, 1952). Equation 8 was obtained from Equations 6 and 7. N c f(v) = (y i x i ) = z i(k i 1) 1 V + VK i i=1 N c i=1 = 0 (8) Newton-Raphson method with 10 6 tolerance, as shown in Figure 1, was applied to solve Equation 8. Furthermore, negative flash concept was implemented in this step. 2.2. The Cubic Equations of State Compressibility factor of the phases oil and gas, as well as the fugacity for each component in each phase of the mixture were determined using cubic EoS, such as Soave-Redlich-Kwong (1972) (SRK) and Peng-Robinson (1978) (PR) equations. They are presented in the following way, respectively (Soave, 1972; Peng and Robinson, 1976): p = p = RT V b RT V b aα(t) V(V + b) a(t) V(V + b) b(v b) (9) (10) After some algebraic operations and thermodynamic concept applications, Equations 9 and 10 can be rewritten in their cubic form relating to phase compressibility factor (Z) (Ahmed, 2007): Z 3 Z 2 + (A B B 2 )Z AB = 0 (11) Z 3 (1 B)Z 2 (A 2B 3B 2 )Z (AB B 2 B 3 ) = 0 (12) The A and B parameters are presented as: A = a m p (RT) 2 (13) B = b mp RT (14) For each equation, terms a m and b m have specific definitions that are accessible in Danesh (1998) and Ahmed (2007). Expression for fugacity was obtained using SRK and PR EoS with van der Waals classical mixing rules (Ahmed, 2007) as shown in Equations 15 and 16, respectively: ln f i p = b i b (Z 1) ln(z B) + A B [a i a b i b + 1 ] ln { Z Z + B } (15)

ln f i p = b i b (Z 1) ln(z B) + A B 2.3. VLE Algorithm 1 2 2 [a i a b i b + 1 ] ln { Z + (1 2)B Z + (1 + 2)B } (16) Figure 1 shows a vapor-liquid equilibrium flowchart that illustrate your computation procedure in two loops. In the internal loop, Rachford-Rice s equation was solved to carry out a flash calculation. The determination of Z factor and fugacity using cubic EoS and the VLE convergence were performed in the external loop. Start Given: input data and thermodynamic properties (T, P, z i, MW, T ci, P ci, V ci, Z ci, ω i ) f Calculation (Rachford-Rice) Estimate K i, using Wilson s correlation Calculate V f Calculation Newton s Method V n+1 = V n f f Erro > 10 6 Calculate x i and y i Set-up EoS PR for Liquid Set-up EoS PR for Vapor Compute Z L Compute Z V Compute f Li Compute f Vi Upgrade of K i K i n+1 = K i n f L i f Vi n No N c f 2 L i 1 < 10 12? f Vi i=1 Yes Print V, L, x i, y i, Z L, Z V, K i End Figure 1 Vapor-liquid equilibrium algorithm flowchart using isothermal two-phase flash calculations and cubic equations of state. Successive substitution method was used to obtain problem convergence (Michelsen and Mollerup, 2007). In addition, PVTpetro simulator performs a stability analysis module that applies the tangent plan criterion to ensure Gibbs energy minimization.

3. RESULTS AND DISCUSSION As a way to validate flash and VLE calculations in PVTpetro, a petroleum multicomponent composition with molar fraction z i, as shown in Table 1, was selected to be studied. Barbosa Neto (2015) describes the properties of each component. In order to evaluate the performance of the algorithm implemented, some simulations at a large range of pressure and temperature were performed using PVTpetro and compared to the Hysys and WinProp simulator predictions, available at Unicamp. Table 1 presents, in a comparative form, results of the molar compositions for oil and gas phases after flash calculation performed at p = 150 bar and T = 333.15 K using PR EoS. Table 1 Molar composition of the oil (x i ) and gas (y i ) phases of fluid composition analysed for flash calculation at p = 150 bar and T = 333.15 K, using PR EoS Comp. z i (%) (Feed) x i (%) (PVTpetro) x i (%) (Hysys) y i (%) (PVTpetro) y i (%) (Hysys) Erro - x i (%) Erro - y i (%) CO2 0.02 0.0203 0.0203 0.0196 0.0196 6.1691.10-4 1.1360.10-3 N2 0.61 0.3354 0.3354 0.9566 0.9566 1.1375.10-2 1.1669.10-3 C1 64.69 47.9815 47.9785 85.7840 85.7843 6.3844.10-3 2.9923.10-4 C2 8.21 8.7438 8.7438 7.5360 7.5362 1.6524.10-4 1.7724.10-3 C3 4.99 6.3542 6.3544 3.2677 3.2678 2.8876.10-3 1.9316.10-3 i-c4 1.04 1.4491 1.4491 0.5236 0.5236 4.3171.10-3 1.7973.10-3 n-c4 1.80 2.5921 2.5922 0.8000 0.8000 4.9453.10-3 1.1641.10-3 i-c5 0.65 0.9958 0.9959 0.2134 0.2134 5.8765.10-3 3.9363.10-4 n-c5 0.75 1.1674 1.1675 0.2230 0.2230 6.1372.10-3 1.1608.10-4 C6 1.03 1.6847 1.6848 0.2034 0.2034 6.8057.10-3 1.6174.10-3 C7 1.09 1.8407 1.8408 0.1423 0.1423 7.1855.10-3 3.3609.10-3 C8 1.61 2.7750 2.7752 0.1392 0.1392 7.3810.10-3 4.9317.10-3 C9 1.41 2.4629 2.4631 0.0808 0.0808 7.4885.10-3 6.6261.10-3 C10 1.17 2.0612 2.0617 0.0448 0.0444 2.3676.10-2 9.5400.10-1 C11 0.99 1.7547 1.7548 0.0246 0.0246 7.7165.10-3 2.3246.10-2 C12 0.86 1.5296 1.5297 0.0147 0.0147 7.6893.10-3 2.6006.10-2 C13 0.91 1.6224 1.6225 0.0107 0.0107 7.6634.10-3 2.8542.10-2 C14 0.76 1.3570 1.3571 0.0063 0.0063 7.6437.10-3 3.1038.10-2 C15 0.71 1.2692 1.2693 0.0041 0.0041 7.6252.10-3 3.3595.10-2 C16 0.53 0.9481 0.9482 0.0021 0.0021 7.6114.10-3 3.6110.10-2 C17 0.50 0.8949 0.8950 0.0014 0.0014 7.6005.10-3 3.8652.10-2 C18 0.49 0.8774 0.8775 0.0009 0.0009 7.5909.10-3 4.1541.10-2 C19 0.45 0.8059 0.8060 0.0007 0.0007 7.5858.10-3 4.1575.10-2 C20 + 4.73 8.4766 8.4772 0.0001 0.0001 7.5643.10-3 2.4023.10-2

Table 1 shows values of relative error between the PVTpetro and Hysys results for oil and gas phase compositions. The majority of errors are in the 10-2 10-4 % range, which indicates a satisfactory agreement between solutions of the simulators. Furthermore, analyzing phase behavior, it was observed that the oil phase represents 55.73% of the system. This phase is characterized by a hydrocarbon liquid phase, which is rich in light components (C1 C7), about 73%, and with an 8.4772% C20 + pseudo component. On the other hand, the gas phase occupies 44.27% of the system with about 99% of light components, mostly methane (85.7840%). This information on phase equilibrium is essential in multiphase flow compositional simulators (Gaganis and Varotsis, 2014). Computed results of equilibrium constant (K i ), for mixture components, are displayed in Figure 2 and compared with the values determined using the WinProp. The algorithm was evaluated at pressure 150 bar and at temperature 333.15 K, using SRK EoS. The dashed line in graph at K i = 1, means that the component quantity is equal in both phases in equilibrium. Equilibrium Constant - K i 3,0 2,5 2,0 1,5 1,0 SRK EoS K i (PVTpetro) K i (Wimprop) K i = 1 0,5 0,0 CO 2 N 2 C 1 C 2 C 3 I-C 4 Components N-C 4 I-C 5 N-C 5 C 6 Figure 2 Equilibrium constant of the mixture components, at p = 150 bar and T = 333.15 K, using SRK EoS in both PVTpetro ( ) and WinProp ( ). It is possible to check in Figure 2 that the PVTpetro results matched well with the commercial simulator solution. Since K i > 1 for components N2 and C1, these are concentrated in the gas phase. As expected for this operational condition evaluated, the heavier components tend to remain in the oil phase, as shown by the simulated data. In the specific case of CO2 and C2, K i values are close to 1, but with higher concentrations in the liquid phase. Figures 3a and 3b show the oil fraction curves with the pressure for two different temperatures (333.15 and 363.15 K). The PVTpetro results, using SRK EoS and PR EoS, were compared to Hysys and WinProp, respectively, showing a good agreement between the solutions. Curves presented similar behavior for both EoS. As pressure decreases, existence of two distinct regions was noted. Firstly, only the liquid phase existed, because all the gas is solubilized in oil due to high pressure conditions. This occurred up until reaching the bubble pressure and beginning the gas release. For SRK EoS, bubble pressure values were verified at 253 bar and 234 bar, and for PR EoS, they were C 7 C 8 -C 20

observed at 257 bar and 282 bar, respectively at 333.15 K and 363.15 K. Below these pressures, the system becomes two-phase and the oil fraction curve decreases. 100 100 80 80 Oil Fraction (%) 60 40 20 = 333.15 K (SRK - Hysys) 0 0 50 100 150 200 250 300 350 400 450 500 (a) = 333.15 K (SRK - PVTpetro) = 333.15 K (SRK - Hysys) = 363.15 K (SRK - PVTpetro) Pressure (Bar) = 333.15 K (PR - Wimprop) 0 0 50 100 150 200 250 300 350 400 450 500 Figure 3 Molar fraction of oil phase as a function of pressure, at 333.15 and 363.15K (a), SRK EoS in the PVTpetro and Hysys (b) PR EoS in the PVTpetro and WinProp. Oil Fraction (%) 60 40 20 (b) = 333.15 K (PR - PVTpetro) = 333.15 K (PR - Wimprop) = 363.15 K (PR - PVTpetro) Pressure (Bar) Similarly, Figures 4a and 4b present gas fraction as a function of the system pressure for two different temperature (333.15 and 363.15 K) using SRK and PR EoS, respectively. 100 80 = 333.15 K (SRK - PVTpetro) = 333.15 K (SRK - Hysys) = 363.15 K (SRK - PVTpetro) = 333.15 K (SRK - Hysys) 100 80 = 333.15 K (PR - PVTpetro) = 333.15 K (PR - Wimprop) = 363.15 K (PR - PVTpetro) = 333.15 K (PR - Wimprop) Gas Fraction (%) 60 40 Gas Fraction (%) 60 40 20 20 0 0 50 100 150 200 250 300 Pressure (Bar) (a) 0 50 100 150 200 250 300 Figure 4 Molar fraction of the gas phase as a function of the pressure, at 333.15 and 363.15K (a), SRK EoS in the PVTpetro and Hysys (b) PR EoS in the PVTpetro and WinProp. Gas curves presented the same behavior for both EoS, equivalent to oil curves. These curves 0 Pressure (Bar) (b)

existed only in the two-phase region below bubble pressure, where the gas was released from oil. Other physical analyses on system were related to temperature influence. In Figures 3 and 4, it was observed that temperature modified phase behavior, changing the bubble pressure and the intensity, with which the gas is released from the oil phase. However, the gas quantity at p = 1 bar is the same. 4. CONCLUSIONS The isothermal two-phase PT-flash and LVE modules of the PVTpetro simulator showed compatible solutions with the commercial thermodynamic packages (Hysys and WinProp) for analyzed fluid at all investigated conditions. From a thermodynamic point of view, both SRK and PR EoS presented similar performance in the LVE algorithm. Small numeric and qualitative differences in phase behavior were verified between the cubic EoS. Errors in magnitude order of 10-2 10-4 % were obtained in flash calculation to determine oil and gas phase compositions. Therefore, PVTpetro is a software which could be used to analyze the two-phase PT-flash and LVE in oil-gas systems in the petroleum and chemical industry. 5. REFERENCES AHMED, T. Equations of State and PVT Analysis: Applications for Improved Reservoir Modeling. Houston: Gulf Publishing Company, 2007. BARBOSA NETO, A. M. Desenvolvimento de um Simulador PVT Composicional para Fluidos de Petróleo. Dissertação de Mestrado, FEM/Unicamp. Campinas, 2015. DANESH, A. PVT and Phase Behaviour of Petroleum Reservoir Fluids. Amsterdam: Elsevier, 1998. GAGANIS, V.; VAROTSIS, N. An integrated approach for rapid phase behavior calculations in compositional modeling. J. of Petroleum Science and Engineering, v. 118, p. 74-87, 2014. MICHELSEN, M. L. The isothermal flash problem. Part II. Phase-Split calculation. Fluid Phase Equilibria, v. 9, p. 21-40, 1982. MICHELSEN, M. L.; MOLLERUP, J. M. Thermodynamic Models: Fundamentals & Computational Aspects. 2. ed. Holte: Tie-Line Publications, 2007. PENG, D. Y.; ROBINSON, D. B. A new two-constant equation of state. Industrial & Eng. Chemistry Fundamentals, v. 15, n. 1, p. 59-64, 1976. QIU, L.; WANG, Y.; JIAO, Q.; WANG, H.; REITZ, R. Development of a thermodynamically consistent, robust and efficient phase equilibrium solver and its validations. Fuel, v.115, p.1-16, 2014. RACHFORD, H. H.; RICE, J. D. Procedure for use of electrical digital computers in calculating flash vaporization hydrocarbon equilibrium. JPT, v. 195, n. 19, p. 327-328, 1952. SOAVE, G. Equilibrium constants from a modified Redlich-Kwong equation of state. Chemical Engineering Science, v. 27, p. 1197-1203, 1972. WEI, Y.; CHEN, Z.; SATYRO, M.; DONG, C.; DENG, H. Compositional simulation using the advanced Peng-Robinson equation of state. Paper SPE, n. 141898, 2011.