Wellbore
The Wellbore object describes the physical structure and configuration of a wellbore. It includes detailed information such as the well trajectory, casing and tubing strings, gas lift valves, and perforation zones.
In dynamic well environments, where the wellbore configuration may change due to interventions such as completions, tubing installations, or workovers, the Wellbore object supports time-dependent configurations with associated timestamps. This enables accurate tracking of historical wellbore states and modelling of well conditions over time.
The wellbore object is an essential input for calculating bottomhole pressure (BHP), and generating inflow profiles.
The Wellbore object stores four categories of data:
Trajectory
Trajectory table defines the wellbore path as a directionalsurvey. Each row represents one survey station with a measured depth (MD) and a true vertical depth (TVD). The inclination is computed internally from the MD/TVD pairs.
Strings
A geometry is described as a set of strings. A string is a piece of pipe, or an open-hole interval, installed in the wellbore; each string carries one or more sections describing the string's geometry over a depth interval.
Hierarchy Rules:
Property
Open Hole
Casing
Tubing
Section name
Yes
Yes
Yes
Top MD
Yes
Yes
Yes
Bottom MD (or length)
Yes
Yes
Yes
Inner diameter
Yes
Yes
Yes
Thickness
No
Yes
Yes
Outer diameter
No
computed
computed
Roughness
No
Yes
Yes
Strings are grouped into a root pipe, the outermost pipe reaching the surface, and an optional set of child pipes installed inside it. The welbore editor exposes the strings as a flat list; the grouping is reconstructed from the string types at save time:
Root Type
Allowed Child Types
Open Hole
Casing, Tubing
Casing
Casing, Tubing
A single geometry may carry open hole + casing + tubing together, and several casings of decreasing diameter can be stacked to describe a telescoping completion.
Geometry
A geometry describes the full structural state of the wellbore at a given date: trajectory, pipe strings, flow path, and gas lift valve if any. Each section of a string covers a depth interval and declares its state: open hole, cased hole or completed with tubing.
A wellbore keeps one geometry per effective date, so workovers and completion changes are preserved as separate time-dependent entries.
Flow Path
Describes the production flow path in the wellbore. This isessential for production modelling and pressure loss calculations.
The flow path must be defined, e.g., though tubing, casing or annulus.


The Wellbore object includes definitions for gas lift valves, which are essential for modeling wells that use gas lift for production. It also allows the specification of perforation zones, which are used to generate inflow profiles.
Gas lift valve
For gas lift wells, the details of the gas lift valves can be specified:
Gas lift valve MD: This parameter specifies the installation depth of the valve and is mandatory when a Gas lift valve is defined.

Note
A gas lift definition is rejected at save time when the wellbore has no casing section. The editor surfaces an explicit error and blocks the save until a casing section is present.
Perforations
To define perforations, the following information must be provided for each perforation interval:
MD Start: Measured depth at the start of perforation interval.
MD End: Measured Depth at the end of perforation interval.
Is Open: Perforation status, open or closed (default is open).

User can add or edit perforations during wellbore editing. To do so:
In the Wellbore node, click the Perforations button.
Modify existing perforations directly in the table using the status circles (
= open,
= closed,
= not present at this date/depth).Select multiple perforation rows and click on
to update them in bulk.Click on
to create a new time‑dependent perforation state, then enter the corresponding date.Use the
Add or
Remove icons to add or delete a perforation at a specific depth.Click on
Duplicate option to duplicte an existing timestamp and its perforation configuration.
Procedure to create a Wellbore object
Wellbore objects can be created via the multi-well load process. This requires that wellbore data be stored in a database structured according to the KAPPA SQL schema.
Prerequisites
Wellbore data must be populated and available within the KAPPA SQL schema. It is strongly recommended to populate all available data fields, including non-mandatory ones. If certain fields are missing, default values will be assigned during the wellbore object creation.
Note
If casing or tubing data are inconsistent, KA applies default settings:
A default casing is added along the entire trajectory, with ID = 2 × TubingID.
The flow path is set to Tubing.
A warning message is displayed in the wellbore information page.

The mirroring data source and the multi-well load data source must be correctly configured and validated.
Procedure
Provide a Name for multi well load.
Select the Data Source.
Select the Tag (filters configured in the multi-well load setup).
Click Create.

Once the multi-well load process is completed the wellbore object is displayed under well node.
Alternative method:
Using KAPPA-Automate SDK
Wellbore object can also be created using KAPPA-Automate SDK.
Prepare the deviation survey and wellbore geometry definition. If available, also include gas lift valve and perforation data.
Supported format include Excel files, which should follow the KAPPA Automate format.
Run the Python script.
Execute the script to process the input data.
Create the wellbore object.
The script will generate a Wellbore object under the Well node.
Inside KAPPA-Automate
A Wellbore object can also be created directly within KAPPA-Automate.
In the well node, click on Wellbore ,
, under the Info tab:
Once created, the Wellbore object will appear under the Well node.
In the Info page, click Geometries.

In the Edit Geometries dialog, the Wellbore Geometry tools are located at the top:

+ New from current: creates a copy of the current wellbore definition. Use this to base a new wellbore on an existing configuration (e.g., after a workover) without re-entering all data.
Remove this geometry: Permanently deletes the current geometry. This action cannot be undone.
Navigation arrows: Navigate to first, previous, next, or last time-dependent wellbore version without opening the dropdown.
Open the Start date panel to set the wellbore completion date.

Define Trajectory:
On the Trajectory tab, enter the survey stations in the left-hand grid. A plot of the trajectory with the string geometry overlay is drawn on the right.
Click
Add to append a survey station at the bottom of the grid.Use the
Duplicate or
Remove icons to duplicate or remove a survey station row.Enter MD and TVD for each station. Repeat this process for all survey stations.
Alternatively, the entire trajectory can be pasted directly from the clipboard. Click on
Replace from clipboard, the clipboard must contain two tab-separated columns (MD, TVD).At least two rows are required: surface (MD = 0, TVD = 0) and total depth. Deviation is computed from MD and TVD and is not an editable field in the editor; it is displayed on the read-only wellbore Info page.

Define Strings:
On the Strings tab, add the pipe strings and their sections in the left-hand grid. A scaled visual geometry view of the wellbore is drawn on the right.
Adding String
Click
Casing or
Tubing in the toolbar. A new string is appended at the bottom of the grid with a default first section.Rename the section in the Section column.
Enter Top MD, Bottom MD (or Length) and the pipe attributes.
Note
When a new row is added, the UI populates placeholder defaults (typically ID = 3.6 in, Thickness = 0.4 in, Roughness = 0.0012 in). These are not recommendations, replace them with actual completion data. Outer Diameter is a computed field and only appears in the saved Info page, not in the edit dialog. At least one dimension row is required in the strings section. Saving with an empty strings table produces the error: "Invalid input parameter: Either casing or tubing should be defined to create a geometry at define date”.
Adding more sections to the same string
Select any row of the string.
Click
Add section to append a section below, or
Split section to split the selected section at a given depth.
Removing a string or a section
Select any row of the string and click
Remove string to drop the whole string or
Remove section to drop only the selected section.
Pasting from clipboad

In the editor, click the Strings grid.
Click
Replace from clipboard in the toolbar. A preview dialog lists the rows that will be inserted and flags unit mismatches and invalid values.
Cross section and Probe:
The visual geometry pane on the right of the Strings tab exposes a Probe at the top:
Enter a depth in the Probe field or scroll the probe line with the arrows.
The probe line snaps to that depth on the visual pane, and the Cross section panel at the bottom-left redraws a plan view of the wellbore at that slice, one concentric circle per string present at the probe depth.
Define the Flow path & gas lift:
Flow path:
Select the flow path from available options: Casing, Tubing, Annular.
Default value is Casing, regardless of whether a tubing string was added.
Gas lift equipment: This is hidden by default and must be unlocked via a checkbox.
Check the Gas lift equipment checkbox. The Injection valve depth field appears.
Enter the measured depth, MD, at which the gas lift valve is installed.
Note
The field is labelled Injection valve depth in the edit geometries dialog and Gas lift valve MD in the Info page. Both refer to the same value

Click on OK.
The new wellbore is created.
Info tab:

Plot tab:

All steps are shown in the .gif below.
