Gathering system hydraulics prompt
2026-11-10
Prompt used in "Automated hydraulic analysis with AI and QGIS".
Written by: Peter Maginot
← Back to the post
I would like to model BPX’s low pressure gas gathering system using this hydraulics library: https://github.com/petermaginot/hydraulics
Assumptions:
- Assume all pipe is Schedule-STD.
- We will assume all gas is compressed by the eastern bpx Energy Karnes CDP facility, and that node N116 (5) operates at 40 psig. Assume no gas is offtaken by the compressors on the western side of the facility. Neglect segments fid 5586 and 5585, assume all gas goes over to the eastern compression facility via fid 5619.
- Assume pumpjack wells contribute their casinghead gas rate into the line, from the latest available production data already downloaded, split evenly among all wells on the lease for oil-classification wells (I don’t think any gas-classificaiton wells fall into this category).
- If additional data is required from the RRC, use their bulk data download site ( https://www.rrc.texas.gov/resource-center/research/data-sets-available-for-download/ ), not the web interface.
- Assume a uniform 500 MSCFD for all wells without pumpjacks. This accounts for net produced gas plus gas lift circulation gas. It’s probably not terribly accurate but the best we can do with the available information.
- Use the Peng-Robinson equation of state for hydraulics calculations. Use 500 foot spacing for for the hydraulic profiles.
- Assume the following gas composition:
Methane: 78%
Ethane: 13%
Propane: 5%
n_Butane: 2%
Carbon Dioxide: 2%