PETE 310 Lectures # 36 to 37

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

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

Yutaek Seo. Subsea Engineering

"Energy Applications: Impact of Data and Models"

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

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

EOS Higher Oil School 2017/5/26

Imperfect Gases. NC State University

Name: Discussion Section:

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

Reservoir Eng FOB :18 Page i Second Edition

Equations of State. Equations of State (EoS)

Vapor-liquid Separation Process MULTICOMPONENT DISTILLATION

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

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

Chapter 1. The Properties of Gases Fall Semester Physical Chemistry 1 (CHM2201)

Phases of matter and phase diagrams

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

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

WEEK 6. Multiphase systems

CH.7 Fugacities in Liquid Mixtures: Models and Theories of Solutions

PETROLEUM ENGINEERING 310 FIRST EXAM. September 19, 2001

Course Name: Thermodynamics for Chemical Engineers

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

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

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

Ideal Gas Behavior. NC State University

Name: Discussion Section:

Note: items marked with * you should be able to perform on a closed book exam. Chapter 10 Learning Objective Checklist

Preparing Oil & Gas PVT Data. Reservoir Simulation

Overall: 75 ECTS: 7.0

DEVELOPING BINARY INTERACTION PARAMETERS FOR EQUATIONS OF STATE

Phase Separation Degree of Freedom Analysis. Binary Vapor-Liquid Systems. Azeotropic Systems. - Gibbs phase rule F C P 2 -General analysis

Real Gases. Sections (Atkins 6th Ed.), (Atkins 7-9th Eds.)

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

Business. Final Exam Review. Competencies. Schedule Today. Most missed on Exam 3. Review Exam #3

PVT Course for Oil and Gas Professionals

Phase Equilibria of binary mixtures by Molecular Simulation and PR-EOS: Methane + Xenon and Xenon + Ethane

van der Waals Isotherms near T c

MSE 201A Thermodynamics and Phase Transformations Fall, 2008 Problem Set No. 8. Given Gibbs generals condition of equilibrium as derived in the notes,

THE BEST EQUATION OF STATE AND CORRELATION DENSITY AND VISCOSITY

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

SIMULIS THERMODYNAMICS

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

Predictive Equation of State

Aspen Dr. Ziad Abuelrub

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

Vapor-liquid equilibrium

Chapter 10. Vapor/Liquid Equilibrium: Introduction

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

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

EQUATION OF STATE DEVELOPMENT

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

Surface Tension Prediction for Liquid Mixtures

Modelling the Solubility of Solid Aromatic Compounds in Supercritical Fluids

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

The simultaneous prediction of vapor-liquid equilibrium and excess enthalpy. Kwon, Jung Hun. Thermodynamics and properties lab.

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

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

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

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

Virial Expansion. Silicon Valley FIG March 24, Chen-Hanson Ting

Exam 3 Solutions. ClO g. At 200 K and a total pressure of 1.0 bar, the partial pressure ratio for the chlorine-containing compounds is p ClO2

FUNDAMENTALS OF THERMODYNAMICS AND HEAT TRANSFER

General Physical Chemistry I

ISENTHALPIC THROTTLING (FREE EXPANSION) AND THE JOULE-THOMSON COEFFICIENT

Introduction: Introduction. material is transferred from one phase (gas, liquid, or solid) into another.

ChE 201 August 26, ChE 201. Chapter 8 Balances on Nonreactive Processes Heat of solution and mixing

pv m = RT + Bp The simplest equation for calculating fugacity, given an equation of state, is Z=1 + B RT p

PV = nrt where R = universal gas constant

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

download instant at 2 Phase Diagrams of Pure Fluids

CHEMICAL ENGINEERING THERMODYNAMICS. Andrew S. Rosen

Chemical Process Design / Diseño de Procesos Químicos

The two major assumptions required to reduce VLE calculations to Raoult's law are:

Les propriétés d'équilibre entre phases et masses volumiques

Modified Raoult's Law and Excess Gibbs Free Energy

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

Syllabus for CHE0200 Chemical Engineering Thermodynamics Class Section 1030 Spring 2018

Analyzing solubility of acid gas and light alkanes in triethylene glycol

P(N,V,T) = NRT V. = P(N,V,T) dv

Use of the GERG-2008 Equation of State for Hydrocarbon Dew Point Calculation

Some comments on the double retrograde vaporization

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

Phase Diagrams: Conditions for Equilibrium (CfE)

CE 530 Molecular Simulation

12. Heat of melting and evaporation of water

We will review for the exam on Monday. Have questions ready to ask in class.

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

2. Derive ideal mixing and the Flory-Huggins models from the van der Waals mixture partition function.

Pressure Volume Temperature Relationship of Pure Fluids

Preface Acknowledgments Nomenclature

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

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

Thermodynamic condition for equilibrium between two phases a and b is G a = G b, so that during an equilibrium phase change, G ab = G a G b = 0.

Review Article. VLE Properties from ISM Equation of State: Application to Pure and Mixture

General Physical Chemistry I

Teaching Assistant: Tracy Bucholz CPE office hours: M, W, F 8:30-9:30am

REV. CHIM. (Bucureºti) 58 Nr

Chemical and Engineering Thermodynamics

Transcription:

PETE 310 Lectures # 36 to 37 Cubic Equations of State Last Lectures

Instructional Objectives Know the data needed in the EOS to evaluate fluid properties Know how to use the EOS for single and for multicomponent systems Evaluate the volume (density, or z-factor) roots from a cubic equation of state for Gas phase (when two phases exist) Liquid Phase (when two phases exist) Single phase when only one phase exists

Equations of State (EOS) Single Component Systems Equations of State (EOS) are mathematical relations between pressure (P) temperature (T), and molar volume (V). Multicomponent Systems For multicomponent mixtures in addition to (P, T & V), the overall molar composition and a set of mixing rules are needed.

Uses of Equations of State (EOS) Evaluation of gas injection processes (miscible and immiscible) Evaluation of properties of a reservoir oil (liquid) coexisting with a gas cap (gas) Simulation of volatile and gas condensate production through constant volume depletion evaluations Recombination tests using separator oil and gas streams Many more

Equations of State (EOS) One of the most used EOS is the Peng- Robinson EOS (1975). This is a threeparameter corresponding states model. P V RT b a V ( V b) b( V b) P P rep P attr

Equations of State (EOS) Peng-Robinson EOS is a three-parameter corresponding states model. Critical Temperature T c Critical Pressure P c Acentric factor

PV Phase Behavior Pressure P 1 v L T c CP 2 - Phases T 2 T 1 V Pressurevolume behavior indicating isotherms for a pure component system L V Molar Volume

Equations of State (EOS) The critical point conditions are used to determine the EOS parameters P V 2 V P 2 T c T c 0 0

Equations of State (EOS) Solving these two equations simultaneously for the Peng-Robinson EOS provides a a R 2 P T c 2 c and b b RT P c c

Equations of State (EOS) Where and a b 0.45724 0.07780 with 1 m1 Tr 2 m 0.37464 1.54226 0.2699 2

Pres sur e EOS for a Pure Component CP T 2 v P 1 1 L A1 3-10 0 4 A2 V ~P T 0 1 2 5 T 1 V 2 2 - P hases L V 7 Mo la r V olum e 6

Pre sure EOS for a Pure Component Maxwell equal area rule (Van der Waals loops) For a fixed Temperature lower than T c the vapor pressure is found when A 1 = A 2 Equations of State cannot be quadratic polynomials Lowest root is liquid molar volume, largest root is gas molar volume Middle root has no physical significance v P 1 1 L CP T 2 4 3 A2 5 - A1 1 10 0 0 2 V ~P T 2 2 - Phases L V 7 Molar Volume 6 T1 V

Equations of State (EOS) Phase equilibrium for a single component at a given temperature can be graphically determined by selecting the saturation pressure such that the areas above and below the loop are equal, these are known as the van der Waals loops.

Equations of State (EOS) PR equation can be expressed as a cubic polynomial in V, density, or Z. Z ( B 1) Z 3 2 2 ( 3 2 ) A B B Z 2 3 ( AB B B ) 0 with B a RT bp RT P A 2

Equations of State (EOS) When working with mixtures (a ) and (b) are evaluated using a set of mixing rules The most common mixing rules are: Quadratic for a Linear for b

Quadratic MR for a Nc Nc 1 j 1 0.5 a x x a a 1 k m i i j i j i j i j where k ij s are the binary interaction parameters and by definition k k ij ii k 0 ji

Linear MR for b b Nc x b m i i i 1

Example For a three-component mixture (Nc = 3) the attraction (a) and the repulsion constant (b) are given by 0.5 0.5 a 2 x x a a (1 k ) 2 x x a a (1 k ) m 1 2 1 2 1 2 12 2 3 2 3 2 3 23 0.5 2 2 1 3 1 3 1 3 13 1 1 2 2 2 2 x x a a (1 k ) x a x a x a 2 3 3 3 1 b x b x b x b m 1 1 2 2 3 3

Equations of State (EOS) The constants a and b are evaluated using Overall compositions z i with i = 1, 2 Nc Liquid compositions x i with i = 1, 2 Nc Vapor compositions y i with i = 1, 2 Nc

Equations of State (EOS) The cubic expression for a mixture is then evaluated using A m a P bp RT m B m 2 m RT

Analytical Solution of Cubic Equations The cubic EOS can be arranged into a polynomial and be solved analytically as follows. 3 2 Z ( B 1) Z 2 ( A 3B 2 B) Z 2 3 ( AB B B ) 0

Analytical Solution of Cubic Equations Let s write the polynomial in the following way 3 2 x a x a x a 1 2 3 0 Note: x could be either the molar volume, or the density, or the z-factor

Analytical Solution of Cubic Equations When the equation is expressed in terms of the z factor, the coefficients a 1 to a 3 are: a 1 2 3 ( B 1) a ( A 3B 2 B) 2 2 3 a ( AB B B )

Procedure to Evaluate the Roots of a Cubic Equation Analytically Let Q R 2 3a2 a1 9 9a a 27a 2a 54 3 1 2 3 1 S 3 R 3 Q 2 R T 3 R 3 Q 2 R

Procedure to Evaluate the Roots of a Cubic Equation Analytically The solutions are, 1 x S T a 3 1 1 1 1 1 x S T a i 3 S T 2 1 2 3 2 1 1 1 x S T a i 3 S T 3 1 2 3 2

Procedure to Evaluate the Roots of a Cubic Equation Analytically If a 1, a 2 and a 3 are real (always here) The discriminant is Then D = Q 3 + R 2 One root is real and two complex conjugate if D > 0; All roots are real and at least two are equal if D = 0; All roots are real and unequal if D < 0.

Procedure to Evaluate the Roots of a Cubic Equation Analytically where 1 1 x 2 Q cos a 3 3 1 1 1 1 If D 0 x 2 Q cos 120 a 3 3 cos R Q 3 2 1 1 1 x 2 Q cos 240 a 3 3 3 1

Procedure to Evaluate the Roots of a Cubic Equation Analytically x x x a 1 2 3 1 x x x x x x a 1 2 2 3 3 1 2 x x x a 1 2 3 3 where x 1, x 2 and x 3 are the three roots.

Procedure to Evaluate the Roots of a Cubic Equation Analytically The range of solutions useful for engineers are those for positive volumes and pressures, we are not concerned about imaginary numbers.

Solutions of a Cubic Polynomial We are only interested in the first quadrant.

Solutions of a Cubic Polynomial http://van-der-waals.pc.unikoeln.de/quartic/quartic.html contains Fortran codes to solve the roots of polynomials up to fifth degree.

Web site to download Fortran source codes to solve polynomials up to fifth degree

Pres sur e EOS for a Pure Component CP T 2 v P 1 1 L A1 3-10 0 4 A2 V ~P T 0 1 2 5 T 1 V 2 2 - P hases L V 7 Mo la r V olum e 6

Parameters needed to solve EOS Tc, Pc, (acentric factor for some equations i.e. Peng Robinson) Compositions (when dealing with mixtures) For a single component Specify P and T determine Vm Specify P and Vm determine T Specify T and Vm determine P

Tartaglia: the solver of cubic equations http://es.rice.edu/es/humsoc/galileo/catalog/files/tartalia.html

Cubic Equation Solver http://www.1728.com/cubic.htm

WWW Cubic Equation Solver Only to check your results You will not be able to use it in the exam if needed Special bonus HW will be invalid if using this code, you MUST provide evidence of work Write your own code (Excel is OK)

Two-phase VLE The phase equilibria equations are expressed in terms of the equilibrium ratios, the K-values. K i y x i i ˆ ˆ l i v i

Dew Point Calculations Equilibrium is always stated as: x ˆl P y ˆv P i i i i (i = 1, 2, 3, Nc) with the following material balance constraints Nc Nc Nc x 1, y 1, z 1 i i i i 1 i 1 i 1

Dew Point Calculations At the dew-point x ˆ ˆ l z v i i i i x K z (i = 1, 2, 3, Nc) i i i

Dew Point Calculations Rearranging, we obtain the Dew-Point objective function Nc i 1 z i K i 1 0

Bubble Point Equilibrium Calculations For a Bubble-point Nc i 1 zk i i 1 0

Flash Equilibrium Calculations Flash calculations are the work-horse of any compositional reservoir simulation package. The objective is to find the f v in a VL mixture at a specified T and P such that N c z ( K 1) i 1 f ( K 1) i 1 v i i 0

Evaluation of Fugacity Coefficients and K-values from an EOS The general expression to evaluate the fugacity coefficient for component i is RT ln ˆ v i P 0 V i RT P dp T fixed

Evaluation of Fugacity Coefficients and K-values from an EOS The final expression to evaluate the fugacity coefficient of component i in the vapor phase using an EOS is. RT ln ˆ v i V v t P v n i T, n v j i RT v V t dv v t RT ln Z v A similar expression replacing v by l is used for the liquid

Equations of State are not perfect EOS provide self consistent fluid properties Density (o & g) trends are correctly predicted with pressure, temperature, and compositions (and all derived properties ) Same phase equilibrium model for gas and liquid phases (material balance consistency)

Equations of State are not perfect However predicted fluid property values may differ substantially from data EOS are routinely calibrated to selected & limited experimental data After calibration EOS predictions beyond range of data can be used with confidence EOS are extensively used in reservoir simulation

What is EOS calibration? Minimization of squared differences between experimental and predicted fluid properties Ndata i 1 g i predicted g exp erimental i 2 min These Properties (g i ) include: Densities, saturation pressures Relative amounts of gas and liquid phases Compositions, etc.

What is EOS calibration? Accomplished by changing within certain limits selected EOS parameters Minor adjustments (1 to 2%) of binary interaction parameters (k ij ) can change saturation pressures by 20 to 30% Different properties of the C 7+ fraction affect liquid dropout and densities. These properties include Molecular weight (uncertainty is +/- 10%) Specific gravity Critical properties and acentric factors which are highly dependent on correlations Cannot be easily measured and not usually done.

Pre and post calibration predictions from an EOS

Pre and post calibration predictions from an EOS

Pre and post calibration predictions from an EOS

Pre and post calibration predictions from an EOS

Problems to Think About Determine the equilibrium ratio of C 1 from multiple flash calculations using SOPE. Select a mixture and a suitable pressure temperature range Discuss the trends, how does k C1 change with T at a fixed P? Discuss the trends, how does k C1 change with P at a fixed T? Provide well documented graphs

Problems to Think About Compare the equilibrium ratio of C 1 at 4000 psia and at 200 o F with that of the convergence pressure chart using. A mixture of C 1 and C 2 A mixture of C 1 and C 4 A mixture of C 1 and C 8 Discuss the results obtained and provide overlapped plots Calibrate one of EOS s in SOPE to the bubble point data reported by Standings in the following table

Problems to Think About

Problems to Think About Mole fraction of C1 Dew point pressure Bubblepoint pressure Z-factors of mixture (gas and liquid) Molar volumes of mixture gas & liquid All at T = 160 o F (not shown here)

Problems to Think About Select one EOS (Vdw, RK, SRK, PR, or Cubic-4G) Select one bubble point pressure for one composition of methane Plot p b predicted vs binary interaction parameter selected Select the best k ij that matches the bubble point pressure Compare the values of experimental vs. predicted molar volumes

Pressure, psia You should be obtaining a plot like this one Bubble Point Pressure C 1 -C 4 Mixture (10% C1) at T = 2500.0 2000.0 160 o F Experimental p b is 339 psia 1500.0 1000.0 500.0 You CANNOT use this same composition in Your homework 0.0-0.5-0.3-0.1 0.1 0.3 0.5 k ij Cubic-4G P-R S-R-K R-K VDW

This is the end, we survived!!!