1. Introduction
Fluid properties are directly involved in all flow and volumetric calculations in the upstream and downstream zones of the petroleum industry. Density and its change over pressure, vaporization, or condensation ratios, as well as kinetic properties such as viscosity all affect the obtained results [1,2,3,4]. For the case of natural gas, various calculations need to be run including the estimation of hydrocarbon reserves in a reservoir, the study of the gas flow in the reservoir and the wellbore, and its thermodynamic behavior through the pipelining system until its arrival at the sales point and further transportation to the end user, whereas the latter could be a home user, a plant, or an electric power generation unit. The accurate determination of gas density is of utmost importance, directly related to the conversion of flow rates from line conditions to standard ones where rates are commonly reported. Moreover, the rate of change of density with pressure under constant temperature, known as isothermal compressibility, is related to the accumulation or withdrawal of mass in a control volume such as a reservoir when that volume is depleted and pressure undergoes reduction.
Although natural gas is a complex multi-component mixture with methane being the major compound and other compounds such as nitrogen, carbon dioxide, ethane, propane, and heavier hydrocarbons at lower concentrations [5,6], for the special case of near surface conditions, it can be treated as an ideal one. Therefore, its thermodynamic behavior is governed by the ideal gas Equation of State (EoS)Vm=RTp, whereVmdenotes molar volume; hence, densityρand compressibility c at pressure p and at temperature T are given respectively by:
ρ=pMRT
c=−1VdVdp=1p
where M stands for the fluid’s molar mass. To handle conditions far from the atmospheric one, the above definition needs to be extended by introducing the deviation factor Z, also known as the compressibility factor, not to be confused with isothermal compressibility, such thatVm=ZRTp. In that case, the density and compressibility of the gas are given by:
ρ=pMZRT
and:
c=−1VdVdp=1p−1ZdZdp
respectively. From a thermodynamic perspective, the Z-factor basically describes the deviation between real gas and ideal gas behavior. There are a number of accurate equations of state providing estimates of the Z-factor; among them are the Soave–Redlich–Kwong (SRK) [7], the Peng–Robinson (PR) [8], the Lee–Kesler EoS [9], and the Zudkevitch–Joffe–Redlich–Kwong (ZJRK) ones [10]. Research has been published also for the calculation of the virial coefficients of the EoS [11]. Clearly, all EoS-based methods to predict the Z-factor need an accurate description of the gas composition and characterization of all its components. This last step can be very tedious, as it involves estimation of properties’ components such as critical values, acentric factors, and binary interaction coefficients.
Another group of methods takes advantage of the corresponding states principle according to which fluids at the same reduced pressure and temperature exhibit very close compressibility factor values. Reduced conditions are defined bypr=ppcandTr=TTc, respectively, wherepcandTc denote the mixture’s critical pressure and temperature, respectively. The most pronounced method to compute the Z-factor by this approach is the use of the industry-standard Standing–Katz (S-K) chart [5], which provides the Z-factor of natural gas as a function of its reduced properties. This chart is known to perform surprisingly accurately for hydrocarbon mixtures, although it has been generated by using experimental data from a very limited dataset. This chart, originally generated in the early 1940s, is valid forTrvalues in[1.05,3.0]andpr values up to 15. Later, it was extended [12] up toprequal to 30 only for a narrower range of reduced temperatures, i.e.,Tr∈[1.4,2.8] . When impurities are present, the correction method of Wichert and Aziz [13] needs to be utilized. Various mixing rules are available to estimate mixture’sTcandpc when the composition and the critical properties of the gas components are known. The methods of Kay [14], Stewart–Burkhardt–Voo (SBV) [15] and Sutton [16] are the most widely used. When either the composition or the gas components’ critical properties are unknown, the S-K chart is still applicable by utilizing the pseudo-critical propertiesppcandTpc , respectively. The latter can be computed from correlations of the specific gravity [17], thus leading to the estimation of the Z-factor by means of the pseudo-reduced values defined byppr=p/ppcandTpr=T/Tpc. For the sake of simplicity, we will useprandTrto denote both reduced and pseudo-reduced pressure and temperature in the following sections.
To facilitate the use of computers, the S-K chart has been fitted by various correlations, which can be distinguished into two categories. Firstly, the iterative ones require repeated calculations to solve a non-linear algebraic equation, the root of which is the Z-factor or a direct function of that. The methods of Hall and Yarborough (H-Y) [18], as well as that of Dranchuk and Abu Kassem (DAK) [19] are the most pronounced ones in this category. Secondly, explicit correlations are available for directly predicting the Z-factor given the reduced or pseudo-reduced properties. The methods of Beggs and Brill [20], Azizi et al. [21], Kumar [22] (also known as the Shell oil one), and Heidaryan [23] are some of them. Alternative approaches have also been presented such as that of Kareem et al. [24], who aimed at fitting the H-Y approximation of the S-K chart. To achieve that, they used a transformation to simplify the complexity of the H-Y method, so as to fit it with an explicit formula. In order to improve the prediction capabilities of the Standing–Katz chart, Elsharkawy [25] presented a new simple mixing rule to calculate the pseudo-critical properties of the gas when the composition is known.
Recent studies have been focusing on the use of machine learning techniques to predict the Z-factor. Among them, Moghadassi et al. [26] applied Artificial Neural Networks (ANN) [27] to calculate the PVTproperties for pure gases, whereas Kamyab et al. [28] designed an ANN for the prediction of the Z-factor of natural gas by using the Standing–Katz chart as their library. The authors reported that their ANN method was more accurate than the iterative DAK [19], and it is applicable for the whole pressure range of the extended Standing–Katz chart, i.e., up topr=30 . Sanjari et al. [29] developed an ANN to calculate the compressibility factor, this time trained against the experimental Z-factor values rather than the ones obtained from the S-K chart, and they compared their values with empirical methods and EoS. Furthermore, Fayazi et al. [30] and Kamari [31] developed Support Vector Machines (SVMs) [32] by training them against experimental data that involved a variety of gas compositions, ranging from sour to sweet natural gas. Their approaches were shown to be far more accurate than EoS empirical correlations. Mohamadi et al. [33] conducted Z-factor calculations as they were derived by adopting empirical correlations and EoS coupled with intelligent methods. In particular, they reported on the improvement of van der Waals and Redlich–Kwong EoS by using Genetic Algorithms (GA), as well as Fuzzy Inference Systems (FIS), Adaptive Neuro-Fuzzy Inference Systems (ANFIS), and ANNs to predict the Z-factor.
From the discussion above, it becomes clear that the development of stable and accurate calculation methods to compute the Z-factor by means of the S-K chart is still a hot topic in the natural gas industry. Indeed, the S-K chart is a straightforward approach, and its H-Y computer implementation has been considered as the industry standard for decades [8]. However, despite recent improvements, none of the available methods can be freely used for any arbitrary pressure and temperature conditions, mostly due to two major drawbacks of them. Firstly, most of the available methods are applicable only to a limited pressure range, usuallypr<15, thus disregarding the S-K chart extension up topr=30. This restriction does not allow for the description of the gas thermodynamic behavior at high pressures such as those prevailing in HP/HT reservoirs or at high pressure compressors. Additionally, some of the regression models and most of the machine learning-based approaches when applied to the prediction of the Z-factor exhibit an oscillating behavior. This is attributed to the fact that such models are data driven, and they have been trained by only focusing on the accurate approximation of the Z-factor values at each of the available training data points. As a result, no physical evidence, such as a known trend of the Z-factor and its derivative, can be directly inherited by the model. In fact, the model is asked to “discover” underlying trends by itself through training. As an example, consider the relationship of the Z-factor with pressure at pressures abovepr= 15 and up topr= 30, which is perfectly linear. Data-driven models, when simply trained against data points, are not guaranteed to exhibit that natural straight line behavior and constant value of the Z-factor derivative. Instead, slight Z-factor deviations may lead to significant “hiccups” in the predicted compressibility value, hence to instability in the solution of the natural gas flow problem either in a reservoir or in a pipeline manifold. On the other hand, although the H-Y correlation exhibits remarkable accuracy against the Standing–Katz chart, it may also exhibit various convergence problems, leading to possible failure of the computation. As an example, consider the calculation of the Z-factor atTr=1.05,pr=3.1by solvingf(y)=0, wherey=aprZand a is a function ofTr, using the recommended initial value ofy=0.001 [8]. Figure 1 illustrates the plot off(y), as well as the step values followed by a typical Newton–Raphson method. It can be readily seen that the flat part off(y)aty=0.18causes an overshooting, thus leading the estimate at the third iteration to an extremely high value, definitely outside the valid y parameter bounds, from which the Newton–Raphson method cannot recover. Note that such behavior is quite common at variousprvalues above 20 at all reduced temperatures.
The objective of this study is to develop a numerical model to predict the Z-factor of hydrocarbon gases by fitting the Standing–Katz chart so as to overcome the weaknesses of the existing methods. For this task, the reduced pressure range is split into three regions, each described with its own submodel. For low reduced pressures, a Kernel Ridge Regression (KRR) model is used, whereas a linear and a quadratic one are developed for medium and high pressures. Figure 2 provides a general sketch of the problem.
The combined model acts as a rapid and inexpensive method to estimate the compressibility factor of a gas stream accurately. Compared to most existing methods, it can be safely used to provide Z-factor values in an extended operating range of reduced pressure values up topr=30, which fully covers all upstream operations and most of the downstream ones. Unlike other numerical models, it takes advantage of the simplicity of the industry standard Standing–Katz diagram, thus ensuring a simple form and guaranteeing continuity of the Z-factor value and its derivative, hence smooth and physically-sound values. Additionally, the developed model can be utilized for the direct calculation of the Z-factor of any hydrocarbons mixture, even in the presence of impurities such as N2, CO2, and H2S. The model’s accuracy combined with the guaranteed continuity of the compressibility factor derivatives with respect to pressure and temperature renders it as the perfect tool to predict gas density in all petroleum engineering applications. Such applications include, but are not limited to, oil and gas reserves’ estimation and reservoir modeling, as well as fluid flow in the wellbore, the pipeline system, and the surface processing equipment.
Nevertheless, it should be pointed out that the proposed method has been designed to reproduce the Standing–Katz chart; hence, it can only be used for hydrocarbon mixtures such as those against which the standard diagram has been developed. Therefore, it might not be applicable to mixtures encountered in chemical plants, especially those comprised of non-hydrocarbon and/or polar compounds. Additionally, the non-rigorous background of the method does not allow for safe extrapolation of the operating conditions beyond those of the original chart, unlike a rigorous, although computationally-demanding, tuned multi-parameter equation of state model.
The rest of the paper is organized as follows: In Section 2, the proposed methodology is described in detail, including discussions on the data generation, the Truncated Regularized Kernel Ridge Regression (TR-KRR) method, and the numerical approach followed. The method’s performance and related computational issues are discussed in Section 3. Three example applications demonstrating the efficiency of the proposed method are presented in Section 4. The conclusions are stated in Section 5.
2. Methodology
Thorough examination of the standard Standing–Katz chart and its extension to high reduced pressures (Figure 3) indicates that it can be split into two regions along the reduced pressure axis based on the complexity of the isotherms shape. Indeed, atprvalues below 10, the change of the Z-factor versus reduced pressure exhibits complex behavior with specific minima and varying curvature at most of the isotherms, thus indicating proximity to critical fluid behavior. On the other hand, forpr≥10, the isotherms exhibit a perfectly straight line shape up to the maximumpr value of 15. By further examining the supplementary Z-factor chart [12], it is clear that the Z-factor also varies linearly with reduced pressure. Moreover, the average slope at each isotherm in thepr∈[15,30]range exhibits a very slight change (of less than 0.5%) compared to the slope in the[10,15]range. As a result, three distinct regions can be identified in the S-K chart, and each one of them needs to be treated separately by its own modeling technique. This way, the use of “blind”, data-driven machine learning methods can be limited to the complex behavior of the low pressure region, whereas simpler models directly adopting the inherent linearity of the Z-factor with respect toprcan be generated forprvalues above 10. For the sake of notation simplicity, the low, medium, and high pressure range will be labeled byL=[0,10],M=[10,15],H=[15,30]respectively.
2.1. The Low Pressure Range
In this work, the utilization of the Kernel Ridge Regression method (KRR), to be discussed in detail in Appendix A, is proposed as the appropriate machine learning tool to deal with the prediction of the Z-factor at low reduced pressures. This method aims at generating a modely^=f(x)that relates optimally a set of N recorded input and output pairs,xiandyi,i∈[1,N], respectively, usually observed through an experimental process. In the present case, the input and output correspond tox=[Tr,pr],x∈R2andy=Z(Tr,pr), and they are obtained by digitizing the S-K chart. Therefore, for the low pressure range, the Z-factor is given by an expression of the form:
y^=αTk(x)
where:
k=k(x,x1),…,k(x,xN)T
and vectorkcontains kernel functionsk(x,xi)that involve the conditionsxat which the Z-factor needs to be computed, as well as the pressure and temperature conditions of the training pointsxi. The common choices for the kernel functionk(x,y)are the polynomial onek(x,y)=(xTy+1)cwithc∈N*as the polynomial degree and the Radial Basis Function (RBF) kernelk(x,y)=exp(−1/σ||x−y||2)whereσ>0 is the width of the kernel [34].
The coefficients vectorαis computed as a function of the training dataxiandyi, so as to minimize the deviation between the model estimates on all training data pointsy^=Kαand the digitized Z-factor values of all training data pointsy. The kernel matrix is defined byK={kij}={k(xi xj)}, wherexiandxjcorrespond to the inputs of any pair of data points. To satisfy the deviation minimization requirement,αis given by:
α=(K+λIN)−1y
whereλ corresponds to a positive regularization parameter value that is introduced to avoid overfitting [35] andINis the identity matrix of sizeNxN.
Althoughαis obtained from the solution of a linear system, the fact that matrixK+λINcan be very large and dense renders the solution forα in Equation (7) as a very slow process with time complexity ofO(n3) [35]. To treat that issue, one should revert to iterative linear systems solving methods such as the Conjugate Gradient (CG), and placing a threshold on the number of iterations leads to what is called the truncated Newton. Maalouf and Homouz [35] combined KRR with the truncated Newton method and developed a TR-KRR algorithm that is very fast to train. Interested readers should refer to Maalouf and Homouz [35] for a detailed description of TR-KRR.
The data used for the development of the proposed low reduced pressure TR-KRR model have been obtained by digitizing the original Standing–Katz chart for natural hydrocarbon gases and its extension at higher pressures [12]. Firstly, the isotherms of the standard chart, that isTr∈[1.05,1.45]in steps of 0.05,Tr∈[1.5,2.0]in steps of 0.1, andTr∈[2.2,3.0]in steps of 0.2, were digitized for the full pressure range ofpr∈[0.1,10.5]in steps of 0.1, thus leading to a total of 105 points per isotherm.
Subsequently, the dataset was densified by computing the estimated Z-factor values for the missing isotherms, so as to get a fixedTrdensity of 0.05. As such isotherms are not plotted on the S-K chart, they were inferred by invoking the H-Y method. More specifically, to estimateZSKTr (pr)at some reduced temperatureTrand reduced pressurepr, the digitized values at the neighboring isotherms and atprneed first to be picked from the chart, i.e.,ZSKTr−(pr)andZSKTr+(pr), where subscriptSKdenotes the S-K chart and superscriptsTr−andTr+denote the closest neighboring isotherms. As an example, consider the case ofTr=1.75(which is not shown in the original S-K chart) for whichTr−=1.7andTr+=1.8. Subsequently, the corresponding Z-factor values at all three reduced temperaturesTr−,Tr, andTr+and atprare also computed by means of the H-Y method to obtainZHYTr−(pr),ZHYTr (pr)andZHYTr+(pr). Finally, the Standing–Katz Z-factor estimateZ^SKTr atTris computed by aligning the digitized values to the computed H-Y ones:
Z^SKTr =ZSKTr−+(ZSKTr+−ZSKTr−)ZHYTr −ZHYTr−ZHYTr+−ZHYTr−
This way, the neighboring digitized values of the SK chart atTr−and atTr+are fully adopted and further combined to the curve shape provided by the H-Y method.
To ensure smooth behavior of the KRR model at values close to the pressure and temperature range boundary, additional densification was run by introducing isotherms atTr∈[1.06,1.09]and atTr∈[2.96,2.99], both in steps of 0.01. Similarly, the pressure range was densified atpr∈[0.012,0.018]and atpr∈[10.42,10.48]in steps of 0.002. Eventually, the total number of data points of the form{pr,Tr,Z}collected by this procedure was 5616.
2.2. The Medium Pressure Range
For reduced pressure values in10≤pr≤15, a linear model is proposed that interpolates temperature-dependent endpoint Z-factor values atpr=10and atpr=15with pressure in the following form:
ZM(pr,Tr)=Z(Tr)|pr=10+Z(Tr)|pr=15−Z(Tr)|pr=10pr−105
The endpoint Z-factor values atpr=10and atpr=15have been acquired from the S-K chart and further interpolated with temperature by means of polynomials ofTr , which are given in Appendix B. The plot of the digitized points and their interpolants forZ(Tr)|pr=10andZ(Tr)|pr=15 are shown in Figure 4 and Figure 5, respectively.
2.3. The High Pressure Range
Although the Z-factor values in the high pressure range15≤pr≤30exhibit a straight line shape (as was the case withpr∈[10,15]), we propose the use of a quadratic model of reduced pressure to interpolate the temperature-dependent endpoint Z-factor values atpr=15and atpr=30with pressure. This additional degree of freedom allows the interpolating model not only to satisfy the endpoint values, but also to ensure continuity of the Z-factor derivative value atpr=15. This way, the continuity of the gas compressibility when switching from the medium pressure modelZM(pr,Tr)to the high pressure oneZH(pr,Tr)is guaranteed. Based on those requirements, the high pressure model is defined by:
ZH(pr,Tr)=a(Tr)pr2+b(Tr)pr+c(Tr)
where the temperature-dependent terms are given in Appendix C. The plot ofZ(Tr)|pr=30 is shown in Figure 6.
2.4. The Combined Model
To further ensure the value and derivative continuity betweenZL(pr,Tr)andZM(pr,Tr), we recommend a weighted average scheme that switches mildly between the two models in thepr∈[10,10.5]region by using:
Z(10−10.5)(pr,Tr)=wZL(pr,Tr)+(1−w)ZM(pr,Tr)
where:
w=1−pr−100.5
Therefore, the combined Z-factor prediction algorithm is given by the following scheme:
Z(pr,Tr)=ZL(pr,Tr),0≤pr≤10,1.05≤Tr≤3.0,wZL(pr,Tr)+(1−w)ZM(pr,Tr),10≤pr≤10.5,1.05≤Tr≤3.0,ZM(pr,Tr),10.5≤pr≤15,1.05≤Tr≤3.0,ZH(pr,Tr),15≤pr≤30,1.4≤Tr≤2.8.
It is straightforward to show that derivative continuity atpr=15is guaranteed, that is:
∂∂prZM(pr,Tr)|pr=15=Z(Tr)|pr=15−Z(Tr)|pr=1015−10=∂∂prZH(pr,Tr)|pr=15
3. Results and Discussion
To obtain a reliable KRR model for the prediction of the Z-factor atpr≤10parametersσ,λ , and N, corresponding to the RBF kernel width, the strength of the penalty term and the number of training data points, respectively, need to be determined. For that task, the ten-fold cross-validation technique was used to ensure generalization [36]. In the n-fold cross-validation and for each combination of possible parameters values, the data were split into n-folds, and(n−1)folds were used for training, while the remaining fold was reserved for testing. This process was iterative until all folds were tested. Finally, the optimal model was selected so as to exhibit balanced error and minimum absolute relative error against the training and the validation datasets, as well as nearly equal training and prediction error. The examined range of the parameters wasσ∈[0.001,0.1],λ∈[0.0001,0.1]andN∈{1000,2000,3000,4000}. After repeatedly examining all possible combinations, it was found that optimal performance was obtained by selectingσ=0.01,λ=0.001andN=3000. Clearly, model accuracy is expected to be further improved when increasing the number of training data points. However, the selected population size is the minimum that led to a ratio of the training and validation errors very close to unity, thus minimizing the risk of overfitting.
The performance of the optimal TR-KRR model is shown in Table 1. Judging from the mean errors, the model was perfectly justified, exhibiting no bias. Moreover, it exhibited excellent agreement with the S-K chart as the mean absolute relative error was only 0.04% for both the training and the validation dataset, and the worst case error that might be observed was less than 2%, which is significantly better than all conventional methods. The scatter plots of the model performance for the training and prediction dataset are shown in Figure 7 and Figure 8, respectively. A plot of the Z-factor surface that has been produced by interpolating the training data points together with the validation data points is shown in Figure 9.
In terms of computational time required for training, TR-KRR was very efficient, and this agrees with the findings of Maalouf and Homouz [35] that the biggest strength of TR-KRR method lies in its superior efficiency over other state-of-the-art methods, such as SVM [32]. In addition to predicting accurately the original temperature curves contained in the dataset, TR-KRR was capable of predicting new temperature curves. Figure 10 provides four examples of two additional temperature curves predicted by KRR atTr=1.15,Tr=1.45,Tr=1.75and atTr=2.65. In all cases, the predicted curves fell smoothly between neighboring Standing–Katz curves.
Implementing the TR-KRR prediction of the Z-factor for lowprand any givenTrcan be done conveniently according to the following simple formula:
Z=∑iNαi di(pr,Tr)
where
di=exp−1σ(T¯ri −T¯r)2+(p¯ri −p¯r)2
pri ,Tri are the training population pseudo-critical temperature and pressure data, respectively, and the bar character denotes normalized inputs given by:
p¯r=pr−min(pri )max(pri )−min(pri )−12andT¯r=Tr−min(Tri )max(Tri )−min(Tri )−12
The derivative of the Z-factor with respect to pressure, needed to calculate the fluid’s isothermal compressibility by means of Equation (4), is given by:
θZθp=∑i=1NθZθdiθdiθp¯rθp¯rθprθprθp=−2σpcmax(pri )−min(pri )∑i=1Nαi di(p¯ri −p¯r)
4. Case Studies Three case studies are presented to further demonstrate the efficiency of the derived model. 4.1. Case Study 1
In this case study, we considered the effect of the Z-factor accuracy to that of the gas compressibility, which is a derived property according to Equation (4). The composition of the gas mixture studied waszC1 =82%,zC2 =10%,zC3 =5%,zC4 =3%, and its critical pressure and temperature were estimated at 670 psi and 215 F, respectively, by means of Standing’s gas specific gravity-based correlations. The isothermal compressibility of the gas mixture has been computed at a temperature of 236 F and for a pressure range from nearly atmospheric to 5000 psi. The methods utilized were the most commonly-used ones, that is the iterative algorithm of Hall and Yarborough, the correlation of Beggs and Brill, and the one proposed in this work. Note that the test temperature has been deliberately selected so as to demonstrate the performance of the examined methods at near critical conditions.
The performance of all methods and their comparison against the exact S-K chart is shown in Figure 11.
The compressibility of the ideal gas (i.e.,c=p−1), obtained by totally neglecting the deviating effect of the Z-factor, is also shown. Judging from the difference between the ideal gas compressibility and that obtained by any other method, it can be readily seen that the effect of the Z-factor on the gas compressibility was quite significant. Indeed, at high pressures close to 5000 psi, introducing the Z-factor effect reduced the compressibility by almost one order of magnitude, thus verifying the need for accurate Z-factor determination algorithms.
As expected, at very low pressures, where the gas behaves almost ideally, the effect of the Z-factor was minimal; hence, all methods ended up with very close isothermal compressibility estimates. However, this was not the case at higher pressures where the Beggs and Brill correlation performed quite poorly and the computed compressibility exhibited deviations as high as 47% at the near critical region. For example, at 1500 psi, the compressibility value obtained by the original S-K chart was4.3×10−4psi−1, whereas the Beggs and Brill one was only2.3×10−4psi−1. On the other hand, the H-Y method, despite its convergence issues, performed better by predicting5.4×10−4psi−1, leading to an error of 25%. The method proposed in this work was significantly more accurate, as it led to a value of4.5×10−4psi−1, which corresponds to a relative error of only 5%.
A similar situation was observed at high pressures where the S-K value was3.1×10−5psi−1. The values obtained by Beggs and Brill, Hall and Yarborough, and the new method were2.3×10−5psi−1,2.8×10−5psi−1and3.0×10−5psi−1, leading to relative errors of 25%, 10%, and 3%, respectively, thus demonstrating the superiority of the new method.
4.2. Case Study 2
We now consider the dependency of the pressure drop of a gas stream flowing in a pipeline on the accuracy of the utilized Z-factor values. The gas was assumed to be a dry one, the exact composition of which waszCH4=0.78,zC2 H6=0.04,zC3 H8=0.02,zC4 H10=0.01,zCO2=0.15with a molar mass value of 21.74 g/mole andγg= 0.7504. The gas was assumed to be compressed at an initial pressure of 1200 psi and introduced to a 30 mile-long pipeline of internal diameter of 6” at ambient temperature (60 F) and at a flow rate of 30 MMscf/d. The flow was assumed to be isothermal, and the heating effect of gas compression was ignored. Moreover, to simplify calculations, it was also assumed that the pipeline network exhibited no elevation changes. The outlet pressure for a given pipeline length can be estimated by:
pout=pin2−sgfZTLD5qSC77.54pb Tb2
where f is the friction factor,pinandpoutis the inlet and outlet pressure (psi), T is the pipeline temperature (R), L is the pipeline length (miles), D is the diameter (in),pb,Tbare the standard conditions (psi and R, respectively), andqSCis the flow rate reported at standard conditions (scf/d).
From the expression above, it is clear that the outlet pressure for given pipeline geometry and gas pump efficiency was directly related to the Z-factor. Therefore, various outlet pressures will be obtained depending on the method utilized to estimate the deviation factor. In this example, the methods of Hall and Yarborough, Beggs and Brill, the proposed method in this work, and the direct use of the Standing–Katz chart were utilized. The pseudo-critical properties were computed as functions of gassgusing Standing’s recommended expressions, thus leading toppc=667.1psi andTpc=404.9R. Correspondingly, the reduced conditions in this test case were equal toppr=1.8andTpr=1.283 . The resulting computed outlet pressures are shown in Table 2.
It can be readily seen that although the prevailing conditions were well within the valid range of the tried methods, the Beggs and Brill correlation exhibited significant deviation from the original S-K chart, which, eventually, led to a significant difference of 4 bar, whereas the H-Y methods performed better, but still exhibited an error of 2.5 bar. On the other hand, the proposed approach provided an accurate estimate of the Z-factor, which, in turn, led to an outlet pressure deviation of 10 psi, i.e., less than 1 bar. 4.3. Case Study 3
The interpretation of production data from a gas reservoir so as to estimate the reservoir reserves by means of the gas material balance method is demonstrated in this case study. When applied to a dry gas reservoir between production start and current time, the material balance equation states that:
pZ(p)=piZ(pi)−piZ(pi)GpG
where p andGprefer to the pressure and recorded cumulative gas production at the current time instance, whilepidenotes the initial reservoir pressure, and G corresponds to the reserves. Evidently, by recording a single pressure drop and the observed gas production, the equation can be directly solved for G. However, as such measurements (especially the pressure one) are prone to errors, most engineers prefer to keep recording p andGpfor a longer period and then compute the statistically-optimal G value in the least squares sense. By rewriting the above equation in the following form:
pZ(p)=piZ(pi)−1GpiZ(pi)Gp
it becomes clear that the observedp/Zratio at any pressure is a linear function of the cumulative productionGp. Therefore, by fitting thep/Zratios with a linear function of the formp/Z=aGp+band considering thatGp=Gwhenp=0, i.e., that the reserves will be fully produced only when the reservoir pressure becomes equal to zero, we obtain:
pZ=a+bGp⇒G=limp→0Gp=−ab
In this example, the pressure and production data, shown in Table 3, from a large gas field have been utilized. The fluid composition and properties were the same to those in Case study 1 and so were the computational methods used to estimate thep/Z ratios. The estimated gas reserves G as obtained by each method are shown in Table 4.
As expected, the results exhibited significant differences depending on the method utilized. Once again, the Beggs and Brill method exhibited worst performance, leading to a missed gas volume of 4.36 billion scf of gas, whereas the Hall and Yarborough method performed better by limiting the missed reserves to 1.05 Bscf. On the other hand, the method proposed in this work underestimated reserves only by 0.61 Bscf, which is the most accurate estimate compared to all other approaches. It should be noted that, unlike density calculations, when it comes to estimating hydrocarbon reserves, the exact value of the Z-factor did not really affect the results. To show that, we rewrite Equation (20) by replacing the Z-factor with a random multiple of that, that is:
paZ(p)=piaZ(pi)−piaZ(pi)GpG
The reserves estimate from a single measurement(p,Gp)is given by:
G=pi/(aZ(pi))pi/(aZ(pi))−p/(aZ(p))Gp
where, clearly, parameter a cancels, thus showing that any multiple of the Z-factor will lead to the same reserves estimate. As was the case with the prediction of gas compressibility, this result demonstrates the need for the Z-factor prediction models to preserve the shape of the original S-K curves, thus exhibiting physically-sound derivatives and isothermal compressibility values.
5. Conclusions In this work, a new, efficient, consistent, and physically-sound method is presented for the prediction of the Z-factor of natural gas streams. Our conclusions are summarized as follows:
- At low reduced pressures where critical behavior might be observed and dependency on pressure is quite complex, the proposed method utilized the non-linear regression TR-KRR modeling technique to predict the gas compressibility factor.
- Our results indicated that despite the abruptly changing slope of the Z-factor isotherms, the TR-KRR model was highly accurate and efficient at predicting Z-factor.
- The simplicity of the original S-K chart and its extension at medium and high pressures was directly inherited by the corresponding linear and quadratic submodels developed for the prediction of the Z-factor.
- Special attention has been paid to ensure a natural model derivative behavior, so as to end up with reliable isothermal compressibility values.
Figure 11. Performance of four methods for the prediction of natural gas compressibility.
Training Dataset | Validation Dataset | |
---|---|---|
Mean error | 0.00 | 0.00 |
Mean relative error (%) | 0.00 | 0.00 |
Mean absolute relative error (%) | 0.04 | 0.04 |
Max error | 0.01 | 0.01 |
Max relative error (%) | 1.70 | 1.98 |
R2 | 0.99997 | 0.99996 |
Method | Z-Factor | pout(psi) | Deviation (psi) |
---|---|---|---|
Standing–Katz | 0.6950 | 337 | - |
Beggs and Brill | 0.7137 | 278 | 59 |
Hall and Yarborough | 0.7071 | 300 | 37 |
This method | 0.6912 | 347 | 10 |
P (psi) | T (F) | Gp(Bscf) | ppr | Tpr | Z (B-B) | Z (H-Y) | Z (S-K Chart) | Z (This Work) |
---|---|---|---|---|---|---|---|---|
3600 | 150 | 0.00 | 5.48 | 1.51 | 0.826 | 0.842 | 0.833 | 0.832 |
3450 | 150 | 4.78 | 5.25 | 1.51 | 0.814 | 0.830 | 0.822 | 0.820 |
3300 | 150 | 12.65 | 5.02 | 1.51 | 0.804 | 0.820 | 0.811 | 0.809 |
3150 | 150 | 20.48 | 4.79 | 1.51 | 0.795 | 0.810 | 0.800 | 0.798 |
2850 | 150 | 38.25 | 4.34 | 1.51 | 0.781 | 0.794 | 0.785 | 0.783 |
2685 | 150 | 44.01 | 4.09 | 1.51 | 0.776 | 0.788 | 0.780 | 0.778 |
Method | Reserves Estimate (Bscf) | Deviation (Bscf) |
---|---|---|
Beggs and Brill | 224.4 | 4.36 |
Hall and Yarborough | 227.7 | 1.05 |
Standing–Katz chart | 228.7 | - |
This work | 229.3 | 0.61 |
Author Contributions
Conceptualization, M.M. and N.K.; methodology, M.M. and D.H.; software, V.G.; validation, V.G. and D.H.; formal analysis, V.G., D.H., M.M., and K.P.; investigation, K.P., M.M., V.G., N.K., and D.H.; resources, K.P., M.M., D.H., and V.G.; data curation, V.G., M.M., and D.H.; writing, original draft preparation, M.M., K.P., and V.G.; visualization, V.G. and D.H.; funding acquisition, K.P.
Funding
This publication is based on work supported by the Khalifa University of Science and Technology under Award No. RC2-2018-024.
Acknowledgments
The authors would like to acknowledge the support by Khalifa University of Science and Technology under Award No. RC2-2018-024.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. Details of the Z L Model
Regression [37] aims at generating a modely=f(x)that relates optimally a set of N recorded input-output pairsxiandyi,i∈[1,N], respectively, usually observed through an experimental process. The input vector may containd-1features, also known as parameters or attributes, whereas, for convenience, unity is further added to the input vector, so thatx∈Rd. Linear regression assumes a vectorβsuch that:
y=f(x)=xTβ+ϵ=y^+ϵ
By collecting all inputs in matrixX∈RN×dand all outputs (responses) iny∈RN, linear regression for the full dataset generalizes to:
y=f(X)=Xβ+ϵ=y^+ϵ
The weights vectorβneeds to be optimized so that errorϵexhibits its minimum value over all available training pairs, and the optimization problem is defined by:
β=argminJ(β)
where the total error to be minimized is given by:
J(β)=12∑i=1i=Nϵi2=ϵTϵ=12(y-y^)T(y-y^)=12(y-Xβ)T(y-Xβ)
The closed-form solution of this optimization problem, that isβfor which∇βJ=0 , is given by the Moore-Penrose inverse [38] of the data matrixX, that is:
β=(XTX)-1 XTy
Regularization [39] needs to be used to avoid poor estimation of the regression coefficients due to the instability of the solution of Equation (A5). This idea lies in "penalizing" high coefficients values, which, essentially, improves the rank of the covariance matrixXTX. Therefore, ridge regression aims at minimizing the modified objective function:
J(β)=12ϵTϵ=12(y-Xβ)T(y-Xβ)+λ2βTβ
which is optimized at:
β=(XTX+λId)-1 XTy
whereIdis ad×didentity matrix andλis a positive constant that adjusts the penalty term.
In order to extend to non-linear relationships, the dual form [40] needs firstly to be introduced. Letβbe expressed as a linear combination of the data points, i.e.,
β=XTα
By replacing back in the regression model, we obtain:
y=XXTα+ϵ=Gα+ϵ
where the Gramian matrixG=XXT. This way, the objective function to be minimized is now expressed in terms of the new coefficients vectorαand turns into:
f(α)=12(y-Gα)T(y-Gα)+λ2αTα
and it is optimized at:
α=(G+λIN)-1y
In this case, the benefit of the dual form is that solutionαdepends onG, that is only on dot products of the input vectorsxi. The price to be paid is that the size ofαis equal to the number of data points N, whereas the size ofβis equal to the number of features d.
Kernel Ridge Regression (KRR) [34] can be thought of as an extension of the linear regression dual form, so as to handle non-linear relationships between the input and output. This is done simply by including a nonlinear map,ϕ(.), which projects the original input dataxinto a high-dimensional, even infinite-dimensional, feature spaceFsuch that:
ϕ:x∈Rd→ϕ(x)∈F.
thus leading to the generalized GramianG=Φ(X)Φ(X)Tand the regression model:
y=Φ(X)Φ(X)Tα+ϵ=Gα+ϵ
This way output,yis non-linear in the inputx, but it is still linear in the coefficientsα. In general, the non-linear mappingϕ(.)is unknown; however, the solution is based mainly on linear dot products of the imagesϕ(x). To overcome the difficulty in working with dot products of high dimensionality in the feature spaceF, kernel functions are utilized, which compute a dot product inFas a function of the dot product of the original inputs, that isϕ(x)Tϕ(y)=k(xTy)for some suitable scalar functionk(.). The most commonly-used kernels are the polynomial kernelk(x,y)=(xTy+1)cwithc∈N*as the polynomial degree and the Radial Basis Function (RBF) kernelk(x,y)=exp(-1/σ||x-y||2)whereσ>0 is the width of the kernel [34]. Based on that, the Kernel Ridge Regression model (KRR) [35] is given by:
y=Kα+ϵ
whereK={kij}={k(xi xj)}, and the coefficients vectorαis computed by minimizing:
f(α)=12(y-Kα)T(y-Kα)+λ2αTα
The solution now is given by:
α=(K+λIN)-1y
Althoughαis obtained from the solution of a linear system, the fact that matrixK+λINcan be very large and dense renders the solution forαin Equation (A16) as a very slow process with time complexity ofO(n3) [35]. To treat that issue, one should revert to iterative linear systems, solving methods such as the CG, and placing a threshold on the number of iterations leads to what is called the truncated Newton. Maalouf and Homouz [35] combined KRR with the truncated Newton method and developed a TR-KRR algorithm that is very fast to train. Interested readers should refer to Maalouf and Homouz [35] for a detailed description of TR-KRR.
Once the coefficients valuesαhave been optimized, the predictive model for any new inputxis given by the following simple, linear-in-the-weights model:
y=αTk(x)
where:
k=k(x,x1),...,k(x,xN)T
In this work, TR-KRR is terminated when the CG residual is less than a thresholdε=0.5or the maximum number of 200 CG iterations are reached.
Algorithm 1: Linear CG for computingα^.A=K+λIN,b=y |
Appendix B. Details of the Z M Model
The linear model providing the Z-factor in10≤pr≤15interpolates the endpoint Z-factor values atpr=10and atpr=15in the following form:
ZM(pr,Tr)=Z(Tr)|pr=10+Z(Tr)|pr=15-Z(Tr)|pr=10pr-105
The temperature-dependent endpoint Z-factor values have been acquired from the S-K chart and further interpolated by means of polynomials ofTr, and they are defined by the following expressions:
Z(Tr)|pr=10=-0.024466Tr6+0.284414Tr5-1.281582Tr4+2.712782Tr3-2.407661Tr2+0.079238Tr+1.883774
and:
Z(Tr)|pr=15=0.048200Tr4-0.502345Tr3+1.977248Tr2-3.546957Tr+3.820608
Appendix C. Details of the Z H Model
To obtain Z-factor values in the high pressure range15≤pr≤30, the digitized endpoint Z-factor values atpr=15and atpr=30are interpolated by the following quadratic model:
ZH(pr,Tr)=a(Tr)pr2+b(Tr)pr+c(Tr)
where:
a(Tr)=Z(Tr)|pr=30-4Z(Tr)|pr=15+3Z(Tr)|pr=10225
b(Tr)=Z(Tr)|pr=15-Z(Tr)|pr=105-30a(Tr)
c(Tr)=Z(Tr)|pr=15-225a(Tr)-15b(Tr);
and:
Z(Tr)|pr=30=0.090371Tr4-0.957066Tr3+3.938661Tr2-7.726749Tr+8.039752
From Equation (A23), it can be seen that the denominator is very large compared to the nominator, thus verifying that the introduced curvature due to parameter a is very small and thatZH(pr,Tr)is very close to a straight line.
1. Tan, S.P.; Qiu, X.; Dejam, M.; Adidharma, H. Critical point of fluid confined in nanopores: Experimental detection and measurement. J. Phys. Chem. C 2019, 123, 9824-9830.
2. Qiu, X.; Tan, S.P.; Dejam, M.; Adidharma, H. Simple and accurate isochoric differential scanning calorimetry measurements: Phase transitions for pure fluids and mixtures in nanopores. Phys. Chem. Chem. Phys. 2019, 21, 224-231.
3. Qiu, X.; Tan, S.P.; Dejam, M.; Adidharma, H. Novel isochoric measurement of the onset of vapor-liquid phase transition using differential scanning calorimetry. Phys. Chem. Chem. Phys. 2018, 20, 26241-26248.
4. Nikpoor, M.H.; Dejam, M.; Chen, Z.; Clarke, M. Chemical-gravity-thermal diffusion equilibrium in two-phase non-isothermal petroleum reservoirs. Energy Fuels 2016, 30, 2021-2034.
5. Standing, M. Volumetric and Phase Behavior of Oil Field Hydrocarbon Systems: PVT for Engineers; California Research Corporation: Vancouver, BC, Canada, 1951.
6. Amyx, J.W.; Bass, D.M.; Whiting, R.L. Petroleum Reservoir Engineering: Physical Properties; McGraw-Hill: New York, NY, USA, 1960.
7. Redlich, O.; Kwong, J.N. On the thermodynamics of solutions. v. an equation of state. Fugacities of gaseous solutions. Chem. Rev. 1949, 44, 233-244.
8. Whitson, C.; Brule, M. Phase Behavior; SPE: Richardson, TX, USA, 2000.
9. Reid, R.C.; Prausnitz, J.M.; Poling, B.E. The Properties of Gases and Liquids, 4th ed.; McGraw-Hill: New York, NY, USA, 1987.
10. Zudkevitch, D.; Joffe, J. Correlation and prediction of Vapor-Liquid Equilibrium with the Redlich-Kwong Equation of State. AIChE J. 1970, 16, 112.
11. Hayden, J.G.; O'Connell, J.P. A generalized method for predicting second virial coefficients. Ind. Eng. Chem. Proc. Des. Dev. 1975, 14, 209-216.
12. Katz, D.L.; Cornell, D.; Kobayashi, R.; Poettmann, F.H.; Vary, J.A.; Elenbaas, J.R.; Weinaug, C.F. Handbook of Natural Gas Engineering; McGraw-Hill: New York, NY, USA, 1959.
13. Wichert, E.; Aziz, K. Compressibility Factor of Sour Natural Gases. Cdn. J. Chem. Eng. 1975, 49, 267.
14. Kay, W. Gases and vapors at high temperature and pressure-density of hydrocarbon. Ind. Eng. Chem. 1936, 28, 1014-1019.
15. Stewart, W.; Burkhardt, S.; Voo, D. Prediction of pseudo-critical parameters for mixtures. In Proceedings of the AIChE Meeting, Kansas City, MO, USA, 18 May 1959; Volume 18.
16. Sutton, R. Compressibility factors for high-molecular-weight reservoir gases. In Proceedings of the SPE Annual Technical Conference and Exhibition, Las Vegas, NV, USA, 22-26 September 1985; Society of Petroleum Engineers: London, UK, 1985.
17. Danesh, A. Pvt and Phase Behaviour of Petroleum Reservoir Fluids; Developments in Petroleum Science, Elsevier: Amsterdam, The Netherlands, 1998.
18. Hall, K.R.; Yarborough, L. A New EOS for Z-factor Calculations. Oil Gas J. 1973, 71, 82-92.
19. Dranchuk, P.; Abou-Kassem, H. Calculation of z factors for natural gases using equations of state. J. Can. Pet. Technol. 1975, 14.
20. Brill, J.P.; Beggs, H.D. Two-Phase Flow in Pipes; University of Tulsa INTERCOMP Course: The Hague, The Netherlands, 1974.
21. Azizi, N.; Behbahani, R.; Isazadeh, M. An efficient correlation for calculating compressibility factor of natural gases. J. Nat. Gas Chem. 2010, 19, 642-645.
22. Kumar, N. Compressibility Factor for Natural and Sour Reservoir Gases by Correlations and Cubic Equations of State. Master's Thesis, Texas Tech University, Lubbock, TX, USA, 2004.
23. Heidaryan, E.; Moghadasi, J.; Rahimi, M. New correlations to predict natural gas viscosity and compressibility factor. Fluid Phase Equilibria 2009, 218, 1-13.
24. Kareem, L.; Iwalewa, T.; Al-Marhoun, M. New explicit correlation for the compressibility factor of natural gas: linearized z-factor isotherms. J. Petrol Explor. Prod. Technol. 2016, 6, 481-492.
25. Elsharkawy, A.M. Efficient methods for calculations of compressibility, density and viscosity of natural gases. Fluid Phase Equilibria 2004, 218, 1-13.
26. Moghadassi, A.; Parvizian, F.; Hosseini, S.; Fazlali, A. A new approach for estimation of pvt properties of pure gases based on artificial neural network model. Braz. J. Chem. Eng. 2009, 26, 199-206.
27. Irene, A.I.; Sunday, I.S.; Orodu, O.D. Forecasting Gas Compressibility Factor Using Artificial Neural Network Tool for Niger-Delta Gas Reservoir. Soc. Pet. Eng. 2016.
28. Kamyab, M.; Sampaio, J.H.; Qanbari, F.; Eustes, A.W. Using artificial neural networks to estimate the z-factor for natural hydrocarbon gases. J. Pet. Sci. Eng. 2010, 73, 248-257.
29. Sanjari, E.; Lay, E.N. Estimation of natural gas compressibility factors using artificial neural network approach. J. Nat. Gas Sci. Eng. 2012, 9, 220-226.
30. Fayazi, A.; Arabloo, M.; Mohammadi, A.H. Efficient estimation of natural gas compressibility factor using a rigorous method. J. Nat. Gas Sci. Eng. 2014, 16, 8-17.
31. Kamari, A.; Hemmati-Sarapardeh, A.; Mirabbasi, S.-M.; Nikookar, M.; Mohammadi, A.H. Prediction of sour gas compressibility factor using an intelligent approach. Fuel Process. Technol. 2013, 116, 209-216.
32. Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines and other Kernel-Based Learning Methods; Cambridge University Press: Cambridge, UK, 2000.
33. Mohamadi-Baghmolaei, M.; Azin, R.; Osfouri, S.; Mohamadi-Baghmolaei, R.; Zarei, Z. Prediction of gas compressibility factor using intelligent models. Nat. Gas Ind. B 2015, 2, 283-294.
34. Shawe-Taylor, J.; Cristianini, N. Kernel Methods for Pattern Analysis; Cambridge University Press: Cambridge, UK, 2004.
35. Maalouf, M.; Homouz, D. Kernel ridge regression using truncated newton method. Knowl.-Based Syst. 2014, 71, 339-344.
36. Efron, B.; Tibshirani, R.J. An Introduction to the Bootstrap; Chapman & Hall/CRC: Vancouver, BC, Canada, 1994.
37. Rencher, A. Methods of Multivariate Analysis; Wiley Interscience: Hoboken, NJ, USA, 2002.
38. Shores, T. Applied Linear Algebra and Matrix Analysis; Springer: Berlin/Heidelberg, Germany, 2007.
39. Bishop, C.M. Pattern Recognition and Machine Learning; Oxford University Press: Oxford, UK, 2006.
40. Nocedal, J.; Wright, S. Numerical Optimization; Springer: Berlin/Heidelberg, Germany, 2006.
Vassilis Gaganis1,†, Dirar Homouz2,†, Maher Maalouf3,*, Naji Khoury4 and Kyriaki Polychronopoulou5,*,‡
1Mining and Metallurgical Engineering, National Technical University of Athens, Athens 157 73, Greece
2Applied Mathematics and Sciences, Khalifa University, Abu Dhabi, P.O. Box 127788, United Arab Emirates
3Industrial and Systems Engineering, Khalifa University, Abu Dhabi, P.O. Box 127788, United Arab Emirates
4Civil and Environmental Engineering, Notre Dame University Louaize, Beirut, P.O. Box 72, Zouk Mikael, Lebanon
5Mechanical Engineering, Khalifa University, Abu Dhabi, P.O. Box 127788, United Arab Emirates
*Authors to whom correspondence should be addressed.
†These authors contributed equally to this work.
‡
Current address: Center for Catalysis and Separations, Khalifa University, Abu Dhabi, P.O.Box 127788, United Arab Emirates.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
© 2019. This work is licensed under http://creativecommons.org/licenses/by/3.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Abstract
The gas compressibility factor, also known as the deviation or Z-factor, is one of the most important parameters in the petroleum and chemical industries involving natural gas, as it is directly related to the density of a gas stream, hence its flow rate and isothermal compressibility. Obtaining accurate values of the Z-factor for gas mixtures of hydrocarbons is challenging due to the fact that natural gas is a multicomponent, non-ideal system. Traditionally, the process of estimating the Z-factor involved simple empirical correlations, which often yielded weak results either due to their limited accuracy or due to calculation convergence difficulties. The purpose of this study is to apply a hybrid modeling technique that combines the kernel ridge regression method, in the form of the recently developed Truncated Regularized Kernel Ridge Regression (TR-KRR) algorithm, in conjunction with a simple linear-quadratic interpolation scheme to estimate the Z-factor. The model is developed using a dataset consisting of 5616 data points taken directly from the Standing–Katz chart and validated using the ten-fold cross-validation technique. Results demonstrate an average absolute relative prediction error of 0.04%, whereas the maximum absolute and relative error at near critical conditions are less than 0.01 and 2%, respectively. Most importantly, the obtained results indicate smooth, physically sound predictions of gas compressibility. The developed model can be utilized for the direct calculation of the Z-factor of any hydrocarbon mixture, even in the presence of impurities, such as N2, CO2, and H2S, at a pressure and temperature range that fully covers all upstream operations and most of the downstream ones. The model accuracy combined with the guaranteed continuity of the Z-factor derivatives with respect to pressure and temperature renders it as the perfect tool to predict gas density in all petroleum engineering applications. Such applications include, but are not limited to, hydrocarbon reserves estimation, oil and gas reservoir modeling, fluid flow in the wellbore, the pipeline system, and the surface processing equipment.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer