rta_npi
Compute Normalized Pressure Integral (NPI) to smooth noisy production data for flow regime identification and flowing material balance analysis in petroleum engineering.
Instructions
Compute Normalized Pressure Integral (NPI) for flowing material balance.
NPI integrates the pressure-normalized rate over time to smooth noisy production data. Used for flow regime identification and FMB analysis.
Args: times: Time values (days or months). rates: Production rates. flowing_pressures: Bottomhole flowing pressures (psi). initial_pressure: Initial reservoir pressure (psi).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | Yes | ||
| rates | Yes | ||
| flowing_pressures | Yes | ||
| initial_pressure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |