Network Well Definition
The network well definition table links wells to the network. The sourceId of the well must match a sourceId in the Well table of the schema. The unqiue constraint on network well definition is sourceNetworkId + sourceId + date (although since sourceId here must match a Well sourceId, sourceId itself is globally unique).
Variable | Data Type | Unit of Measure | Is Nullable? | Default Value | Description |
---|---|---|---|---|---|
sourceNetworkId | String | - | No | - | SourceNetworkId the well belongs to |
sourceId | String | - | No | - | Source ID for the well definition. This must match the sourceId of the Well . The record will be rejected if a network well sourceId does not match a well sourceId from the well schema. |
date | DateTimeOffset | - | No | - | Date at which the well becomes part of the network. Datetime offset (with timezone) in ISO 8601 format. Example: 2022-09-27T16:28:37+0000 |
downstreamSourceId | String | - | No | - | Source Id of the downstream node. Most commonly a Network Pipe Definition Source ID |
upstreamSourceId | String | - | Yes | - | If there is gas lift injection in the well, this connects the well to the upstream injection network |
enabled | Bool | - | No | - | Whether the well should participate in the network (false would be the equivalent of a mask in GAP) |