DCAModelParameter()

Returns specified parameter value for specified existing DCA fit.

 DCA model (when current or specified time step is inside one of the model segments), optionally converted to the specified unit.

Supported parameter names (case-insensitive, with or without spaces between words):

1. Decline Rate, Decline, Slope

By default, the returned value will be an annual rate (#/year).

2. Initial Value, Intercept

3. R2, RSquared, Root Squared

4. RMSE, Root, Mean Square Error

5. MAE, Mean Absolute Error

6. EUR, Estimated Ultimate Recovery

7. Min Rate, Min, Limit

8. Fit Type, Type

"Fit Type" can be one of four integer values defining the type of model used:
0 - Linear
1 - Arps Exponential
2 - Arps Hyperbolic
3 - Arps Harmonic

9. Hyperbolic Constant, Constant

10. Segment Recovery, Recovery

11. Terminal Decline, Terminal

By default, the returned value will be an annual rate (#/year).

12.  Automatic, Auto

"Automatic" a logical (True/False) flag indicating if the fitted model was generated automatically by Petrovisor or manually by the user.

13. Reviewed

"Reviewed" a logical (True/False) flag indicating if the fitted model has been reviewed and accepted.

Syntax

DCAModelParameter(DCA fit name, parameter name)
DCAModelParameter(string dcaModelName, string dcaParameterName, string unitName)

DCAModelParameter(string dcaModelName, string dcaParameterName, date/time timeStep)

DCAModelParameter(string dcaModelName, string dcaParameterName, date/time timeStep,
string unitName)
  • DCA fit name: name of existing DCA
  • parameter name: one of the parameters

Example

DCAModelParameter("DCA fit 42", "EUR")
DCAModelParameter("DCA fit 42", "EUR", "STB")
DCAModelParameter("DCA fit 42", "EUR", #01/01/2021#, "STB")