Utilities Functions
25 functions
PO.DCA.AKB.D
Calculates instantaneous decline rate D(t) for Ansah-Knowles-Buba (2000) decline, [1/T].
PO.DCA.Arps.D
Calculates instantaneous decline rate D(t) for Arps decline, [1/T].
PO.DCA.Convert.AnnualToMonthly
Converts annual effective decline rate to monthly effective decline rate using compound conversion.
PO.DCA.Convert.DailyToAnnual
Converts daily effective decline rate to annual effective decline rate using compound conversion.
PO.DCA.Convert.EffectiveToNominal
Converts effective (periodic) decline rate to nominal (continuous) decline rate.
PO.DCA.Convert.MonthlyToAnnual
Converts monthly effective decline rate to annual effective decline rate using compound conversion.
PO.DCA.Convert.NominalToEffective
Converts nominal (continuous) decline rate to effective (periodic) decline rate.
PO.DCA.Data.Clean
Cleans production data by interpolating over outlier points.
PO.DCA.Data.OutlierFlag
Flags outliers using rolling window Z-score analysis.
PO.DCA.Diag.Beta
Computes the beta diagnostic β = t×D(t) for flow regime identification.
PO.DCA.Diag.Bourdet
Calculates the Bourdet (smoothed) derivative at point t.
PO.DCA.Diag.bParam
Computes the time-varying Arps b-parameter.
PO.DCA.Duong.D
Calculates instantaneous decline rate D(t) for Duong model, [1/T].
PO.DCA.EEDM.D
Calculates instantaneous decline rate D(t) for Extended Exponential Decline Model (EEDM), [1/T].
PO.DCA.LGM.D
Calculates instantaneous decline rate D(t) for Logistic Growth Model (LGM), [1/T].
PO.DCA.ModHyp.D
Calculates instantaneous decline rate D(t) for Modified Hyperbolic decline, [1/T].
PO.DCA.PLE.D
Calculates instantaneous decline rate D(t) for Power Law Exponential (PLE) model, [1/T].
PO.DCA.SEDM.D
Calculates instantaneous decline rate D(t) for Stretched Exponential model, [1/T].
PO.DCA.THM.D
Calculates instantaneous decline rate D(t) for Transient Hyperbolic Model, [1/T].
PO.Stats.LogSSE
Computes the sum of squared errors (SSE) in log-space between observed and predicted rate sequences.
PO.Stats.R2
Computes the coefficient of determination (R²) between observed and predicted sequences.
PO.Stats.RMSE
Computes the root mean squared error (RMSE) between observed and predicted sequences.
PO.Stats.SSE
Computes the sum of squared errors (SSE) between observed and predicted rate sequences.
PO.Stats.WLogSSE
Computes the weighted log-space SSE between observed and predicted sequences.
PO.Stats.WSSE
Computes the weighted SSE between observed and predicted sequences.