calculate_operating_netback
Calculate operating netback per barrel of oil equivalent (BOE) by subtracting royalties, operating expenses, and transportation from revenue based on oil and gas prices and production rates.
Instructions
Calculate operating netback per BOE.
Revenue - royalties - opex - transport per BOE. Gas at 6 Mcf/BOE.
Args: oil_price: Oil price ($/bbl). gas_price: Gas price ($/Mcf). oil_rate_bpd: Oil production rate (bbl/day). gas_rate_mcfd: Gas production rate (Mcf/day). opex_per_boe: Operating expense per BOE ($/BOE). royalty_pct: Royalty fraction (0-1). Default 0.125. transport_per_boe: Transportation cost per BOE ($/BOE). Default 0.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oil_price | Yes | ||
| gas_price | Yes | ||
| oil_rate_bpd | Yes | ||
| gas_rate_mcfd | Yes | ||
| opex_per_boe | Yes | ||
| royalty_pct | No | ||
| transport_per_boe | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |