Decommissioning covers well abandonment (plug and abandon), facility decommissioning, environmental restoration and cost estimates. The routes are under /api/field/current/decommissioning and work on the current field.

1. Records

Three kinds of record are written with request types that carry the fields below. Each also has its own regulatory fields: approval number, approval date and authority.

RecordRequestMain fields
Well abandonmentWellAbandonmentRequestWellId, FieldId, AbandonmentType, AbandonmentMethod, Status, start, end and plugging dates, PlugDepth, NumberOfPlugs, PlugType, CementVolume, abandonment, plugging and site restoration costs with currencies
Facility decommissioningFacilityDecommissioningRequestFacilityId, FieldId, DecommissioningType, DecommissioningMethod, Status, start, end, removal and site clearance dates, decommissioning, removal, site restoration and total costs, restoration status, completion date and method
Environmental restorationEnvironmentalRestorationRequestWellId, FacilityId, RestorationType, RestorationMethod, Status, start, end, completion and verification dates, restoration area and scope, cost, impact and remediation descriptions, verification results, ComplianceStatus

2. Routes

The workflows routes start and advance life cycle processes. Well abandonment runs through plan abandonment, obtain regulatory approval, plug well, restore site and complete abandonment. Facility decommissioning runs through plan decommissioning, remove equipment, clean up site, obtain regulatory closure and complete decommissioning. Each step takes the process instance id in its request.

MethodRouteBodyQueryAccess
GET/api/field/current/decommissioning/wells-abandonedfiltersfield access
GET/api/field/current/decommissioning/wells-abandoned/{id}field access
POST/api/field/current/decommissioning/abandon-wellWellAbandonmentRequestwellIdfield access
GET/api/field/current/decommissioning/facilitiesfiltersfield access
GET/api/field/current/decommissioning/facilities/{id}field access
POST/api/field/current/decommissioning/facilities/{facilityId}/decommissionFacilityDecommissioningRequestfield access
GET/api/field/current/decommissioning/environmental-activitiesfiltersfield access
POST/api/field/current/decommissioning/environmental-activitiesEnvironmentalRestorationRequestfield access
GET/api/field/current/decommissioning/costsfiltersfield access
POST/api/field/current/decommissioning/cost-estimationfield access
POST/api/field/current/decommissioning/workflows/well-abandonmentStartWellAbandonmentRequestfield access
POST/api/field/current/decommissioning/workflows/plan-abandonmentPlanAbandonmentRequestfield access
POST/api/field/current/decommissioning/workflows/obtain-regulatory-approvalObtainRegulatoryApprovalRequestfield access
POST/api/field/current/decommissioning/workflows/plug-wellPlugWellRequestfield access
POST/api/field/current/decommissioning/workflows/restore-siteRestoreSiteRequestfield access
POST/api/field/current/decommissioning/workflows/complete-abandonmentCompleteAbandonmentRequestfield access
POST/api/field/current/decommissioning/workflows/facility-decommissioningStartFacilityDecommissioningRequestfield access
POST/api/field/current/decommissioning/workflows/plan-decommissioningPlanDecommissioningRequestfield access
POST/api/field/current/decommissioning/workflows/remove-equipmentRemoveEquipmentRequestfield access
POST/api/field/current/decommissioning/workflows/cleanup-siteCleanupSiteRequestfield access
POST/api/field/current/decommissioning/workflows/obtain-regulatory-closureObtainRegulatoryClosureRequestfield access
POST/api/field/current/decommissioning/workflows/complete-decommissioningCompleteDecommissioningRequestfield access
PATCH/api/field/current/decommissioning/wells-abandoned/{id}/approvefield access

A well can also arrive here from production: POST /api/field/current/production/intervention-candidates/{uwi}/transition-to-decommissioning.

3. Cost analysis in the domain code

FieldDecommissioningService adds five analyses that take their inputs as arguments:

  • Plugging requirements take the well UWI, depth, the zones that are cased, the depth of the freshwater aquifer and the reservoir pressure. The result lists critical zones, a plugging strategy, cement requirements, plug specifications, estimated days and potential issues. The well depth must be greater than zero.
  • Decommissioning costs take the well UWI, depth, well type, location and whether environmental remediation is needed. The total is the sum of well plugging, wellhead removal, site restoration, environmental remediation (when needed) and the abandonment bond. A contingency percentage taken from DecommissioningCostDefaults is added to give the total with contingency.
  • Environmental remediation assesses what an abandoned well site needs.
  • Regulatory compliance takes the well UWI, a jurisdiction, the well class and the abandonment date. The result lists applicable regulations, compliance requirements, a compliance deadline, required documentation, bonding requirements, inspection requirements and a compliance cost estimate. The code comment names USA (BSEE 30 CFR 250 and EPA 40 CFR 98), Canada (AER Directive) and OSPAR as the regimes it covers.
  • Portfolio analysis takes a field id, a list of well UWIs and a table of well depths, and analyses the decommissioning needs of those wells together.

The Production Accounting project has its own decommissioning accounting service, and the cost routes above (costs and cost-estimation) read and estimate costs for the field.

4. Web pages

PageRoute
Decommissioning workspace/lifecycle/decommissioning/dashboard
Execute Well P&A Programme/decommissioning/well-pa
Facility Decommissioning/decommissioning/facility
Record Well Abandonments/ppdm39/decommissioning/well-abandonment
Estimate Decommissioning Costs/ppdm39/decommissioning/cost-estimation