Wellbore Gas Lift Valves
For gas lift wells, valve information is important to accurately compute gas lift performance, optimization, and bottomhole pressure.
In the absence of gas lift valve data, injection is assumed at the lowest point in the well with adequate delta pressure from injection to production to support gas passage. In the presence of gas lift valve data, each valve's downhole opening and closing pressures and its gas passage are calculated from the valve record, and the model works down the string to find where the gas enters the well.
Each valve is recorded with its valve type, mandrel type and flow path. These are never inferred, so they are required in the input schema. Different valve types have different data requirements:
- Pressure operated valves (IPO) — test rack opening pressure, port size and the port to bellows area ratio (R) are needed to calculate the valve. A pressure valve missing any of them is treated as incomplete.
- Orifice valves (ORIFICE) — port size is needed. Leave test rack opening pressure and R empty. Record a venturi as an orifice.
- Dummy valves (DUMMY) — no port size, test rack opening pressure or R. Leave them empty.
A gas lift valve belongs to a wellbore. The unique constraint on gas lift valve entries is sourceWellboreId + sourceId. The wellbore referenced by sourceWellboreId must be loaded before adding valves to it.
Each record is one valve run. A valve is in the well from its run date until the first of:
- the day after its own pull date;
- the run date of a later valve at the same depth (within 1 ft) and flow path;
- for a CONVENTIONAL valve only, the run date of any later CONVENTIONAL valve, because conventional valves come out with the tubing.
A side pocket or internally mounted valve leaves the well only by its own pull date or by a replacement at the same depth, so one wireline valve change is one new record. The rest of the string does not need to be sent again.
If conventional and side pocket (or internally mounted) valves from different run dates are in the well together, both are kept and ProdX data quality raises a warning. Send pull dates for valves that came out.
Variable | Data Type | Unit of Measure | Is Nullable? | Default Value | Description |
|---|---|---|---|---|---|
sourceId | String | - | No | - | Unique identifier of the valve run, to enable upserts From WellView: wvtubcompmandrelinsert table, idrec column |
sourceWellId | String | - | No | - | Source ID for the well. Must match the sourceId of a record in the Well table. From WellView: wvtubcompmandrelinsert table, idwell column |
sourceWellboreId | String | - | No | - | Source ID for the wellbore in which the valve is installed. Must match the sourceId of a record in the Wellbore table. |
runDate | Datetime Offset | - | No | - | Run date of the valve. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28:37+0000 From WellView: wvtubcompmandrelinsert table, DTTMRUN column |
pullDate | Datetime Offset | - | Yes | - | Pull date of the valve; empty while it is in the well. Datetime offset (with timezone) in ISO 8601 format. From WellView: wvtubcompmandrelinsert table, DTTMPULL column |
stationNumber | Integer | - | Yes | - | Station number of the mandrel. Used for display only. Valve 1 is typically the deepest (commonly the orifice valve). From WellView: wvtubcompmandrel table, STATIONNO column |
installMd | Double | ft | No | - | Measured depth of the valve From WellView: wvtubcomp table, DEPTHTOPCALC column |
valveType | Enum | - | No | - | Type of valve. One of: IPO (injection pressure operated), ORIFICE, DUMMY |
mandrelType | Enum | - | No | - | How the valve is mounted. One of: CONVENTIONAL (tubing retrievable), SIDE_POCKET (wireline retrievable), INTERNALLY_MOUNTED |
flowPath | Enum | - | No | - | Flow path the valve is designed for. One of: TUBING_FLOW (gas injected down the annulus, production up the tubing), ANNULAR_FLOW (gas injected down the tubing, production up the annulus) |
nominalValveSize | Double | in | Yes | - | Nominal valve size (outside diameter), in, e.g. 1, 1.5. Optional.
|
testRackOpeningPressure | Double | psig | Yes | - | Test rack opening pressure (PTRO) of the valve at 60 °F. Empty for orifice and dummy valves. From WellView: wvtubcompmandrelinsert table, TRORUN column |
portSize | Double | /64 inch | Yes | - | Port size of the valve. Empty for dummy valves. From WellView: wvtubcompmandrelinsert table, SZport column |
portToBellowsAreaRatio | Double | - | Yes | - | R-ratio: area of the valve port divided by the effective bellows area |
vpcCatalogName | String | - | Yes | - | Name of the valve as it appears in the Valve Performance Clearinghouse (VPC) valve catalog. Only used by tenants licensed for VPC. |
Data Integrity Checks
Condition | Response |
|---|---|
Any non-nullable field is NULL or empty | Record Rejected |
valveType, mandrelType or flowPath is not one of the listed values (values are case-sensitive) | Record Rejected |
(sourceWellId, sourceWellboreId) does not match an existing wellbore | Row Skipped |
Partial success on bulk ingest
Rows referencing an unknown wellbore are skipped while the remaining rows are written. The error response names each skipped row. An error response therefore does not mean nothing was written.
The platform checks data types, required fields and listed values only. Engineering checks, such as a pressure operated valve with no test rack opening pressure or a pull date before the run date, are reported in ProdX data quality.
Common Error Messages
API | Scenario | Error Response |
|---|---|---|
Add / Upsert valve | Unknown wellbore | WellboreGasLiftValve with sourceId 'xxx' was skipped: wellbore with sourceWellId 'xxx' and sourceWellboreId 'xxx' was not found |
Add / Upsert valve | Unknown valve type, mandrel type or flow path | Unexpected value 'xxx' for enum 'WellboreGasLiftValveType' |
Fetch / Delete valve by source id | Unknown valve | Wellbore gas lift valve with source id: xxx was not found |