run_nodal_analysis
Determine the operating point of a well by finding the intersection of Inflow Performance Relationship (IPR) and Vertical Lift Performance (VLP) curves using Vogel IPR and a simplified vertical lift model.
Instructions
Simplified nodal analysis: find IPR/VLP intersection for operating point.
Uses Vogel IPR and simplified vertical lift model.
Args: reservoir_pressure: Average reservoir pressure in psi. PI: Productivity index in bbl/day/psi. tubing_size: Tubing inner diameter in inches. wellhead_pressure: Wellhead flowing pressure in psi. depth: True vertical depth in feet (default 8000). fluid_gradient: Fluid pressure gradient in psi/ft (default 0.35).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reservoir_pressure | Yes | ||
| PI | Yes | ||
| tubing_size | Yes | ||
| wellhead_pressure | Yes | ||
| depth | No | ||
| fluid_gradient | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |