Data Loading Example 1

Data Loading example 1 (BHA no components)

If you use the above configuration, the data would look like the data presented in the following table, if there is no need to store the actual composition of the BHA.

Drill_String

The Borehole_Id is a foreign key to the borehole table and is the borehole in which the drill string is used.

ID

NAME

BOREHOLE_ID

145123

Drill String #1

125087

 

BHA

The Bottom Hole Assembly is a logical facility used to hold the individual components that comprise it.

ID

NAME

145127

BHA #1

 

Drill_Bit

Drill_Bit_Type is a foreign key to the R_Drill_Bit class.

ID

DRILL_BIT_
TYPE

DRILL_
HOLE_
DIAMETER

MANUFACTURER

MODEL_NAME

145124

PDC

9.5

Baker

HCR-605

 

Generic_Tubular

ID

CATEGORY

LENGTH

MANUFACTURER

OUTSIDE_DIAMETER

145153

Drill Pipe

597.51

 

4

 

Facility_Connector

The facility_id is the foreign key attribute that links this connector to the facility to which it belongs. The attribute Facility_Tbl holds the table name where that facility can be found.

ID

FACILITY_ID

FACILITY_TBL

THREAD_TYPE

THREAD_OUTSIDE_DIAMETER

NAME

145125

145124

Drill_Bit

API REG

6.626

Top

145154

145153

Generic_Tubular

FH

4

Top

145155

145153

Generic_Tubular

FH

4

Bottom

 

Facility_Composition

The whole_facility_id is the foreign key attribute to the whole facility, and the attribute whole_facility_tbl holds the name of the table in which this facility_id can be found.

The part_facility_id is the foreign key attribute to the part facility, and the attribute part_facility_tbl holds the name of the table in which this facility_id can be found.

The linear_sequence is the sequence in which the components are arranged. The convention in drilling is that the first item placed in the hole is item #1, and so on. In this case, the Drill bit is the first thing in, then the BHA, and finally the drill pipe.

 

ID

WHOLE_
FACILITY_TBL

WHOLE_
FACILITY_ID

PART_
FACILITY_TBL

PART_
FACILITY_ID

PART_FACILITY_ROLE

LINEAR_
SEQUENCE

145126

Drill_String

145123

Drill_Bit

145124

Drill Bit

1

145156

Drill_String

145123

Generic_Tubular

145153

Drill Pipe

3

145128

Drill_String

145123

BHA

145127

BHA

2