calculate_beggs_brill
Calculate multiphase pressure drop in pipes using the Beggs & Brill correlation. Determines flow patterns, liquid holdup, and pressure gradients for oil and gas pipelines.
Instructions
Beggs & Brill (1973) multiphase pressure drop in pipes.
The most widely used multiphase flow correlation. Determines flow pattern, calculates liquid holdup, friction factor, and pressure gradient including elevation, friction, and acceleration terms.
Args: flow_rate_bpd: Total liquid flow rate in bbl/day. gor_scf_bbl: Gas-oil ratio in scf/bbl. water_cut: Water cut as fraction (0-1). oil_api: Oil API gravity. gas_sg: Gas specific gravity (air = 1.0). pipe_id_in: Pipe inner diameter in inches. pipe_length_ft: Pipe length in feet. inclination_deg: Pipe inclination from horizontal (-90 to 90 degrees). wellhead_pressure_psi: Wellhead (outlet) pressure in psi. temperature_f: Average flowing temperature in degrees F.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_rate_bpd | Yes | ||
| gor_scf_bbl | Yes | ||
| water_cut | Yes | ||
| oil_api | Yes | ||
| gas_sg | Yes | ||
| pipe_id_in | Yes | ||
| pipe_length_ft | Yes | ||
| inclination_deg | Yes | ||
| wellhead_pressure_psi | Yes | ||
| temperature_f | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |