WO2014027196A2 - Physical property modelling - Google Patents

Physical property modelling Download PDF

Info

Publication number
WO2014027196A2
WO2014027196A2 PCT/GB2013/052159 GB2013052159W WO2014027196A2 WO 2014027196 A2 WO2014027196 A2 WO 2014027196A2 GB 2013052159 W GB2013052159 W GB 2013052159W WO 2014027196 A2 WO2014027196 A2 WO 2014027196A2
Authority
WO
WIPO (PCT)
Prior art keywords
values
phase
splining
liquid
mixture
Prior art date
Application number
PCT/GB2013/052159
Other languages
French (fr)
Other versions
WO2014027196A3 (en
Inventor
Rowland A.S. MOORWOOD
Original Assignee
Kbc Advanced Technologies Plc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kbc Advanced Technologies Plc filed Critical Kbc Advanced Technologies Plc
Publication of WO2014027196A2 publication Critical patent/WO2014027196A2/en
Publication of WO2014027196A3 publication Critical patent/WO2014027196A3/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N25/00Investigating or analyzing materials by the use of thermal means
    • G01N25/02Investigating or analyzing materials by the use of thermal means by investigating changes of state or changes of phase; by investigating sintering
    • G01N25/12Investigating or analyzing materials by the use of thermal means by investigating changes of state or changes of phase; by investigating sintering of critical point; of other phase change
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/26Oils; viscous liquids; paints; inks
    • G01N33/28Oils, i.e. hydrocarbon liquids
    • G01N33/2811Oils, i.e. hydrocarbon liquids by measuring cloud point or pour point of oils
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/26Oils; viscous liquids; paints; inks
    • G01N33/28Oils, i.e. hydrocarbon liquids
    • G01N33/2823Oils, i.e. hydrocarbon liquids raw oil, drilling fluid or polyphasic mixtures

Definitions

  • Physical property modelling The present invention relates to the field of physical property modelling, particularly, but not only, modelling involving simulations of petroleum fluids.
  • phase equilibrium In the majority of cases, simulation of the properties of a fluid requires as a first step the calculation of its phase equilibrium.
  • the simplest example of a phase equilibrium problem is one where the pressure, temperature and overall composition (termed the feed) is defined, and the task is to predict how many phases the fluid will separate into, and what the compositions and relative amounts of the phases will be. Thermodynamically, such an equilibrium corresponds to the point where the Gibbs energy is at a minimum, and the necessary thermodynamic properties are calculated from a rigorous model such as an equation of state.
  • phase equilibrium which involves combinations of a vapour (or gas-like) phase and a liquid phase
  • the first step is to establish whether the feed is stable and remains as a single phase, or whether it will split into two phases.
  • the established technique which is used to detect possible phase splitting is the phase stability algorithm proposed by Michelsen (see M. L Michelsen: Fluid Phase Equilibria, 9, 1 , 1982). If it transpires from this algorithm that the feed will split, it is then necessary to calculate the actual phase equilibrium, i.e. what the composition and relative amount of each phase will be.
  • the most common method of calculating phase equilibria is the successive substitution method (see M. L Michelsen: Fluid Phase Equilibria, 9, 21 , 1982).
  • the initial step in this method is to estimate the likely compositions y, x of the vapour and liquid phases, where y is a vector in composition hyperspace of the vapour mole fractions y, and x is a vector of the liquid mole fractions x,.
  • Subscript i denotes the i th component which corresponds to the i th dimension of the hyperspace.
  • Michelsen phase stability test provides estimates for y and x in the case where it predicts that the feed will split into two phases.
  • vector z represents the feed mole fractions z,.
  • Equation 2 is not explicit in F v so it has to be solved iteratively using a suitable numerical technique such as Newton's method.
  • step 2 The algorithm is computationally expensive because solving the equation of state to obtain the K-values (step 2) takes significant time even for relatively simple engineering models such as the Peng-Robinson (PR) or Soave-Redlich-Kwong (SRK) equations of state. Some more recent models such as the GERG or SAFT equations take much longer.
  • PR Peng-Robinson
  • SRK Soave-Redlich-Kwong
  • step 2 the whole procedure (steps 1-6) is iterative so the K-values have to be evaluated (step 2) many times during one phase equilibrium calculation. In some cases, the procedure will not converge to a solution and alternative, more computationally intensive methods have to be used in order to find the equilibrium. In addition, the phase equilibrium calculation must often be preceded by the phase stability analysis procedure that takes comparable, if not more, computing time.
  • Fig. 1 shows a plot on a pressure-temperature plane of typical vapour-liquid phase behaviour exhibited by petroleum fluids, which are mixtures of predominantly non-polar hydrocarbon molecules. There is a region of two-phase behaviour bounded by the bubble-point and dew point lines. At higher pressures or temperatures the fluid is a single phase, although the identity of this phase gradually changes from being liquid-like at low temperatures to vapour-like at high temperatures.
  • the bubble-point and dew-point lines meet at the critical point, the point where the vapour and liquid phases become just indistinguishable. It follows that at the critical point, the K-value of every component is unity.
  • Equation 2 The problem of finding the composition and relative amounts of each phase in the phase equilibrium then reduces to solving Equation 2 iteratively only once for F v , and then using Equations 3 and 4 to obtain the compositions x and y for the vapour and liquid phases. If the feed is in the single phase region, the value of F v obtained from Equation 2 lies outside the physically meaningful range of 0 ⁇ F V ⁇ 1. When this happens, the solution of Equation 2 is abandoned as the fluid is known to be a single phase of composition z.
  • K-values In order to set up such an explicit K-value method, it is necessary to know what the K-values should be. In principle the K-values could be regressed to match experimental data, but this is rarely possible as the amount of available data at the relevant conditions is normally very limited.
  • a practical approach is to use a rigorous method (e.g. based on an accepted thermodynamic model) to calculate the phase equilibrium and hence the K-values at a small number of points, and then to regress the K-values explicitly for use in Equations 2, 3 and 4. Put another way, the method consists of interpolating between a small number of rigorous phase equilibrium calculations.
  • Such a method only takes a fraction of the computing time of the rigorous method, which only defines K-values implicitly.
  • it can be applied for any feed that is not too different from the specified feed z, the assumption being that the K-values remain approximately the same functions of pressure and temperature.
  • Fig. 2 represents the natural logarithm of the K-value as a function of pressure, at temperature T c , for a different component of the feed. The more volatile the component, the higher its K-values (and ln(K)). The important point to note is that the K-values all converge to unity (zero in logarithmic form) at the critical pressure p c . Above the critical pressure, the fluid is one phase and so there can be no phase equilibrium and hence there are no K-values.
  • the cricondentherm is the highest temperature at which a vapour-liquid equilibrium occurs for the mixture in question.
  • F v the pressure rises above the lower dew point
  • the dew point will move if the feed composition is altered so there is a region above the dew point for the specified feed where a two-phase solution is possible for different feed
  • one objective of the present invention is to provide a method which can be used to calculate K-values at pressures above the bubble-point or dew-point pressure (i.e. at pressures where there is a single phase for a given mixture).
  • a method of determining K-values for a mixture comprising the following steps:
  • K-values can be determined above the bubble- point or dew-point pressure for a given mixture. Such K-values may then be used to simulate a mixture with a slightly different composition, for example.
  • the method involves expressing the K-values as explicit functions of a small number of variables with the result that phase equilibrium calculations take only a fraction of the time required for a rigorous solution of the phase equilibrium with an equation of state.
  • the procedure is well suited to larger-scale computer simulations where the time taken to solve the phase equilibria rigorously would render them impractical.
  • thermodynamic and transport properties needed in simulations may be correlated as simple functions using a similar and
  • the method may be applied to any rigorous thermodynamic and transport property models.
  • the resulting correlated expressions can be executed just as fast regardless of the time the rigorous methods take to execute. Therefore, the more computationally intensive the rigorous method, the greater the saving in computing time.
  • the method can provide a close approximation to the use of rigorous methods.
  • the uncertainties in the data and the errors in the whole model will greatly exceed any error introduced by the explicit function method of the present invention.
  • Provided regression points are close enough and sufficient coefficients are used to represent the K-values and physical properties as functions of pressure, etc., any reasonable degree of accuracy in the representation of the rigorous methods can be achieved.
  • the rigorous methods themselves are only approximations to physical reality.
  • p r is an advantageous variable with which to regress the K-values.
  • the K-values may be regressed as a function of p r using the equation
  • the method may further comprise regressing a variable other than the K- values as a function of p r .
  • the other variable could be the total volume, enthalpy, heat capacity, entropy, viscosity, thermal conductivity or interfacial tension of the mixture, for example.
  • p r is a convenient variable with which to regress these other variables, which may then be used in a simulation of the mixture.
  • p pc is determined by:
  • A is the Helmholtz energy of the mixture
  • n is the mole number and subscripts i and j denote the components in the mixture
  • Ppc may be determined from an equation of state.
  • n may be found by following the iterative procedure:
  • (b-5) extend a feed composition vector z in the direction u to intersect the hyperplane to determine the new mole number vector n;
  • V may found by following the iterative procedure:
  • step (b-18) go to step (b-14).
  • the K-values are preferably regressed on an isotherm at temperature T.
  • the method preferably further comprises determining a vapour phase fraction F v from each determined set of K-values.
  • F v may be determined iteratively, for example using the equation:
  • K is the K-value for component i and is the amount of component i present in the mixture.
  • the method preferably further comprises determining vapour and liquid mole fractions from each K-value and F v . This may be done using Equations 3 and 4.
  • the K-values are treated as functions of pressure and a limited number of other variables but are independent of the composition of the mixture.
  • the K-values are treated as a function of temperature and pressure only.
  • the K-values are treated as a function of temperature, pressure and time only. Other variables could also be used depending on the particular simulation.
  • the K-values for the mixture are preferably determined using an equation of state.
  • an equation of state For example, the PR, SRK, GERG or SAFT equation of state may be used.
  • the method is repeated at a different temperature.
  • K-values covering a range of representative pressures and temperatures may be determined.
  • the K-values are then splined between the different
  • Splining may be performed using a cubic splining method, for example.
  • the splining may be performed using a conventional cubic splining method such as the one described below.
  • the splining is performed using a new splining method such as the one according to the tenth aspect of the invention described below. This is a less complicated method which avoids the need for calculating higher order derivatives.
  • the mixture may comprise a petroleum fluid, for example, and the K-values are then preferably used for a simulation of a petroleum fluid. This method is particularly useful when applied to petroleum fluids.
  • the method further comprises using the K-values in a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
  • the K-values may be determined adaptively for pressures and temperatures as required in a simulation. This can help to avoid unnecessary computation. A benefit of this method is that it will make many design studies or control applications feasible which otherwise would not be carried out because of unacceptably long computing times.
  • the method may further comprise estimating K-values for a solid phase.
  • the method could then further comprise modelling wax precipitation or asphaltenes, for example.
  • a computer readable medium comprising a computer program according to the second aspect.
  • a method of determining K-values for a mixture explicitly at a number of pressures and at a temperature T wherein the K-values are determined as a function of time, and the determined K-values are then used in simulation of a pipe or pipeline.
  • This method has the benefit that the same explicit function can be used in the simulation all along the pipe or pipeline because it is not necessary to use the position on the pipeline explicitly in the expressions for the K-values and other physical properties.
  • the method may be applied to other situations in which time can be used as a variable in place of one of more position variables.
  • the method of the first aspect is used to determine the K-values.
  • the K-values may be determined as a function of time based on the flow into the pipe as a function of time, which may be a given piece of information. For example, in a real-time application the flow into the pipe as a function of time could be deduced from monitoring. In a simulation of past performance, the flow into the pipe as a function of time could come from historical records. If the pipe is connected to an oil well, the predicted flow as a function of time could come from a life-of-field reservoir model. In summary, the flow into the pipe as a function of time could be measured in real time or it could be estimated from some other plausible model.
  • a computer readable medium comprising a computer program according to the fifth aspect
  • a method of determining K-values for a mixture comprising vapour, liquid and solid phases, wherein first solid-liquid K-values are determined for the mixture and then the components of the solid phase are subsumed into the liquid phase to form an effective liquid phase before estimating resulting effective liquid-vapour K-values.
  • the method may further comprise calculating a phase equilibrium between the vapour and effective liquid phases, and preferably then splitting the effective liquid phase into oil and solid phases. This is a simple and effective way to simulate such a composition.
  • the solid phase may be an asphaltene phase, for example.
  • the effective liquid-vapour K-values are estimated using a rigorous calculation, for example using the method of the first aspect.
  • any suitable method could be used to estimate the effective liquid-solid K-values.
  • the method may further comprise using the K-values for a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
  • a computer readable medium comprising a computer program according to the eighth aspect.
  • the method may involve a new splining method. This is considered to be inventive in its own right, regardless of whether or not it is used in combination with the method of the first aspect of the invention.
  • a method of splining K-value functions between splining points in two or more splining variables wherein the splined K-value function is a function of switch functions and the K-value functions and their first order derivatives only.
  • the splining variable or variables is or comprises temperature.
  • the switch functions are polynomials, preferably cubic polynomials, of the splining variable.
  • switch functions are used and preferably these are given by:
  • T+ (x) (-i-* ⁇ * 2+ * 3 ) where x is a transformed splining variable which runs from -1 to +1 between the splining points.
  • the splined function is preferably given by
  • f x is df/dx and f y is df/dy.
  • the splined function is preferably given by
  • the scheme can be extended in an analogous way to handle any number of splining variables.
  • the first order derivatives may conveniently be determined by a finite difference method.
  • a computer readable medium comprising a computer program according to the eleventh aspect.
  • the methods of the present invention are implemented using a computer system.
  • the invention also extends to a computer system arranged for performing one or more of the methods of the present invention described above.
  • Fig. 1 is a plot on the pressure-temperature plane of typical vapour-liquid phase behaviour exhibited by petroleum fluids
  • Fig. 3 is a plot illustrating the procedure to extend a splining method to a function of two variables, f(x,y); and
  • Fig. 4 is a typical phase diagram plot for an asphaltenic crude oil.
  • the explicit K-value method starts from the observation that for most petroleum fluids the K-values are strongly dependent on temperature and pressure, but almost independent of composition.
  • the K-values are therefore represented for a defined feed as explicit functions of pressure and temperature only.
  • Equation 2 iteratively only once for F v , and then using Equations 3 and 4 to obtain the compositions x and y for the vapour and liquid phases. If the feed is in the single phase region, the value of F v obtained from Equation 2 lies outside the physically meaningful range of 0 ⁇ F V ⁇ 1. When this happens, the solution of Equation 2 is abandoned as the fluid is known to be a single phase of composition z.
  • the equation of state also incorporates a number of model parameters. In most practical situations, the pressure and not the volume is known, so the first step in evaluating the K-values is to solve the equation of state for volume V for each coexisting phase.
  • the residual pressure p* is defined as the difference between the pressure exerted by a real gas and that exerted by an ideal gas at the same volume, temperature and composition
  • the fugacity coefficient of component i is defined as
  • ⁇ ⁇ ,, ⁇ are the fugacity coefficients for the vapour and liquid phases and y h X, are the mole fractions for the vapour and liquid phases. It follows that the partition coefficient or K-value is iven by
  • SRK Soave-Redlich-Kwong
  • k is the binary interaction parameter between components i and j.
  • Equation 1 1 In order to proceed further, Equation 1 1 must be solved for volume for the specified pressure, temperature and composition. In general, because an equation of state is not explicit in volume, the solution can only be found numerically by a suitable iterative technique. However, the SRK equation is a so-called cubic equation of state which can be rearranged into a cubic polynomial in volume
  • Equation 6 the residual Helmholtz energy A* for the SRK equation is found to be
  • the projected critical point It is a critical point for the fluid mixture arising from the projected phase equilibrium calculation (which is not the same as the feed composition). In other words, the projected critical point may be thought of as the critical point for a mixture with a different ratio of components to that in feed z.
  • the line joining composition vectors y and x is termed a tie line.
  • the critical tie line is the limiting tie line as the separation between y and x tends to zero.
  • the condition for a projected critical point is that the feed composition vector z must lie on the critical tie line.
  • Fig. 1 corresponds to the line of projected critical points.
  • the actual critical point is the point where the critical mixture and the feed are the same. Below the critical temperature, the critical mixture is more liquid- like than the feed, and above the critical temperature it is more vapour-like.
  • a critical point can be defined as a property of a single phase.
  • the first property that it must exhibit is that the mixture is at the limit of stability, i.e. that it is about to split into two phases.
  • Matrix Q is defined, the elements of which are where A is the Helmholtz energy of the mixture given by an equation of state ,n is the mole number and subscripts i and j denote the components in the mixture.
  • A is a function of temperature T, total volume V and the vector of mole numbers n.
  • the total volume is constrained so the mole numbers and hence the mole number derivatives are all unconstrained and linearly independent.
  • the mole numbers do not necessarily sum to unity, so they are not mole fractions.
  • the matrix Q is real and symmetric so it will have real eigenvalues.
  • the minimum eigenvalue A min and associated eigenvector u are determined which satisfy
  • the first step therefore in determining the projected critical point is to find a mole number vector n for which Equation 20 is satisfied, and for which the feed composition vector z lies on the critical tie line ⁇ + ⁇ , where ⁇ can be any value.
  • Equation 20 matrix Q in Equation 20 is already formed of second derivatives of the Helmholtz energy, and generally in engineering applications higher-order derivatives of the Helmholtz energy are avoided.
  • the value of A min in Equation 20 is equal to the curvature of A in the direction of the eigenvector u, the curvature can be approximated by using a finite difference approach.
  • Equation 21 is a realistic approximation to
  • Newton's method can be applied to any component i as follows:
  • Equation 18 uses a standard procedure to solve Equation 18 to find the minimum eigenvalue A min and its eigenvector u;
  • Equation 22 therefore defines the mole number derivatives of the curvature, hence the derivative of the curvature in direction u is
  • the total volume V is varied iteratively until the condition is satisfied. The procedure is:
  • the procedure completes the determination of the projected critical point.
  • the mole numbers n and total volume V can be substituted in the equation of state being used to give the projected critical pressure p pc , and any other desired physical properties.
  • the next step is to regress the K-values as explicit functions of pressure on a given isotherm.
  • Equation 26 is therefore a novel method for defining reduced pressure which is particularly advantageous for correlating K-values in a way that can extrapolate reliably between different temperatures.
  • Equation 29 can be converted to a polynomial in p r , or some similar algebraic expression
  • Equation 32 shows the correct property that the derivatives of the K-values with respect to pressure are all infinite at the projected critical point.
  • aqueous components water and its associated components are not present in a liquid hydrocarbon phase, and hydrocarbons and associated components, termed non-aqueous components, are not present in the aqueous phase.
  • the K-values that need to be regressed for the aqueous components are the K-values between the vapour phase and the aqueous liquid phase.
  • the K-values for the aqueous components between the vapour phase and the liquid hydrocarbon phase are ignored. Because the water phase will not show critical behaviour at any pressure or temperature of interest to the oil industry, the K-values for the aqueous components can be regressed using Equation 30 and there is no need to determine the projected critical point for the aqueous phase.
  • phase compositions for the vapour phase are then, y' F v K t + 1- F v - F w ( 34 )
  • Equations 33-36 F v , F w and 1-F V -F w may not be negative. If a solution occurs for which F v ⁇ 0, then there is no vapour phase and Equations 33-36 reduce to
  • Equations 33-36 reduce to ⁇ TTJ- + ⁇ ⁇ l - Fw)Kj+Fw -» (40)
  • Equations 33-36 revert to Equations 2-4.
  • phase equilibria is the most important and time- consuming part of physical property simulation. However, once the phase equilibrium has been computed there is usually a need to calculate a number of thermodynamic and transport properties of the coexisting phases.
  • the procedure for this can be treated as an extension of the method of correlating the K-values with the proviso that suitable correlating functions should be used to reflect the correct limiting behaviour of each property.
  • V ⁇ ' V ' (45)
  • v denotes molar volume and x mole fractions
  • the volumetric properties of a fluid can therefore be correlated by storing the partial molar volumes together with the K-values.
  • the vapour and liquid partial molar volumes become the same because the liquid and vapour phases become identical at this point.
  • the mole number vector n of the critical fluid is determined. It is therefore possible to use this composition in the equation of state model to calculate the partial molar
  • thermodynamic quantities at the projected critical point The projected critical partial molar volume of component i is denoted by v pc ,i.
  • V l ( C W + C uPr+ C l 2Pr 2 +- +C lm PTM)q + ⁇ ⁇ ⁇ 1 ) V P c, t (47)
  • is set to an appropriate value which is kept constant for all partial molar volumes from a particular equation of state. Provided that ⁇ 1, the pressure derivatives of the partial molar volumes are correctly predicted to be infinite at the projected critical point. As with the K-values, the coefficients c have to be fitted to rigorously calculated values of each component's partial molar volume.
  • the molar volumes should be correlated for cases where the phase equilibrium calculation predicts that there is a single phase. In order to do this, the partial molar volumes of the feed as a single phase must be regressed. As there is no critical phenomenon arising in this case, the correlating equations should not contain the switch function. So, for the vapour region (at low pressures)
  • V' ( C '0 + c ilPr + C i2 p 2 r + ...+ C im p m r ) ( 4 g)
  • Equation 49 is also suitable for the aqueous liquid phase.
  • the molar volume for the mixtures is then found from the partial molar volumes using Equation 45.
  • thermal properties such as enthalpy and entropy are extensive thermodynamic properties and can be correlated with a similar treatment.
  • Entropy is more complicated as it shows a marked pressure and composition dependence.
  • the partial molar entropy in the ideal gas state has the form
  • thermodynamic properties which are all extensive, the transport properties are all intensive.
  • osity ⁇ for example, it follows that
  • ⁇ 0 is the viscosity corresponding to the defined feed composition with mole fractions denoted by vector z 0 .
  • the viscosity of a single phase with mole fractions z can then be evaluated from
  • n n. + ⁇ ( 3 ⁇ 4) (64)
  • n n 0 + ⁇ n, ( ,- o,) (65)
  • vapour phase fraction F v will have been found in the phase equilibrium procedure by solving Equation 2, so y, -y 0 i can be approximated from Equation 3 to give
  • n n 0 + ⁇ n, ( , - ⁇ ,) (67) and from Equation 4
  • Equation 4 To correlate viscosity compositionally as a function of pressure, it is therefore necessary to regress both ⁇ 0 and the ⁇ , as functions of pressure.
  • a suitable correlating function for liquid and vapour cases is
  • n ( C 1 0 + C 1 l Pr + C 1 2 Pl + - - - + C l m P h e + ( l - ⁇ i e P c , 1 (69)
  • Equation 69 can be simplified to
  • Thermal conductivity may be treated in an analogous way to viscosity.
  • Interfacial tension is different because it is a single quantity that only exists when two phases are present in equilibrium, so only the two-phase case needs to be considered.
  • the IFTs can be evaluated from
  • the explicit function method of the present invention may be extended to include additional factors.
  • the explicit function method is based on using simple expressions for the K-values to accelerate phase equilibrium calculations.
  • the K- values are expressed as functions of pressure at fixed temperature that are regressed to the results of rigorous phase equilibrium calculations performed by an equation of state.
  • the K-value functions can then be interpolated between temperatures by cubic splining, for example.
  • the method is valid so long as the feed does not change to such an extent that the K-value functions are no longer an acceptable approximation to the actual K-values for the altered feed.
  • the methodology can be extended by introducing other factors as splining variables besides temperature. These extra factors have the role of accounting for changes in the K-values arising from changes in the feed composition, and likewise in all the other physical property correlations.
  • f (x ) a 0 + a ⁇ x + a 2 x 2 + a 3 x 3 (74)
  • x is the transformed variable that runs from -1 to +1 in the splining interval.
  • the coefficients a 0 , a a 2 , a 3 are determined by fitting them to the values of the function and its x-derivatives at the splining points, i.e. to f(-1 ), f(1), f x (-1) and f x (1), where f x is an abbreviation for df/dx.
  • Fig. 3 illustrates the procedure to extend the splining to a function of two variables, f(x,y).
  • f(- 1.y) f ( , y) , fx(-1 ,y) and f x (1 ,y).
  • f(-1 ,y) for example, can be found from a cubic polynomial in y fitted to f(-1 ,-1), f (- , 1), f y (- ,-1) and f y (- 1 , 1); an analogous expression gives f(1 ,y).
  • the conventional splining method requires higher-order derivatives at the splining points as more variables are introduced. This can make the process complicated.
  • a new method of splining may be used instead that only requires first derivatives regardless of how many variables are used. This will now be described.
  • Equation 74 in order to make Equation 74 satisfy the values f(-1), f(1), f x (-1) and f x (1).
  • Equation 78 has the following properties:
  • the splining function joins the splining functions of the adjoining domains smoothly;
  • the function reproduces the values of the function and its first derivatives at the splining points, i.e. f(-1-1), f(-1,1), f(1-1), f(1,1), f x (-1,-1), f x (-1,1), f x (1,-1), f x (1,1),f y (-1,-1),f y (-1,1),f y (1,-1)andf y (1,1);
  • the method does not require the value of any function derivatives above first order at the splining points.
  • smooth means continuous in the value of the function and all first derivatives.
  • the K-values may be extended to different temperatures as described below.
  • the explicit K-value method of the present invention In order to apply the explicit K-value method of the present invention efficiently at any arbitrary temperature, it is necessary to establish a grid of temperatures at which the K-values are regressed as explicit functions of pressure, as described above.
  • the regressions may be performed adaptively in the course of a simulation as needed to satisfy the requested phase equilibrium calculations. In other words, the regressions need only be performed at the p, T values where the simulation requires a K-value.
  • the method of calculation at a given temperature T involves extrapolating the K-values from the highest temperature on the grid of regressed K-values for which ⁇ > ⁇ ⁇ and from the lowest temperature T 2 for which T ⁇ T 2 .
  • a good method of interpolation is cubic splining as this preserves smoothness.
  • the four coefficients a 0 , a ⁇ a 2 , a 3 are found by fitting Equation 80 to four values at the splining points, namely pc (T ⁇ , dp pc (J ⁇ /dJ, p pc (T 2 ) and ⁇ 3p pc (T 2 )/aT.
  • the temperature derivatives are a necessary part of this cubic splining method, and they may be estimated by finite difference as follows.
  • the regression method for the K-values described above is applied at any grid temperature T n , the whole procedure is repeated at a similar temperature T n + ⁇ ⁇ where ⁇ ⁇ is a small value.
  • the temperature derivative is then
  • Equation 81 provides a good approximation to the temperature derivative.
  • Equations 2, 3 and 4 need to be applied only once to determine the phase fractions and the compositions of the vapour and liquid phases. All the other explicit physical property functions can be extended to cover temperature by splining their coefficients in the same way as the K-values.
  • the explicit K-value method may also or alternatively be extended to account for variation in feed composition as described below.
  • each stream of a flow sheet may be represented by a set of explicit K-values and associated physical properties defined as described above.
  • a new set of explicit functions may be set up.
  • the K-values and other properties will be subject to a discontinuous change but that may be acceptable provided it is not too large and the flow sheet continues to converge.
  • the important consideration is to set the criterion for regressing new explicit functions so that it does not happen too often but convergence still occurs.
  • a simple example in process simulation is modelling the phase behaviour in a unit operation which has two feeds of different composition where the flow rates may vary.
  • the blend fraction between the two feeds may be introduced as a second variable to complement temperature when regressing K-values.
  • the K-values may be expressed as explicit functions of pressure on a grid of points at different temperatures and blend fractions.
  • the regressions can be performed adaptively as required to allow the K-values to be interpolated to the required temperature and blend fraction.
  • four splining points are needed at lower and higher temperatures and lower and higher blend fractions.
  • the blend fraction derivatives are estimated by finite difference in addition to the temperature derivatives. Equation 78 can then be used to interpolate the projected critical pressure p pc and each of the coefficients c used to represent the K-values.
  • the methodology may be extended to unit operations with more feeds. If there are three feeds, for example, then there needs to be two blend fractions and splining must be done using Equation 79 to interpolate the three variables:
  • the method of the present invention may be applied in simulations of various situations such as a distillation column, a pipeline, or a reservoir or well.
  • a distillation column is a complex group of interconnected phase equilibria.
  • the fluid mixture on each tray usually varies smoothly up the column.
  • a rigorous steady-state simulation of the column could provide typical feed compositions on each tray. These may be denoted by height up the column (or tray number). So whereas the previous example used blend fraction as a second variable, the K-values in a column could be related to height or tray number. If a dynamic simulation is to be performed, the compositions of the column are likely to be perturbed from the steady-state values.
  • the explicit K-value method of the present invention can therefore provide an approach to performing a rapid but reasonably accurate dynamic simulation of a column.
  • the phase behaviour at the inlet of the pipe may be regressed to form explicit K-values. It is assumed that the composition of the inlet fluid is known over time either from direct measurement or else from simulation of the supply pipes to the inlet point in question.
  • the second variable is ideally time.
  • a grid of temperature and time points may be set up and the K-values regressed as functions of pressure at each grid point.
  • the temperature and time derivatives may be found by finite difference as before.
  • the time intervals are ideally selected to reflect changes in inlet composition; if the composition is changing slowly, the time intervals may be large whereas if the composition is changing rapidly, the time intervals should preferably be short.
  • Equation 78 The K-values at any other temperature or time can then be found by extrapolation using Equation 78.
  • the model assumes that the explicit K-value (and other) functions travel along the pipe at the same velocity as the average velocity of the fluids. Except for steady-state flow, there will be some phase intermingling and so overall
  • compositions will alter as the fluid flows through the pipe. However, the effect is normally small enough for the assumption to be made that the K-value functions will remain good approximations.
  • the same K-value functions may be applied to any point on the pipe by replacing the time variable with a displaced time variable.
  • the displaced time is the time corresponding to when the same fluid was at the inlet.
  • the time difference is calculated by finding from the simulation the average fluid velocity from the inlet to the point in question; the time difference is then the length of the pipe from the inlet to the point divided by the average fluid velocity.
  • the displaced time is defined as the actual time minus the time difference.
  • Reservoir simulation and well-performance simulations are good potential applications of the explicit K-value method as they notably involve intensive computations. Many reservoirs show quite small variations in temperature, so it is relatively easy to spline the K-values and physical properties at a small number of temperatures to cover the entire simulation.
  • the approximation method may be extended by representing each fluid composition with its own explicit functions and splining them by introducing blend fractions, just like the case of units operations with multiple fluids. If necessary, gas drives may also be handled by treating the injection gas as another fluid for which blend fractions can be introduced.
  • Another benefit of the method is that it can be used in conjunction with rigorous methods. For example, in a multilateral well it may be desirable to represent different zones of the reservoir with different approximate functions, but the commingled fluid in the well bore, pipelines or processing facilities could be simulated using rigorous thermodynamic methods.
  • the proposed methodology may be reduced to handle this case.
  • the projected critical pressure p pc can be calculated from a rigorous model as before. All pressures can still be reduced relative to p pc , as that is still advantageous in providing an appropriate pressure variable for use in the correlating functions.
  • the vapour fraction F v instead of correlating individual K-values, the vapour fraction F v , and if necessary the water fraction F w , are themselves expressed as explicit functions of p r .
  • equations such as 46 and 47 may be used, but now for the molar volume of the whole fluid, not the partial molar volumes.
  • An equation such as 48 can be used for the single-phase molar volumes at low pressure (vapour-like) and 49 for the single-phase molar volumes at high pressure (liquid-like) or for the water phase.
  • An analogous approach may be adopted for the thermal properties.
  • For the transport properties only the total quantities need to be regressed as in the compositional treatment; the derivatives of the transport properties with respect to composition are not required.
  • the K-values and their derivatives with respect to temperature and reduced pressure are evaluated using a rigorous equation-of-state model at the four splining points (Ti ,p r i), ⁇ , ⁇ ), (T 2 ,p r i) and (T 2 , Pr2)- Whereas before the projected critical pressure p pc and the regression coefficients Cii-c im were interpolated, with this approach the K-values themselves are directly interpolated from their values at the splining points using Equation 78 to give values at a specified pressure and temperature. As before, the rigorous values at the splining points can be calculated adaptively as required.
  • the method can be extended to include modelling solids formation.
  • phase equilibrium problems can include the formation of certain solids such as waxes and asphaltenes.
  • the formation of these solids is operationally very undesirable and should be avoided if at all possible.
  • Extending Equations 33-43 to include a solid phase increases their complexity considerably, and increases computing time.
  • a sequential approximation may be introduced. The approximation is valid for any situation where the components of the solid phase are only found in one of the fluid phases in any appreciable concentration. The concept is illustrated below for the case of wax precipitation, but the method is general and may be used in other situations where solids form.
  • Petroleum wax is a solid solution predominantly of n-paraffins (i.e. straight- chain alkanes) that occur naturally in petroleum fluids. In nearly all cases, the wax- forming components are only found in the hydrocarbon liquid (or oil) phase. When applying a rigorous model to calculate the phase equilibrium in order to form the explicit fluid-phase K-values, the presence of a wax phase may be predicted. If that happens the solid-liquid K-values
  • w i lx i ( 82 ) are stored, where w h x, denote the mole fractions of component i in the solid (i.e. wax) phase and liquid (i.e. oil) phase, respectively.
  • the solid-liquid K-values can be regressed using an expression such as Equation 30, since a solid phase will not exhibit critical behaviour.
  • the sequential approximation proceeds by subsuming the wax components into the liquid hydrocarbon phase, and treating the resulting system as a fluid phase equilibrium involving vapour, liquid hydrocarbon and water phases exactly as before.
  • the effective mole fractions of the components of the hydrocarbon liquid are given by where F s is the solid phase fraction and F L is the hydrocarbon liquid phase fraction.
  • the effective hydrocarbon liquid fraction F L eff F s +F L .
  • Equation 2 becomes the resulting real liquid phase fraction
  • Equation 84 is solved by an iterative numerical procedure, like Equation 2. If during the solution F s becomes less than zero, the calculation is terminated as no wax will form. In the unlikely event that F s becomes greater than F L eff , it is concluded that the hydrocarbon liquid phase is to be interpreted entirely as a wax phase.
  • asphaltenes are solid phases that form from petroleum fluids and can be handled using the same solid-liquid formalism. However, one aspect of asphaltene behaviour is different from waxes. Whereas the wax K-values are only mildly dependent on composition, for asphaltenes they are very sensitive to the presence of light components.
  • Fig. 4 shows a typical phase diagram for an asphaltenic crude oil. Above the bubble point line, the oil phase may or may not form an asphaltene phase. If asphaltene does form, the solid-liquid K-values can be treated in an analogous way to the wax case. However, below the bubble point line, as the light gases leave the liquid phase, the solubility of asphaltene increases rapidly because light
  • Equation 88 Equation 88.
  • SL is then regressed as a simple function of some parameter representing the presence of light components in the oil phase, such as oil molecular weight, or methane mole fraction, etc.
  • a SL could also be made dependent on reduced pressure p r , but in most cases that would not be necessary as the lower asphaltene envelope is normally quite close to the bubble point line.
  • the phase equilibrium procedure consists of solving Equations 33-43 to find the fluid phase equilibrium. If there is no gas phase present, i.e. the pressure is above the bubble point, the solid-liquid K-values are evaluated from a function of reduced pressure such as Equation 30. If there is a gas present, the solid-liquid K-values are formed from Equation 88. The effective oil phase is then split into oil and asphaltene phases using Equations 84-87 in exactly the same way as for the wax case.

Abstract

A method of determining K-values (partition coefficients) for a mixture comprises the following steps: (i) calculating K-values for the mixture explicitly at a number of pressures and at a temperature T; (ii) determining a projected critical pressure ppc as the pressure above which a two-phase vapour-liquid phase equilibrium may no longer be estimated; and (iii) regressing the K-values as a function of pr=p/ppc.

Description

Physical property modelling The present invention relates to the field of physical property modelling, particularly, but not only, modelling involving simulations of petroleum fluids.
In chemical engineering, modern computer-based design tools rely on numerical models to estimate the thermodynamic and physical properties of fluids as the basis of their methodology. In the oil industry, many computationally intensive applications such as reservoir simulation, well performance studies, transient pipeline simulation, dynamic facilities design and life-of-field studies are restricted in practice by the speed at which a computer can solve the physical property models.
The conventional approach involves performing rigorous phase equilibrium calculations. In the majority of cases, simulation of the properties of a fluid requires as a first step the calculation of its phase equilibrium. The simplest example of a phase equilibrium problem is one where the pressure, temperature and overall composition (termed the feed) is defined, and the task is to predict how many phases the fluid will separate into, and what the compositions and relative amounts of the phases will be. Thermodynamically, such an equilibrium corresponds to the point where the Gibbs energy is at a minimum, and the necessary thermodynamic properties are calculated from a rigorous model such as an equation of state.
Considering the most common phase equilibrium, which involves combinations of a vapour (or gas-like) phase and a liquid phase, the first step is to establish whether the feed is stable and remains as a single phase, or whether it will split into two phases. The established technique which is used to detect possible phase splitting is the phase stability algorithm proposed by Michelsen (see M. L Michelsen: Fluid Phase Equilibria, 9, 1 , 1982). If it transpires from this algorithm that the feed will split, it is then necessary to calculate the actual phase equilibrium, i.e. what the composition and relative amount of each phase will be.
The most common method of calculating phase equilibria is the successive substitution method (see M. L Michelsen: Fluid Phase Equilibria, 9, 21 , 1982). The initial step in this method is to estimate the likely compositions y, x of the vapour and liquid phases, where y is a vector in composition hyperspace of the vapour mole fractions y,, and x is a vector of the liquid mole fractions x,. Subscript i denotes the ith component which corresponds to the ith dimension of the hyperspace.
A benefit of the Michelsen phase stability test is that it provides estimates for y and x in the case where it predicts that the feed will split into two phases.
The partition coefficient, which is also referred to as the K-value, is defined as the ratio of vapour to liquid mole fractions K,= y x, for each component i.
It follows from standard thermodynamic theory that the K-values can be evaluated from an equation of state, so
— = K, { p , T , x , y) where p is the pressure and T is the temperature.
Once the K-values are calculated, the next step is to obtain the vapour phase fraction Fv from the Rachford-Rice equation
where vector z represents the feed mole fractions z,.
Equation 2 is not explicit in Fv so it has to be solved iteratively using a suitable numerical technique such as Newton's method.
To complete the procedure, new values of the vapour and liquid mole fractions are obtained from the relationships y' Fv Kt+ 1- Fv (3) and x,=
FVK,+ l - F, (4)
1 1 V
The complete rigorous algorithm to calculate the composition and relative amounts of each phase in the vapour-liquid phase equilibrium is therefore:
1. estimate the compositions of the vapour and liquid phases (e.g. from the Michelsen phase stability test);
2. determine the K-values from the thermodynamic model/equation of state;
3. solve Equation 2 iteratively for the vapour phase fraction Fv;
4. if Fv has not changed significantly exit as the problem is solved; 5. otherwise, update the values of the vapour and liquid mole fractions y, and x,with Equations 3 and 4; 6. go back to step 2.
The algorithm is computationally expensive because solving the equation of state to obtain the K-values (step 2) takes significant time even for relatively simple engineering models such as the Peng-Robinson (PR) or Soave-Redlich-Kwong (SRK) equations of state. Some more recent models such as the GERG or SAFT equations take much longer.
In addition, because the K-values are only implicitly defined by the rigorous model, the whole procedure (steps 1-6) is iterative so the K-values have to be evaluated (step 2) many times during one phase equilibrium calculation. In some cases, the procedure will not converge to a solution and alternative, more computationally intensive methods have to be used in order to find the equilibrium. In addition, the phase equilibrium calculation must often be preceded by the phase stability analysis procedure that takes comparable, if not more, computing time.
Fig. 1 shows a plot on a pressure-temperature plane of typical vapour-liquid phase behaviour exhibited by petroleum fluids, which are mixtures of predominantly non-polar hydrocarbon molecules. There is a region of two-phase behaviour bounded by the bubble-point and dew point lines. At higher pressures or temperatures the fluid is a single phase, although the identity of this phase gradually changes from being liquid-like at low temperatures to vapour-like at high temperatures. The bubble-point and dew-point lines meet at the critical point, the point where the vapour and liquid phases become just indistinguishable. It follows that at the critical point, the K-value of every component is unity.
Attempts have been made to speed up the conventional approach described above. In particular, the calculations can be made to proceed much faster if the required properties are expressed explicitly. Such a method starts from the observation that for most petroleum fluids the K-values are strongly dependent on temperature and pressure but almost independent of composition. The K-values may therefore be represented for a defined feed as explicit functions of pressure and temperature only. Such a method is referred to as an explicit K-value method.
The problem of finding the composition and relative amounts of each phase in the phase equilibrium then reduces to solving Equation 2 iteratively only once for Fv, and then using Equations 3 and 4 to obtain the compositions x and y for the vapour and liquid phases. If the feed is in the single phase region, the value of Fv obtained from Equation 2 lies outside the physically meaningful range of 0≤FV≤1. When this happens, the solution of Equation 2 is abandoned as the fluid is known to be a single phase of composition z.
In order to set up such an explicit K-value method, it is necessary to know what the K-values should be. In principle the K-values could be regressed to match experimental data, but this is rarely possible as the amount of available data at the relevant conditions is normally very limited. A practical approach is to use a rigorous method (e.g. based on an accepted thermodynamic model) to calculate the phase equilibrium and hence the K-values at a small number of points, and then to regress the K-values explicitly for use in Equations 2, 3 and 4. Put another way, the method consists of interpolating between a small number of rigorous phase equilibrium calculations.
Such a method only takes a fraction of the computing time of the rigorous method, which only defines K-values implicitly. As it is a compositional method, it can be applied for any feed that is not too different from the specified feed z, the assumption being that the K-values remain approximately the same functions of pressure and temperature.
As the K-values at the critical point are all unity, it follows that the explicit K- value method places the critical point at a fixed temperature and pressure no matter what the feed composition.
If we consider an isotherm at the critical temperature T=TC, the pressure dependence of the K-values for a typical petroleum fluid will appear as in Fig. 2. Each line in Fig. 2 represents the natural logarithm of the K-value as a function of pressure, at temperature Tc, for a different component of the feed. The more volatile the component, the higher its K-values (and ln(K)). The important point to note is that the K-values all converge to unity (zero in logarithmic form) at the critical pressure pc. Above the critical pressure, the fluid is one phase and so there can be no phase equilibrium and hence there are no K-values.
For an isotherm below the critical temperature, T<TC, the vapour fraction decreases as the pressure rises until it reaches the bubble point where Fv=0. From Equation 2, it can be seen that if the feed composition z is changed from the specified value, Fv is no longer necessarily zero, i.e. the bubble point will change with the feed composition. In order to apply the explicit function method for varying feed compositions, it is therefore necessary to obtain K-values from the rigorous model at pressures above the bubble point for the specified feed so that they can be regressed to form the explicit K-value functions at such pressures. However, as the pressure increases, there comes a point where it becomes impossible to find K- values, and the fluid is always one phase. This limit is marked by the dashed line in Fig. 1.
For temperatures T above the critical temperature but below the
cricondentherm, Tc <T<Tcri, the roles of the vapour and liquid phases are reversed. (The cricondentherm is the highest temperature at which a vapour-liquid equilibrium occurs for the mixture in question.) As the pressure rises above the lower dew point, the liquid fraction initially increases but then falls again to reach zero at the retrograde or upper dew point where Fv=1. As before, the dew point will move if the feed composition is altered so there is a region above the dew point for the specified feed where a two-phase solution is possible for different feed
compositions. However, there is ultimately a limiting pressure above which only one phase can exist. At temperatures above the cricondentherm, T>Tcri, only one phase exists for the specified feed, although the cricondentherm will also move if the feed composition is altered.
It is necessary to calculate the K-values at pressures above the bubble-point (or dew-point) rigorously (i.e. from a thermodynamic model/equation of state) so that they can be correlated for use in the explicit K-value method. The K-values have to be obtained using the specified feed with the intention of then applying them to different although similar feed compositions.
One technique which has been tried involves systematically altering the feed composition z in such a way as to raise the bubble-point or dew-point pressure so that a phase equilibrium can be computed at higher pressures and K-values obtained. The disadvantage of this and other similar methods is that the K-values will show a discontinuity with pressure at the bubble point because the methodology for finding them has changed.
An alternative approach to calculating K-values at pressures above the bubble point or dew point involves using the rigorous K-value method set out above but relaxing the requirement at step 2 that Fv must lie within the physically meaningful range of 0≤FV≤1. In this approach, it is simply required that Fv≤1 (i.e. allow Fv to be negative) for pressures above the bubble point or that Fv≥0 (i.e. allow Fv to be greater than 1) for pressures above the dew point. This approach is more consistent than the previous approach and can avoid a discontinuity in K-values at the bubble or dew point. However, both approaches have the intrinsic limitation that they cannot calculate K-values at pressures where there is no phase equilibrium, i.e. above the limiting pressure for the given mixture.
Thus, one objective of the present invention is to provide a method which can be used to calculate K-values at pressures above the bubble-point or dew-point pressure (i.e. at pressures where there is a single phase for a given mixture).
Further objectives are to provide improved methods of calculating K-values for mixtures, for use in simulations.
According to a first aspect of the invention, there is provided a method of determining K-values for a mixture, the method comprising the following steps:
(i) calculating K-values for the mixture explicitly at a number of pressures and at a temperature T;
(ii) determining a projected critical pressure ppc as the pressure above which a two-phase vapour-liquid phase equilibrium may no longer be estimated; and
(iii) regressing the K-values as a function of ppc.
The K-values, or partition coefficients, are defined as the ratio of vapour to liquid mole fractions K,= y for each component i.
Thus, by using this method K-values can be determined above the bubble- point or dew-point pressure for a given mixture. Such K-values may then be used to simulate a mixture with a slightly different composition, for example.
The method involves expressing the K-values as explicit functions of a small number of variables with the result that phase equilibrium calculations take only a fraction of the time required for a rigorous solution of the phase equilibrium with an equation of state. The procedure is well suited to larger-scale computer simulations where the time taken to solve the phase equilibria rigorously would render them impractical.
Besides K-values, other thermodynamic and transport properties needed in simulations may be correlated as simple functions using a similar and
complementary methodology. This is described in more detail below.
The method may be applied to any rigorous thermodynamic and transport property models. The resulting correlated expressions can be executed just as fast regardless of the time the rigorous methods take to execute. Therefore, the more computationally intensive the rigorous method, the greater the saving in computing time.
The method can provide a close approximation to the use of rigorous methods. In most engineering simulations the uncertainties in the data and the errors in the whole model will greatly exceed any error introduced by the explicit function method of the present invention. Provided regression points are close enough and sufficient coefficients are used to represent the K-values and physical properties as functions of pressure, etc., any reasonable degree of accuracy in the representation of the rigorous methods can be achieved. In this context, it should be remembered that the rigorous methods themselves are only approximations to physical reality.
Preferably, step (iii) comprises determining a reduced pressure pr, where pr = p/ppc and p is the actual pressure, and preferably then regressing the K-values as a function of pr. pr is an advantageous variable with which to regress the K-values.
The K-values may be regressed as a function of pr using the equation
^{prK, ) = (cl0 + c Pr + cilP] + ... + cimPr m y
for example, where i represents the components of the mixture, c0-cm are coefficients to be determined by the regression, q=1-pr and φ is a constant for all components which is less than 1. Other, similar equations may also be used.
The method may further comprise regressing a variable other than the K- values as a function of pr. The other variable could be the total volume, enthalpy, heat capacity, entropy, viscosity, thermal conductivity or interfacial tension of the mixture, for example. pr is a convenient variable with which to regress these other variables, which may then be used in a simulation of the mixture.
In an example method, ppc is determined by:
(a) rix Q, the elements of which are:
Figure imgf000008_0001
where A is the Helmholtz energy of the mixture, n is the mole number and subscripts i and j denote the components in the mixture;
(b) determining the composition n of the mixture and total volume V whilst requiring that the minimum eigenvalue of matrix Q, Amin=0 and the third derivative of A is zero in the direction of the associated eigenvector; and
(c) calculating ppc from n and V.
At step (c) Ppc may be determined from an equation of state.
At step (b), n may be found by following the iterative procedure:
(b-1) estimate the mole number vector n of the projected critical fluid;
(b-2) form the matrix Q; (b-3) solve Q u to find Amin and its normalised eigenvector u; (b-4) calculate a hyperplane given by
_ UT (Q(Aa)- Q(- Aa)) _ (Q(Aa)- Q(- Aa))
2Aa 2Aa
(b-5) extend a feed composition vector z in the direction u to intersect the hyperplane to determine the new mole number vector n;
(b-6) if n is not changed significantly, exit as the problem is solved; else (b-7) go back to step (b-2).
At step (b), V may found by following the iterative procedure:
(b-8) estimate V and n from previous projected phase equilibrium calculations;
(b-9) using the iterative procedure of claim 7, find the mole number vector n;
(b-10) calculate C, where C = uTVAmm = uT fe(Ag)- g(- )u .
2Aa
(b-1 1) increment V;
(b-12) using the iterative procedure of claim 7, find the mole number vector n;
(b-13) re-calculate C;
(b-14) using the two most recently found values of V and C, extrapolate to a new value of V to satisfy C=0 by linear extrapolation;
(b-15) using the iterative procedure of claim 7, find the mole number vector n;
(b16) if V has not significantly changed from its most recently formed value, exit as calculation is complete; else
(b-17) re-calculate C; and
(b-18) go to step (b-14).
On convergence, the line from composition n in the direction of u is termed the critical tie line.
Other mathematical methods that satisfy the conditions Amin=0 and C=0, whilst imposing the condition that the feed composition z lies on the critical tie line may also be used to determined ppc.
The K-values are preferably regressed on an isotherm at temperature T. The method preferably further comprises determining a vapour phase fraction Fv from each determined set of K-values. Fv may be determined iteratively, for example using the equation:
Figure imgf000010_0001
where i represents the components of the mixture, K, is the K-value for component i and is the amount of component i present in the mixture.
The method preferably further comprises determining vapour and liquid mole fractions from each K-value and Fv. This may be done using Equations 3 and 4.
Preferably, the K-values are treated as functions of pressure and a limited number of other variables but are independent of the composition of the mixture. In one example, the K-values are treated as a function of temperature and pressure only. In another example, the K-values are treated as a function of temperature, pressure and time only. Other variables could also be used depending on the particular simulation.
The K-values for the mixture are preferably determined using an equation of state. For example, the PR, SRK, GERG or SAFT equation of state may be used.
Preferably, the method is repeated at a different temperature. In this way, K-values covering a range of representative pressures and temperatures may be determined.
Preferably, the K-values are then splined between the different
temperatures. Splining may be performed using a cubic splining method, for example. The splining may be performed using a conventional cubic splining method such as the one described below.
However, preferably the splining is performed using a new splining method such as the one according to the tenth aspect of the invention described below. This is a less complicated method which avoids the need for calculating higher order derivatives.
The mixture may comprise a petroleum fluid, for example, and the K-values are then preferably used for a simulation of a petroleum fluid. This method is particularly useful when applied to petroleum fluids.
Preferably, the method further comprises using the K-values in a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
The K-values may be determined adaptively for pressures and temperatures as required in a simulation. This can help to avoid unnecessary computation. A benefit of this method is that it will make many design studies or control applications feasible which otherwise would not be carried out because of unacceptably long computing times.
The method may further comprise estimating K-values for a solid phase. In this case, the method could then further comprise modelling wax precipitation or asphaltenes, for example.
According to a second aspect of the invention, there is provided a computer program for performing the method of the first aspect.
According to a third aspect of the invention, there is provided a computer readable medium comprising a computer program according to the second aspect.
According to a fourth aspect of the invention, there is provided a method of determining K-values for a mixture explicitly at a number of pressures and at a temperature T, wherein the K-values are determined as a function of time, and the determined K-values are then used in simulation of a pipe or pipeline. This method has the benefit that the same explicit function can be used in the simulation all along the pipe or pipeline because it is not necessary to use the position on the pipeline explicitly in the expressions for the K-values and other physical properties. The method may be applied to other situations in which time can be used as a variable in place of one of more position variables.
In this case, preferably the method of the first aspect is used to determine the K-values.
The K-values may be determined as a function of time based on the flow into the pipe as a function of time, which may be a given piece of information. For example, in a real-time application the flow into the pipe as a function of time could be deduced from monitoring. In a simulation of past performance, the flow into the pipe as a function of time could come from historical records. If the pipe is connected to an oil well, the predicted flow as a function of time could come from a life-of-field reservoir model. In summary, the flow into the pipe as a function of time could be measured in real time or it could be estimated from some other plausible model.
According to a fifth aspect of the invention, there is provided a computer program for performing the method of the fourth aspect.
According to a sixth aspect of the invention, there is provided a computer readable medium comprising a computer program according to the fifth aspect According to a seventh aspect of the invention, there is provided a method of determining K-values for a mixture comprising vapour, liquid and solid phases, wherein first solid-liquid K-values are determined for the mixture and then the components of the solid phase are subsumed into the liquid phase to form an effective liquid phase before estimating resulting effective liquid-vapour K-values. By first determining K-values between the solid and liquid phases and then subsuming the solid phase components, determined from these K-values, into the liquid phase before estimating the resulting liquid-vapour K-values, the method is simplified and requires less computing time.
The method may further comprise calculating a phase equilibrium between the vapour and effective liquid phases, and preferably then splitting the effective liquid phase into oil and solid phases. This is a simple and effective way to simulate such a composition. The solid phase may be an asphaltene phase, for example.
Preferably, the effective liquid-vapour K-values are estimated using a rigorous calculation, for example using the method of the first aspect. However, since the solid phase does not display critical behaviour, any suitable method could be used to estimate the effective liquid-solid K-values.
The method may further comprise using the K-values for a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
According to an eighth aspect of the invention, there is provided a computer program for performing the method of the seventh aspect.
According to a ninth aspect of the invention, there is provided a computer readable medium comprising a computer program according to the eighth aspect.
As mentioned above, the method may involve a new splining method. This is considered to be inventive in its own right, regardless of whether or not it is used in combination with the method of the first aspect of the invention.
Thus, according to a tenth aspect of the invention, there is provided a method of splining K-value functions between splining points in two or more splining variables, wherein the splined K-value function is a function of switch functions and the K-value functions and their first order derivatives only.
Since only first order derivatives, and no higher order derivatives, are required, this method is less complicated than conventional cubic splining methods when applied to two or more splining variables. Preferably, the splining variable or variables is or comprises temperature. Preferably, the switch functions are polynomials, preferably cubic polynomials, of the splining variable.
Preferably, four switch functions are used and preferably these are given by:
S {x)= (2-3x+ x3) 4 (I" X- X3)
T_{x)--y '-
T+(x)= (-i-*÷*2+*3) where x is a transformed splining variable which runs from -1 to +1 between the splining points.
There may only be one splining variable and in this case the splined function is preferably given by
f(x)= S_(x)f(-1)+ S+(x)f(l)+ T_{x)fx{-\)+ +(χ)/¾(1)
where fx is df/dx.
If there are two splining variables, represented by the transformed splining variables x and y, each running from -1 to +1 between the splining points, the splined function is preferably given by
f(x,y)=S(x,y)+ Sx(x,y)+Sy(x,y)
where
S(x,y)= S_(x)S_(y)f(-l -1)+ S_(x)S+(y)f (- 1,1)
+ S+(x)S_(y)f(l,- 1)+ s+(x)s+(y)f(i,i)
Sx(x,y)= T_{x)S_{y)fx{- \ -1)+ T_(x)S+(y)fx(- 1,1 )
+ T+(x)S_(y)fx(l - 1)+ T+(x)S+(y)fx( l)
sy(x,y)= s_{x)T_{y)fy{- l - i)+ s_(x)T+(y)fy(- U)
+ S+(x)T_(y)fy(l - l)+ S+{x)T+{y)fy{\,\)
and fx is df/dx and fy is df/dy.
If there are three splining variables, represented by the transformed splining variables x, y and z, each running from -1 to +1 between the splining points, the splined function is preferably given by
fix, y,z) = S (x, y, z) + Sx (x, y, z) + S (x, y, z) + Sz (x, y, z) where
S(x,y,z)=S_(x)S_(y)S_(z)f(- 1 - 1,- 1)+ S_(x)S_(j/)S+(z)/(- 1 - 1,1) + S_(x)S+(y)S_(z)f(- U,- 1)+ S_(x)S+(y)S+(z)f(- 1,1,1)
+ S+(x)S_(y)S_(z)f(l - 1 - 1)+ S+(x)S_(j;)S+(z)/(l - 1,1)
+ S+(x)S+(^)S_(z)/(l,l - 1)+ S+(x)S+(y)S+(z)f(l,l,l)
,y,z)= T_(x)S_(y)S_(z)fx(- 1 - 1,- 1)+ r_(x)S_(j)S+(z)/x(- 1,- + Γ (x)S+(y)S_(z)fx(- LI." 1)+ Γ
Figure imgf000014_0001
1,1,1)
+ r+(x)S_(^)S_(z)/x(l - 1,- 1)+ r+(x)S_(^)S+(z)/x(l - 1,1)
+ T x)S+(y)S_(z)fx(l,l,- l)+T+(x)S+(y)S+(z)fx(l,l,l)
Figure imgf000014_0002
,y,z)=S_{x)S_{y)T_ {z)fz(-\ -\ -\)+S_{x)S_{y)T+{z)fz{-\ -\,\)
+S_(x)S+(y)T_(z)fz(-l,l -l)+S_(x)S+(y)T+(z)fz(-lXl)
+S+(x)Siy)T_(z)fz(l -l -l)+S+(x)S_(y)T+(z)fz(l -l,l)
+s+(x)s+(y)T-(z)fz(\ -i)+s+(x)s+(y)T+(z)f2(w) and fx is df/dx, fy is ef and fz is δί/δζ.
The scheme can be extended in an analogous way to handle any number of splining variables.
The first order derivatives may conveniently be determined by a finite difference method.
According to an eleventh aspect of the invention, there is provided a computer program for performing the method of the tenth aspect.
According to a twelfth aspect of the invention, there is provided a computer readable medium comprising a computer program according to the eleventh aspect.
Preferably, the methods of the present invention are implemented using a computer system. Thus, the invention also extends to a computer system arranged for performing one or more of the methods of the present invention described above.
Key applications of the present invention involve modelling petroleum fluids which are predominantly composed of hydrocarbons. However, the method is not restricted to petroleum fluids and may be used to model other fluids. Preferred embodiments of the invention will now be described by way of example only and with reference to the accompanying drawings in which:
Fig. 1 is a plot on the pressure-temperature plane of typical vapour-liquid phase behaviour exhibited by petroleum fluids;
Fig. 2 is a plot of the pressure dependence of the K-values for a typical petroleum fluid for an isotherm at the critical temperature T=TC;
Fig. 3 is a plot illustrating the procedure to extend a splining method to a function of two variables, f(x,y); and
Fig. 4 is a typical phase diagram plot for an asphaltenic crude oil.
As explained above, the explicit K-value method starts from the observation that for most petroleum fluids the K-values are strongly dependent on temperature and pressure, but almost independent of composition. The K-values are therefore represented for a defined feed as explicit functions of pressure and temperature only.
The problem of finding the phase equilibrium then reduces to solving
Equation 2 iteratively only once for Fv, and then using Equations 3 and 4 to obtain the compositions x and y for the vapour and liquid phases. If the feed is in the single phase region, the value of Fv obtained from Equation 2 lies outside the physically meaningful range of 0≤FV≤1. When this happens, the solution of Equation 2 is abandoned as the fluid is known to be a single phase of composition z.
In order to set up the method, it is necessary to know what the K-values should be. This involves using a rigorous method to calculate the phase equilibrium and hence the K-values at a small number of points, and then regressing the K- values explicitly for use in Equations 2, 3 and 4.
In order to calculate the K-values rigorously at a small number of points, in a preferred embodiment the following method is used:
An equation of state defines the pressure of an isolated system of a fluid mixture as a function of the temperature, total volume and the mole numbers of all components present in the mixture, p=p(V,T,n). The equation of state also incorporates a number of model parameters. In most practical situations, the pressure and not the volume is known, so the first step in evaluating the K-values is to solve the equation of state for volume V for each coexisting phase. The residual pressure p* is defined as the difference between the pressure exerted by a real gas and that exerted by an ideal gas at the same volume, temperature and composition
p * (V, T, n) = p(V, T, n)- pid (V, T, n) (5) The equation of state for an ideal gas is
n,d- NRT
P (6) where R is the gas constant and N is the total number of moles in the system
N= y n
The residual Helmholtz energy follows from the thermodynamic relationship p*=-dA*/dV. So
Figure imgf000016_0001
The fugacity coefficient of component i is defined as
1 dA* , ( pV Λ
lnd = In — 9
' RT dnt [NRT J
When two phases are in equilibrium, the components partition between the phases such that the free energy reaches a minimum. From the laws of thermodynamics, it can be shown that this is equivalent to requiring that
(j>Viyi = (j>Lixi for all components i.
Here, the equilibrium is expressed as being between a vapour and liquid phase: φν,, φυ, are the fugacity coefficients for the vapour and liquid phases and yh X, are the mole fractions for the vapour and liquid phases. It follows that the partition coefficient or K-value is iven by
Figure imgf000016_0002
The Soave-Redlich-Kwong (SRK) equation of state is used below as an example. Alternatively, other equations of state such as the Peng-Robinson (PR), GERG or SAFT equations could be used.
The SRK equation gives the pressure as
NRT a
P = ? \
V - b V(V + b)
where the equation of state parameters a and b are defined by the mixing rules
Figure imgf000017_0001
' ' (13)
The subscripted values of a and b refer to their pure-component values. Those without subscripts refer to the averaged values used to describe a fluid mixture in Equation 1 1. k is the binary interaction parameter between components i and j.
In order to proceed further, Equation 1 1 must be solved for volume for the specified pressure, temperature and composition. In general, because an equation of state is not explicit in volume, the solution can only be found numerically by a suitable iterative technique. However, the SRK equation is a so-called cubic equation of state which can be rearranged into a cubic polynomial in volume
Figure imgf000017_0002
From the standard method for solving cubic equations, V can therefore be found analytically. Using Equations 6 and 8, the residual Helmholtz energy A* for the SRK equation is found to be
A* = NRTln\—— | + -lnf—— | (15)
\y - b) b y+ b)
where the constant of integration is set to zero, which corresponds to setting the residual Helmholtz energy to zero at zero pressure.
It follows from Equation 9 that the fugacity coefficient for a given phase is
Figure imgf000017_0003
(16) where Sa/Sn, and Sb/Sn, are found from the mixing rules, Equations 12 and 13.
To summarise, the procedure for rigorously evaluating K-values from the SRK equation from the temperature, pressure and compositions of the vapour and liquid phases is as follows:
1. from the vapour composition calculate a and b for the vapour phase from Equations 12 and 13;
2. solve Equation 14 for the vapour volume; 3. substitute a and b and the volume in Equation 16 to get the vapour fugacity coefficients;
4. repeat steps 1-3 for the liquid phase;
5. use Equation 10 to obtain the K-values.
An alternative method for rigorously calculating K-values involves regressing them to match physical data. However, this is not usually possible because the amount of available data at the relevant conditions is normally very limited.
As discussed above, it is also necessary to calculate the K-values above the bubble-point (or dew-point) rigorously so that they can be correlated for use in the explicit K-value method. The K-values have to be obtained using the specified feed with the intention of then applying them to different although similar feed
compositions.
In order to obtain a smooth extrapolation of K-values above the bubble point, the same formal procedure as that used below the bubble point is followed. This is achieved by allowing Fv in Equations 2, 3 and 4 to become negative (but still less than or equal to one), but otherwise following the same iterative procedure to find the vapour-liquid phase equilibrium with K-values rigorously evaluated from an equation of state.
Similarly, in order to obtain a smooth extrapolation of K-values above the dew point, the same formal procedure as that used below the dew point is followed. This is achieved by allowing Fv in Equations 2, 3 and 4 to be greater than one (but not negative), but otherwise following the same iterative procedure to find the vapour-liquid phase equilibrium with K-values rigorously evaluated from an equation of state.
In a normal phase equilibrium calculation, the point in composition space corresponding to the feed vector z lies on a straight line joining the vapour and liquid composition vectors y and x. z also lies somewhere between y and x. As the pressure rises, x moves towards z until at the bubble point x and z coincide. Above the bubble-point pressure, where Fv<0, z still lies on a line joining y and x but now z no longer lies between x and y. This situation is termed a projected phase equilibrium, also called a 'negative flash'. The solution is not physically realistic as a negative vapour fraction is not directly meaningful, but it does correspond to an actual phase equilibrium that could result from a different feed composition. The projected phase equilibrium can therefore be used to generate K-values above the bubble point (or, similarly, above the dew point) as inputs for an explicit K-value method.
As the pressure continues to rise, the vapour and liquid phases in the projected phase equilibrium will become increasingly similar until a pressure is reached where the two phases will just become identical. This point is referred to as the projected critical point. It is a critical point for the fluid mixture arising from the projected phase equilibrium calculation (which is not the same as the feed composition). In other words, the projected critical point may be thought of as the critical point for a mixture with a different ratio of components to that in feed z.
The line joining composition vectors y and x is termed a tie line. As the critical point is approached the points y and x move together and the tie line becomes a critical tie line. The critical tie line is the limiting tie line as the separation between y and x tends to zero. The condition for a projected critical point is that the feed composition vector z must lie on the critical tie line.
Above the pressure of the projected critical point, ppc, no further phase equilibria are possible as the K-values all converge to unity at the projected critical point. Consequently, the dashed line in Fig. 1 corresponds to the line of projected critical points. The actual critical point is the point where the critical mixture and the feed are the same. Below the critical temperature, the critical mixture is more liquid- like than the feed, and above the critical temperature it is more vapour-like.
As the pressure rises towards ppc, the algorithm to calculate phase equilibrium from a rigorous thermodynamic model becomes difficult to apply because the vapour and liquid compositions become increasingly similar. At some point the algorithm will fail numerically because the compositions y and x will be assigned nearly identical values, and the procedure will give a trivial solution, a solution which shows that a phase can always be in equilibrium with itself.
However, because of the importance of the projected critical point in defining the K- values as functions of pressure (see below), it is very desirable to use a direct and reliable method to determine ppc.
A critical point can be defined as a property of a single phase. The first property that it must exhibit is that the mixture is at the limit of stability, i.e. that it is about to split into two phases. Matrix Q is defined, the elements of which are
Figure imgf000019_0001
where A is the Helmholtz energy of the mixture given by an equation of state ,n is the mole number and subscripts i and j denote the components in the mixture.
A is a function of temperature T, total volume V and the vector of mole numbers n. In Equation 17, the total volume is constrained so the mole numbers and hence the mole number derivatives are all unconstrained and linearly independent. The mole numbers do not necessarily sum to unity, so they are not mole fractions.
The matrix Q is real and symmetric so it will have real eigenvalues. Using standard algorithms in linear algebra, the minimum eigenvalue Amin and associated eigenvector u are determined which satisfy
Q »= λ, , 11 (18) The eigenvector is a direction vector and for convenience it is normalised so that ur u= 1 (19) If Amin is positive, the phase is stable, and if Amin is negative the phase is unstable. The limit of stability occurs when
Am„= urQ u= 0 20j
When all the critical conditions are satisfied, u will give the direction of the critical tie line.
The first step therefore in determining the projected critical point is to find a mole number vector n for which Equation 20 is satisfied, and for which the feed composition vector z lies on the critical tie line η+βιι, where β can be any value.
In order to do this we first need to find the derivatives of Amin with respect to the mole numbers by differentiating Equation 20. However, matrix Q in Equation 20 is already formed of second derivatives of the Helmholtz energy, and generally in engineering applications higher-order derivatives of the Helmholtz energy are avoided. Noting that the value of Amin in Equation 20 is equal to the curvature of A in the direction of the eigenvector u, the curvature can be approximated by using a finite difference approach.
Defining the Helmholtz energy as a function of displacement along the eigenvector n+au
_ T (VA(Aa) - VA(- Aa))
mm 2Aa { V where V is the vector operator the ith component of which is δ/δη,. Δα is chosen to be a suitably small value so that Equation 21 is a realistic approximation to
Equation 20.
Differentiating Equation 21 with respect to mole numbers then gives
_ T (Q -Q(- Aa)) _ (Q(Aa)-Q(- Aa))
In order to obtain an improved estimate of the composition n of the projected critical point, Newton's method can be applied to any component i as follows:
new ^ min However, as Newton's method essentially amounts to linearising the equation, it is equally possible to choose any linear combination of the N equations 23, where N is the total number of components in the mixture. These linear combinations define a hyperplane given by the equation
-_ d K mm / new \ \
L. d—(n - - n i) - - K mm (24) Moving to any point on the hyperplane is therefore equivalent to making one step of Newton's method to solve Equation 20. Making the further assumption that the eigenvector u is approximately independent of composition, which is analogous to assuming that K-values are approximately independent of composition, it follows that the new estimate of the vector n is that point on the hyperplane, Equation 24, that intersects a straight line through the feed composition in the direction u, i.e. on ζ+βιι where β can assume any value.
n can be therefore be found by the following iterative procedure:
1. estimate the mole number vector n of the projected critical fluid;
2. form the matrix Q;
3. use a standard procedure to solve Equation 18 to find the minimum eigenvalue Amin and its eigenvector u;
4. calculate the derivatives, Equation 20, and hence the hyperplane, Equation 22;
5. extend the feed composition z in the direction u to intersect the hyperplane to determine the new mole number vector n;
6. if n is not changed significantly, exit as the problem is solved;
7. go back to step 2. A critical point is defined by two criteria. The first is that the fluid is on the limit of stability which corresponds to Amin=0; the second is that in the direction of the eigenvector u, the derivative of the curvature of A is zero, or in other words, the third derivative of A is zero.
This is based on assuming that the volume of the system is fixed. An alternative approach could be based on assuming that the total number of moles is constant.
From Equation 20, Amin represents the curvature of A in direction u. Equation 22 therefore defines the mole number derivatives of the curvature, hence the derivative of the curvature in direction u is
c = urvx = ur fe - g(- Ag))
2A
The second critical condition is therefore C=0. To satisfy C=0 the total volume V is varied iteratively until the condition is satisfied. The procedure is:
1. Estimate V and n from previous successful (projected) phase equilibrium calculations;
2. using the iterative procedure above, solve for the mole numbers n that satisfy the conditions of projected limiting stability, Amin=0;
3. use Equation 25 to calculate C;
4. increment V;
5. using the iterative procedure above, solve for mole numbers n that satisfy the conditions of projected limiting stability, Amin=0;
6. use Equation 25 to calculate new value of C;
7. using the two most recently formed values of V,C extrapolate to a new value of V to satisfy C=0 by linear extrapolation;
8. using the iterative procedure above, solve for mole numbers n that satisfy the conditions of projected limiting stability, Amin=0;
9. if V has not significantly changed from its most recently formed value, exit as calculation is complete;
10. use Equation 25 to calculate C;
11. go to step 7.
The procedure completes the determination of the projected critical point. The mole numbers n and total volume V can be substituted in the equation of state being used to give the projected critical pressure ppc, and any other desired physical properties. The outlined iterative procedures are for illustrative purposes to demonstrate how the equations may be solved, but other methodologies are possible. Any procedure can be used that satisfies the conditions Amin=0 and C=0 while also imposing the constraint that the feed composition z lies on the critical tie line.
The next step is to regress the K-values as explicit functions of pressure on a given isotherm.
Since all the K-values on a defined isotherm converge to unity at the projected critical pressure ppc, the pressure always needs to be related
appropriately to ppc which is dependent on temperature. To achieve this, all relations are expressed in terms of a reduced pressure pr defined as
Pr p (26)
Conventionally, the reducing factor used for pressure is the normal critical pressure. Equation 26 is therefore a novel method for defining reduced pressure which is particularly advantageous for correlating K-values in a way that can extrapolate reliably between different temperatures.
At low pressures, liquid solution behaviour can be expressed by the standard relationship
Py, = Po, V , x, (27) where p is the pressure, p0i is the pure-component saturated vapour pressure, γ, is the activity coefficient, x, is the liquid mole fraction and y, is the vapour mole fraction. Subscript i denotes the component number.
It follows that the K-values are defined by
K -— (28) or, since the activity coefficients of liquids are almost independent of pressure, at low pressures we may write
\n(prKi ) = \η(ρϋι γ. I ppc ) = const (29) for a fixed temperature.
To extend the relation to higher pressures, Equation 29 can be converted to a polynomial in pr, or some similar algebraic expression
^ {prKt)= ci0+ ctlp + ci2p2+ ... + cim pm r (30) which has the correct limiting behaviour that
\n ( pr Kt)= c0 (31 ) as pr→0.
As the pressure approaches ppc or pr→1 , all the K-values tend to unity, so ln(prK|)→0 for all components.
To impose this condition, a switch function can be introduced into Equation 30. Defining q=1-pr
prKt ) = (cm + caPr + ci2pr 2 + ... + cimp )q* (32) or some other appropriate function. The power φ is set, for example by trial and error, to a suitable value appropriate for the equation of state used to generate the rigorous values. Provided φ<1 , Equation 32 shows the correct property that the derivatives of the K-values with respect to pressure are all infinite at the projected critical point.
The method as set out assumes that φ is fixed for all components and all temperatures. Typically a value of around 0.7 is found to be suitable for the SRK and PR equations.
The whole procedure for determining explicit K-values for a given isotherm can be summarised as follows:
Using a suitable equation of state, rigorous phase equilibrium calculations are performed to determine the K-values at a representative number of pressures lying within the two-phase region. The calculations are extended to higher pressures using the projected phase equilibrium methodology. When the pressure gets sufficiently high for the projected phase equilibrium algorithm to fail, the projected critical point algorithm is used to determine the projected critical pressure, ppc. All pressures are then reduced in relation to ppc. The K-values for each component are then regressed as a function of reduced pressure using Equation 32 or some similar expression. The number of coefficients Cii-cim is kept to the minimum necessary to represent the K-value to the desired accuracy. The K- values for the isotherm are then explicitly represented by the coefficients c and the projected critical pressure ppc.
In some situations it will be desirable or necessary to extrapolate the K- values above the retrograde dew-point pressure.
For temperatures greater than the critical temperature, as the pressure rises the vapour-liquid region of the phase diagram ends at a dew point not a bubble point. The situation is entirely analogous to the case of extrapolation above a bubble point except that the role of the vapour and liquid phases is reversed; the liquid fraction goes to zero. A projected phase equilibrium calculation can be performed as described above except that here Fv>1. The projected critical pressure can be calculated using the same algorithm as for extrapolation above a bubble point.
As the temperature rises, the normal lower dew point increases in pressure giving rise to a second problem, namely a lack of phase equilibria at low pressures. It is possible to provide K-values for the one-phase region below the lower dew point pressure also by using projected phase equilibria. As the pressure is reduced, the liquid fraction at the lower dew point goes to zero and then Fv>1.
The resulting correlations of the K-values as functions of pressure have the same functional form as for the bubble point case, and can be treated in an entirely equivalent way in what follows.
In some situations, it will be desirable or necessary to include an aqueous phase to the vapour-liquid equilibrium calculations.
In the oil industry, water and a number of associated components are frequently present in oil and gas streams. The possibility of the formation of an aqueous phase should therefore also be considered in many cases. Because of the very low mutual solubilities of water and hydrocarbons, many situations can be successfully approximated by assuming that water and its associated components, termed aqueous components, are not present in a liquid hydrocarbon phase, and hydrocarbons and associated components, termed non-aqueous components, are not present in the aqueous phase.
To support these calculations, if an aqueous phase forms during rigorous calculations with an equation of state, the K-values that need to be regressed for the aqueous components are the K-values between the vapour phase and the aqueous liquid phase. The K-values for the aqueous components between the vapour phase and the liquid hydrocarbon phase are ignored. Because the water phase will not show critical behaviour at any pressure or temperature of interest to the oil industry, the K-values for the aqueous components can be regressed using Equation 30 and there is no need to determine the projected critical point for the aqueous phase.
Making the assumptions set out above, the phase equilibrium relation for the explicit K-value method, Equation 2, when aqueous components are present becomes
Figure imgf000026_0001
^ ,+ 1- „- £ ^- /· A', ++ F /·w
where subscript i denotes non-aqueous components and subscript j denotes aqueous components. Fw is the aqueous phase fraction. The phase compositions for the vapour phase are then, y' FvKt+ 1- Fv- Fw (34)
_ κ,ζ,
y' FvKj+Fw
for the liquid hydrocarbon phase
zt
X -
FrK,+ 1- Fr- Fw (35) and for the a ueous phase
Figure imgf000026_0002
In Equations 33-36, Fv, Fw and 1-FV -Fw may not be negative. If a solution occurs for which Fv<0, then there is no vapour phase and Equations 33-36 reduce to
Figure imgf000026_0003
X,-
(l-Fw) (38)
Figure imgf000026_0004
If a solution arises for which 1-FV-FW<0, there is no liquid hydrocarbon phase and Equations 33-36 reduce to ∑TTJ-+{l-Fw)Kj+Fw-» (40) y'=^F~ w (4 ) y' {\-Fw)K]+Fw (42) x ,=
{ \- Fw)KJ + Fw (43)
If a solution arises for which Fw<0, there is no aqueous liquid phase and Equations 33-36 revert to Equations 2-4.
If two of the quantities Fv, Fw and 1-FV -Fw are negative, there is only one phase present which must have a composition corresponding to the feed z.
The calculation of phase equilibria is the most important and time- consuming part of physical property simulation. However, once the phase equilibrium has been computed there is usually a need to calculate a number of thermodynamic and transport properties of the coexisting phases. The procedure for this can be treated as an extension of the method of correlating the K-values with the proviso that suitable correlating functions should be used to reflect the correct limiting behaviour of each property.
For any extensive property such as total volume V, it is always the case for a mixture with mole numbers n that y-∑ n' ^t (44) or setting the total amount of substance to one mole
V =∑ ' V' (45) where v denotes molar volume and x mole fractions, v, = δν/δη, is the partial molar volume of component i, and, like the K-values, it is only weakly dependent on composition. The volumetric properties of a fluid can therefore be correlated by storing the partial molar volumes together with the K-values.
At low pressures all vapours obey the ideal gas law which predicts that the partial molar volume of all components is RT/p; for liquids the partial molar volume is finite at zero pressure and shows a small dependency on pressure.
At the projected critical point, the vapour and liquid partial molar volumes become the same because the liquid and vapour phases become identical at this point. When the algorithm to find the projected critical point converges, the mole number vector n of the critical fluid is determined. It is therefore possible to use this composition in the equation of state model to calculate the partial molar
thermodynamic quantities at the projected critical point. The projected critical partial molar volume of component i is denoted by vpc,i. These considerations suggest functions similar to the following would be suitable for partial molar volumes.
For the vapour phase
Figure imgf000028_0001
and for the liquid phase
V l = (CW + CuPr+C l2Pr2+-+C lmP™)q +^~<1 )V Pc,t (47) ζ is set to an appropriate value which is kept constant for all partial molar volumes from a particular equation of state. Provided that ζ<1, the pressure derivatives of the partial molar volumes are correctly predicted to be infinite at the projected critical point. As with the K-values, the coefficients c have to be fitted to rigorously calculated values of each component's partial molar volume.
In addition to the vapour and liquid molar volumes, the molar volumes should be correlated for cases where the phase equilibrium calculation predicts that there is a single phase. In order to do this, the partial molar volumes of the feed as a single phase must be regressed. As there is no critical phenomenon arising in this case, the correlating equations should not contain the switch function. So, for the vapour region (at low pressures)
vt={RT I p){\ + ci2p2+ ci3p + ...+ cimpm r) (48) and for the liquid region (at higher pressures)
V'= (C'0+ cilPr+ Ci2p2 r+ ...+ Cimpm r) (4g)
Equation 49 is also suitable for the aqueous liquid phase.
The molar volume for the mixtures is then found from the partial molar volumes using Equation 45.
Like volume, thermal properties such as enthalpy and entropy are extensive thermodynamic properties and can be correlated with a similar treatment.
In the ideal gas state, partial molar enthalpy is independent of pressure, so a suitab our phase might be
Figure imgf000028_0002
-- + c imP™)cl +{l-cii)h Pc,1 (50) while for the liquid phase ^={cw+cnPr+caPl+---+c imP™)cl +{l-cii)h Pc,1 (51)
For the single-phase vapour case
h,= {ci0 + ci2p2+ ci3p + ...+ cimpm r) (52) while for the single-phase liquid case including the aqueous liquid phase ht= (ci0+ capr+ ci2p2 r+ ...+ cimpm r) (53) Finally, the molar enthalpy h of a phase is given by
h= L. x < A < (54) Molar heat capacity Cp can in principle be obtained by differentiation of the enthalpy with respect to temperature. However, differentiating a correlated representation of a property can be unsatisfactory because the systematic deviations introduced by the correlation method will distort the derivatives. It is therefore preferable to correlate the rigorously calculated values of Cp directly. The same functional forms used for the enthalpy can also be used for Cp.
Entropy is more complicated as it shows a marked pressure and composition dependence. The partial molar entropy in the ideal gas state has the form
S;d=f(T)-RH^) (55) where p0 is the entropy datum reference pressure.
In order to obtain a quantity that is only weakly dependent on pressure and suitable for correlation, we define
S=s+Rln{^) (56)
For the vapour case, S, can be correlated with a function of the type s1=(c 1o+c 12Pl+c 13Pl+-+c imP^h +(l-^)S Pc,1 (57) for the liquid case
Figure imgf000029_0001
for the single-phase vapour
S,= Ci0+ Ci2p2+ Ci3p + ...+ Cimpm r (5g) and for the single phase liquid and aqueous liquid
S,= ci0+ cupr+ ci2p2+ ...+ cimpm r (50)
The molar entropy of the whole phase is then given by
5=∑ x,(_?-/to(-¾) (61)
Unlike the thermodynamic properties above, which are all extensive, the transport properties are all intensive. osity η, for example, it follows that
Figure imgf000030_0001
A different approach is therefore needed to represent transport properties in a way that can account for variations in feed composition. Taking the simpler single- phase case first, we can introduce the quantity
where η0 is the viscosity corresponding to the defined feed composition with mole fractions denoted by vector z0. The viscosity of a single phase with mole fractions z can then be evaluated from
n= n.+∑ ( ¾) (64)
In the two-phase vapour and liquid cases, the situation is more complicated because the composition of each phase is also changing.
Taking the vapour phase, η0 now denotes the vapour viscosity at composition y0 corresponding to the defined feed composition z0. Equation 64 becomes
n= n0 +∑ n, ( ,- o,) (65)
The vapour phase fraction Fv will have been found in the phase equilibrium procedure by solving Equation 2, so y, -y0i can be approximated from Equation 3 to give
K, (z - z0i)
yr y0,= F rVKK,,++ I1"- FFy- (66)
Alternatively, rigorously calculated values of y, and y0i can be used.
For the liquid phase, a similar procedure may be used. η0 now denotes the liquid viscosity at composition x0 corresponding to the defined feed composition z0. Equation 64 becomes now
n= n0 +∑ n, ( , - ^,) (67) and from Equation 4 To correlate viscosity compositionally as a function of pressure, it is therefore necessary to regress both η0 and the η, as functions of pressure. A suitable correlating function for liquid and vapour cases is
n = (C 10 + C 1l Pr + C 12 Pl + - - - + C l m P he +(l -<ie Pc , 1 (69)
which is also suitable for η0. Θ is given a constant value for all viscosity correlations.
For the single phase case where critical effects are immaterial, Equation 69 can be simplified to
Π/= ( cw+ ctlpr+ ci2 p2+ ...+ cimpm r ) (70)
Thermal conductivity may be treated in an analogous way to viscosity.
Interfacial tension (I FT) is different because it is a single quantity that only exists when two phases are present in equilibrium, so only the two-phase case needs to be considered. The IFTs can be evaluated from
Figure imgf000031_0001
where o, represents the variation in I FT that arises from variations in the feed composition σ - - (72) Finally, σ, can be correlated with pressure using an equation such as, ai = (CW + Cil Pr +Ci2 Pr2 + - + C im P" 9 (73)
since the I FT at the projected critical point must be zero; and likewise for o0.
The explicit function method of the present invention may be extended to include additional factors.
As set out above, the explicit function method is based on using simple expressions for the K-values to accelerate phase equilibrium calculations. The K- values are expressed as functions of pressure at fixed temperature that are regressed to the results of rigorous phase equilibrium calculations performed by an equation of state. The K-value functions can then be interpolated between temperatures by cubic splining, for example. The method is valid so long as the feed does not change to such an extent that the K-value functions are no longer an acceptable approximation to the actual K-values for the altered feed. However, the methodology can be extended by introducing other factors as splining variables besides temperature. These extra factors have the role of accounting for changes in the K-values arising from changes in the feed composition, and likewise in all the other physical property correlations.
The conventional approach to cubic splining, which can be used in the present invention, will now be described.
In order to simplify the expressions in what follows, it is assumed that all variables in the splining process are subject to a linear transformation. The splining points are always at the points where the transformed variables are equal to -1 and +1. To spline a function in one variable, f(x), the procedure is well understood: the function is represented by a cubic polynomial
f (x )= a0+ a^ x + a2 x2+ a3 x3 (74) where x is the transformed variable that runs from -1 to +1 in the splining interval. The coefficients a0, a a2, a3 are determined by fitting them to the values of the function and its x-derivatives at the splining points, i.e. to f(-1 ), f(1), fx (-1) and fx (1), where fx is an abbreviation for df/dx.
Fig. 3 illustrates the procedure to extend the splining to a function of two variables, f(x,y).
In order to define the splining function at point P, we first need to find values of the function and its x-derivatives at points A and B, i.e. we require values for f(- 1.y). f ( , y) , fx(-1 ,y) and fx(1 ,y). These four quantities can in turn be found by performing a cubic spline in the y-direction. f(-1 ,y), for example, can be found from a cubic polynomial in y fitted to f(-1 ,-1), f (- , 1), fy(- ,-1) and f y(- 1 , 1); an analogous expression gives f(1 ,y). However, to set up a cubic polynomial in y to determine fx(-1 ,y), it is necessary to know the values of fx(-1 ,-1 ), fx(-1 , 1), ^(-1 ,-1) and fxy(-1 , 1) where fxy is the second derivative of f with respect to x and y; determining fx(1 ,y) is similar. Note that if the role of the variables x and y are interchanged and the function at point P is found by splining the values and y-derivatives as points X and Y, the result is the same as before.
So, in order to extend the cubic splining method to two variables, it is necessary to know not only the values of the function and its first derivatives at the four splining points, (-1 ,-1 ), (1 ,-1), (-1 , 1) and (1 , 1), but also the second cross- derivatives as well.
It follows that, to extend the splining procedure to a function of three variables, third derivatives would be required, etc. Consequently, the need for higher-order derivatives limits the usefulness of conventional splining methodology in cases when several variables are involved.
As explained above, the conventional splining method requires higher-order derivatives at the splining points as more variables are introduced. This can make the process complicated. As an alternative to conventional splining methods, a new method of splining may be used instead that only requires first derivatives regardless of how many variables are used. This will now be described.
It can shown that the values of the coefficients a0, a^ a2, a3 for single- variable splining are
(2/(l)+2/(- l)- /,(!)+ /,(-!))
ao= 4 (75)
(3/(l)-3/(- l)- fx(l)- /,(-!))
,=
1 4
(/,(!)- /,(-!))
a2= 4
(/(-i)-/(i)+ (ΐ)+ (-ΐ))
3 4
in order to make Equation 74 satisfy the values f(-1), f(1), fx (-1) and fx (1).
Combining Equations 74 and 75 gives
f(x)= S_(x)f(-1)+ S+(x)f(l)+ T_{x)fx{-\)+ +(χ)/¾(1) (76) where we introduce four switch functions
e / \- (2_ 3 x+ x3)
SAx)-- K (77)
Figure imgf000033_0001
T rr I (x \)-= 1 (1~ x~ χ2+ χ3)
- ' 4 τΛχ)= (- ι-*÷*2+*3)
Equation 76 can be generalised to a splining function in two variables as follows f(x,y)=S(x, y)+ Sx(x,y)+ Sy(x, y) (78)
S(x,y)= S_(x)S_(y)f(-l -1)+ S_(x)S+(y)f (- 1,1)
+ S+(x)S_(y)f(l - 1)+ s+(x)s+(y)f(i,i)
Sx(x,y)= T_(x)S_(y)fx(- l -1)+ Γ_(χ)5+( )/χ(- 1,1 )
+ ( )^-(^)Λ(ΐ - i)+ T+(x)s+(y)fx( i) Sy(x,y)= S_(x)T_(y)fy{- 1 - 1)+ S_(x)T+(y)fy(- 1,1)
+ S+(x)T_(y)fy(l - l)+ S+(x)T+(y)f y(l,l)
Equation 78 has the following properties:
1. the function f(x,y) is smooth throughout the domain -1≤x≤1, -1≤y≤1;
2. if the same method of splining is used for adjoining domains in the variables, the splining function joins the splining functions of the adjoining domains smoothly;
3. the function reproduces the values of the function and its first derivatives at the splining points, i.e. f(-1-1), f(-1,1), f(1-1), f(1,1), fx (-1,-1), fx (-1,1), fx (1,-1), fx (1,1),fy(-1,-1),fy(-1,1),fy(1,-1)andfy(1,1);
4. the method does not require the value of any function derivatives above first order at the splining points.
Here, the term "smooth" means continuous in the value of the function and all first derivatives.
The method can be generalised further albeit with mounting complexity. For three variables the equations become
f{x,y,z)=S{x,y,z)+Sx{x,y, z)+Sy (x , y , z)+Sz (x , y , z) (79)
S(x,y,z)=S_(x)S_(y)S_(z)f(- 1 - 1,- 1)+ S_(x)S_(j/)S+(z)/(- 1 - 1,1) + S_(x)S+(y)S_(z)f(- U,- 1)+ S_(x)S+(y)S+(z)f(- 1,1,1)
+ S+(x)S_(y)S_(z)f(l,- 1 - 1)+ S+(x)S_(y)S+(z)f(l - 1,1)
+ S+(x)S+(y)S_(z)f (1,1,- 1)+ S+(x)S+(y)S+(z)f(l,l,l)
,y,z)= T_(x)S_(y)S_(z)fx(- 1 - 1,- 1)+ T_(x)S_(y)S+(z)fx(- ~
+ T _(x)S +(y)S _(z) f x(- 1,1 - 1)+ T_(x)S+(y)S+(z)f x(- 1,1,1)
+ T+(x)S_(y)S_(z)fx(l,- 1 - 1)+ T+(x)S_(y)S+(z)fx(l - 1,1)
+ T x)S+(y)S_(z)fx(l,l - l)+T+(x)S+(y)S+(z)fx(l,l,l)
Figure imgf000034_0001
+S_{x)S+{y)T_{z)fz{-l,l -l)+S_{x)S+{y)T+{z)fz{-l,l,l)
+S+(x)S_(y)T_(z)fz(l -l -l)+S+(x)S_(y)T+(z)fz(l -l,l)
+s+(x)s+(y)T-(z)fz(i,i -i)+s+(x)s+(y)T+(z)fz(w) The scheme can be extended in an analogous way to handle any number of variables.
In what follows below, it is assumed that the new splining procedure is used, whenever there is more than one variable.
The K-values may be extended to different temperatures as described below.
In order to apply the explicit K-value method of the present invention efficiently at any arbitrary temperature, it is necessary to establish a grid of temperatures at which the K-values are regressed as explicit functions of pressure, as described above. The regressions may be performed adaptively in the course of a simulation as needed to satisfy the requested phase equilibrium calculations. In other words, the regressions need only be performed at the p, T values where the simulation requires a K-value.
The method of calculation at a given temperature T involves extrapolating the K-values from the highest temperature on the grid of regressed K-values for which Τ>ΤΪ and from the lowest temperature T2 for which T<T2. A good method of interpolation is cubic splining as this preserves smoothness.
Starting with ppc as an illustration, the property is expressed as a cubic function of temperature of the form
PPc {T)= a0+ αλ Τ+ a2 T2+ a3 T3 (Q0)
The four coefficients a0, a^ a2, a3 are found by fitting Equation 80 to four values at the splining points, namely pc(T^, dppc(J^/dJ, ppc(T2) and <3ppc(T2)/aT.
The temperature derivatives are a necessary part of this cubic splining method, and they may be estimated by finite difference as follows. When the regression method for the K-values described above is applied at any grid temperature Tn, the whole procedure is repeated at a similar temperature Tn +ΔΤΗ where ΔΤΗ is a small value. The temperature derivative is then
d Ppc _ Ρρ Τ η+ Tn )~ Ρρ Τη)
d T Δ Γ„ (81 ) where ΔΤΗ is chosen so that Equation 81 provides a good approximation to the temperature derivative.
The method described for splining ppc is also applied to each of the coefficients c for the K-values in Equation 32. All the splining coefficients can be stored in computer memory for the temperature interval T T2 so that no further regression calculations are required for this interval during a simulation. As a result, each K-value in interval T T2 is determined as an explicit function of pressure and temperature, Kj=Kj(p,T).
In order to calculate the phase equilibrium, Equations 2, 3 and 4 need to be applied only once to determine the phase fractions and the compositions of the vapour and liquid phases. All the other explicit physical property functions can be extended to cover temperature by splining their coefficients in the same way as the K-values.
The explicit K-value method may also or alternatively be extended to account for variation in feed composition as described below.
In a sequential modular simulation, each stream of a flow sheet may be represented by a set of explicit K-values and associated physical properties defined as described above. In a situation where significant changes in feed composition occur for a stream, a new set of explicit functions may be set up. The K-values and other properties will be subject to a discontinuous change but that may be acceptable provided it is not too large and the flow sheet continues to converge. The important consideration is to set the criterion for regressing new explicit functions so that it does not happen too often but convergence still occurs.
For simulations where smoothness is required, for example in an equation orientated simulation or for process optimisation, periodic recalculation of the explicit functions for the K-values, etc., may not be acceptable at it introduces discontinuities. Situations where significant changes in feed composition occur can be incorporated into the method by introducing one or more additional variables besides temperature that can be used as splining variables.
A simple example in process simulation is modelling the phase behaviour in a unit operation which has two feeds of different composition where the flow rates may vary. The blend fraction between the two feeds may be introduced as a second variable to complement temperature when regressing K-values. The K-values may be expressed as explicit functions of pressure on a grid of points at different temperatures and blend fractions. As before, the regressions can be performed adaptively as required to allow the K-values to be interpolated to the required temperature and blend fraction. In this case, four splining points are needed at lower and higher temperatures and lower and higher blend fractions. At each splining point the blend fraction derivatives are estimated by finite difference in addition to the temperature derivatives. Equation 78 can then be used to interpolate the projected critical pressure ppc and each of the coefficients c used to represent the K-values.
The methodology may be extended to unit operations with more feeds. If there are three feeds, for example, then there needs to be two blend fractions and splining must be done using Equation 79 to interpolate the three variables:
temperature and two blend fractions.
The method of the present invention may be applied in simulations of various situations such as a distillation column, a pipeline, or a reservoir or well.
A distillation column is a complex group of interconnected phase equilibria.
However, the fluid mixture on each tray usually varies smoothly up the column. A rigorous steady-state simulation of the column, for example, could provide typical feed compositions on each tray. These may be denoted by height up the column (or tray number). So whereas the previous example used blend fraction as a second variable, the K-values in a column could be related to height or tray number. If a dynamic simulation is to be performed, the compositions of the column are likely to be perturbed from the steady-state values. The explicit K-value method of the present invention can therefore provide an approach to performing a rapid but reasonably accurate dynamic simulation of a column.
Simulating a pipeline has its own particular requirements that reflect the essential geometrical fact that the length hugely exceeds all the other dimensions. As a consequence, the residence time of fluid in the pipeline is high. In practice, many pipelines are part of a network, but the methodology described here may be applied to each single un-branched section of pipe.
Initially, the phase behaviour at the inlet of the pipe may be regressed to form explicit K-values. It is assumed that the composition of the inlet fluid is known over time either from direct measurement or else from simulation of the supply pipes to the inlet point in question. The second variable is ideally time. A grid of temperature and time points may be set up and the K-values regressed as functions of pressure at each grid point. The temperature and time derivatives may be found by finite difference as before. The time intervals are ideally selected to reflect changes in inlet composition; if the composition is changing slowly, the time intervals may be large whereas if the composition is changing rapidly, the time intervals should preferably be short. The K-values at any other temperature or time can then be found by extrapolation using Equation 78. The model assumes that the explicit K-value (and other) functions travel along the pipe at the same velocity as the average velocity of the fluids. Except for steady-state flow, there will be some phase intermingling and so overall
compositions will alter as the fluid flows through the pipe. However, the effect is normally small enough for the assumption to be made that the K-value functions will remain good approximations.
The usefulness of the method is that the same K-value functions may be applied to any point on the pipe by replacing the time variable with a displaced time variable. At any defined point along the pipe at a given time, the displaced time is the time corresponding to when the same fluid was at the inlet. The time difference is calculated by finding from the simulation the average fluid velocity from the inlet to the point in question; the time difference is then the length of the pipe from the inlet to the point divided by the average fluid velocity. The displaced time is defined as the actual time minus the time difference.
Reservoir simulation and well-performance simulations are good potential applications of the explicit K-value method as they notably involve intensive computations. Many reservoirs show quite small variations in temperature, so it is relatively easy to spline the K-values and physical properties at a small number of temperatures to cover the entire simulation. In cases where different zones contain fluid with distinctly different compositions, the approximation method may be extended by representing each fluid composition with its own explicit functions and splining them by introducing blend fractions, just like the case of units operations with multiple fluids. If necessary, gas drives may also be handled by treating the injection gas as another fluid for which blend fractions can be introduced.
Another benefit of the method is that it can be used in conjunction with rigorous methods. For example, in a multilateral well it may be desirable to represent different zones of the reservoir with different approximate functions, but the commingled fluid in the well bore, pipelines or processing facilities could be simulated using rigorous thermodynamic methods.
For some applications a compositional treatment is not required. The proposed methodology may be reduced to handle this case. For example, for a fluid at a defined temperature, the projected critical pressure ppc can be calculated from a rigorous model as before. All pressures can still be reduced relative to ppc, as that is still advantageous in providing an appropriate pressure variable for use in the correlating functions. Now, instead of correlating individual K-values, the vapour fraction Fv, and if necessary the water fraction Fw, are themselves expressed as explicit functions of pr.
With regard to physical properties, only the total physical properties then need to be considered. Taking molar volume as an example, for the vapour and liquid phases in the two-phase region, equations such as 46 and 47 may be used, but now for the molar volume of the whole fluid, not the partial molar volumes. An equation such as 48 can be used for the single-phase molar volumes at low pressure (vapour-like) and 49 for the single-phase molar volumes at high pressure (liquid-like) or for the water phase. An analogous approach may be adopted for the thermal properties. For the transport properties, only the total quantities need to be regressed as in the compositional treatment; the derivatives of the transport properties with respect to composition are not required.
Up to this point, the K-values and physical properties have all been regressed as functions of pressure using simple algebraic functions. However, it is also possible to treat reduced pressure as a splining variable like temperature and any other variables that may be introduced to account for changes in composition such as displaced time in a pipeline, for example.
Taking K-values as an example, consider the case where variations in temperature and pressure must be modelled. A grid of temperatures and reduced pressures should be established. Consider the case of interpolation between temperatures and T2 and reduced pressures pr1 and pa. As before, the projected critical pressure must be calculated using the algorithm above so that the pressures can be converted to reduced pressures. It remains a key advantage of the method that projected critical pressure at any temperature is used as the reducing property. The K-values and their derivatives with respect to temperature and reduced pressure are evaluated using a rigorous equation-of-state model at the four splining points (Ti ,pri), ΟΊ ,ρ^), (T2,pri) and (T2, Pr2)- Whereas before the projected critical pressure ppc and the regression coefficients Cii-cim were interpolated, with this approach the K-values themselves are directly interpolated from their values at the splining points using Equation 78 to give values at a specified pressure and temperature. As before, the rigorous values at the splining points can be calculated adaptively as required.
The method can be extended to include modelling solids formation.
For oil industry applications, phase equilibrium problems can include the formation of certain solids such as waxes and asphaltenes. The formation of these solids is operationally very undesirable and should be avoided if at all possible. There are a number of computationally intensive applications available which model the formation of waxes and asphaltenes. However, these take a long time to run. Waxes can deposit in sub-sea pipelines and applying the explicit K-value method of the present invention would reduce the time of these calculations, especially for pipeline networks or for transient simulations. Asphaltenes tend to deposit in oil reservoirs and wells, and these also require large amounts of computing time with the presently available applications.
Extending Equations 33-43 to include a solid phase increases their complexity considerably, and increases computing time. In order to minimise the impact of including a solid phase on computing time, a sequential approximation may be introduced. The approximation is valid for any situation where the components of the solid phase are only found in one of the fluid phases in any appreciable concentration. The concept is illustrated below for the case of wax precipitation, but the method is general and may be used in other situations where solids form.
Petroleum wax is a solid solution predominantly of n-paraffins (i.e. straight- chain alkanes) that occur naturally in petroleum fluids. In nearly all cases, the wax- forming components are only found in the hydrocarbon liquid (or oil) phase. When applying a rigorous model to calculate the phase equilibrium in order to form the explicit fluid-phase K-values, the presence of a wax phase may be predicted. If that happens the solid-liquid K-values
Figure imgf000040_0001
wilxi (82) are stored, where wh x, denote the mole fractions of component i in the solid (i.e. wax) phase and liquid (i.e. oil) phase, respectively. The solid-liquid K-values can be regressed using an expression such as Equation 30, since a solid phase will not exhibit critical behaviour.
Once the solid-liquid K-values are stored, the sequential approximation proceeds by subsuming the wax components into the liquid hydrocarbon phase, and treating the resulting system as a fluid phase equilibrium involving vapour, liquid hydrocarbon and water phases exactly as before. The effective mole fractions of the components of the hydrocarbon liquid are given by where Fs is the solid phase fraction and FL is the hydrocarbon liquid phase fraction. The effective hydrocarbon liquid fraction FL eff=Fs+FL.
Once the explicit K-values have been correlated for the given temperature, etc., the sequential approximation involves first calculating the fluid phase equilibrium as usual with Equations 33-43. The next stage then involves applying Equation 2 to the effective liquid hydrocarbon phase to split it into a solid and liquid hydrocarbon phase. In this, Equation 2 becomes
Figure imgf000041_0001
the resulting real liquid phase fraction would be
Figure imgf000041_0002
the solid phase mole fractions would be
Figure imgf000041_0003
and the hydrocarbon liquid mole fractions
Figure imgf000041_0004
Equation 84 is solved by an iterative numerical procedure, like Equation 2. If during the solution Fs becomes less than zero, the calculation is terminated as no wax will form. In the unlikely event that Fs becomes greater than FL eff, it is concluded that the hydrocarbon liquid phase is to be interpreted entirely as a wax phase.
Like wax, asphaltenes are solid phases that form from petroleum fluids and can be handled using the same solid-liquid formalism. However, one aspect of asphaltene behaviour is different from waxes. Whereas the wax K-values are only mildly dependent on composition, for asphaltenes they are very sensitive to the presence of light components.
Fig. 4 shows a typical phase diagram for an asphaltenic crude oil. Above the bubble point line, the oil phase may or may not form an asphaltene phase. If asphaltene does form, the solid-liquid K-values can be treated in an analogous way to the wax case. However, below the bubble point line, as the light gases leave the liquid phase, the solubility of asphaltene increases rapidly because light
components are destabilising to asphaltenes. The scheme for correlating the solid- liquid K-values to form explicit functions therefore needs to be elaborated for asphaltenes.
An effective procedure is first to calculate the phase behaviour above the bubble point. Any points where asphaltene forms are used to obtain the solid-liquid K-values, and the asphaltene is subsumed into the oil phase exactly as for the wax case. The solid-liquid K-values are regressed as explicit functions of pressure using an expression such as Equation 30. The points below the bubble point line are then processed and the solid-liquid K-values are obtained. As before, the asphaltene phase is subsumed into the oil phase. The new solid-liquid K-values are now split into two parts
Κ?= ΚΓ+ Δ Κ?" (88) where Kf°" is the correlated function for the K-values already obtained by regressing the points above the bubble point. AKjSL represents the effect of compositional change and is found from Equation 88.
AK|SL is then regressed as a simple function of some parameter representing the presence of light components in the oil phase, such as oil molecular weight, or methane mole fraction, etc.
In principle, A SL could also be made dependent on reduced pressure pr, but in most cases that would not be necessary as the lower asphaltene envelope is normally quite close to the bubble point line.
In summary, for asphaltenes, the phase equilibrium procedure consists of solving Equations 33-43 to find the fluid phase equilibrium. If there is no gas phase present, i.e. the pressure is above the bubble point, the solid-liquid K-values are evaluated from a function of reduced pressure such as Equation 30. If there is a gas present, the solid-liquid K-values are formed from Equation 88. The effective oil phase is then split into oil and asphaltene phases using Equations 84-87 in exactly the same way as for the wax case.

Claims

Claims
1. A method of determining K-values for a mixture, the method comprising the following steps:
(i) calculating K-values for the mixture explicitly at a number of pressures and at a temperature T;
(ii) determining a projected critical pressure ppc as the pressure above which a two-phase vapour-liquid phase equilibrium may no longer be estimated; and
(iii) regressing the K-values as a function of ppc.
2. A method as claimed in claim 1 , wherein step (iii) comprises determining a reduced pressure pr, where pr = p/ppc and p is the actual pressure, and preferably then regressing the K-values as a function of pr.
3. A method as claimed in claim 2, wherein the K-values are regressed as a functio
Figure imgf000043_0001
where i represents the components of the mixture, c0-cm are coefficients to be determined by the regression, q=1-pr and φ is a constant for all components which is less than 1.
4. A method as claimed in claim 2 or 3, further comprising regressing a variable other than the K-values as a function of pr, preferably wherein the other variable is the total volume, enthalpy, heat capacity, entropy, viscosity, thermal conductivity or interfacial tension of the mixture.
5. A method as claimed in any preceding claim, wherein ppc is determined by:
(a) defining a matrix Q, the elements of which are:
Figure imgf000043_0002
where A is the Helmholtz energy of the mixture, n is the mole number and subscripts i and j denote the components in the mixture; (b) determining the composition n of the mixture and total volume V whilst requiring that the minimum eigenvalue of matrix Q, Amin=0 and the third derivative of A is zero in the direction of the associated eigenvector; and
(c) calculating ppc from n and V.
6. A method as claimed in claim 5, wherein at step (c) ppc is determined from an equation of state.
7. A method as claimed in claim 5 or 6, wherein at step (b), n is found by following the iterative procedure:
(b-1) estimate the mole number vector n of the projected critical fluid; (b-2) form the matrix Q;
(b-3) solve Q u~ ^™« u to find Amin and its normalised eigenvector u; (b-4) calculate a new hyperplane given by
,_ d h
d n
where
_ UT (QM- Q(- Aa)) _ (Q(Aa)- Q(- Aa))
2Aa 2Aa
(b-5) extend a feed composition vector z in the direction u to intersect the hyperplane to determine the new mole number vector n;
(b-6) if n is not changed significantly, exit as the problem is solved; else
(b-7) go back to step (b-2).
8. A method as claimed in claim 7, wherein at step (b), V is found by following the iterative procedure:
(b-8) estimate V and n from previous projected phase equilibrium calculations;
(b-9) using the iterative procedure of claim 7, find the mole number vector n;
(b-10) calculate C, where C = uTVAmm = uT (g(AQ ~ g(- AQ )u .
2Aa
(b-1 1) increment V;
(b-12) using the iterative procedure of claim 7, find the mole number vector n;
(b-13) re-calculate C;
(b-14) using the two most recently found values of V and C, extrapolate to a new value of V to satisfy C=0 by linear extrapolation;
(b-15) using the iterative procedure of claim 7, find the mole number vector n;
(b16) if V has not significantly changed from its most recently formed value, exit as calculation is complete; else
(b-17) re-calculate C; and
(b-18) go to step (b-14).
9. A method as claimed in any preceding claim, wherein the K-values are regressed on an isotherm at temperature T.
10. A method as claimed in any preceding claim, further comprising determining a vapour phase fraction Fv from each determined K-value.
11. A method as claimed in claim 10, wherein Fv is determined iteratively, preferably using the following equation:
^ {K'~ l )z' -= 0
FvK,+ \- F
where i represents the components of the mixture, K, is the K-value for component and z, is the amount of component i present in the mixture.
12. A method as claimed in claim 10 or 1 1 , further comprising determining vapour and liquid mole fractions from each K-value and Fv.
13. A method as claimed in any preceding claim, wherein the K-values are treated as functions of pressure and temperature but are independent of the composition of the mixture.
14. A method as claimed in any preceding claim, wherein the K-values for the mixture are determined using an equation of state.
15. A method as claimed in any preceding claim, further comprising repeating that method at a different temperature.
16. A method as claimed in claim 15, wherein the K-values are splined between the different temperatures. 17. A method as claimed in claim 16, wherein splining is performed using a cubic splining method.
18. A method as claimed in any preceding claim, wherein the mixture comprises a petroleum fluid and the K-values are preferably used in a simulation of a petroleum fluid.
19. A method as claimed in any preceding claim, further comprising using the K- values in a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
20. A method as claimed in any preceding claim, wherein the K-values are determined adaptively for pressures and temperatures as required in a simulation.
21. A method as claimed in any preceding claim, further comprising estimating K-values for a solid phase.
22. A method as claimed in claim 21 , further comprising modelling wax precipitation or asphaltenes.
23. A computer program for performing the method of any preceding claim.
24. A computer readable medium comprising a computer program as claimed in claim 23.
25. A method of determining K-values for a mixture explicitly at a number of pressures and at a temperature T, wherein the K-values are determined as a function of time, and the determined K-values are then used in simulation of a pipe or pipeline.
26. A method as claimed in claim 25 comprising using the method of any of claims 1-22 to determine the K-values.
27. A method as claimed in claim 25 or 26, wherein the K-values are determined as a function of time based on the flow into the pipe as a function of time.
28. A method as claimed in claim 27, wherein the flow into the pipe as a function of time is measured in real time or estimated from a model.
29. A computer program for performing the method of any of claims 25-28.
30. A computer readable medium comprising a computer program as claimed in claim 29.
31. A method of determining K-values for a mixture comprising vapour, liquid and solid phases, wherein first solid-liquid K-values are determined for the mixture and then the components of the solid phase are subsumed into the liquid phase to form an effective liquid phase before estimating resulting effective liquid-vapour K- values.
32. A method as claimed in claim 31 , further comprising calculating a phase equilibrium between the vapour and effective liquid phases, and preferably then splitting the effective liquid phase into oil and solid phases.
33. A method as claimed in claim 31 or 32, wherein the effective liquid-vapour K-values are estimated using the method of any of claims 1-22.
34. A method as claimed in claim 31 , 32 or 33, further comprising using the K- values for a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
35. A method as claimed in any of claims 31-34, wherein the mixture comprises a petroleum fluid and the K-values are preferably used in a simulation of a petroleum fluid.
A computer program for performing the method of any of claims 31-35.
37. A computer readable medium comprising a computer program as claimed in claim 36.
38. A method of splining K-value functions between splining points in one or more splining variables, wherein the splined K-value function is a function of switch functions and the K-value functions and their first order derivatives only.
39. A method as claimed in claim 38, wherein the splining variable or variables is or comprises temperature.
40. A method as claimed in claim 38 or 39, wherein the switch functions are polynomials, preferably cubic polynomials, of the splining variable.
A method as claimed in claim 38, 39 or 40, wherein four switch functions are
42. A method as claimed in claim 41 , wherein the switch functions are given by:
(2-3 + x3)
- ' 4
(1- x- x2+ x3)
T_{x)--y '-
T+{X)= (-i-*÷*2+*3) where x is a transformed splining variable which runs from -1 to +1 between the splining points.
43. A method as claimed in claim 42, wherein there is only one splining variable and the splined function is given by
f(x)= S_(x)f(- 1)+ S+(x)f(l)+ T_{x)fx{- \)+ +(χ)/¾(1) where fx is df/dx.
44. A method as claimed in claim 42, wherein there are two splining variables, represented by the transformed splining variables x and y, each running from -1 to +1 between the splining points, and the splined function is given by
f(x,y)=S(x,y)+ Sx(x,y)+Sy(x,y)
where
S(x,y)= S_(x)S_(y)f(-l -1)+ S_(x)S+(y)f (~ U)
+ S+(x)S_(y)f(l,- 1)+ S+(x)S+(y)f (1,1)
Sx(x,y)= T_(x)S_(y)fx(- l -1)+ T_(x)S+(y)fx(~ U )
+ T+(x)S_(y)fx(l,- 1)+ T+(x)S+(y)fx(l,l)
Sy(x,y)= S_{x)T_{y)fy{- 1 - 1)+ 5_(χ)Γ+(> /,(- 1,1)
+ 5+(x)r (>>)/,(i - i)+ s+(x)T+(y)f y(i,i)
and fx is δί/δχ and fy is 5f/5y.
45. A method as claimed in claim 42, wherein there are three splining variables, represented by the transformed splining variables x, y and z, each running from -1 to +1 between the splining points, and the splined function is given by
f{x,y, z)=S{x , y,z)+Sx{x , y, z)+Sy{x ,y, z)+Sz{x ,y, z)
where
S(x,y,z)=S_(x)S_(y)S_(z)f(- 1 - 1,- 1)+ S_(x) s_(y)s f (~ i - ι,ΐ) + S_(x)S+(y)S_(z)f(- 1,1," 1)+ S_(x)S+(y)S+(z)f(- 1,1,1)
+ S+(x)S_(y)S_(z)f(l - 1 - 1)+ S+(x)S_(y)S+(z)f(l - 1,1)
+ S+(x)S+(y)S_(z)f (1,1,- 1)+ S+(x)S+(y)S+(z)f(l,l,l)
Sx(x,y,z)= T_(x)S_(y)S_(z)fx(- 1 - 1,- 1)+ T_(x)S_(y)S+(z)fx(- 1,- 1,1) + T_(x)S+(y)S_(z)fx(- 1,1 - 1)+ T_(x)S+(y)S+(z)fx(- 1,1,1)
+ T+(x)S_(y)S_(z)fx(l,- 1 - 1)+ T+(x)S_(y)S+(z)fx(l - 1,1)
+ T x)S+(y)S_(z)fx(l,l,- l)+ T+(x)S+(y)S+(z)f x(l,l,l)
Figure imgf000049_0001
S2{x,y,z)=S_{x)S_{y)T_ [z] f z{-\ -\ -\)+S _{x)S _{y)T +{z)f z{-\ -\,\) +S_(x)S+(y)T_(z)fz(-l,l -l)+S_(x)S+(y)T+(z)fz(-lXl)
+S+(x)Siy)T_(z)fz(l -l -l)+S+(x)S_(y)T+(z)fz(l -l,l)
+s+(x)s+(y)T-(z)fz(\ -i)+s+(x)s+(y)T+(z)f2(w) and fx is df/dx, fy is df/dy and fz is df/dz.
46. A method as claimed in any of claims 38 to 45, wherein the first order derivatives are determined by a finite difference method.
47. A method as claimed in any of claims 38 to 46, further comprising using the splined K-value functions in a simulation of a petroleum fluid, and/or in a separator, distillation column, absorber, liquid-liquid separator, other unit operation, pipeline, reservoir or well simulation.
48. A computer program for performing the method of any of claims 38 to 47.
49. A computer readable medium comprising a computer program as claimed in claim 48.
PCT/GB2013/052159 2012-08-15 2013-08-14 Physical property modelling WO2014027196A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB201214559A GB201214559D0 (en) 2012-08-15 2012-08-15 Physical property modelling
GB1214559.5 2012-08-15

Publications (2)

Publication Number Publication Date
WO2014027196A2 true WO2014027196A2 (en) 2014-02-20
WO2014027196A3 WO2014027196A3 (en) 2014-04-10

Family

ID=46981559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2013/052159 WO2014027196A2 (en) 2012-08-15 2013-08-14 Physical property modelling

Country Status (2)

Country Link
GB (1) GB201214559D0 (en)
WO (1) WO2014027196A2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058446B2 (en) 2010-09-20 2015-06-16 Exxonmobil Upstream Research Company Flexible and adaptive formulations for complex reservoir simulations
US10036829B2 (en) 2012-09-28 2018-07-31 Exxonmobil Upstream Research Company Fault removal in geological models
US10087721B2 (en) 2010-07-29 2018-10-02 Exxonmobil Upstream Research Company Methods and systems for machine—learning based simulation of flow
CN108711002A (en) * 2018-05-09 2018-10-26 西安建筑科技大学 One kind being based on improved FPPC algorithms oil-gas pipeline pipeline section division methods
US10319143B2 (en) 2014-07-30 2019-06-11 Exxonmobil Upstream Research Company Volumetric grid generation in a domain with heterogeneous material properties
US10803534B2 (en) 2014-10-31 2020-10-13 Exxonmobil Upstream Research Company Handling domain discontinuity with the help of grid optimization techniques
US10839114B2 (en) 2016-12-23 2020-11-17 Exxonmobil Upstream Research Company Method and system for stable and efficient reservoir simulation using stability proxies
CN112881463A (en) * 2021-01-19 2021-06-01 西安交通大学 Method for visually processing temperature change of liquid in container
CN114002358A (en) * 2021-11-23 2022-02-01 杭州司南智能技术有限公司 Gas chromatography state monitoring soft instrument and method based on vapor-liquid equilibrium temperature calculation
JP2022075644A (en) * 2020-11-06 2022-05-18 ダッソー システムズ ドイチェラント ゲーエムベーハー Renormalization by complete asymmetric fluctuation equation (cafe)
US11409023B2 (en) 2014-10-31 2022-08-09 Exxonmobil Upstream Research Company Methods to handle discontinuity in constructing design space using moving least squares
CN115795260A (en) * 2022-10-28 2023-03-14 清云智通(北京)科技有限公司 Method and system for providing initial value of rectifying tower based on clear separation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550761A (en) * 1994-02-08 1996-08-27 Institut Francais Du Petrole Method for modelling multiphase flows in pipelines
FR2756044A1 (en) * 1996-11-18 1998-05-22 Inst Francais Du Petrole METHOD FOR CONSTITUTING A REPRESENTATIVE MODEL OF POLYPHASIC FLOWS IN OIL PRODUCTION PIPES
US20060076430A1 (en) * 2004-10-12 2006-04-13 The Boeing Company Methods and systems for simulating multi-phase fluid flows, including fire suppressant flows
US20060116531A1 (en) * 2004-11-29 2006-06-01 Wonders Alan G Modeling of liquid-phase oxidation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550761A (en) * 1994-02-08 1996-08-27 Institut Francais Du Petrole Method for modelling multiphase flows in pipelines
FR2756044A1 (en) * 1996-11-18 1998-05-22 Inst Francais Du Petrole METHOD FOR CONSTITUTING A REPRESENTATIVE MODEL OF POLYPHASIC FLOWS IN OIL PRODUCTION PIPES
US20060076430A1 (en) * 2004-10-12 2006-04-13 The Boeing Company Methods and systems for simulating multi-phase fluid flows, including fire suppressant flows
US20060116531A1 (en) * 2004-11-29 2006-06-01 Wonders Alan G Modeling of liquid-phase oxidation

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHRISTIANSEN L J ET AL: "Vapour-liquid equilibria of the CH4@?Ar@?CO system", CRYOGENICS, ELSEVIER, KIDLINGTON, GB, vol. 14, no. 1, January 1974 (1974-01), pages 10-14, XP025202474, ISSN: 0011-2275, DOI: 10.1016/0011-2275(74)90037-X [retrieved on 1974-01-01] *
NICHITA D V ET AL: "Pseudocomponent delumping for multiphase systems with waxy solid phase precipitation", ENERGY AND FUELS MARCH/APRIL 2008 AMERICAN CHEMICAL SOCIETY US, vol. 22, no. 2, March 2008 (2008-03), pages 775-783, XP002719457, DOI: 10.1021/EF700439Q *
SA MOHAMMED ET AL: "A Simplified Method for Computing Phase Behavior of Carbon Dioxide/Hydrocarbon Mixtures in Compositional Simulation", MIDDLE EAST OIL SHOW, 16-19 NOVEMBER 1991, BAHRAIN, 1991, pages 789-804, XP055086597, One Petro - Society of Petroleum Engineers DOI: 10.2118/21430-MS ISBN: 978-1-55-563517-6 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10087721B2 (en) 2010-07-29 2018-10-02 Exxonmobil Upstream Research Company Methods and systems for machine—learning based simulation of flow
US9058446B2 (en) 2010-09-20 2015-06-16 Exxonmobil Upstream Research Company Flexible and adaptive formulations for complex reservoir simulations
US10036829B2 (en) 2012-09-28 2018-07-31 Exxonmobil Upstream Research Company Fault removal in geological models
US10319143B2 (en) 2014-07-30 2019-06-11 Exxonmobil Upstream Research Company Volumetric grid generation in a domain with heterogeneous material properties
US11409023B2 (en) 2014-10-31 2022-08-09 Exxonmobil Upstream Research Company Methods to handle discontinuity in constructing design space using moving least squares
US10803534B2 (en) 2014-10-31 2020-10-13 Exxonmobil Upstream Research Company Handling domain discontinuity with the help of grid optimization techniques
US10839114B2 (en) 2016-12-23 2020-11-17 Exxonmobil Upstream Research Company Method and system for stable and efficient reservoir simulation using stability proxies
CN108711002A (en) * 2018-05-09 2018-10-26 西安建筑科技大学 One kind being based on improved FPPC algorithms oil-gas pipeline pipeline section division methods
JP2022075644A (en) * 2020-11-06 2022-05-18 ダッソー システムズ ドイチェラント ゲーエムベーハー Renormalization by complete asymmetric fluctuation equation (cafe)
JP7209800B2 (en) 2020-11-06 2023-01-20 ダッソー システムズ ドイチェラント ゲーエムベーハー Renormalization with Complete Asymmetric Fluctuation Equation (CAFE)
CN112881463A (en) * 2021-01-19 2021-06-01 西安交通大学 Method for visually processing temperature change of liquid in container
CN114002358A (en) * 2021-11-23 2022-02-01 杭州司南智能技术有限公司 Gas chromatography state monitoring soft instrument and method based on vapor-liquid equilibrium temperature calculation
CN114002358B (en) * 2021-11-23 2024-02-23 杭州司南智能技术有限公司 Gas chromatography state monitoring soft instrument and method based on vapor-liquid equilibrium temperature calculation
CN115795260A (en) * 2022-10-28 2023-03-14 清云智通(北京)科技有限公司 Method and system for providing initial value of rectifying tower based on clear separation
CN115795260B (en) * 2022-10-28 2023-08-25 清云智通(北京)科技有限公司 Rectifying tower initial value providing method and system based on clear separation

Also Published As

Publication number Publication date
GB201214559D0 (en) 2012-09-26
WO2014027196A3 (en) 2014-04-10

Similar Documents

Publication Publication Date Title
WO2014027196A2 (en) Physical property modelling
Jhaveri et al. Three-parameter modification of the Peng-Robinson equation of state to improve volumetric predictions
Ji et al. Wax phase equilibria: developing a thermodynamic model using a systematic approach
Li et al. Determination of multiphase boundaries and swelling factors of solvent (s)–CO2–heavy oil systems at high pressures and elevated temperatures
US6028992A (en) Method for constituting a model representative of multiphase flows in oil production pipes
Coto et al. Analysis of paraffin precipitation from petroleum mixtures by means of DSC: iterative procedure considering solid–liquid equilibrium equations
WO2017070789A1 (en) Emulsion composition sensor
NO322148B1 (en) Method for detecting and controlling hydrate formation at any point in a tube feeding multiphase petroleum fluids
Duan et al. Wax deposition modeling of oil/gas stratified smooth pipe flow
Li et al. New two‐phase and three‐phase Rachford‐Rice algorithms based on free‐water assumption
Sousa et al. Modelling paraffin wax deposition using Aspen HYSYS and MATLAB
US20150039241A1 (en) Hydrocarbon modelling
Sammon et al. Practical control of timestep selection in thermal simulation
Lira-Galeana et al. Computation of compositional grading in hydrocarbon reservoirs. Application of continuous thermodynamics
Abhvani et al. Development of an efficient algorithm for the calculation of two-phase flash equilibria
Miquel et al. A new method for petroleum fractions and crude oil characterization
Apio et al. Comparison of Kalman filter-based approaches for permanent downhole gauge pressure estimation in offshore oil production
Jessen Effective algorithms for the study of miscible gas injection processes
da Silva et al. Paraffin solubility and calorimetric data calculation using Peng-Robinson EoS and modified UNIQUAC models
CA2935112C (en) System and process for estimating solvent recovery
Asbaghi et al. Toward an efficient wax precipitation model: Application of multi-solid framework and PC-SAFT with focus on heavy end characterization for different crude types
EP3440306A1 (en) Method for simulating the thermo-fluid dynamic behavior of multiphase fluids in a hydrocarbons production and transport system
Coronado et al. Workflow to Evaluate Wax Deposition Risk Along Subsea Production Systems
BR112022024799B1 (en) HYDROCARBONS MONITORING METHOD, PROCESSING SYSTEM FOR HYDROCARBONS MONITORING AND NON-TRAINER COMPUTER READABLE MEDIA
Crivellini et al. Development and validation of a model for the simulation of the air drying phenomena in pipelines

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13753441

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13753441

Country of ref document: EP

Kind code of ref document: A2