20
Oil & gas regulations: well inspection prioritization with GIS ---------------------------------------- KEITH JACKSON GIS ANALYST DJ BASIN REGULATORY | ANADARKO PETROLEUM CO.

Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

  • Upload
    vudat

  • View
    219

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Oil & gas regulations: well inspection

prioritization with GIS----------------------------------------

KEITH JACKSON

GIS ANALYST

DJ BASIN REGULATORY | ANADARKO PETROLEUM CO.

Page 2: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

AgendaWELL INSPECTION PRIORITIZATION TOOL

• Background on me

• Colorado Oil & Gas Conservation Commission (COGCC) process creation

• Internal adaption

• ArcGIS Portal

• Conclusion

Page 3: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Background on me

• B.S. Environmental Geography | Ohio University

• M.S. Geography | Portland State University- Spatial and morphological change on Eliot Glacier, Mount Hood, Oregon

• 10+ years professional GIS experience

• Been with Anadarko since 2014

• Provide GIS support/automation for DJ Basin Permitting Team- Often work with other Regulatory and non-Regulatory groups

Page 4: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

COGCC Automated Process Creation

• Senate Bill 13-202 mandated the COGCC use a “risk-based strategy for inspecting oil and gas locations that targets the operational phases that are most likely to experience spills, excess emissions, and other types of violations and that prioritizes more in-depth inspections.”

• “Well Inspection Prioritization Tool” (WIPT)- COGCC – Model Builder

Page 5: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

COGCC Automated Process Creation

• Met with COGCC to discuss specifics

• Risk-based model for existing wells

RISK FACTORHIGHER

(5) (4) (3) (2)LOWER

(1)RF

WEIGHT

1 Population Density & Urbanization >25 ppl/mi2

6-25 ppl/mi2-or- within municipality

AND < 6 ppl/mi21-6 ppl/mi2 0.5-1

ppl/mi2<0.5

ppl/mi2 10%

2 Environmental Risk Combo of distance to water wells, surface water, wildlife, & 317B 20%

3 Time Since Last Inspection >5 yrs 3-5 yrs 2-3 yrs 1-2 yrs <1 yrs 15%

4 Years in Service >20 yrs 10-20 yrs 3-10 yrs 0-3 yrs 0 yrs 30%

5 Reported Spills (Location) >4 3-4 2 1 0 10%

6 Corrective Actions(Location) >3 1-3 0 15%

RISK FACTOR HIGHER (5) (4) (3) (2) LOWER (1)RF

WEIGHT

1 Distance to ground-water wells (DWR) < 0.1 miles 0.1 – 0.25

miles0.25 – 0.5

miles0.5 – 1 miles

> 1 mile 25%

2 Distance to surface water (DWR) < 0.1 miles 0.1 – 0.25

miles0.25 – 0.5

miles0.5 – 1 miles > 1 mile 25%

3 Wildlife Habitat (CPW)

Within Sensitive Wildlife Habitat

(SWH) or Restricted Surface Occupancy (RSO)

NA NA NA

Outside Sensitive

Wildlife Habitat (SWH) or

Restricted Surface

Occupancy (RSO)

25%

4 317B Exclusion Zone(COGCC)

Within ½ mile buffer zone of a

317B areaNA NA NA

Within ½ mile buffer zone of

a 317B area25%• Results in risk value of 15 - 75

• RF > 45 (HIGH priority) | RF 40 -45 (AVERAGE priority) | RF < 40 (LOW priority)

• COGCC: February 2016, 12% high priority, 25% average priority, 63% low priority

Page 6: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

COGCC WIPT Example

• Hypothetical well: Indiana Jones Gas Unit 1- In municipality, 10 ppl/mi2

- 0.2 mi from water well- 0.6 mi from surface water- No wildlife/317B- 2.5 years since inspection- 25 years in service- 1 reported spill- 1 corrective action

RISK FACTOR HIGHER (5) (4) (3) (2) LOWER (1) RF WEIGHT

1 Population Density & Urbanization >25 ppl/mi2

6-25 ppl/mi2-or- within municipality AND < 6

ppl/mi21-6 ppl/mi2 0.5-1

ppl/mi2<0.5

ppl/mi2 10%

2 Environmental Risk Combo of distance to water wells, surface water, wildlife, & 317B 20%

3 Time Since Last Inspection >5 yrs 3-5 yrs 2-3 yrs 1-2 yrs <1 yrs 15%

4 Years in Service >20 yrs 10-20 yrs 3-10 yrs 0-3 yrs 0 yrs 30%

5 Reported Spills (Location) >4 3-4 2 1 0 10%

6 Corrective Actions(Location) >3 1-3 0 15%

Population: 4 * 10% = 0.4

Environmental: 2 * 20% = 0.4

Inspection: 3 * 15% = 0.45

Years: 5 * 30% = 1.5

Spills: 2 * 10% = 0.2

Actions: 3 * 15% = 0.45

TOTAL: 3.4

Arbitrarily multiply by 15…= 51 (High Priority)

Page 7: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

Page 8: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

Page 9: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

• Written in Python, 829 lines of code- Modules:

- arcpy- os- urllib- zipfile- time & datetime

- Some helpful tips/methods…- try / except ValueError- urllib and zipfile:

# If DNR website is accessible, download zip and proceeddnr_sitecode = urllib.urlopen("https://dnrftp.state.co.us/CDSS/GIS/WellApplications.zip").getcode()if dnr_sitecode == 200:

# Download WellApplications.zip from DWR websitewaterwells_zip_file = urllib.URLopener()waterwells_zip_file.retrieve("https://dnrftp.state.co.us/CDSS/GIS/WellApplications.zip", \

r"L:\Data\Denver\Reg\GIS\DWR\WellApplications.zip")arcpy.AddMessage('Water wells zip file downloaded from DWR website')

# Unzip water wells shapefilezip_ref = zipfile.ZipFile(h2o_zip_l, 'r')zip_ref.extractall(dwr_file_path)arcpy.AddMessage('Zip file unpacked to ' + str(dwr_file_path))

Page 10: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

- Some helpful tips/methods…- Codeblocks:

# Calculate distance to water well rankwdr_expression = "Reclass(!well_dist!)"wdr_codeblock = """def Reclass(welldist):

if welldist < 0.1:return 5

elif welldist >= 0.1 and welldist < 0.25:return 4

elif welldist >= 0.25 and welldist < 0.5:return 3

elif welldist >= 0.5 and welldist < 1:return 2

else:return 1"""

arcpy.CalculateField_management(wells_envt, "well_dist_rank", wdr_expression, "PYTHON", wdr_codeblock)

# Compute total riskarcpy.AddField_management(apc_wells, "TOTAL_RISK", "SHORT")total_risk_expression = "(!PDU_Risk!*0.1 + !env_risk!*0.2 + !inspection_rank!*0.15 + \!service_rank!*0.3 + !spills_rank!*0.1 + !actions_rank!*0.15) * 15"

arcpy.CalculateField_management(apc_wells, "TOTAL_RISK", total_risk_expression, "PYTHON")arcpy.AddMessage('TOTAL_RISK field added and computed')

- Expressions:

Page 11: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

- Some helpful tips/methods…- Test for schema locks:

wipt_schema = arcpy.TestSchemaLock(wipt)

try:if arcpy.Exists(wipt) and wipt_schema == 1:

arcpy.Delete_management(wipt)arcpy.AddMessage('WELL INSPECTION PRIORITIZATION on SDE deleted')arcpy.CopyFeatures_management(wells_to_write, wipt)arcpy.AddMessage('WELL INSPECTION PRIORITIZATION copied to SDE')

else:arcpy.AddMessage('WELL INSPECTION PRIORITIZATION not deleted, file schema lock exists')

except ValueError:arcpy.AddMessage('Something funky happened’)

Page 12: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT) Outputs

- Daily spreadsheet- Feature class (written to SDE)- Tracking file

- Anadarko statistics currently:- 8,923 wells in CO - ~8,000 in DJ Basin- 18% high priority (12%)

- (Population Density & Years in Service)

- 28% average priority (25%)- 54% low priority (63%)

Page 13: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Well Inspection Prioritization Tool (WIPT)

• Current & Future Steps…- “Internal” rankings- Incorporate facilities & flowlines- Deploy WIPT and focus on internal inspections

- Anticipate reduction in corrective actions

- Introduce to other teams & departments- e.g. HSE project analyzing facilities and nearby homes

Page 14: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

ArcGIS PortalScreenshot “demo”

Page 15: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH
Page 16: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH
Page 17: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH
Page 18: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH
Page 19: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH
Page 20: Oil & Gas Regulations: Well Inspection - Recent …proceedings.esri.com/library/userconf/proc17/papers/593_567.pdf · Oil & gas regulations: well inspection prioritization with GIS-----KEITH

Questions?For more information or detailed questions/comments/concerns…

[email protected]