Decommissioning
Well abandonment, facility decommissioning, restoration and costs.
In this documentation
- Beep.OilandGas Documentation
- Overview
- Architecture
- BeepDM integration
- Database scripts
- Configuration
- Company and field scoping
- Roles and access
- REST API reference
- Web application pages
- Exploration and prospects
- Development and drilling
- Production operations
- Production accounting
- HSE, permits and compliance
- Decommissioning
- Engineering calculators
- Troubleshooting
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.
| Record | Request | Main fields |
|---|---|---|
| Well abandonment | WellAbandonmentRequest | WellId, FieldId, AbandonmentType, AbandonmentMethod, Status, start, end and plugging dates, PlugDepth, NumberOfPlugs, PlugType, CementVolume, abandonment, plugging and site restoration costs with currencies |
| Facility decommissioning | FacilityDecommissioningRequest | FacilityId, 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 restoration | EnvironmentalRestorationRequest | WellId, 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.
| Method | Route | Body | Query | Access |
|---|---|---|---|---|
| GET | /api/field/current/decommissioning/wells-abandoned | filters | field access | |
| GET | /api/field/current/decommissioning/wells-abandoned/{id} | field access | ||
| POST | /api/field/current/decommissioning/abandon-well | WellAbandonmentRequest | wellId | field access |
| GET | /api/field/current/decommissioning/facilities | filters | field access | |
| GET | /api/field/current/decommissioning/facilities/{id} | field access | ||
| POST | /api/field/current/decommissioning/facilities/{facilityId}/decommission | FacilityDecommissioningRequest | field access | |
| GET | /api/field/current/decommissioning/environmental-activities | filters | field access | |
| POST | /api/field/current/decommissioning/environmental-activities | EnvironmentalRestorationRequest | field access | |
| GET | /api/field/current/decommissioning/costs | filters | field access | |
| POST | /api/field/current/decommissioning/cost-estimation | field access | ||
| POST | /api/field/current/decommissioning/workflows/well-abandonment | StartWellAbandonmentRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/plan-abandonment | PlanAbandonmentRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/obtain-regulatory-approval | ObtainRegulatoryApprovalRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/plug-well | PlugWellRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/restore-site | RestoreSiteRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/complete-abandonment | CompleteAbandonmentRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/facility-decommissioning | StartFacilityDecommissioningRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/plan-decommissioning | PlanDecommissioningRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/remove-equipment | RemoveEquipmentRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/cleanup-site | CleanupSiteRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/obtain-regulatory-closure | ObtainRegulatoryClosureRequest | field access | |
| POST | /api/field/current/decommissioning/workflows/complete-decommissioning | CompleteDecommissioningRequest | field access | |
| PATCH | /api/field/current/decommissioning/wells-abandoned/{id}/approve | field 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
DecommissioningCostDefaultsis 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
| Page | Route |
|---|---|
| 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 |