Production operations
Well performance, interventions, facilities, work orders and production data.
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
Production operations covers well performance and tests, allocation adjustments, intervention decisions, facilities, work orders, production records and the reservoir dashboards. The routes for the current field need a selected field (see Company and field scoping).
1. Well performance, tests and interventions
These routes are under /api/field/current/production.
| Method | Route | Body | Query | Access |
|---|---|---|---|---|
| GET | /api/field/current/production/wells/{wellId}/performance | field access | ||
| GET | /api/field/current/production/wells/{wellId}/analysis | field access | ||
| POST | /api/field/current/production/wells/{wellId}/analysis/deviation | PerformanceDeviationRequest | field access | |
| GET | /api/field/current/production/wells/{wellId}/tests | field access | ||
| GET | /api/field/current/production/wells/{wellId}/tests/review | field access | ||
| PATCH | /api/field/current/production/allocation/{period}/wells/{wellId} | AllocationPatchRequest | field access | |
| GET | /api/field/current/production/intervention-candidates | field access | ||
| POST | /api/field/current/production/intervention-candidates/{uwi}/transition-to-decommissioning | DecommissioningTriggerRequest | field access | |
| POST | /api/field/current/production/intervention-decisions | ProductionInterventionDecisionRequest | wellId | field access; field access WRITE |
| GET | /api/field/current/production/intervention-decisions/{intentId:guid} | wellId | field access; field access READ | |
| GET | /api/field/current/production/intervention-decisions/{intentId:guid}/maintenance-link | wellId, workOrderId | field access; field access READ | |
| POST | /api/field/current/production/intervention-candidates/{uwi}/decision | ProductionInterventionDecisionRequest | field access; field access WRITE | |
| GET | /api/field/current/production/dashboard/wells | field access |
Intervention decisions are recorded with a decision id (a GUID called the intent id) so that a decision whose answer was lost can be read back with GET intervention-decisions/{intentId}. A decision can be linked to a work order; the link is read with .../maintenance-link. A candidate can also be moved to decommissioning with transition-to-decommissioning.
2. Production data and forecasts
| Method | Route | Body | Query |
|---|---|---|---|
| GET | /api/accounting/production/inventory/{id} | connectionName | |
| POST | /api/accounting/production/inventory | CreateTankInventoryRequest | connectionName |
| GET | /api/Production/field/forecasts | filters | |
| POST | /api/Production/field/forecasts | ProductionForecastRequest | |
| GET | /api/Production/field/production | filters | |
| GET | /api/Production/field/production/by-pool | poolId | |
| GET | /api/Production/field/wells/{wellId}/tests | filters | |
| GET | /api/Production/field/facilities/production | filters | |
| GET | /api/Production/fields | filters | |
| GET | /api/Production/pools | filters | |
| GET | /api/Production/reserves | filters | |
| GET | /api/Production/reporting | filters |
3. Production operations records
The production operations controller records operating cost and production data and runs a production optimisation. Some routes are absolute routes kept for older callers (/api/productionoperations/create, /api/production/data/{wellId}, /api/production/history/{wellId}, /api/production/record).
| Method | Route | Body | Query |
|---|---|---|---|
| POST | /api/production/operations/create | PRODUCTION_COSTS | |
| POST | /api/productionoperations/create | ProductionOperation | |
| GET | /api/production/operations/{operationId} | ||
| PUT | /api/production/operations/{operationId} | PRODUCTION_COSTS | |
| GET | /api/production/data/{wellId} | ||
| POST | /api/production/history/{wellId} | ProductionHistoryRangeRequest? | |
| POST | /api/production/record | PRODUCTION_ALLOCATION | |
| GET | /api/production/operations/data | wellUWI, fieldId, startDate, endDate | |
| POST | /api/production/operations/data | ProductionData | |
| POST | /api/production/operations/optimize | Dictionary<string | wellUWI |
The service interfaces behind these routes declare, among others: production for a well over a date range, well uptime, well status, equipment maintenance history, upcoming maintenance, equipment reliability, facility production and facility status.
4. Dashboards
| Method | Route | Access |
|---|---|---|
| GET | /api/executive/kpi | |
| GET | /api/executive/portfolio | |
| GET | /api/executive/assets | |
| GET | /api/fields/{fieldId}/production/dashboard | |
| GET | /api/field/current/reservoir/dashboard/summary | field access |
| GET | /api/field/current/reservoir/dashboard/pools | field access |
5. Facilities
Facility endpoints are under /api/facility. The facility type is passed as the facilityType query value on the nested routes.
| Method | Route | Body | Query |
|---|---|---|---|
| GET | /api/facility | primaryFieldId | |
| GET | /api/facility/pden/facility-subtype | startDate, endDate | |
| GET | /api/facility/{facilityId} | facilityType | |
| GET | /api/facility/{facilityId}/classes | facilityType | |
| POST | /api/facility/{facilityId}/classes | facilityClassType, facilityType | |
| GET | /api/facility/{facilityId}/components | facilityType | |
| POST | /api/facility/{facilityId}/components | FACILITY_COMPONENT | |
| GET | /api/facility/{facilityId}/status | facilityType | |
| POST | /api/facility/{facilityId}/status | FACILITY_STATUS | enforceActiveLicenseForOperationalStatus |
| GET | /api/facility/{facilityId}/rates | facilityType | |
| GET | /api/facility/{facilityId}/licenses | facilityType | |
| POST | /api/facility/{facilityId}/licenses | FACILITY_LICENSE | |
| GET | /api/facility/{facilityId}/licenses/active | facilityType, asOf | |
| GET | /api/facility/{facilityId}/maintenance | facilityType, startDate, endDate | |
| POST | /api/facility/{facilityId}/maintenance | FACILITY_MAINTAIN | |
| GET | /api/facility/{facilityId}/monitoring/measurements | facilityType, equipmentId, measurementType, startDate | |
| POST | /api/facility/{facilityId}/monitoring/measurements | FACILITY_MEASUREMENT | facilityType |
| GET | /api/facility/{facilityId}/monitoring/equipment/{equipmentId}/activity | facilityType, startDate, endDate | |
| POST | /api/facility/{facilityId}/monitoring/equipment/{equipmentId}/activity | FACILITY_EQUIPMENT_ACTIVITY | facilityType |
| POST | /api/facility/{facilityId}/production/pden/ensure | facilityType | |
| GET | /api/facility/{facilityId}/production/volumes | facilityType, startDate, endDate | |
| POST | /api/facility/{facilityId}/production/volumes | PDEN_VOL_SUMMARY | facilityType |
| GET | /api/facility/{facilityId}/production/reliability | facilityType, startDate, endDate | |
| GET | /api/facility/{facilityId}/work-orders | facilityType | |
| POST | /api/facility/{facilityId}/work-orders | WORK_ORDER | facilityType |
6. Work orders
Work orders are listed, created, scheduled, rescheduled and moved through transitions. A work order can have contractors and an inspection checklist. The budget routes under /api/field/current/workorder/{workOrderId}/budget take cost reviews for material and labour and a budget decision; each has a review route and a recovery route. Deleting a work order needs the Supervisor, Manager or Admin role.
| Method | Route | Body | Query | Access |
|---|---|---|---|---|
| GET | /api/field/current/workorder | state, woSubType | field access | |
| GET | /api/field/current/workorder/sample | field access | ||
| GET | /api/field/current/workorder/{instanceId} | field access | ||
| POST | /api/field/current/workorder | CreateWorkOrderRequest | field access; field access WRITE | |
| POST | /api/field/current/workorder/{instanceId}/transition | TransitionWorkOrderRequest | field access; field access WRITE | |
| GET | /api/field/current/workorder/{instanceId}/transitions | field access | ||
| DELETE | /api/field/current/workorder/{instanceId} | field access; role Supervisor,Manager,Admin | ||
| POST | /api/field/current/workorder/{instanceId}/schedule | ScheduleWorkOrderRequest | field access | |
| POST | /api/field/current/workorder/{instanceId}/reschedule | DateTime | field access | |
| GET | /api/field/current/workorder/calendar | from, to | field access | |
| GET | /api/field/current/workorder/{instanceId}/conflicts | equipmentId, from, to | field access | |
| GET | /api/field/current/workorder/{instanceId}/contractors | field access | ||
| POST | /api/field/current/workorder/{instanceId}/contractors | AssignContractorRequest | field access | |
| DELETE | /api/field/current/workorder/{instanceId}/contractors/{baId} | stepId | field access | |
| GET | /api/field/current/workorder/contractor/{baId}/validate | woType, jurisdiction | field access | |
| GET | /api/field/current/workorder/{instanceId}/checklist | field access | ||
| POST | /api/field/current/workorder/{instanceId}/checklist | AddWorkOrderInspectionRequirementRequest | field access | |
| POST | /api/field/current/workorder/{instanceId}/checklist/{condSeq} | RecordInspectionResultRequest | field access | |
| GET | /api/field/current/workorder/{instanceId}/processes | field access |
| Method | Route | Access |
|---|---|---|
| POST | /api/field/current/workorder/{workOrderId}/budget/financial-sources | field access READ |
| POST | /api/field/current/workorder/{workOrderId}/budget/material-cost/review | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/material-cost | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/material-cost/recovery/reference | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/actual-costs | field access READ |
| POST | /api/field/current/workorder/{workOrderId}/budget/labor-cost/review | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/labor-cost | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/labor-cost/recovery/reference | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/decision/status | field access READ |
| POST | /api/field/current/workorder/{workOrderId}/budget/decision/review | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/decision | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/decision/recovery/reference | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/review | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget | field access WRITE |
| POST | /api/field/current/workorder/{workOrderId}/budget/recovery/reference | field access WRITE |
7. Web pages
| Page | Route |
|---|---|
| Production Operations | /production/operations, /production/dashboard |
| Production Dashboard | /production |
| Production Engineer Workspace | /production/engineer-workspace, /lifecycle/production/dashboard |
| Optimise Well Performance | /production/well-performance |
| Decide Well Interventions | /production/intervention |
| Allocate Production Volumes | /production/allocation |
| Production Forecasting | /production/forecasting |
| Monitor Production Field Register, Pools, Reporting, Reserves, Forecasts, Well Tests | /ppdm39/production/fields, /ppdm39/production/pools, /ppdm39/production/reporting, /ppdm39/production/reserves, /ppdm39/production/forecasts, /ppdm39/production/well-tests |
| Reservoir engineer workspace and overview | /reservoir/workspace, /reservoir, /reservoir/characterization, /reservoir/reserves, /reservoir/eor |
| Work Order Dashboard, Calendar and Detail | /ppdm39/workorder, /ppdm39/workorder/calendar, /ppdm39/workorder/{Id} |
| Warehouse and procurement | /warehouse, /warehouse/items/{Id}, /procurement, /procurement/orders/{Id} |
On the Decide Well Interventions page the engineer sees the active intervention candidates, with tabs for production history, diagnostics and similar past cases, a recommendation, the linked downstream records, a decision note and an optional work order id to link. The Production Engineer Workspace links to the calculators (nodal analysis, gas lift, sucker rod pump, plunger lift, pipeline hydraulics, compressor, choke, well test) and to the production pages above.