calculate_choke_flow
Calculate flow rate through a choke using Gilbert correlation for critical flow conditions in petroleum engineering applications.
Instructions
Calculate flow rate through a choke using Gilbert correlation (1954).
q = P * S^1.89 / (435 * GLR^0.546). Valid for critical (sonic) flow only.
Args: upstream_pressure_psi: Upstream pressure in psi. choke_size_64ths: Choke bean size in 64ths of an inch. gor_scf_bbl: Gas-oil ratio in scf/bbl. oil_api: Oil API gravity. water_cut: Water cut as fraction (0-1). Default 0.0. gas_sg: Gas specific gravity. Default 0.65.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upstream_pressure_psi | Yes | ||
| choke_size_64ths | Yes | ||
| gor_scf_bbl | Yes | ||
| oil_api | Yes | ||
| water_cut | No | ||
| gas_sg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |