Monthly Production Equation Transform

Top  Previous  Next
Compute > From Production > Equation Expression...

This function computes a monthly production stream from one or production variables using a generalized equation transform.  

In the Equation tab, you can enter an equation using variables and mathematical operators. The variable on the left side of the equal sign is the result variable.

Variables

Variables are just text, which can either be very specific (“OIL” or “2_Wall_Creek_GAS”) or general (“A” or “B”).

Mathematical Operators

Petra recognizes a wide variety of mathematical operators:

  • + Addition
  • - Subtraction
  • * Multiplication
  • / Division
  • ** Exponent
  • ABS(x)       - Absolute value of x
  • ACOS(x)       - Arccosine of x (in radians)
  • ASIN(x)      - Arcsine of x (in radians)
  • ATAN(x)       - Arctangent of x ( in radians)
  • COS(x)      - Cosine of x in radians
  • COSH(x)      - Hyperbolic cosine of x (radians)
  • EXP(x)      - e to power of x
  • INT(x)            - Truncated value of x
  • LOG(x),LN(x)      - Natural Log of x
  • LOG10(x)      - Log based 10 of x
  • MAX(x,y)      - Maximum of x and y
  • MIN(x,y)      - Minimum of x and y
  • ROUND(x)      - Rounded value of x
  • SIN(x)            - Sine of x in radians
  • SQRT(x)      - Square root of x
  • SQR(x)      - x squared
  • SINH(x)      - Hyperbolic sine of x (radians)
  • TAN(x)      - Tangent of x in radians
  • TANH(x)      - Hyperbolic tangent of x (radians)

Operator order

  1. Exponent
  2. Multiplication and division
  3. Addition and subtraction

Note: Use of parentheses can change the order of precedence.

Load / Save buttons

You can save equations in the system equation file and load them at a later date.