Sei sulla pagina 1di 299

Software Manual of SK-CMS Mud Logging Unit

Contents
CMS Installation and Configuration Manual........................................................................1
1. Installation of CMS system................................................................................................................1
2. Installation of SQL Server (Installed on Windows 2000 Server as server)........................................1
3. Installation of CMS system..............................................................................................................10
3.1 Installation of CMS..................................................................................................................10
3.2 Installation of other Software...................................................................................................15
3.3 Installation and Setting Method of EPSON DLQ 3500K Printer............................................15
4. Installation of CMS Database...........................................................................................................23
Manual of CMS Software...................................................................................................28
Chapter 0 Introduction.............................................................................................................28
1. Overview..........................................................................................................................................28
2. Introduction to System Composition and Function..........................................................................28
2.1 Hardware Composition............................................................................................................28
2.2 Software Composition..............................................................................................................29
3. Basic Operations...............................................................................................................................32
Chapter 1 Primary Control Program (PCP)...........................................................................39
1. Overview..........................................................................................................................................39
2. Operation and Setup.........................................................................................................................39
Chapter 2 Parameter Initialization Program..........................................................................54
1. Overview..........................................................................................................................................54
2. Operation and Setup.........................................................................................................................55
Chapter 3 Unit Setup Program.................................................................................................78
1. Overview..........................................................................................................................................78
2. Operation and Setup.........................................................................................................................79
Chapter 4 Alarm Setup Program.............................................................................................83
1. Overview..........................................................................................................................................83
2. Operation and Setup.........................................................................................................................83
Chapter 5 Data Acquisition Program.......................................................................................86
1. Overview..........................................................................................................................................86
2. Operation and Setup.........................................................................................................................87
Chapter 6 Real-time Setup Program......................................................................................102
1. Overview........................................................................................................................................102
2. Operation and Setup.......................................................................................................................103
Chapter 7 Real-time Processing Program..............................................................................132
1. Overview........................................................................................................................................132
2. Operation and Setup.......................................................................................................................132
Chapter 8 CDA Setup Program..............................................................................................139
1. Overview........................................................................................................................................139
2. Operation and Setup.......................................................................................................................139
Chapter 9 Well Killing Monitoring Program........................................................................142
1. Overview........................................................................................................................................142
2. Operation and Setup.......................................................................................................................142
Chapter 10 Cutting Return Program.....................................................................................150
Chapter 11 Data Record Program..........................................................................................151
1. Overview........................................................................................................................................151
2. Operation and Setup.......................................................................................................................152
Chapter 12 Data Monitoring Program...................................................................................157
1. Overview........................................................................................................................................157
2. Operation and Setup.......................................................................................................................157
Chapter 13 Real-time Print Program.....................................................................................180
1. Overview........................................................................................................................................180
2. Operation and Setup.......................................................................................................................180
3. Menu Bar........................................................................................................................................186
Chapter 14 Remote Data Transmission Program..................................................................190
1. Overview........................................................................................................................................190
2. Operation and setup........................................................................................................................190
3. Data Display...................................................................................................................................194
Chapter 15 Database Management Program........................................................................195
1. Overview........................................................................................................................................195
2. Operation and setup........................................................................................................................195
Chapter 16 Data Recalculation Program...............................................................................214
1. Overview........................................................................................................................................214
2. Operation and setup........................................................................................................................214
Appendix WITS Specification................................................................................................224
Manual of CMS Background Software...........................................................................239
1. Introduction to System Functions...................................................................................................239
2. Running Environment of the System..............................................................................................239
3. Notice..............................................................................................................................................239
Chapter 1 Engineering Plot.....................................................................................................240
1. Overview........................................................................................................................................240
2. Data Input.......................................................................................................................................240
3. Engineering Process Plot................................................................................................................240
4. Well Structure Plot..........................................................................................................................242
5. Working Time Plot..........................................................................................................................243
6. Parameter/Unit Setting...................................................................................................................244
7. Printout...........................................................................................................................................244
8. Save/Open/Create a Report............................................................................................................245
9. Export.............................................................................................................................................245
10. Exit the Program.............................................................................................................................246
Chapter 2 Casing Report........................................................................................................247
1. Overview........................................................................................................................................247
2. Input Data.......................................................................................................................................247
3. Report Switch.................................................................................................................................250
4. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................250
Chapter 3 Bit Cost Report......................................................................................................251
1. Overview........................................................................................................................................251
2. Input Data.......................................................................................................................................251
3. Format Setting................................................................................................................................253
4. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................254
Chapter 4 Well Cement Report..............................................................................................255
1. Overview........................................................................................................................................255
2. Data Input.......................................................................................................................................255
3. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................257
Chapter 5 Borehole Inclination Report..................................................................................258
1. Overview........................................................................................................................................258
2. Data Input.......................................................................................................................................258
3. Display Setting...............................................................................................................................259
4. Switch of Borehole Inclination Plot and Borehole Inclination Chart.............................................260
5. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................261
Chapter 6 Gas Survey Interpretation Program.....................................................................262
1. Overview........................................................................................................................................262
2. Chart Setting...................................................................................................................................262
3. Data Input.......................................................................................................................................264
4. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................265
5. Basic Knowledge of Chart..............................................................................................................266
Chapter 7 Formation Press Program.....................................................................................269
1. Overview........................................................................................................................................269
2. Area Data........................................................................................................................................269
3. Trend Line Definition.....................................................................................................................271
4. Well Data........................................................................................................................................277
5. Formation Pressure Monitoring......................................................................................................281
6. Fitting Setting.................................................................................................................................281
7. Formation Pressure Analysis..........................................................................................................283
8. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................289
Chapter 8: Hydraulics Report................................................................................................290
1. Overview........................................................................................................................................290
2. Data Edition....................................................................................................................................290
3. Report.............................................................................................................................................291
4. Optimization Calculation................................................................................................................294
5. The operations of parameter/unit setting, printout, save/open/create a report, export, and exit the
program are the same as Chapter 1.........................................................................................................295
Software Manual of SK-CMS Mud Logging Unit

CMS Installation and Configuration Manual


I.1 Installation of CMS system
For the computers used as database server, Windows 2000 Server is installed and for other
computers, Windows 2000 Professional (or Windows 2000 Server, Windows XP) is installed. The log-in
user names and passwords of all the computers shall be identical.
Attention: (The recommended user name is the default Administrator and the recommended password
is the default null password.)

I.2 Installation of SQL Server (Installed on Windows 2000 Server as


server)
Put the install disc of SQL Server 2000 in the CD driver, the system will automatically start the
installer and pop up a welcome window as shown in the following figure.

Select SQL Server 2000 Components to enter the installer window.

1
Software Manual of SK-CMS Mud Logging Unit

Select Install Database Server in the installer window and start to install SQL Server.

Click on Next in the welcome window of installation.

Here input the name of computer on which you want to install SQL Server and directly click on
Next".

Attention: the following prompt will appear when clicking on Next if SQL Server is not
uninstalled completely.

If rebooting cant solve the problem, it is necessary to enter the regedit. First, input regedit in Run
in the start menu,

2
Software Manual of SK-CMS Mud Logging Unit

then press OK button to enter Registry Editor. Find PendingFileRenameOperations

right click, then click on Delete to delete the file.

3
Software Manual of SK-CMS Mud Logging Unit

Directly click on Next in the installation selection window.

Input the name and company name in the window of user information and click on Next.

4
Software Manual of SK-CMS Mud Logging Unit

Click on Yes in the window of software license agreement to accept the terms and enter the next
step. Then input the agreement number.

Select and install server and client tools in the installation definition window and click on Next.

Input the name of SQL Server in the window of instance name. If you select Default, the default
name is the name of computer (the default is recommended).

5
Software Manual of SK-CMS Mud Logging Unit

Here input the installation paths of SQL server program files and data files. For the installation
path of program files, the default path is adopted. The installation path of data files refers to the place
where SQL Server saves data and it is recommended to select a disk where the residual capacity is at
least more than 10G. Select Typical for installation type.

Attention: Select Use the Local System account for service setting.

6
Software Manual of SK-CMS Mud Logging Unit

Select Mixed Mode for the authentication mode and click on Next (no need to set password)

After finishing the configuration, prepare to start the installation. Click on Next to start the
installation.

7
Software Manual of SK-CMS Mud Logging Unit

Installation process.

After finishing the installation, click on Finish button to exit the installer.

8
Software Manual of SK-CMS Mud Logging Unit

Select Service Manager in the start menu of SQL Server to start up the service manager.

Service Manager Window.

9
Software Manual of SK-CMS Mud Logging Unit

Attention:Select SQL Server Agent in the pull-down box of services.

Select Auto-start service when OS starts and click on Start/Continue button to start up SQL Server
Agent.
Finish the installation of SQL Server.

I.3 Installation of CMS system


If .Net Framework 1.1 is not installed in the computer, please install Microsoft .NET Framework
1.1.exe first. If it has been installed, directly click on setup.exe in the CMS directory to install CMS
software. .Net Framework is packed in the version over CMS2.0. Detect the target machine
automatically, and install it as required.

I.4 Installation of CMS


Please double click on setup.exe in the folder of CMS to install the CMS system.

10
Software Manual of SK-CMS Mud Logging Unit

If .Net Framework 1.1 has been installed in the computer, please click on No to install CMS software
directly. If it is installed for the first time, click on Yes, and then install .Net Framework 1.1, as shown
in the following figure.

11
Software Manual of SK-CMS Mud Logging Unit

Install after clicking on I agree

Waiting for finishing the installation

12
Software Manual of SK-CMS Mud Logging Unit

Click on OK after finishing the installation

Click on Next.

If it is required to modify the installation path, please click on Change and then click on Next.

13
Software Manual of SK-CMS Mud Logging Unit

Select the path in which you want to install.

Click on Install and start to install the CMS system

14
Software Manual of SK-CMS Mud Logging Unit

Click on Finish to finish the installation

I.5 Installation of other Software


After fixing CAN card on the collector, then install the following Hardware drivers in turn.
CAN Card Drivers: Open PCI7841 for Win2K folder in the CMS installation directory
(\Creative Mudlogging System\drivers\). Then double click on setup.exe to install the CAN card
drivers according to the installation wizard. Sometimes when the computer is restarted after
completion of the installation, the system prompts failure of CAN card installation ( appears).
In this case, uninstall the CAN card in the Device Manager first, then scan and detect the
modified hardware.
Dotting Card Driver: Open \ADLink_7125\Wnt\Disk1 folder in the CMS installation directory
(\Creative Mudlogging System\drivers\). Double click on setup.exe to install the dotting card
driver according to the installation wizard and then restart up the computer.
Software Dog Driver: The software dog is necessary when operating the main control program of
CMS server. Open \Hasp4 in the CMS installation directory (\Creative Mudlogging
System\drivers\), then double click on hdd32.exe to install software dog according to the
installation wizard, and hot swap software dog once.
Attention: The dotting driver function of the recording instrument is under the control of Data
Acquisition program of the CMS system, so you need to operate the installation driver of the collector
in Data Acquisition program, otherwise you can not open Data Acquisition program.

I.6 Installation and Setting Method of EPSON DLQ 3500K Printer


I. Installation of Printer
Attention: In order to support real-time printing, it is necessary to install the drivers made by Shanghai
Shenkai (for EPSON DLQ 3500K).
Click on Start-Settings-Printers.

15
Software Manual of SK-CMS Mud Logging Unit

As shown in the following figure, double click on Add Printer.

16
Software Manual of SK-CMS Mud Logging Unit

Click on Next.

Select Local printer and remove the before Automatically detect and install my Plug and Play
printer, then click on Next.

17
Software Manual of SK-CMS Mud Logging Unit

Select the printer port as shown in the figure (generally LPT1), then click on Next.

Click on Install From Disk.

Click on Browse (B).

18
Software Manual of SK-CMS Mud Logging Unit

Select Skprint which is directory of the driver in the Look in window, then select
shenkai.INF and click on Open.

Click on OK.

Select SHENKAI REALTIME PRINTER and then click on Next.

19
Software Manual of SK-CMS Mud Logging Unit

Click on Next.

Select Share as, and input a share name, such as SHENKAIR as shown in the figure (the share
name can be any word based on your own habit), then click on Next.

Click on Next.

20
Software Manual of SK-CMS Mud Logging Unit

Select No, then click on Next.

Click on Finish.

Click on Yes.

21
Software Manual of SK-CMS Mud Logging Unit

The installation of the printer driver is completed.

Printer Setting
To support real-time printing, it is necessary to do some settings, as shown in the following:
Click on Start-Settings-Printers, open the following window.
Right click on any blank in the window, then select Server Properties and left click.

Select Create a New Form.

22
Software Manual of SK-CMS Mud Logging Unit

Input 15 x 1 in in Form Description for, select English units, then input 15.00in in Width
and 1.00in in Height. Click on Save Form (left click on Save Form).

Input 15 x 2 in in Form Description for, select English units, then input 15.00in in Width
and 2.00in in Height. Click on Save Form (left click on Save Form).

23
Software Manual of SK-CMS Mud Logging Unit

Add 15 x 3 in ,15 x 4 in ,15 x 5 in in turn. Click on Close.

Then real-time printing can be carried out.

I.7 Installation of CMS Database


Use the system configuration tool attached to CMS to install CMS system database.
Click on Start-Creative Mudlogging System-CMS Setting to enter the configuration
window.

Select the database server, namely, the name of computer where SQL Server has been installed and
click on Test Connection.

24
Software Manual of SK-CMS Mud Logging Unit

If it is connected successfully, click on OK.

In the page of Maintenance, click on Connect to connect the database.

25
Software Manual of SK-CMS Mud Logging Unit

Click on Create Database.

Click on Restore Database.

Attention: Restoring the database can be used only when initializing the database and
original data will be covered, so please use it with caution.

Select the backup files of database you want to restore The backup files of database are located in
the installation directory (\Create Mudlogging System\Database).

26
Software Manual of SK-CMS Mud Logging Unit

Confirm to restore the database

The prompting message of finishing the restore appears, namely, the database is restored
successfully

Click on Backup Database to backup the database (when necessary in the course of mud
logging).

27
Software Manual of SK-CMS Mud Logging Unit

Input the backup name and click on Save.

The prompting message of finishing the backup appears, namely, the database is backed up
successfully

Attention: User had better backup the database after finishing the initialization and unit
settings. The backup file can be used to restore the database for the next new well to avoid
generation of an extra-large database.

28
Software Manual of SK-CMS Mud Logging Unit

Manual of CMS Software


Chapter 0 Introduction
I.8 Overview
CMS (Creative Mudlogging System) is a set of data acquisition and processing software developed
for the new generation mud logging unit introduced by Shanghai Shenkai Petroleum Science and
Technology Co. Ltd. This system is based on WINDOWS 2000 operation platform and adopts client-
server mode to realize a series of functions and requirements from data acquisition, real time
processing, data monitoring and data storing to printout and remote transmission of data, etc. necessary
for logging on-line jobs through modularized program structure. It is characterized by good stability,
strong extendibility, abundant monitoring interface, flexible operation and easy to use, etc.
CMS establishes a set of database table based on WITS standard using SQL Server database
management system, capable of storing different types of data into different database tables according to
given trigger conditions and storing intervals as required by the customer, thus meeting the demand of
customer for various data and post-drilling analysis.
CMS has favorable compatibility and extendibility to hardware produced by Shanghai Shenkai
Company. It can acquire, receive and process all acquisition instruments including CAN bus sensor, SK-
7J02, dual chromatograph (SK-3Q02, SK-3Q03 and SK-3Q04), infrared CO 2 analyzer (SK-3H02), 2D
quantitative fluorometry (SK-2DQF) and CAN bus type carbonate analyzer through three
communication modes including CAN bus, serial port and/or network.

I.9 Introduction to System Composition and Function


I.10 Hardware Composition
Computer system: build a small intranet by four computers through a HUB (100M/10M). It is
proposed to use computers with configurations of PIV 1.5G, 256M memory, 16M display memory
and 40G hard disk or higher. The functions of each computer are as follows:
Acquisition computer (CMS-DAQ): with hardware units such as CAN adaptor and MOXA multi-
serial port card and acquisition software installed, used for data acquisition.
Server (CMS-SERVER): with SQL Server database system installed, used for storing data.
Secondary server (CMS-SERVERS): used as a backup server. With SQL Server database system
installed, it can manually switch to take over the task of server when the main server fails.
Secondary acquisition computer (CMS-DAQS): with hardware units such as CAN adaptor and
MOXA multi-serial port card and acquisition software installed, used as a backup acquisition
computer. It can take over the work of acquisition computer when the main acquisition computer
fails.
Printer (EPSON DLQ 3500K): there are totally 2 of them for printing engineering parameter
curves and real-time datasheet.
CAN bus sensor: totally 24 sensors (standard configuration) including CAN bus type carbonate
analyzer are connected to the CAN adaptors on main acquisition computer (CMS_DAQ) and
secondary acquisition computer (CMS_DAQS) separately through a CAN bus wye.
Outlet chromatograph: connected to the HUB through a network interface or connected to the
COM ports of multi-serial port card on main and secondary acquisition computers through two
serial ports.
Inlet chromatograph: connected to the HUB through a network interface or connected to the
COM ports of multi-serial port card on main and secondary acquisition computers through two

29
Software Manual of SK-CMS Mud Logging Unit

serial ports.
Infrared CO2 analyzer: connected to the COM port on the acquisition computer (CMS_DAQ) and
the secondary acquisition computer (CMS-DAQS) through a serial port.
I.11 Software Composition
Operation Environment:
WIN2000 Professional (or WIN2000 Server, Windows XP): installed on the acquisition computer
(CMS_DAQ) and the secondary acquisition computer (CMS_DAQS) separately.
WIN2000 Server: installed on the server (CMS-SERVER) and the secondary server (CMS-
SERVERS) separately.
SQL Server: installed on the server (CMS-SERVER) and the secondary server (CMS-SERVERS)
separately.
CMS:
CMS is currently composed of totally 15 modules in 6 program packages installed in the
default working directory \Creative Monitoring System of each computer separately. There are
several subdirectories in this directory (see Figure 0-1), in which subdirectory bin is installed
with executable programs of 15 modules; subdirectory Config contains configuration files and
temporary files generated by some applications; subdirectory Database stores default cms
(chs).bak data files and there are CDA data files saved in real time on CMS server; while
subdirectory Template contains some defined printing formats and monitoring image templates.

Figure 0-1 CMS Installation Directory


According to functions, the CMS is composed of one primary control program (PCP) and six
program packages including system setup, acquisition setup, real-time monitoring, data output,
remote transmission and database management. The function and Chinese/English name of each
program are as follows:
PCP (CMS_Console.exe)
In the CMS, the interface (see Figure 0-2) and function of PCP running on the client are not
completely identical with the interface (see Figure 0-3) and function when it runs on the server. The
PCP running on the client is mainly used as an interface to start the CMS application and sends logon
request to the server; while the PCP running on the server is a message center connecting every

30
Software Manual of SK-CMS Mud Logging Unit

application besides activating applications. The PCP receives logon requests from the application of
client, receives and displays messages from each application and sends messages in the form of
broadcast at the same time. In addition, the PCP of server provide some other functions as well:
displaying the running distribution condition of each CMS application and controlling the startup and
closedown of CMS applications on each client; setting data source of CMS; saving real-time data files
automatically, etc. Therefore, the PCP is an important application which must be started first when CMS
is running.
Attention: software dog is necessary when running the PCP of server.

Figure 0-2 PCP Running on the client

31
Software Manual of SK-CMS Mud Logging Unit

Figure 0-3 PCP Running on the Server


System program package:
Include three modules of parameter initialization, unit setup and alarm setup.
Parameter Initialization (DataInitializer.exe): used to create a well and a borehole and input
the basic data associated with the annular, drilling tools, drilling fluids and drilling rigs, which
are necessary for computation of derived CMS parameters; at the same time, the user can
input other basic data associated with this well as needed and store them into a database to
facilitate data processing and consulting after well completion.
Unit setup (UnitSetting.exe): CMS divides the unit of all parameters in the system into 130
types according to unit identification to realize convenient conversion, addition and deletion
of units between different unit systems through the unit setup module.
Alarm setup (AlarmSetting.exe): Using alarm setup module, the user can conveniently set
thresholds of acoustic and optical alarms for important logging parameters and set alarms for
some special events during logging such as sampling prompt and chiming on every hour.

Data Acquisition program package:


Include data acquisition module.
Data acquisition (DaqSystem.exe): It has basic functions in the following four aspects:
choosing the corresponding acquisition equipment and configuring communication mode in
accordance with the configuration condition of the logging unit acquisition equipment; setting
the path or node serial number for acquiring data; calibrating the acquisition parameters;
receiving and displaying the electrical signals of sensors and other acquisition equipment. In
addition, the data acquisition program also has some other functions such as data simulation,
sample pump control, drawworks counting and pump stroke reset.
Monitor program package:
Include five modules of real-time setup, real-time processing, CDA setup, well killing monitoring
and cuttings returning.

32
Software Manual of SK-CMS Mud Logging Unit

Real-time setup (MonitorLogic.exe): this is a real-time control program used for intervening
logging operation process. These controls include: activating drilling status, setting and
adjusting the threshold of logical judgment of drilling status, resetting parameters such as
position of bit and weight on bit, monitoring the condition of drilling tools in POOH and RIH
and carbonate analysis, etc.
Real-time processing (MudLogCalc.exe): it is used to compute all derived parameters (such as
position of bit, vertical depth, drilling time and hydraulic parameters, etc) during logging and
judge and process the logical drilling status and intermediate intervention process in real-time
setup.
CDA setup (CDASetup.exe): It is used to display the properties of over 400 items of
parameters acquired and derived in logging in real time, such as name (alias), current value,
current unit, unit identification (type) and ultimate updated time. Users can carry out some
operations here such as modifying parameter alias, customizing newly added acquisition
parameter and grouping customized parameter.
Well killing monitoring (Kill.exe): obtaining well kick data, well kick analysis and well kick
report through monitoring shut-in well and well killing.
Cuttings returning (Cuttings.exe): it is used to monitor cuttings drilling time, arriving time,
returning time, remaining stroke rate and time.
Data Output program package:
Include three modules of data recording, data monitoring and real-time printing.
Data storing (Dlogger.exe): The main function is to save the logging data that need to be
saved in CDA into different database tables in accordance with the triggers (i.e. key word),
trigger intervals (i.e. interval of saving) and data properties (i.e. the minimum, maximum,
average and original values) set by the user. The database structure of CMS is created based
on WITS standard, therefore there are time tables, pit volume tables and chromatograph cycle
tables etc. based on time; depth tables and 1m depth tables based on well depth; lagged mud
table and chromatograph depth table based on lag depth, etc. Users can set the trigger
condition of saving as needed, make database table in close or opened status or review the last
time to write to the database.
Data monitoring (DataPlot.exe): rich and colorful monitoring image are displayed in the form
of curves, alphabet numbers, or combination of curves and numbers to reach the purpose of
drilling monitoring. Users can select different parameter combinations to customize
monitoring image in accordance with their own preferences and store generated templates. In
addition, they may replay and review historical data through screens at the same time of
monitoring.
Real-time printing (DataCurvePrn.exe): it is used to print (based on time) or replay printing
acquisition parameters and derived data. Uses can not only print in real-time or replay printing
data table, but also customize receiving intervals to print or replay real-time long graph. All
printed parameters and formats can be customized and stored as different templates so as to be
called under different drilling status or as needed.
Remote Transfers program package:
Only include remote transfers module currently.
Remote transfers (DataTransfer.exe): it includes two functions of data transfer and file
transfer. Real time data transfer is to convert CMS real-time data flow into standard WITS
(Wellsite Information Transfer Specification) data record, and then send or receive data flow
in format of WITS in real time through serial port or TCP/IP Socket in accordance with the
trigger interval (based on time, well depth, event or other trigger parameter) set by users.
33
Software Manual of SK-CMS Mud Logging Unit

Currently, only the transmission of class WITS0 and WITS is realized and users can perform
remote transfer through mobile phones or satellite telephones. File transfer is to upload
packaged files to remote server through dedicated FTP software.
Data Output program package:
Include two modules of database management program and data recalculation currently.
Database management (MudLogDbm.exe): As an interface for interaction between user and
MS SQL Server, it can realize operations on database such as browse, inquiry, sorting,
modification, deletion, addition, calculation and insertion, etc., and at the same time, it can
export the inquiry result in the form of text or Excel files. It can also import electrical logging
data, MWD data and geochemical data in text format into the database to prevent users from
accessing database directly and simplify operations on database. Edition of database is carried
out in two modes of text data edition and graph data edition (drag-drop edition).
Data recalculation: it is a program capable of recalculating several kinds of data.
Attention: it is unnecessary to run all CMS programs mentioned above during actual logging,
in which three programs including data acquisition, real-time processing and data saving must be run,
while other programs can be run as required.

I.12 Basic Operations


Basic steps needed from startup to normal logging in accordance with normal operation sequence
are as follows:
Start the server (CMS-MAIN SERVER), secondary server (CMS-SUB SERVERS), main
acquisition computer (CMS-MAIN DAQ) and secondary acquisition computer (CMS-SUB DAQS)
in turn.
The primary control program on the server will be started with the startup of WIN2000 Server
operating system.
After the startup of PCP in server is finished, the PCP of each client will be started with startup of
operating system.
In the PCP interface of any computer, click on System program package and then parameter
initialization icon to start the program to establish a new well and input fundamental parameters
required by the system (refer to Parameter Initialization Program section for details)
If parameter initialization has been finished heretofore, skip the step above and conduct the
following operation directly:
In the PCP window of acquisition computer (CMS-MAIN DAQ), click on Acquisition Setup
program package and then the icon of data acquisition to start the program (as shown in Figure 0-
4). Under the condition that sensor connection has been finished, click on Setting in the main
interface of data acquisition and select Channel from the pull-down menu to carry out operations
such as node scanning and channel configuration, etc. (see Data Acquisition Program section for
details).

34
Software Manual of SK-CMS Mud Logging Unit

Figure 0-4 Main Interface of Data Acquisition Program


After finishing channel configuration, click on , then the system begins to acquire data within 5
seconds. The acquired data are visible in the main interface at this point (refer to Data Acquisition
Program section for details). To stop data acquisition, click on button.
To start the function of hot standby, you can click on Data Acquisition program package in the
PCP window of CMS-SUB DAQ.
Attention: Main and secondary acquisition computers are relative. The computer which runs data
acquisition program first will be main acquisition computer and that runs data acquisition program later
will turn into secondary acquisition computer automatically.
In the PCP window of server, click on Monitor program package and then click on the real-time
processing program to start this program. The program will minimize automatically with an icon in
the taskbar tray (as shown in Figure 0-5).
Click on the icon of real-time setup program on any computer to open this program (as shown in
Figure 0-6). The acquired real-time data will be displayed in the main interface of this program.
Certainly, users can run both programs of real-time setting and real-time processing on any
individual computer according to the loading condition of the computer.

Figure 0-5 Real-time processing program minimized on the taskbar


Attention: only one real-time processing program can be run in a CMS at one time.

35
Software Manual of SK-CMS Mud Logging Unit

Figure 0-6 Main Interface of Real-time setup program

Click on Startup button in the menu bar of main interface of real-time setup program, then select
a rig status (e.g. Drill/Circulate, depending upon actual conditions on site) from the pop-up menu
(as shown in Figure 0-7). Input or set up necessary startup parameter (e.g. it is required to input
startup parameters as shown in Figure 0-8 for status Drill/Circulate) to enter the logging
monitoring and tracing status. (See Real-time setup program section for details).

36
Software Manual of SK-CMS Mud Logging Unit

Figure 0-7 Real-time Setting of Startup Menu

Figure 0-8 Startup Parameters Input

In the PCP window of CMS-MAIN SERVERS, click on Data Output program package, and then
click on data record icon to open the main interface of data record program (as shown in Figure 0-
9). Click on in the menu to save data according to the default setting condition. (See Data
Record Program section for details).

37
Software Manual of SK-CMS Mud Logging Unit

Figure 0-9 Main Interface of Data Record Program

In the PCP window of CMS-MAIN DAQ, click on Data Output program package and then the
icon of Real-time Print to start the program (see Figure 0). Set up the print condition and format in
turn in accordance with the setting requirement in the window (such as load printing format of real-
time chromatograph curve. See Real-time Printing Program section for details). Click on
Application button and then Start to Print Curve (or Data) button, then the printer starts to
print real-time curve (or data).

38
Software Manual of SK-CMS Mud Logging Unit

Figure 0-10 Main Interface of Real-time Print Program

Similarly, start the real-time print program from the PCP window of CMS-SUB DAQ to print
engineering parameter curves (or real-time datasheet).

Start DataPlot.exe in the PCP window on any computer (as required and convenient) to open the
default monitoring screen in this computer automatically (as shown in Figure 0-11). If required,
users can open other defined monitoring template in accordance with the following method: click
on File Open Template in the menu bar. Then double click on a monitoring template (files
with the extension .sff, stored under the directory with path of Create Mudlogging
System\Template) in the pop-up Open window to open the required monitoring screen.

39
Software Manual of SK-CMS Mud Logging Unit

Figure 0-11 Data Monitoring Program and Default Monitoring Screen

If required, users can carry out the following operations on any computer during normal logging:
CDA Setup Program --- reviewing the current value and unit identification of a parameter or
group parameters.
Unit Setup Program --- modifying the current unit of a parameter.
Alarm Setup Program --- setting alarm parameters.
Parameter Initialization Program --- inputting or modifying drilling tools, etc..
Remote Transfers Program --- sending or receiving WITS data flow.
Database Program --- editing or exporting logging data, etc.

40
Software Manual of SK-CMS Mud Logging Unit

Chapter 1 Primary Control Program (PCP)


II Overview

This chapter introduces detailed functions of PCP and its roles in


CMS.

As described above, the function, effect and interface (see Figure 0-2 and Figure 0-3) of PCP
running on the servers are different from those of PCP running on the clients (in this manual, client
refers to the general name of other computers which are connected to the server and run CMS program
except the server).
The PCP running on the server mainly has the functions as follows:
Acts as a control window for starting and closing the CMS applications concentratedly and
conveniently.
Act as a message distributing center, receiving the logon requests and various types of messages
from CMS applications started on local computer and other computers, and sending messages in
the form of broadcasting to inform the CMS applications started on each computer to execute the
corresponding activities.
Display the status of connection between client and server and the distribution and operation
conditions of CMS applications on each computer.
Attention: Save CDA data into a binary data file every 24 hours in real time for screen replaying
display or replaying print. These data files are saved in the installation directory of \Create Mudlogging
System\Database with the form of well number + date (for example, Qiang 48-1x_2003-7-17.RRD).
Designate data source for CMS. The current CMS data source is divided into three categories: real-
time data from data acquisition and real-time processing program; remote transmitted data received
from remote transfers program as a receiving end; real-time replay data files being saved and sent
by PCP.
Set up programs that system needs to restart automatically and their priority levels.
Add third party program packages and third party applications that need to be started from this
interface.
Except these four functions mentioned above, other functions of PCP running on the client are
basically identical with those of PCP running on the server. The application of CMS can be started or
closed (manually or automatically) on this computer through PCP main interface.
The PCPs of all CMS computers can be started up automatically with the startup of operating
system. Users can start PCP manually through the shortcut on desktop (as shown in Figure 1-1) or by
double clicking on in the default installation directory \Create Mudlogging
System\bin.

Figure 1-1 PCP Icon

III Operation and Setup


As shown in Figure 1-2, the PCP running on the server can be divided into three parts: menu bar
area, program package and application area, information display area; there is no information display
area for the PCP running on the client and other parts are basically identical with those for PCP on the
server.
41
Software Manual of SK-CMS Mud Logging Unit

Figure 1-2 Main Interface of PCP Running on the server

Menu bar area:


File (F):
Click on File button of the PCP, the menu as shown in Figure 1-3 will pop up, which includes the
options as follows:

42
Software Manual of SK-CMS Mud Logging Unit

Figure 1-3 File Menu in PCP Menu Bar

Save (V):
Save the setup and modification that users made in program package and application area (e.g.
changing background of that area and appending the third party program package and application, etc.).
The program will save the setup content as a configuration file named cms_consol.ini and store it in the
CMS installation directory \Creative Mudlogging System\config.
IP Address Setup:
Click on this option and a window as shown in Figure 1-4 will pop up, where you can designate the
IP addresses of CMS server and standby serve respectively. Once the IP address of this computer is
designated as the IP address of server, the PCP running on the local computer will become server PCP
(software dog is necessary for CMS server), and its main interface will turn into the interface of server
PCP automatically. In addition, you can also set up the IP address of another computer other than this
computer as "IP address of backup server", so that the PCP running on another computer can be
assigned as the server PCP when local computer breaks down.

Figure 1-4 Window of Server IP Setup

Renew Default Setup (D):


Restore the property setup of program package and application area to the default settings.
Exit (X):
43
Software Manual of SK-CMS Mud Logging Unit

Click on this option and a window as shown in Figure 1-5 will pop up, where users should
confirm whether to exit the CMS or not. For the server, the CMS applications running on all
computers will be closed after clicking on OK button. While for clients, only the CMS program
running on this computer will be closed after clicking on OK button.

Figure 1-5 Confirmation window for exiting CMS

Real Time Control (R):


Click on Real Time Control of the PCP, the menu as shown in Figure 1-6 will pop up, which
includes the options as follows:

Figure 1-6 Real Time Control Menu in PCP Menu Bar


Program Manage (A):
Programme Manager (P): Click on this option and a window (Figure 1-7) will pop up. You can
select and set up programs running in the form of "Batch running" and programs that can restart
automatically after being closed.

44
Software Manual of SK-CMS Mud Logging Unit

Figure 1-7 Programme Manage Options window in Real Time Control Menu

The so-called batch running mode means that once the user selected and determined the
programs that need to start automatically by the program manager window in PCP running on each
computer, then when the system starts next time, the user only needs to click on Start button in the
main interface of server PCP to start all programs required to run on each computer, without starting
them individually one by one. The so-called programs that can restart automatically after being closed
means that when the program is set as automatic restart, the program will immediately restart
automatically whenever it is closed. XP operating system can carry out this operation. While it takes a
long time to exit these programs (such as MudLogCal.exeDaqSystem.exe) in win2K operating system.
Sometimes they havent exited when the system restarts, which will conflict with restarting the
program. And the dialog as shown in Figure 1-8 will pop up.

Figure 1-8 Dialog of Program Restarting Conflict

Unit (U):
Click on Unit option to start unit setup program.
Data Source Setup (O):
Click on Data Source Setup option to open the following setup window (Figure 1-9): While
for client, this option doesnt exist.

Figure 1-9 Data Source Setup Window of the Real Time Control Menu
45
Software Manual of SK-CMS Mud Logging Unit

The data source of CMS is divided into three categories currently: the first category is real-time
data sent to PCP by data acquisition and real-time processing program, i.e. the CDA data acquired in
normal logging; the second category is WITS data flow received by the PCP acting as receiving end
from remote transmission program; the third category is the real-time replaying data files saved by PCP
and replayed through PCP. The PCP saves CDA data as a data file with extension .RRD every 24
hours. The data file is saved in the installation directory \Create Mudlogging System\Database with
name in the form of well number + date (e.g., Qiang 48-1x_2003-7-17.RRD). Trough these three
kinds of received data sources, the PCP can forward data to data monitoring and real-time print program
for real time output or replay output, or send them to data recording program for saving respectively.
To replay real-time data, you can select and click on Real Time Replaying button, then choose
the data files to be replayed from the opened window (the path of stored data files is \Create
Mudlogging System\Database). The starting and ending time of the current file will be displayed in the
text box. You can set up the replaying time interval as required, then set up Playing Speed and click
on Ok, and the system will start to replay data and three control buttons will be displayed on the top
right corner of PCP main interface (as shown in Figure 1-10). Then you can run data display program to
carry out screen replaying or run real-time print program to carry out print replaying.

Figure 1-10 Real Time Replaying of PCP

Attention: Don't replay historical data through PCP during normal logging, otherwise the current
data display, real-time print and data saving will be stopped. If required, you can carry out data
replaying separately through data display or real-time print program respectively. (See the following
chapters for details). During remote data transmission through data replaying, the Playing Speed shall
be set to 1000 ms (i.e. 1 second), so that remote data transmission program can transmit data
normally.

PRI Setup (P):


Click on PRI Setup option to open the following setup window (Figure 1-11):

Figure 1-11 PRI Setup Window in Real Time Control Menu

46
Software Manual of SK-CMS Mud Logging Unit

CMS divides the programs into different priority levels based on the importance of its application
module for the purpose of management and control. This kind of management and control mainly
determines the sequence of programs in automatic startup according to their priority levels, especially
when main acquisition program breaks down, the system can start the secondary acquisition programs
according to defined responding time. The system default priority sequence is as follows: the priority
level of PCP, data acquisition program, real-time setup program and real-time processing program is the
highest, 1; that of data recording program is 2; that of real-time print and data monitoring program is 3;
that of other programs such as parameter initialization, unit setup and database management are 4. Users
can customize the priority level of program as required. In addition, they can appoint the responding
time of program in automatic startup according to the priority level.
Time Synchrocyclotron (Y):
Click on Time Synchrocyclotron option to open the following setup window (Figure 1-12):
While for client, this option doesnt exist.

Figure 1-12 Time Synchrocyclotron Window in Real Time Control Menu

CMS can maintain time synchronization between computers on the network and CMS server.
Port Setting:
Click on Port Setting option to open the following setup window (Figure 1-13):

Figure 1-13 Port Setting Window in Real Time Control Menu

CMS can customize serial port number to send data outwards and determined whether to send
data to serial port or not.

View (V): The menu of View includes the following options (as shown in Figure 1-14).

47
Software Manual of SK-CMS Mud Logging Unit

Figure 1-14 View Menu in PCP Menu Bar


Toolbar (T):
Toolbar refers to the shortcut icons beneath the menu button. You can cancel or display these
small icons by clicking on Toolbar.
Status Bar (S):
Status bar is located at the bottom of PCP interface, which is used for displaying status and
date/time information.

Program package and application area:


Start application:
This area is composed of 6 default program packages of CMS and the applications in their
own pull-down menus. To run a program, you can click on the program package in which this
program exists and then click on the program icon.
Add program packages and applications:
Besides the six default program packages of CMS, users can add their own program
packages and applications in this area as well. Move the cursor to any position in this area, right
click and select Add Group option from the pop-up menu. Then a new New Group program
package button will be added beneath the Data Output program package button (see Figure 1-
15).

48
Software Manual of SK-CMS Mud Logging Unit

Figure 1-15 Adding program packages and applications

Right click on Add Group button and select Rename option form the pop-up menu to modify
the name of this newly added program package. You can also delete this program package buttons and
the application icons under it by selecting Delete Group.
To add a new application in the program package, you can move the cursor to the blank area under
this program package, right click and select Add Project option from the pop-up menu. Then a file
folder icon named Item0 will be displayed in the bland area. Right click on this icon and select
Rename option form the pop-up menu (as shown in Figure 1-16) to modify the name of the newly
added project. Select Delete option to delete the project. Select Property option to designate the
location of the application for the newly added project (as shown in Figure 1-17).

Figure 1-16 Project Property Setting Menu

49
Software Manual of SK-CMS Mud Logging Unit

Figure 1-17 Designating the Location of the Application for the Newly Added Project

In the Item Properties window, you can define the name of the newly built project in the Title
box. And you can also select a proper icon for the defined new project in pull-down Icon box.
Set up the appearance style of program package and application area
There are two options that can be used for setting and modifying the appearance style of
program package and application area in the pop-up menu (as shown in Figure 1-15) --- Interface
Design and Property. Interface Design option is used to design the appearance of program
package and background color; while Property option is used to design the appearance of
application.
Click on Interface Design to open the following window (Figure 1-18).
In this window, Alignment pull-down box is used to select the position of program package
button name (left, middle, right). Group Title Color is used to change the color of program
package name. Font is used to change the font and size of program package name. Checking
Drag the picture background to suit up all means that when dragging a graphics file (e.g., .bmp
or .jpg file) to the program package and application area, all background of this area will turn into
this graph. Otherwise only the background of area under the current program package turns into to
this graphics.

50
Software Manual of SK-CMS Mud Logging Unit

Figure 1-18 Interface Setting Window


Click on Property option to open the following window (Figure 1-19).

Figure 1-19 Interface Properties Setting Window


In this window, Group Title is used to display or modify the name of the currently set program
package; Icon Size pull-down box is used to change the size of application icon; Background
Setting is used to set up the background picture of the area in the current program package; while
Color Setting is used to set up the color and font of application name and the background color of the
area under current program package.
After the setup of program package and application area is finished, you can save the settings by
clicking on File button in the menu bar and selecting Save from the pull-down menu, so that the
settings can be obtained when running PCP next time.

Information Display Area:


The information display area only exists in the PCP that runs on the CMS server (as shown in
Figure 1-20). It includes three display windows: System List, System Monitor and System
Information.
System List window:

51
Software Manual of SK-CMS Mud Logging Unit

Figure 1-20 Closing a program through System List


You can switch to System List window by clicking on System List button on the bottom of the
PCP. System List is used to display the logon information to server of all CMS applications started from
the server or clients. When an application logs on successfully, the program name, name of the
computer that runs this program, IP address of this computer and current status of the program will be
displayed in the System List (as shown in Figure 1-20). In addition, you can close a program running
on any computer from this list: right click on the line where the program to be closed and select End
Programme from the pop-up menu (as shown in Figure 1-20), then the program will be ended.
Certainly, if the program displayed in System List is started by clicking on Start button (as
shown in Figure 1-20) on the lower left corner of the window (i.e. the Restart Automatically program
in the window as shown in Figure 1-7), you can click on the button again to end the PCP of CMS (it
now turns into Exit button).
System Monitor window:
You can switch to System Monitor window by clicking on System Monitor button on the
bottom of PCP (as shown in Figure 1-21). System Monitor directly shows the connection status between
server and client in the form of graphs. When the PCP of each client logs on the server successfully, a
normal connection status will be displayed in System Monitor figure, and the name of program
running on each computer will also be displayed besides the display icon representing each computer
(Figure 1-21). If the PCP on each client doesn't log on the server or fails to log on due to network
failure, a connection status as shown in Workstation 3 will be displayed in the connection schematic
diagram.

52
Software Manual of SK-CMS Mud Logging Unit

Figure 1-21 System Monitor Window


System Information Window
You can switch to System Information window by clicking on System Information button on
the bottom of PCP (as shown in Figure 1-22). CMS receives messages from each application of CMS
through the server CPC, which are sent out in the form of broadcast to inform relative applications to
execute the corresponding activities (e.g. ending program, unit conversion and loading database). These
messages will be displayed in System Information window in the form of short message, so that users
can look up them conveniently.
The system information in CMS can be divided into the following types on the whole:
Request Logging on: An application asks for logging on.
Log on Successfully: An application logs on the server successfully.
Start Automatically: Click on Start button to run applications.
Logout Program: Inform the information center after an application exits.
Applied IP Address: Transmit IP address among data acquisition program, real-time setup
program and real-time processing program.
Refuse to Start Program: Refuse to restart the program since it has run.
Unit Change: Inform the system that the parameter unit has been changed.
Alarm Condition Change: Inform the system that the alarm setup has been changed.
If Restart: Whether the application restarts automatically or not.
Initialization Parameter Change: Inform the system that the initialization parameter has been
changed.
Real-time Comment Print: Send real-time comment messages by real-time setup program to
real-time print program and forward the real-time comment to the printer through real-time
print program.

53
Software Manual of SK-CMS Mud Logging Unit

Figure 1-22 System Information window


The PCP can automatically save the System Information as a text file, so that users can query the
required data at any time. This file is saved in the default installation directory of CMS :\Creative
Mudlogging System\config and the default file name is SysMessage.txt.
Attention: When the CMS PCP flashes, it means that the system runs imperfectly. Please inspect if
the data acquisition, real-time processing and data recording programs are running to prevent data loss.

Figure 1-23 Alarm Indicator Status


54
Software Manual of SK-CMS Mud Logging Unit

Three lamps on the bottommost of the figure above respectively represent the working status of
three programs that must run. Green lamp indicates that the program is running normally and red lamp
indicates that the program doesnt run. The phenomenon in figure above shows that the data recording
program doesnt run.

55
Software Manual of SK-CMS Mud Logging Unit

Chapter 2 Parameter Initialization Program


IV Overview

This chapter introduces functions and operating methods of parameter


initialization program and its roles in CMS system in detail.

Before starting logging or each tripping in a well, it is usually required to collect some basic data
associated with this well or this time of tripping for real-time parameter calculation, logging process
monitoring or completion data processing. In CMS system, these basic data needing to be inputted
manually are accomplished concentratedly through the parameter initialization program. The parameter
initialization program can be used to:
Create a new well and borehole and input the properties of this well, such as well sort, well type,
geographic location and structural location, etc.
Establish annulus and BHA and input initialization data and comments associated with real-time
hydraulic calculation, such as drilling fluid report, etc.
Input basic data associated with rig, such as mud pump, mud pit and surface equipment, etc.
Input information on operators and personnel of Party A and Party B.
Set up basic data associated with calculation, such as gas ratio, gas standardization and SPI/CGS,
etc.
Save, edit and activate initialization data or delete the initialization data of existing well.
Export drilling tool tables as Microsoft Excel files.
Send modified initialization data to PCP in the form of message.
Therefore, to ensure accurate calculation and availability of system derived data, it is required to
input and set up basic parameters before logging and update initialization data at any moment during
logging as needed.
To run the parameter initialization program, you can click on Parameter Initialization icon in the
System Setup program package on PCP interface. You can also double click on
that is in the installation directory of the system (\Create Mudlogging System\bin). The main interface
of unit setup is shown as follows:

56
Software Manual of SK-CMS Mud Logging Unit

Figure 2-1 Main Interface of Parameter Initialization Program

V Operation and Setup


The area on the left part is navigation area, which displays the organizational structure of whole
CMS initialization data with tree-like view. The data organizational structure in CMS is as shown in
Figure 2-2:

Figure 2-2 Organizational Structure of the Initialization data


57
Software Manual of SK-CMS Mud Logging Unit

Attention: There are totally 8 items that must to be activated, including Oilfield, Well,
Borehole, Annulus, Tubular run, Mud, Rig and Mud Pit & Mud Pump. Activation of these items means
that the data in this item will be used in calculation during the current logging.
Oilfield
As shown in Figure 2-3, the first item is Oilfield after the startup of parameter initialization
program. Right click in the blank area of navigation view and select New Oilfield from the pop-up
menu to establish a new oilfield. Right click on the tree-like node of the oilfield to delete or activate the
selected oilfield. Note: Items with * behind are currently activated ones.

Figure 2-3 Oilfield Initialization Interface


The relative initialization data include:
Field Name: Input the name of the newly built oilfield.
Location: Input the location of the newly built oilfield.
Country: Input the name of the country in which the newly built oilfield locates.
Platform Name: Input the name of the drilling platform in which the well locates.
Platform Slot: Input the drilling hole number of the platform in which the well locates. For an
offshore platform, hole number refers to the number of the well to be drilled. For
onshore drilling, you can input 0.
Platform Type: Select the type of the platform in which the well locates.
Water Depth: Input the average seawater depth of the area in which the platform locates. If it is
onshore drilling, you can input 0 for it.
Density: Input the density of seawater. If it is onshore drilling, the item can be neglected.
Temperature: Input the temperature of seawater. If it is onshore drilling, the item can be neglected.

Select Edit -> Save from program menu or directly click on in the tool bar after finishing
input. The program will inform the PCP of the content being modified by parameter initialization in the
form of message. Then the PCP will inform other relative CMS applications to update initialization data

58
Software Manual of SK-CMS Mud Logging Unit

in the form of broadcast.


Well: the interface is as shown in Figure 2-4.

Figure 2-4 Well Initialization Interface


The initialization parameters associated with Well include:
Well: Input the name of the new well in the input box.
Well Type: Select a well type from the pull-down menu. The optional well types include vertical
well, directional well, horizontal well, extended reach well and cluster well.
Well Class: Select a kind of well class from the pull-down menu. The optional well class includes
parameter well, scientific exploratory well, preliminary prospecting well, appraisal well,
production well, step-out well and developmental evaluation well.
Current Status: Select the current status of the well and there are four kinds of status: planning,
drilling, test and completion.
Completion Criteria: Input the completion criteria in accordance with the Drilling Geology Design.
Completion Date: Input the actual completion date of the well.
Completion Method: Select the completion method the well actually used. The optional completion
methods include perforation completion, initial open hole completion, final open hole
completion, full hole completion, tubingless completion, liner completion and gravel
packing completion.
Completion Status: Select the actual status of the well when well completion is carried out. The
optional completion statuses include abandoned well, condensate well, gas well, oil
well and injection well (e.g. water injection well and gas injection well, etc.).
Job Name: Input the name of the operation (e.g. surface logging or drilling).
Well Location: It is the geographic location of the well.
Bottom Layer: Input the bottom layer when drilling is finished.
59
Software Manual of SK-CMS Mud Logging Unit

Lease Name: Input the name of the leasehold in which the well site locates.
Structure: Input the description of the grade 1, 2 and 3 structural locations in which the well
locates.
Test-line ID: Input the test line ID in which the well locates.
POS ID: Input the pile No. of the test-line in which the well locates
Drill Intention: Input the drilling intention of this well in accordance with the Drilling Geology
Design.
Aim Layer: Input the layer of the drilling intention of this well according to the Drilling Geology
Design.
Planned Start Date and Well Depth: Input the planned spudding date and well depth.
Planned End Date and Well Depth: Input the planned completing drilling date and well depth.
Actual Start Date and Well Depth: Input the actual spudding date and well depth.
Actual End Date and Well Depth: Input the actual completing drilling date and well depth.
MudLogging Start Date: Input the data on which the logging operation starts.

Borehole: the interface is as shown in Figure 2-5.

Figure 2-5 Borehole Initialization Interface

Borehole belongs to Well and a well may possibly have several boreholes (vertical borehole,
side tracked borehole, directional borehole and horizontal borehole, etc., and for a cluster well, it may
have borehole 1, 2 and 3, etc.). Borehole can be divided into Actual borehole and Designed
borehole, Father borehole and Child borehole. Child borehole refers to a branch borehole of its
higher level borehole. The integrity of data can be maintained for a well with multiple boreholes by
saving and inquiring data in the form of borehole.

60
Software Manual of SK-CMS Mud Logging Unit

Name: Input the name of the new borehole in the input box.
Type: Click on the pull-down menu button and select the borehole type which can be actual
borehole or designed borehole (the default type is actual borehole).
Parent: If there is no parent borehole, the hole is Initial Borehole bye default, otherwise input the
name of the parent borehole.
Started Date: Input the spudding time of the newly built borehole.
End Date: Input the finishing drilling time of the newly built borehole.
Start Depth: Input the start depth of the newly built borehole.
Start V. Depth: Input the start vertical depth of the newly built borehole.
Start E-W Position: Input the start E-W position of the newly built borehole.
Start S-N Position: Input the start S-N position of the newly built borehole.
Start Inclination: Input the start inclination of the newly built borehole.
Start Dogleg: Input the start dogleg angle of the newly built borehole.
Start Azimuth: Input the start azimuth of the newly built borehole.
Start Azimuth (Corrected): Input the start corrected azimuth of the borehole after it is corrected by
magnetic declination.
Start Vertical Section: Input the start vertical section length of the newly built borehole. It refers to
the length of vertical interval from the start depth to the first directional survey
point of the borehole.
Survey Type: Select the type of directional survey. It includes single-point magnetic directional
survey, multi-point magnetic directional survey, MWD directional survey, single-point
gyroscopic survey and multi-point gyroscopic survey.

Annulus: the interface is as shown in Figure 2-6.

Figure 2-6 Annulus Initialization Interface

Annulus refers to the channel from wellhead to the bottom of the current borehole for the return of

61
Software Manual of SK-CMS Mud Logging Unit

drilling fluid. It is usually composed of, from bottoms up, open hole interval, cased interval and
conductor interval (or riser).
Annulus Name: Input the name of the new annulus in the input box (660mm, 445mm, 311mm,
215mm, etc.) It is usually necessary to rebuild an annulus before 1 st spudding, 2nd spudding,
3rd spudding and 4th spudding or after building a new borehole. For convenience of lookup
and memory, the diameter of open hole interval can be taken as the name of this annulus.
M. Depth Csg Shoe: Input the casing shoe depth of the current annulus.
Depth of Comprehensive pressure test (M. Depth PIT): Input the well depth at which a
comprehensive pressure test (including formation fracturing test and casing pressure test, etc.) is
performed.
Frac. Grad. At PIT: Input the fracture pressure gradient of the interval where comprehensive
pressure test is performed. The parameter can usually be obtained or
estimated according to the result of formation fracturing test.
Depth of the Weakest Formation Point (M.Depth Wk. Fmn): Input the well depth of the weakest
formation point. The weakest formation point usually locates at the casing shoe.
Frac. Grad. Wk. Fmn: Input the fracture pressure gradient of the weakest formation point. The
parameter can usually be obtained or estimated according to the result of
formation fracturing test.
Date/Time: Input the building date of the annulus.
Annulus Section: It is used to input the name, inner diameter, top depth and bottom depth of each
annulus section in turn:
Annulus Section Type: Click on the cell beneath the annulus interval type and a pull-down
menu button will be displayed. Click on this button and select the required
annulus name from the pull-down menu.
ID: Input the inner diameter of this annulus section.
Top M. Depth: Input the top depth of this annulus section. The top depth of open hole interval
will amount to the bottom depth of casing automatically.
Bottom M. Depth: Input the bottom depth of this annulus section. (the bottom depth of open
hole interval is -9999 by default).
Attention: When inputting an annulus list, you should input in the sequence as follows:
conductor (or riser), casing to open hole (from top to bottom).
Tubular Run: the interface is as shown in Figure 2-7.

62
Software Manual of SK-CMS Mud Logging Unit

Figure 2-7 Initialization Interface of Tubular Run (Tubular Assembly)

Tubular Run is a pipe string composed of elements of drilling tool or casings. Tubular run
initialization refers to inputting property data of drilling tools or casings for wells in which tubular has
been or has not been run in, so as to provide data for accurate calculation of hydraulic, circulation
parameters and mechanic analysis of drilling tool. And at the same time, it is also convenient for
operators to track and manage drilling tools (or casings). Right click on the table and a menu will pop
up. You can append, insert and delete a tubular section in it respectively. Main interface of Tubular
Run includes the following two option windows:
Tubular Assembly:
It mainly refers to the BHA composed of drilling tools (or casings).
Run Number: Input the name of the newly built tubular run in the input box. Data associated
with tubular assembly will be saved in the database with Tubular Run No. as the
keyword.
BHA Number: The BHA number corresponding to this tubular run.
Run Type: There are totally 8 run types as follows: drilling, reaming, borehole treatment,
casing running, well cementation, test, fishing and coring. Each run type has the
same and also different run element tool with others. Click on the pull-down menu
button to select the type of the tubular run.
Start M. Depth: Input the current well depth of this tubular run.
Started: Input the start time of this tubular run.
Run Reason: Input the reason for running tubular.
Comment: Input the comments associated with this tubular run. And the content will be saved
in comment repository.
Kelly Saver Sub: Input the length of kelly-saver sub. This parameter is used to calculate total
length of drilling tools.

63
Software Manual of SK-CMS Mud Logging Unit

Slip height: Input the height of slip. This parameter is used to calculate the setting position of
bit.
Drill Pipe Box End Length: Input the length of drill pipe box end. This parameter is used to
calculate the setting position of bit.
Kelly Length: Input the effective length of kelly. This parameter is used to calculate some
parameters such as end depth, Kelly-in and kelly-up. In the condition of top drive drilling,
select top drive and input 0 in the Kelly Length box. Then the computer program will append
judgment on the top drive run. In this condition, kelly-in and kelly-up are of no effect.
Total Length: This item is only used for display and it is not editable. After the BHA data and
total length of drill pipe are inputted in the Tubular Assembly window, the
program will calculate the total length of drilling tool automatically (total length of
drilling tool = kelly-saver sub + total length of drill pipe + BHA).
BHA Length: This item is only used for display and it is not editable. After the BHA data are
inputted in the Tubular Assembly window, the program will calculate the
total length of BHA automatically.
Tubular Assembly:
There is a tubular assembly list box for display on the left side. The input box on the
right side is used to select the specification data of each element that constitutes the tubular:
Element Type: Select an element type from the pull-down menu (the element type in this
menu is corresponding to the run type).
Element Amount: Input the total single amount of this element type (e.g. how many drill
collars with the same size are there in the BHA).
Total Length: Input the total length of tubular with the same element type.
OD and ID: Input the ID and OD of each element type respectively.
Single /Stand: Input the amount of singles constituting each stand. A stand is generally
composed of 3 singles. For some small rigs, a stand is composed of 2 singles. This
parameter is used to calculate stand in Pipe/Casing window.
Avg. Single Length: This item is only used for display and it is not editable. It refers to the
average single length of this element. After the Element Amount and Total
Length being inputted, the program will calculate average single length
automatically.
Fishing Neck: Input the length of fishing neck.
Joint Fraction: It refers to the ratio of joint length to tubular total length for some elements
(such as drill pipe and drill collar). For common API drill pipes, it can be 0.2-0.5.
Conn. OD: Input the outer diameter of the joint.
Conn. OD: Input the inner diameter of the joint.
Nominal Linear Weight: This item is only used for display and it is not editable. After
inputting the ID and OD of this element, the program will calculate the nominal
weight per meter automatically.
Actual Linear Weight: Input the actual nominal weight per meter of this element type. It will
be used in calculation of theoretical hang weight and affects the calculation of
WOB
Copy Tubular Assembly: If the BHA of this drilling tool is identical or similar with that of a
drilling tool which has been run into the well before, you can directly click
on Copy Tubular Assembly button and then call in the corresponding
tubular assembly from the pop-up dialog (as shown in Figure 2-8).

64
Software Manual of SK-CMS Mud Logging Unit

Figure 2-8 Selection of Copy Tubular Assembly

Select Bit and click on Bit Data button, and a dialog of bit, as shown in the following
figure, will pop up.

Figure 2-9 Bit Initialization Interface

1. Comment: Users can input the comment information associated with bit here. This
information will be saved in CMS comment repository.
2. Bit Number: Input the No. of the bit.
3. Manufacturer: Input the name of the manufacturer.
4. Bit Name: Input the model number of bit.
5. Bit Type: Select type of the bit from the pull-down menu. The optional bit types include
milling teeth cone bit, tungsten carbide tooth cone bit, PDC bit, diamond bit,
coring bit and blade bit.
6. IADC Code: Input the IADC code of this bit.
7. Serial Number: Input the serial number of this bit.
8. Length: This item is only used for display and it is not editable. Bit Length: If the bit length
has been input in the tubular assembly window, the program will call in the
parameter automatically when the window is open.
9. Diameter: This item is only used for display and it is not editable. If the bit length has been
input in the tubular assembly window, the program will call in the parameter
automatically when the window is open.
10. Cost: Input the cost of this bit.
11. Start Time: It equals to the Start Time in tubular assembly window.

65
Software Manual of SK-CMS Mud Logging Unit

12. Rerun: Input the number of running-in times. Input 0 for the first time of a new bit being
lowered into the well and 2 for the second time and by analog.
13. Start Depth: This item is only used for display and it is not editable. It equals to the Start
Depth in tubular assembly window.
14. Last Footage: For a bit that has been lowered into a well for 2 times, if it is required to
accumulate footage based on that being made last time, then you can input the
footage when it was lowered into the well last time here.
15. Last Drilling Time: For a bit that has been lowered into a well for 2 times, if it is required to
accumulate net drilling time based on that being used last time, then you can
input the net drilling time when it was lowered into the well last time here.
16. Last Rot. Times: For a bit that has been lowered into a well for 2 times, if it is required to
accumulate total revs based on that of last time, then you can input the total revs
when it was lowered into the well last time here.
17. Formation abra. Coef: Input the abrasion coefficient of formation. This parameter is used to
estimate the tooth wear and axis exponents by the formation.
18. TFA: Under condition that the total nozzle flow area is known, you can input this value
directly in TFA input box.
Water Hole: Input the diameter, discharge coefficient and type of each water hole respectively.
Then the program will calculate the TFA of the bit automatically.
Click on Run Summary button and a dialog of Run Summary will pop up (as shown in
Figure 2-10).

Figure 2-10 Run Summary of Bit


Click on Calculate button and you can obtain the net footage, cumulative net footage, net drilling
time, reaming time, circulation time, cumulative time, average vertical pressure, average ROP, average
WOB, maximum WOB, average mud density, average RPM, maximum RPM, average torque and
maximum torque of the bit.

66
Software Manual of SK-CMS Mud Logging Unit

Click on Condition Out button and dialog of Bit Condition Out will pop up (as shown in
Figure 2-11).

Figure 2-11 Bit Condition Out Report


Input the actual abrasion of the bit and the pullout reason according to bit condition out report.

Select Mud Motor and click on Mud-driver Property button, then the dialog as shown in
Figure 2-12 will pop up.

Figure 2-12 Mud Motor Initialization Interface


Number: Input the No. of mud motor.
Manufactory: Input the name of the manufactory.
Name: Input the name of the mud motor.
Serial Number: Input the serial number of this mud motor.
Length: This item is only used for display and it is not editable. If the length of mud motor has
been input in the tubular assembly window, the program will call in the parameter
automatically when the window is open.
Out Diameter and In Diameter: This item is only used for display and it is not editable. If the
OD and ID of mud motor have been input in the tubular assembly window, the
program will call in the parameter automatically when the window is open.
Total Flow Area: It is the total nozzle flow area of the mud motor.
Rotary/Flow: How many revolutions the mud motor produces in the unit flow.
67
Software Manual of SK-CMS Mud Logging Unit

Min Pressure: When current pump pressure minimize set value of pump pressure, mud
motor will calculate the rotary speed.
Min Flow: When current flow rate minimize set value of flow rate, mud motor will
calculate the rotary speed.

Pipe/Casing
Click on Pipe/Casing to enter the interface of Pipe/Casing (Figure 2-13).

Figure 2-13 Tubular Run Initialization Interface (Pipe/Casing)

With the drill pipe (or casing) data input in the table, you can input all pipes/casings (including the
drill pipes/casings on the well site and that have been run into the well) data that have been measured
into the datasheet orderly in accordance with running-in sequence (wells site No.), so as to carry out
tracking and management during drilling or casing running. Right click to append, insert and delete
drilling tool data in the pop-up menu, or alternatively, operate using the corresponding shortcuts in the
menu.
No.: This item doesn't need to be inputted by users. It will be generated in turn from 1 by the
program. It is not editable.
Filed No. : It is the number or steel grade of single drill pipe (or casing).
OD: Input the outer diameter of drill pipe (or casing).
ID: Input the inner diameter of drill pipe (or casing).
Single Length: Input length of each single.
Add-up Length: It is the cumulative length of drill pipe (or casing) and unnecessary to be
input. The program will calculate them automatically.
Stand Amount: It is the No. of each stand constituted by drill pipes. This item doesnt need to
be input. The program will calculate them automatically.
End Depth: The well depth when the kelly is completely drilled in after the current single is
connected. This item doesnt need to be input. The program will calculate them automatically.
Lock Bit Position: It refers to the position of bit after drilling tool setting. The program will
68
Software Manual of SK-CMS Mud Logging Unit

calculate the bit setting position of the current single automatically according to
the total length of drilling tool (not including the length of kelly-saver sub), slips
height and the length of drill pipe box end automatically.
In-well: It is used to identify if the current single is lowered into the well. 0 represents it has
not been lowered into the well and 1 represents it has already been lowered into the
well. The program will default the in-well identification of the last single
automatically. Users can adjust in-well identification conveniently through the drilling
tool management function of real-time setup program (See Real-time Setup section).
Remark: Users can input relative comment information about running-in status of drilling
tool.
You can realize some auxiliary operations to the drill pipe table using the following buttons:
Refresh: It is used to refresh the calculation data in pipe/casing data table. After modifying
the single length in the datasheet, you can recalculate and refresh some
cumulative parameters by clicking on this button.
Export Pipes: It is used to export the current pipe/casing data list into Excel so as to edit and
print.
Import Pipes: It is used to import drilling tool data into the drilling tool table from Excel.
Attention: The imported format should be the Excel format that generated by exporting drilling tool
table.
Copy Pipes: It is used to import the drill pipe data of tubular run of last time from database.
After a tubular run is built for each tripping operation, the drill pipe data
associated with this tubular run can be imported from the drill pipe data of
tubular run of last time.
Mud: The interface is as shown in Figure 2-14.

Figure 2-14 Mud Initialization Interface (Mud)


The mud report input window is used to input the full performance analysis report of mud provided
69
Software Manual of SK-CMS Mud Logging Unit

by mud engineers. These analysis data will be used to calculate hydraulic parameters in real time or
offline, and they can provide data for completion data processing. The window includes two option
windows: Mud and Other.
Option window of Mud:
Report No.: Click on the pull-down menu button in the input box and select an existing mud
report; or click on Create button on the right side and input the name of the
newly built mud report in the input box. Data associated with mud reports will be
saved in the database with Report No. as the keyword.
Report Date/Time: Input the date of this report.
Mud Base: Click on the pull-down menu button in the input box and select the currently used
mud base from the menu.
Mud Type: Click on the pull-down menu button in the input box and select the currently used
mud type from the menu.
Hydraulic Calculation Model: Click on the pull-down menu button in the input box and select
the hydraulic calculation model to be used currently from the menu. The
optional calculation models include: Bingham model, Power Law and
Newton model.
Sample Depth: Input the well depth from which the sample used in full performance analysis
of mud is taken.
Sample Location: Click on the pull-down menu button in the input box and select the position
from which the sample used in full performance analysis of mud is taken in the
menu.
10 sec Gel: Input the initial shearing force value of the current mud (i.e. the 10s shearing
force).
10 min Gel: Input the final shearing force value of the current mud (i.e. the 10 minute
shearing force).
Cake: Input the mud cake value of the current mud.
Mud Density: Input the measured density of the current mud.
Sand: Input the sand content of the current mud.
Viscosity Temp: Input the measured funnel viscosity and the temperature of the current mud.
PH: Input the PH and temperature of the current mud.
Filtrate: Input the filtrate value of the current mud.
Critical Reynold: Input current critical Reynold coefficient of the mud.
Temperature: Input current temperature of the mud.
AV: Input the apparent viscosity of the current mud. Input 300 and 600 readings in
rotational viscosimeter and click on Annulus/Tubular button. Then the
program will calculate the apparent viscosity automatically.
PV: Input the plastic viscosity of the current mud. Input 300 and 600 readings in rotational
viscosimeter and click on Annulus/Tubular button. Then the program will
calculate the plastic viscosity automatically
YP: Input the yield value of the current mud. Input 300 and 600 readings in rotational
viscosimeter and click on Annulus/Tubular button. Then the program will
calculate the yield value automatically
N: Input the flow exponent of the current mud (i.e. N). Input 300 and 600 readings in
rotational viscosimeter and click on Annulus/Tubular button. Then the
program will calculate the flow exponent automatically

70
Software Manual of SK-CMS Mud Logging Unit

K: Input the consistency coefficient of the current mud (i.e. K). Input q 300 and q 600
readings in rotational viscosimeter and click on Annulus/Tubular button. Then
the program will calculate the consistency coefficient automatically
Option window of Other: Click on Other button and the window as shown in Figure 2-15
will be displayed.

Figure 2-15 Mud Initialization Interface (Other)


Mud Report Details: If required, input other data associated with mud report.
Oil-base Mud: If required, input other data associated with oil-base mud.

Formation Pressure: The interface is as shown in Figure 2-16.

71
Software Manual of SK-CMS Mud Logging Unit

Figure 2-16 Formation Pressure Initialization Interface

Determine the normal trend line of normal D exponent, Sigma exponent and mudstone density
to calculate formation pressure gradient in real-time.
Normal Grad: Input the hydrostatic gradient of the currently evaluated formation. This value
is related to the density of formation water in different formation and
usually adopts an estimated value between 1.00 and 1.07;
Mudstone Density Model: Select a linear or logarithmic model.
DCS Exponent: Input the coefficient a and b of DCS exponent trend line equation.
Mudstone Density: Input the coefficient a and b of mudstone density trend line equation.
Rock Matrix: Input the coefficient a and b of stress coefficient trend line equation of rock
matrix.
Rock Poisson Ratio: Input the coefficient a and b of rock Poissons ratio trend line equation.
Overburden Pressure Grad: Input the coefficient a, b and c of overburden pressure trend line
equation.
Sigma Exponent: Input the depth zero trend value of Sigma exponent, the intercept of
referenced trend line and the intercept of the first referenced trend line.

Kick Tolerance: The interface is as shown in Figure 2-17.

72
Software Manual of SK-CMS Mud Logging Unit

Figure 2-17 Kick Tolerance Initialization Interface

This window is used to set up real-time calculation of overflow volume and safety allowance of
three different kick tolerance parameters (kick tolerance 1, kick tolerance 2 and kick tolerance 3). Kick
Tolerance refers to the difference between the equivalent density of formation pressure and the density
of mud being used in condition that the well can be shut in safely with no hydraulic formation fracturing
occurring after well kick occurs. It can be calculated using the following formula and safety allowance.
Dw ( M L - M d ) - ( H k M d )
Kt =
Dv
Where:
K t Kick Tolerance
Dw --- Vertical depth of weakest formation point
M L --- Equivalent density of formation fracturing pressure
M d --- Current mud density
H k --- Overflow height calculated from the overflow volume of well kick
Dv --- Current vertical depth
Input the vertical depth at which the overflow volume set point of well kick begins to take effect.
Then input the overflow volumes and safety allowances of three kick tolerances respectively.
Rig: The interface is as shown in Figure 2-18.

73
Software Manual of SK-CMS Mud Logging Unit

Figure 2-18 Rig Initialization Interface

Rig Name: Input the name of the newly built rig in the input box. Data associated with rig
equipment will be saved in database with Rig Name as the keyword.
Rig Type: Click on the pull-down menu button in the input box and select the rig type.
Reference: It refers to the reference point used for well depth calculation. You can select the master
bushing/rotary table plane or casing flange as the reference point for well depth
calculation. The master bushing/rotary table plane is the reference point for well depth
calculation by default.
Datum Level: Click on the pull-down menu button in the input box and select mean sea level or
ground surface from the menu as the datum level. When the rig type is Onshore rig, the
ground surface is the datum level by default, otherwise mean sea level will be the
datum level by default.
Driver: Select the power drive mode of the current rig. The optional modes are kelly drive and
top drive.
Surface Manifold: Surface manifold specification data are mainly used for estimation of data such
as pressure loss in surface manifold and surface circulation time.
Drilling Contractor: Input the name of the drilling contractor.
Ref -> Datum: Input the distance between the reference point and the datum level.
Ref -> KB: Input the distance between the reference point and the master bushing/rotary table
plane.
KB -> FlowLine: Input the distance between the master bushing/rotary table plane and the outlet

74
Software Manual of SK-CMS Mud Logging Unit

pipe of mud.
KB -> Annular: Input the distance between the master bushing/rotary table plane and the annular
liquid level mud.
Ground Elev: Input the ground elevation of well head.
KB Formation: Input the height between surface and the master bushing/rotary table plane.
Rig Cost/Day: Input the day rate of the rig.
Block Weight, Kelly Weight and Rotary Hose Weight: Input the actual weights of traveling block,
kelly and rotary hose respectively. These parameters will
be used in calculation of theoretical hang weight.
Rope Lines: Input the number of strands of steel cable that passes the pulley block of traveling
block.
Contracted: Input the date when the contract is executed by the drilling contractor.
Released: Input the date when the contract of the drilling contractor is terminated.

Mud Pit & Mud Pump: the interface is as shown in Figure 2-19.

Figure 2-19 Mud Pit & Mud Pump Initialization Interface

Mud Pit: This table is used to designate the function of the mud pit to calculate the total pit volume
of different mud pits respectively.
Pit No.: It is the No. of the mud pit.
Pit Name: Input the name of the current mud pit.
Active: Select the activity status of the current mud pit. If this mud pit is not active, it will not
be used in the calculation.
Application (used for drilling, trip out, killing well, treatment or backup): Select the
application of the current mud pit.
Mud Pump: This table is used to set up data of mud pump.
No.: The No. of the mud pump.

75
Software Manual of SK-CMS Mud Logging Unit

Name: Input the name of the mud pump.


Status: Select the activity status of the current mud pump. If this mud pump is not active, it
will not be used in the calculation.
Type: Click on the pull-down menu and select the mud pump type. The default type is triplex
pump.
Mode: Click on the pull-down menu and select the operation mode of mud pump type from it
(single action or double action).
Cylinder Liner Diameter: Input the cylinder liner diameter of the mud pump.
Stroke: Input the stroke of the mud pump.
Tie Bar Diameter: This item only needs to be inputted when the operation mode of mud pump
is double action.
Efficiency: Input the charging efficiency of the mud pump.
Stroke Capacity: Input the data above and click on Calculate button to figure out the stroke
capacity of this pump. If the type, operation mode, cylinder liner diameter, stroke
and charging efficiency of the drilling pump are unknown, you can directly input the
stroke capacity of the pump (only stroke capacity is needed for calculation of inlet
flow rate).

Logging Unit: The interface is as shown in Figure 2-20.

Figure 2-20 Logging Unit Initialization Interface


Instrument
Instrument No.: Input the name or No. of the logging unit.
Crew No.: Input the No. of the logging crew.
Chromatogram
Chrom Type: Select to use single chromatogram or double chromatograms in operation.
Double chromatogram mode refers to analyzing inlet chromatogram and outlet
chromatogram simultaneously to obtain differential chromatogram data.
Out-Trap Delay: Input the measured time delay of outlet chromatogram sample gas pipeline.

76
Software Manual of SK-CMS Mud Logging Unit

It will be used to calculate outlet chromatogram sampling time and


judge the efficiency of chromatographic analysis data.
Out Cycle: Input the analytical cycle being used by the current outlet chromatographic
instrument. This value is used to calculate outlet chromatogram
sampling time.
In-Trap Delay: Input the measured time delay of inlet chromatogram sample gas pipeline. It
will be used to calculate inlet chromatogram sampling time and judge
the efficiency of chromatographic analysis data. When the selected
operation mode is single chromatogram, this item is in grey and
unusable status.
In Cycle: Input the measured time delay of inlet chromatogram sample gas pipeline. This
parameter will be used to calculate inlet chromatogram sampling
time. When the selected operation mode is single chromatogram,
this item is in grey and unusable status.
Gas Parameters: This program interface is as shown in Figure 2-21.

Figure 2-21 Gas Parameter Initialization Interface

This window is used to input initialization data associated with some calculated real-time
parameters. These real-time calculations include: SPI (Surface Potential exponent), CGS (subsurface
gas saturation), standardized total hydrocarbon and chromatographic analysis result, etc.
SPI/CGS:
Gas Compress Factor: Input the gas compression factor used for calculation of CGS
parameters.
Avg Ground Temp: Input the average ground temperature in the current climate condition.
Ground Temp. Grads: Input the geothermal gradient used for calculation of SPI/CGS
parameters.
Gas Normalization:
Bit Diam: Input the normal bit diameter used for calculation of standardized total
hydrocarbon.

77
Software Manual of SK-CMS Mud Logging Unit

Mud Flow: Input the normal mud flow rate diameter used for calculation of standardized total
hydrocarbon.
Drill Speed: Input the normal drilling speed used for calculation of standardized total
hydrocarbon.
Degassing Efficiency: Input the degasser efficiency used for calculation of standardized total
hydrocarbon.
Gas Ratio Cutoff
Depth & Vert Depth: Input the well depth and vertical depth used for judgment of
chromatographic analysis result. The following judgment cutoff can take effect
only when the current well depth or vertical depth is greater then specified well
depth or vertical depth.
Wh Gas Cutoff: Input the WH gas cutoff value used for judgment of chromatographic analysis
result.
Wh Oil Cutoff: Input the WH oil cutoff value used for judgment of chromatographic analysis
result.
Wh Res. Oil Cutoff: Input the WH residual oil cutoff value used for judgment of
chromatographic analysis result.
Bh Gas Cutoff: Input the BH gas cutoff value used for judgment of chromatographic analysis
result.
Ch Oil Cutoff: Input the CH gas cutoff value used for judgment of chromatographic analysis
result.

Company: This program interface is as shown in Figure 2-22.


This window is used to input information of oil companies, operators, service companies and
relative personnel associated with drilling operations (name, address, contact method and post, etc.). If
necessary, users can input and save them separately.

78
Software Manual of SK-CMS Mud Logging Unit

Figure 2-22 Company Initialization Interface


WireLine: This program interface is as shown in Figure 2-23.
This window is mainly used to input information associated with well logging projects.

Figure 2-23 Wire Line Initialization Interface

WireLine Job Name: Input the name of a new job in the input box.
Wireline Depth: Input the well depth in this wire line logging run.
Start Date: Input the date when the wire line logging begins.
End Date: Input the date when the wire line logging finishes.
Wireline Type: Click on the pull-down menu button and select the property of this wire line
logging run (correlation wire line logging, intermediate completion wire line logging,
completion wire line logging and others) from the menu.
Wireline Class: Click on the pull-down menu button and select the well logging serials of this wire
line logging run from the menu.
Instrument Model: Input the model of well logging instrument.
Bottom Temp: Input the highest temperature of the bottom in the process of wire line logging.
Depth: Input the depth of directional survey corresponding to the largest borehole inclination in
this wire line logging run.
Azimuth: Input the azimuth corresponding to the largest borehole inclination in this wire line
logging run.
Max. Inclination: Input the maximum borehole inclination in this wire line logging run.
Comment: Input the instruction or comment information associated with this wire line logging run.
And it will be saved in comment repository.
Wireline Items: Input the number, type, scale, start depth and end depth of the project.

79
Software Manual of SK-CMS Mud Logging Unit

Chapter 3 Unit Setup Program


V.1Overview
During on-site logging operations, the condition that different users use different unit systems such
as metric unit, English unit or combination of metric and English units may be encountered. Sometimes,
it is required to convert specific parameters between different unit systems. The unit setup program is an
application used to perform unit conversion and setup. It can inform the PCP the parameter units that
have been changed in the form of message. Then the PCP will distribute the message to the whole
system so as all relative parameters can convert the current unit into that set by users simultaneously.
The unit setup program has the following functions:
A unit conversion system for English and metric unit to change, set, append or delete the unit of
parameters.
Divide the units of all parameters that appear in CMS into 130 categories, 65 of them are
commonly used, in accordance with clustering mode, nearly covering all parameters involved in
drilling engineering and geological logging.
Adopt retrieval inquiry of unit identification. It is rapid and convenient.
Be able to save the CMS unit set customized by users into a single name so as to invoke rapidly.
Inform the applications in whole system of the conversion and modification of unit in the form of
real-time message to change the unit of all parameters associated with this unit identification.
The unit setup program can be run on any computer in the CMS simultaneously. To run the
parameter initialization program, you can click on Unit Setting icon in the System program package
on PCP interface. You can also double click on that is in the installation directory of the
system (\Create Mudlogging System\bin). The main interface of unit setting is shown as follows
(Figure 3-1):

80
Software Manual of SK-CMS Mud Logging Unit

Figure 3-1 Main Interface of Unit Setting Program

V.2Operation and Setup


Change parameter unit
As shown in Figure 3-1, there is a unit classification table in the upper part of main interface of
unit setting program, which lists unit type (i.e. identification), unit description and the units being
used in the current system respectively. The units of all parameters in CMS are divided into 130
categories and 65 of them are commonly used units. Click on Show All Units button beneath the unit
classification table and the names of all 130 categories of units will be displayed. To modify the unit of
any parameter, you can find the Unit Type corresponding to this unit (i.e. identification, can be looked
up in CDA). Then find and select this unit type from the unit classification table of unit setting program.
The current unit and its conversion factor A and B, decimal digit will be displayed in the lower part of
this window, and at the same time, different optional units for the current unit type will be listed in the
unit list box (Figure 3-2). Select required unit, set decimal digit needed to be kept and click on OK
button, then the unit setting program will transmit the message of Unit changed to the PCP.

81
Software Manual of SK-CMS Mud Logging Unit

Figure 3-2 Changing Current Unit

Add/delete parameter unit


Besides all parameter units currently available in CMS, users can add their own units as required.
To add a new unit in the unit type, you can select the unit type in the unit classification table (such as
CN) first and click on Add Unit button beneath the unit list (Figure 3-1) then the main interface of
unit setting program will change as shown in Figure 3-3. Modify the contents in input boxes of Current
Unit, Convert Factor, Data Width and Decimal into those of the new unit (such as adding a unit
of electrical conductivity: S/m). Then click on Finished button and a prompt window as shown in the
following figure will pop up for confirmation (Figure 3-4).

82
Software Manual of SK-CMS Mud Logging Unit

Figure 3-3 Adding New Units in Current Unit Type Figure 3-4 Unit Setting --- the
Confirmation Window of Adding the New Unit

Click on Yes, then a new unit S/m will be added in the unit list box of unit type CN.
Similarly, to delete an existing unit from the unit list box of a unit type, you can select this unit and
then click on Delete, then a prompt window as shown in the following figure will pop up for
confirmation (Figure 3-5).

Figure 3-5 the Pop-up Window after Deleting all the Units
Click on Yes, then the selected unit in the current unit list box will be deleted.
Attention: It is strongly recommended not to delete existing parameter units in CMS during this
operation. Save the current unit set as a name of unit set so as to be convenient for invoking next time.
In fact, there is a systematic unit set named default in the CMS database. Each application in
CMS will invoke the default unit set first when they start up. Users can re-save the unit set composed
of all unit types set currently as a unit set name so as to be convenient for invoking the required unit set
directly, without remodifying the current parameter units one by one.
(as shown in Figure 3-6)
After setting the units of required parameters in turn, check Save system units as to select this
option, which is in the lower part of the main interface of unit setting program. Then input the
name (such as ldft) to be saved in the following input box. Click on Save button, then the
current unit set named "ldft" will be saved in the database (Figure 3-6).
The unit set that CMS currently using is the default unit set. If requiring to use the just saved
ldft unit set, you can check Change the system units to be based on, then select ldft from the

83
Software Manual of SK-CMS Mud Logging Unit

following pull-down list box. Click on Ok button, then all parameters in the system will use the
units in ldft unit set as current units (Figure 3-7).

Figure 3-6 Saving the Unit Set as a Name

Figure 3-7 Invoking a set of Saved Units

84
Software Manual of SK-CMS Mud Logging Unit

Chapter 4 Alarm Setup Program


(a) Overview
Alarm setup program is used to set alarm threshold of real-time parameter, sampling alarm, well
depth and clock alarm interval. All alarms are in both audible and visual forms and can be customized.
The alarm setup program can inform the data monitoring program the update message of alarm
parameter setup condition through PCP in real time. When the set parameter alarm condition are
satisfied, the data monitoring program will give acoustic and optical alarms in different forms and write
the alarm information into an alarm log for inquiry at any time.
The alarm setup program can be run on any computer in CMS simultaneously. To run the
parameter initialization program, you can click on Alarm Setting icon in the System program
package on PCP interface. You can also double click on that is in the installation
directory of the system (\Create Mudlogging System\bin). The main interface of unit setting is shown
as follows (Figure 4-1).

Figure 4-1-Main Interface of Alarm Setting Program

(b) Operation and Setup


Alarm setting of real-time parameter
As shown in Figure 4-1, the alarm setup of real-time parameter can be carried out according to the
following steps:
Select a parameter group to which the parameter may belong from the parameter group list box of
Source. Then the name of parameters related to this parameter group will be listed in the
parameter list box on its right side.

85
Software Manual of SK-CMS Mud Logging Unit

Find and select the parameter (such as standpipe pressure) of which an alarm needs to be set from
the parameter list box. Click on > button or double click on the parameter name, then the
parameter will be displayed in the rightmost Alarm Para List box.
Repeat the steps above to select more alarm parameters.
Select a parameter from the Alarm Para List box and set the following items in the column of
Alarm Threshold respectively.
Time Delay (s): Set the delay time for giving alarms when the alarm threshold is satisfied. It can
avoid the influence of disturbance or peak value occasionally occurring in parameters.
Min/Max: Set the minimum/maximum limit at which the alarm parameter satisfies the alarm
condition. When the current value is lower than the minimum limit of alarm, a
twinkling blue alarm prompt will appear for the parameter on the data monitoring
window. When the current value is higher than the maximum limit of alarm, a
twinkling red alarm prompt will appear for the parameter on the data monitoring
window (as shown in Figure 4-2).

Figure 4-2 The twinkling alarm appears when threshold is satisfied


Threshold Method Setting: Set the mode to satisfy the alarm threshold. It is classified into 3 types
as follows: fixed threshold, relative threshold and percentage threshold. When Relative or Percent
is checked, the max/min limit alarm threshold setup will be disabled.
Absolute: It refers to the alarm threshold mentioned above;
Relative: It means that the system will give an alarm when the current value is higher or lower than
a value in the set relative threshold.
Percent: It means that the system will give an alarm when the variance between the current value
and last value exceeds the set percentage.

Special alarm setting


It includes three special alarms of sampling alarm, well depth alarm and clock alarm.
Sampling alarm:
It is used to set up the base value and interval of sampling alarm. Check sampling alarm and
input the base value and interval of cuttings lag depth. When the increment between cuttings lag
depth and basic depth exceeds the set depth interval, a sampling prompt window as shown in
Figure 4-3 will pop up on the data monitoring screen.
The sound of sampling alarm can be customized. You can check Custom Audio, click on
button and select a required sound file from the directory where sound files are saved.
External Prompt: Select the alarm that can carry out acoustic and optical alarms outdoors (relative
setting is necessary for acquisition program).
Depth Alarm
It is used to set up the interval of equispaced well depth alarm. Check Depth Alarm and input
the interval of well depth alarm in the following input box. The sound of well depth alarm can be
customized.

86
Software Manual of SK-CMS Mud Logging Unit

Figure 4-3 Sampling Prompt Window on the Data Monitoring Screen


Clock Alarm
It is used to set up the interval of time prompt. Check Clock Alarm and input the interval of
clock alarm in the following input box. The sound of well depth alarm can be customized.
Alarm Type Setting
It is used to set up the mode of real-time parameter alarm (adopting audio alarm, twinkling prompt,
text prompt, log and external prompt). Users can select multiple alarm modes. When all alarm setup
above is finished, click on OK button and the alarm setup program will send the message of Alarm
condition changed to the PCP, and at the same time, the PCP will forward this message to other
computers in CMS so that the data monitoring program can give alarms in accordance with the up to
date alarm setup conditions.

Attention: This function will be realized only when the data monitoring program runs.
Select special and parameter external alarms to carry out external alarm (relative
setting is necessary for acquisition program).

87
Chapter 5 Data Acquisition Program
VI Overview

This chapter introduces detailed function and setup of data acquisition


program and its roles in CMS system.

Attention: To run the data acquisition program, you must install the dotting card driver.
In CMS, the data acquisition program is an application used to acquire and receive data from real-
time acquisition device such as external sensors, chromatograph, nonhydrocarbon analyzer and
carbonate analyzer, etc. Thus it can only run on acquisition computers with acquisition device
mentioned above. The data acquisition program mainly has functions in the following aspects:
Select and set up acquisition device and its communication method to make it suitable to
configuration requirements of hardware.
Set up channels for acquired data and search and set up nodes for CAN bus type sensor;
Carry out multi-point calibration to acquisition parameters and convert electrical signals that have
been acquired in real time into meaningful engineering physical parameters through calibration
scale;
Acquire four engineering parameters of hook height, hook load, torque and rotary speed rapidly
and send them to database for saving;
Retest the data saved in nodes of CAN bus type sensors such as drawworks and pump stroke, etc;
Display the current electrical signals of acquisition parameters and their corresponding engineering
physical parameters in real time, and be capable of simulating acquisition parameters.
Send all acquisition parameters to the real-time processing program in interval of 200ms for
calculation, judgment and processing.
In addition, for a CAN bus type mud logging unit, the data acquisition program can run on a main
acquisition computer and a secondary acquisition computer simultaneously. Under normal conditions,
the system accomplishes acquisition tasks by the main acquisition computer and the secondary
acquisition computer only receives and monitors data flow on network. When the main acquisition
computer breaks down due to software or hardware problems, the system will switch to the secondary
acquisition computer automatically or manually to continue acquisition works so as to realize data
redundancy in the sense of software and hardware.
The CMS will send the calibrated and processed data that have been acquired by the data
acquisition program to the real-time processing program (see the following sections) for necessary
calculation, comparison and judgment on obtain required derived parameter.
To start the data acquisition program, you can select the Acquisition Setup program package
from the PCP running on the acquisition computer and then click on Data Acquisition icon. Or
alternatively, you can double click on the icon of in the system installation directory
\Create Mudlogging System\bin to start this program manually. The main window of the data
acquisition program is as follows (Figure 5-1).

88
Figure 5-1 The main window of the data acquisition program
VII Operation and Setup
The window as shown in Figure 5-1 will pop up after starting data acquisition program. If the
hardware acquisition device (sensor and chromatograph, etc.) has been connected properly and in
working state at that time, then there should be data received from acquisition device displayed in the
acquisition parameter display area (see Figure 5-1). If no acquisition data are observed, you can click on
the "Acquisition" button in the menu bar and inspect if the option of "Start/Stop Acquisition" is checked
(if the option is checked) from the pop-up menu. If this option is not selected, you can click on this
option to start data acquisition; if it has been selected but acquisition data are not received yet, that
means there exist problems in hardware such as acquisition device, etc. You can inspect hardware first
and then start data acquisition.

Menu bar
File (F)
To stop running acquisition program, you can click on "File (F)" button and select "Exit (E)"
option from the pop-up menu (or click on the close button on the top right corner of the window
directly), then a prompt window will pop up to request you to confirm if you really want to exit the
program.
Attention: Since data acquisition is the "Headstream" of CMS data flow, stopping data acquisition
means to stop all processing work (calculation, display, save and print) of CMS to real-time data.
Therefore, users should be cautious before exiting the acquisition program. In normal process of logging
operation, you should always ensure that data acquisition program runs normally. In order to prevent
data acquisition program from closing due to misoperation, it is suggested to set the data acquisition
program as Automatic Restart in the Real-time ControlProgram Management window of PCP.

Setting (S)
There are three options including "Device (D)", "Channel (N)" and "Calibration (C)" in the Setup
(S) menu (Figure 5-2). Before starting data acquisition, you should inspect and confirm the settings of
these three items to make them meet current device configurations and actual on-site conditions.
After data acquisition starts, the options of "Device (D)" and "Channel (N)" in acquisition setting
will become grey unusable status. To start these two options, you must stop data acquisition first before
carrying out device or channel setup.

89
Figure 5-2 Setting window
Device (D)
Click on "Device (D)" option to pop up a device setup window as shown in Figure 5-3.

Figure 5-3 Device window


The available acquisition devices in CMS are listed in the list box on the left part of the window;
the right part of the window can be used to set up the communication method of selected acquisition
device. Click on the device to be used in the device list box and select the data communication method
(serial port, CAN bus or network) of this device from the pull-down box of "Data Source". For SK-
3Q04 rapid chromatograph, two communication methods, serial port or network, can be used. Its setup
method is as follows (Figure 5-4).

90
Figure 5-4 Device Setting window
Communication method of network: Select UDP in the pull-down box following Protocol.
Attention: You should not select TCP/IP. Input network port number of acquisition computer
receiving SK-3Q04 chromatogram data in the box after Local Port; input IP address of SK-3Q04
chromatograph in the box after Remote Address; input network sending port number of SK-3Q04
chromatograph in the box after Remote Port.
Explanation: You can designate and set up Local Port and Remote Port number through
3Q04.cfg file in the software installation directory \3Q04 of SK-3Q04 chromatograph and set up
Remote Address through WATTCP.cfg file in the software installation directory \3Q04 of SK-3Q04
chromatograph. These two files are text files, so users can check and modify these two configuration
files in SK-3Q04 as required. For detailed explanation of network configuration of SK-3Q04
chromatogram, please refer to the related SK-3Q04 manual.
After configuration of device is finished, check "Activate" following the device name and click on
"Ok" button, then the activated device can be used for data acquisition.

Channel (N)
Click on "Channel (N)" option to pop up a channel setup window as shown in Figure 5-5.

91
Figure 5-5 Channel setup window

To set up channels for acquisition parameter, you can select a kind of acquisition device from the
pull-down menu of "Device Name" on the top left corner of the window and click on the cell in
"Acquisition Parameter" column corresponding to this channel No., then a pull-down menu button will
appear on the right part of this cell (Figure 5-5). You can realize the setup by clicking on this button and
selecting required acquisition parameter from the pop-up pull-down menu.
For a CAN bus type sensor device, besides selecting acquisition parameter, it is also required to
select the node number corresponding to this sensor and set up scanning period, time-out period and
zero time (Figure 5-5). Click on the cell in "Node Number" column corresponding to the acquisition
parameter, then a pull-down menu button will appear on the right part of this cell. Click on this button
and select the node serial number corresponding to this acquisition parameter from the pop-up pull-
down menu. If there is no the node serial number you require from the pull-down menu, you can click
on the "Scan CAN Node" button on the lower left corner of the window, then a window as shown in the
following figure (Figure 5-6) will pop up.

92
Figure 5-6 Scan Node window

This window is used to search nodes on CAN bus. Click on Scan button on the top right corner
of the window to start node scan.
Attention: This process only costs several seconds. After node scanning is finished, all node serial
numbers that have been found during search will appear in the "Node Number" list in the window. Click
on "Ok" button to save these results. At the same time, you can find the required node serial number in
pull-down menu of "Node Number" cell in the channel setup window (Figure 5-5).
It is also required to set up the "Scanning Period", "Time-out Period" and "Zero Time" of nodes in
the "Channel Setup" window as shown in Figure 5-5. The so-called "Scanning Period" refers to the
sampling frequency of acquisition program to each node data and it is usually defined as 200ms; "Time-
out Period" refers to a time period within which a "Time-out" message will be sent when data of a node
are not received and it is usually defined as 1000ms; "Zero Time" is used to set up the filtering constant
t in node B. The higher the value, the stabler the pump stroke speed or rotary stable speed is, but the
longer the corresponding zero time after the pump or the rotary table is stopped. It is usually 5 by
default and the corresponding zero time is 15s approximately. Users can modify the default setup
mentioned above as required by clicking on the cell to be set, inputting a value directly and then
clicking on "Ok" button to save it.
Please note that in the "Channel Setup" window of CAN bus, the magnitude of "Channel Number"
represents the priority level of the node corresponding to the parameter during data acquisition. Thats
to say that data acquisition is performed in the form of polling, and the smaller the channel number is,
the earlier the node data corresponding to it are acquired. Therefore, when configuring parameter
channels, you'd better to put parameters that need to be acquired relatively fast such as drawworks, hook
load, torque and rotary speed into the forefront to acquire acquisition data with the fastest speed.
Attention: After the channel configuration of acquisition parameter is finished, you must click on
"Setup CAN Channel" on the bottom of channel setup window (Figure 5-5) to active the node, and then
click on the "Ok" button to save the setup results. At the same time, the window will close
automatically.

93
Calibration (C)
Click on "Calibration (C)" option to pop up a calibration setup window as shown in Figure 5-7.

Figure 5-7 Calibration setup window

To calibrate acquisition parameters, you can select the acquisition device to which the acquisition
parameter belongs. Click on the check box of "acquisition device" on the top left corner of the
calibration setup window and select a kind of acquisition device from the pull-down menu, then the
acquisition parameters corresponding to this acquisition device will be displayed in the list box beneath
it. Click on the acquisition parameter to be calibrated, and the calibration properties related to this
acquisition parameter will appear on the right side of the window. In the following sections, we will
illustrate the calibration of several special sensors with calibration of CAN bus sensor as examples:
Filtering coefficient: It refers to eliminate or process unreasonable annoyance values (such as
Peak value) acquired by sensors through certain filtering methods. The available
filtering methods include:
Average value method: Average the set point acquired recently arithmetically for purpose
of smooth processing. You can realize this function by inputting the
acquisition point number to be averaged into the input box of "Filtering
Coefficient".
Competition method: Remove the maximum and minimum values according to method of
competition and then calculate the average value.
Amplitude value correction method: Remove peak according to the amplitude value
correction method.
Attention: This method is not suitable for hook height. You should also be cautious about the hook
load parameter affecting the judgment of light and heavy load; otherwise the well depth will
be inaccurate.
Drawworks (counting) sensor
Drawworks Calibration: It is used to select method for drawworks calibration. In CMS, two
methods can be used to calibrate drawworks sensors. One of them is "Drum Calibration" method, i.e. a
method to obtain hook height through calculation according to inputted initial parameters associated
with drum and drilling line and current drawworks count value. Another method is "Multi-point
Calibration", i.e. establishing the correlation between drawworks count and hook height through at most

94
30 points (see Figure 5-8).

Figure 5-8 Drawworks Multi-point Calibration setup window

Operating method of drawworks "Multi-point Calibration":


"Multi-point Calibration" needs cooperation of two persons (with one on the drilling floor and
another in the instrument room) through walkie talkies. The general methods are as follows:
Start the data acquisition program, click on the "Data Acquisition" button on the main interface and
select option of "Sensor Setup" from the pop-up pull-down menu, then a window as shown in the
following figure will open (see Figure 5-9);
Input 2000 (or 1000 If the drawworks is in "Reserve Rotation" state, this value should be the
maximum, such as 8000) in the input box of "drawworks count" in the window;
Under state of POOH, let the driller to hang and connect lift ring and slips properly and make them
in state of preparing for lifting. At the same, measure the vertical height between the rotary table plane
and the top of this stem of drilling pipe (generally equals to the sum of slips height and the length of
drilling pipe sub). Take this height as the initial hook height and inform the operator in instrument room
to set the drawworks count at that time as 2000 (or 1000) (by clicking on the "Reset" button in the
window in Figure 5-9);
Let the driller to lift drilling tool for 1m (calculated from the bottom of slips) and stay for a
moment. Inform the operator in instrument room to record the drawworks count at that time and its
corresponding hook height should be (1+ initial hook height).
Lift the drilling tool for 2m, 3m, 4m and so on in turn according to the method mentioned above
and stay for a moment after lifting each meter. Inform the operator in instrument room to record the
drawworks count at each height and its corresponding hook height should be ((2+ initial hook height),
(3+ initial hook height) , until the whole stand is lifted from the rotary table plane.
Input the recorded drawworks counts and their corresponding hook heights in the multi-point
calibration scale in Figure 5-8 from small to large and click on "Ok" button, then the calibration of
"multi-point calibration" method is finished.
There are some calibration properties in the upper part of the calibration setup window (Figure 5-
8):
Calibration method: It refers to which calibration method is used, linearity (point to point) or
logarithm.
Calibrated point number: Number of points that can be selected for calibration.

95
Figure 5-9 Acquisition menu: Sensor Setting window

Drawworks "Drum Calibration":


Positive/reverse rotation: It is a calculation method used for determining counting calibration. The
installation of drawworks sensors has two patterns: positive rotation and reverse rotation. "Positive
Rotation" means that hook height will increase/decrease with increase/decrease of drawworks count,
and "Reserve Rotation" means that hook height will increase/decrease with decrease /increase of
drawworks count. That's to say that when finding the drawworks count is increasing (or decreasing)
while hook height is decreasing (or increasing), you should select "Reserve Rotation"; otherwise you
should select "Positive Rotation" so that the calculation of hook height can meet actual conditions.
Parameters associated with "Drum Calibration" include (Figure 5-7):
Initial hook position: In counting calibration, it refers to the position from which the hook
height starts to be calculated. This position is usually set to the lowest position (1
2m).
Initial count: It refers to the count value when the hook height starts to be calculated in
counting calibration. Under condition of drawworks positive rotation, this value is
usually set to the lower value corresponding to initial hook position (such as 1000-
2000).
Initial layer number: In counting calibration, it refers to the initial layer number of drilling line
wrapping on the drum when the hook height starts to be calculated.

96
Initial round number: In counting calibration, it refers to the initial round number of drilling
line wrapping on the drum (usually refers to the round number in the last layer)
when the hook height starts to be calculated.
Round number in each layer: In counting calibration, it refers to the round number of drilling
line wrapping on the drum in each layer.
Drum diameter: The diameter of drawworks drum.
Diameter of drilling line: The diameter of steel cable that passes the pulley block of traveling
block.
Number of drilling line strands: The number of strands of steel cable that passes the pulley
block of traveling block.
Pulse/round: Pulse number of drawworks sensor in each round it rotates.
Correction coefficient: Corresponding coefficient to correct drawworks count and hook
height.
Sometimes, it is difficult to obtain parameters such as drum diameter on the well site. In this
condition, users can input estimated drum diameter and other parameters first. After observing the
process of several singles, click on "Correct" button (Figure 5-7)) and input the following parameters
(as shown in Figure 5-10) in the opened dialog box, then the corrected drum diameter can be obtained.

Figure 5-10 Adjust Drum Dia window


In this window:
Displayed NEXTKD1: It refers to the end depth of last single being tracked in accordance with the
current drum diameter.
Real NEXTKD1: It refers to the actually calculated end depth after last single is drilled in.
Displayed NEXTKD2: It refers to the end depth of next single being tracked in accordance with
current drum diameter.
Real NEXTKD2: It refers to the actually calculated end depth after next single is drilled in.
Calculated Drum Dia: Corrected drum diameter obtained according to calculation.

Pump stroke/rotary table speed sensor


Click on "Rotary Table Speed" or "Pump Stroke 1"/"Pump Stroke 2" in the list on the left side of
the calibration setup window (Figure 5-11), then item of "Rotary Speed Ratio" or "Pumping Speed
Ratio" will appear in the column of "Calibration". "Rotary Speed Ratio" or "Pumping Speed ratio"
refers to the ratio of rotary speed (or pump stroke) to measured rotary speed (or pump stroke) caused by
installation position difference of sensor near the switch. The system default rotary speed ratio (or pump
stroke ratio) is 1.

97
Figure 5-11 Calibration setup window of pumping speed ratio
For a CAN bus type sensor, its acquisition parameters contain pump stroke speed and pump stoke
rate simultaneously and it is no necessary to calibrate sensors. In fact, a CAN bus node acquires pump
stroke rate first and then accomplish calculation of pump stroke speed in the node using pump stoke rate
automatically. Therefore, it is no necessary to calibrate rotary speed/pump stroke sensors like in SK-
7J02 acquisition box.

Daq (D)
A data Daq (D) menu (see Figure 5-12) contains five menu items including "Start/Stop", "Device
Test", "Sensor", Dot and "Option".

Figure 5-12 Daq window

Start/Stop (S)
This option is a change-over switch to start or stop data acquisition and corresponding to
two buttons of and in toolbar respectively. Generally, after data acquisition program
starts, it is required to click on this option to activate and receive acquisition data (check the
option before it). You can also click on this option to stop data acquisition at any time. If you

98
select the option of "Auto start daq when startup" (see the following sections) in the window of
"Option" in the "Daq" menu, the system will start data acquisition automatically after the
acquisition program starts.
Device test (T)
This is a function used to carry out communication test to selected devices. This option is
in usable status only when "Start/Stop" option is not selected (i.e. stopping current data
acquisition). Click on "Device Test (T)" option to pop up a window as shown in Figure 5-13.
The devices available for test are listed in the list box on the right side of the window.
Select a device (e.g. CAN bus) that needs to be tested in it and click on "Start" button to open a
signal receiving window (Figure 5-14). If there are signals transmitted at that time, the received
information will appear in the signal receiving window, indicating that the communication is
normal.

Figure 5-13 Daq menu: Hardware Test window

Figure 5-14 Device Test: Signal Receiving window

Sensor (C)
Click on "Sensor (C)" option to pop up a setup window as shown in Figure 5-9. "Sensor"
contains functions in three aspects:
Reset drawworks: Set the count saved in CAN node of drawworks sensor to zero or reset a
count; or set the count of SK-7J02 counter to zero or reset a count. It is generally used for
99
drawworks calibration or redetermining initial hook height and its corresponding
drawworks count. The current hook height can be calculated by drawworks count, and
vice versa.
Reset pump stroke: Set the counts saved in CAN nodes of pump stroke sensors to zero
respectively or set all of them to zero at the same time. Users can reset pump stroke rate
through the function of "Reset" "Circulation" in Real-time Setup program.
Sample pump control (3Q04): Control the start and close of sample pumps of SK-3Q04
chromatograph automatically or manually. Users can control the sample pumps of two
chromatographs simultaneously. After selecting "Auto" pattern, it is also required to input
the "Delayed" closing time of sample pump and click on "Apply" button. The meaning of
"delayed" closing of sample pump is: since at least a pipeline delay time is required for the
sample gas to reach the chromatograph from the outlet (or inlet) degasser through the
sample gas pipeline, when the mud pump is stopped, there are still part of sample gas
remained in the pipeline not analyzed. So it is required at least a pipeline delay time before
closing the sample pump automatically. The automatic delayed closing time of sample
pump is usually set to the pipeline delay time.
Dot (D):
Click on "Dot" option to pop up a window as shown in Figure 5-15. You can test whether
the dotting card is normal or not manually.


Figure 5-15 Dot window
Option (O):
Click on "Option (O)" to pop up a setup window as shown in Figure 5-16.
The "Option" window includes the following setup functions:
Acquisition server setup: As mentioned above, to ensure the stability and reliability of
system, the CMS uses "hot standby" pattern in operation, i.e. one of them acts as main
acquisition computer and another as secondary acquisition computer. In normal
conditions, at the same time of accomplishing data receiving or transmitting between CAN
adaptor, the main acquisition computer transmits processed acquisition data to the real-
time processing program, and sends a "monitoring signal" to the secondary acquisition
computer through the CAN bus in interval of 5s simultaneously; the secondary acquisition
computer is equivalent to a node on the link of CAN bus, which only monitors data on the
CAN bus and the "monitoring signal" sent back from the main acquisition computer and
does not transmit acquisition data outwards. When the main acquisition computer fails to
acquire data due to hardware failure (such as halt, damage of CAN card or computer
failure, etc.), the secondary acquisition computer will turn into main acquisition computer
automatically and assume all tasks of the main acquisition computer since no "monitoring
signals" have been received from the main acquisition computer within 5s. Therefore,
users should run data acquisition programs simultaneously on main acquisition computer
and secondary acquisition computer respectively when start the function of hot standby.

100
The one first started is the main acquisition computer and the next one is the secondary
acquisition computer.
External prompt: Check Turn on external prompt and select the alarm channel. When
system is connected to external alarm device, alarm prompt will be realized in computer
and outdoors at the same time according to the special alarm and parameter alarm set in
Alarm Setup.
Dot: It is used to output dot. It is used to set dot base, interval and channel. Check Turn
on auto dot and input dot base, interval and channel in the following input box. Then
when the increment between cuttings lag depth and basic depth exceeds the set depth
interval, this function will start.
Save quick data: This is a multi-select function specially designed to meet on-site
requirements. So-called "Quick Data" refers to some parameters which need to be
acquired and saved with sampling frequency in millisecond grade (usually 1/10s). In
CMS, these parameters include 4 parameters such as "Hook Load", "Torque", "Rotary
Table Speed" and "Hook Height". To set up the sampling frequency of "Quick Data", you
can configure the scanning periods (it is usually set to 100ms. See "Channel Setup"
section) of the above four parameters in window of "Channel Setup" in acquisition setup
menu first and check the "Save quick data" option (check this option), then the above four
parameters will be acquired and saved into the database with sampling frequency of
100ms.
Auto start daq after startup: If this option is selected, when data acquisition program starts,
it will automatically acquire and transmit data directly (to the real-time processing
program). If this option is not selected, when data acquisition program starts, it is required
to start data acquisition manually (click on Start/Stop button).

Figure 5-16 Option window

View
The View menu includes two options of "Toolbar" and "Statusbar" (see Figure 5-17).
101
Figure 5-17 View menu

Display area of acquisition parameter


As shown in Figure 5-1, the display area of acquisition parameter is used to display the channel
number, name, acquired value (voltage, current signal or converted digital signal), unit, calibrated value
(the engineering value after being converted by calibration scale) and engineering unit of acquisition
parameter. The display area of acquisition parameter is capable of displaying acquisition parameters of
total 64 channels. Generally speaking, the data acquisition signals can be divided into 4 types according
to different hardware acquisition devices.
Voltage signal: Signals acquired by acquisition computers are voltage signals sent by
acquisition devices (usually 1-5V) such as SK-7J02 acquisition system and SK-3Q02
chromatograph, etc.
Current signal: Signals acquired by acquisition computers are current signals sent by
acquisition devices (usually 4-20mA) such as CAN bus acquisition system, etc.
Pulse signal: Signals acquired by acquisition computers are pulse signals sent by
acquisition devices (pulse count) such as drawworks sensor and CAN bus pump stroke
sensor, etc.
The calibrated and converted digital signal: Signals acquired by acquisition computers are
calibrated and converted digital signals sent by acquisition devices. Such as SK-
3Q04chromatograph and SK-3H02, etc. Therefore, the acquired values and their units are
determined by hardware acquisition devices and the calibrated values and their
engineering units can be varied through calibration scale and unit conversion.
Simulation of acquisition parameter
Double click on any parameter in the display area of acquisition parameter and an acquisition
parameter simulation setup window will pop up (Figure 5-18).

102
Figure 5-18 Parameter Simulate window
This window can be used to simulate acquisition parameters under abnormal conditions. Input the
minimum, maximum and current value and variance to be simulated, select a variance trend of
"Increase", "Decrease" or "Oscillation" from the pull-down menu, press the "Simulate" button on the
top right corner of the window, click on "Apply" or "Ok" button, Then the simulated value of this
parameter will be displayed with red letters in the parameter display area (Figure 5-19).

Figure 5-19 Display window of Simulated Parameter

103
Chapter 6 Real-time Setup Program
VIII Overview

This chapter describes the detailed functions and operating methods of real-time
setup program and its roles in CMS system.

During real-time logging monitoring, it is usually required for users to intervene and control the
mediate process of logging monitoring (such as starting drilling status, resetting drilling parameters,
modifying status judgment threshold and drilling tool dynamic management, etc.) due to impact from
flexibility of drilling operation procedures and human factors, so that the monitoring results meet on-
site realities more properly. The real-time setup program is designed for this purpose. It provides the
functions in the following aspects.
Start different drilling status and setup initial startup parameters in accordance with on-site realities
to track current drilling conditions and process corresponding derived parameters correctly;
Make the judgment of system to drilling status meet on-site realities more properly through
adjustment of drilling status judgment threshold;
Reset or adjust drilling, circulation and tripping parameters such as well depth, bit position, weight
on bit, pump stroke rate, pit volume increment and quantity of stands (or singles) being tripped
out/lowered to carry out tracking and processing correctly;
Carry out dynamic management and adjustment of drilling tools during drilling or tripping to
correct abnormal drilling activities caused by system misjudgment.
Observe and control the process and result of CAN bus type carbonate analysis and save analysis
results;
Provide ports for inputting borehole inclination data while drilling so as to be convenient for
calculating vertical depth and other parameters associated with orientation;
Calculate average open hole diameter according to measured lag time or pump stoke rate to correct
the lag parameters calculated in real time (lag time, lag depth and lag pump stroke rate, etc.).
Input and send real-time comment information to real-time printer, monitoring screen or comment
repository;
Be able to set up interval of instant ROP (or drilling speed) calculation at any time during drilling
and input drill cuttings data associated with calculation of some hydraulic parameters.
The real-time setup program can send setup and control information mentioned above to the real-
time processing program (in which real-time comments are sent to the information center). After
receiving the information, the real-time processing program will readjust the monitoring process or
calculated parameters to make them identical with on-site realities.
To start the real-time setup program, you can select the Real-time Monitoring program package
from the PCP and then click on Real-time Setup icon. Or alternatively, you can double click on the
icon of in the system installation directory \Create Mudlogging System\bin to start
this program manually. The main window of the data acquisition program is as follows (Figure 6-1).

104
Figure 6-1 Main interface of Real-time Setup program

IX Operation and Setup


Under normal conditions, you should start and run the real-time processing program
(MudLogCal.exe) while starting the real-time setup program. If the data acquisition program has started
and the data acquisition has been performed before that, you can see and only see relative acquisition
data on the main interface of the real-time setup program and the current drilling condition is displayed
as "Suspend". To make the system enter and track drilling, tripping or other drilling status, you must
start this status through the real-time setup program.
Attention: You should run data acquisition program and real-time processing program first before
starting the real-time setup program; otherwise you can not acquire all data including acquisition data
and derived data.

File (F) menu


Select and click on the option of "File (F)" to open a window as shown in Figure 6-2. It
includes three options of Parameter Tab Setup (T), Save Setting (S) and Exit (E).

105
Figure 6-2 File window

"Parameter Tab Setup (T)"


Select and click on the option of "Parameter Tab Setup (T)" to open a window as shown in
Figure 6-3:

Figure 6-3 "Parameter Tab Setup" window

The window is used to configure the display area of real-time data in the main interface of real-
time setup program (see the lower part of the window in Figure 6-1). This area can keep real-time data

106
of 24 hours for users to query. Users can customize the data tab and data items constituting the data tab
as needed, i.e. combining relative parameters into a page, and displaying these data based on time, well
depth or lag depth.
To add data tab, you can click on the Add button on the upper part of the window first, then a
"New" item will be added in the data tab list box on the left side of the button (as shown in Figure 6-4).
You can change the name of "New" to a required content by clicking on "New" (such as "Gas survey").
You can adjust the position of this data tab using Up or Down button. Or delete any item in data tab
using Delete button. Then you can click on the Select button following the "Trigger Parameter" on
the right side of this window to open a parameter selection window (Figure 6-5) so as to choose a key
word for this newly built data tab. You can select time, depth, mud return depth or other parameters as
the trigger parameter for displaying data (e.g. select "Outlet chromatograph running number" to make
the chromatograph display a set of data after each period is analyzed). Then you can input the display
interval in the input box of "Trigger Interval" (see Figure 6-5).

Figure 6-4 Setup window for adding data tab

Figure 6-5 Select trigger parameter and set trigger interval for data tab
After setup of above content is finished, you can select parameter items for the newly built data tab
in the lower part of the data tab setup window: click on Add button in the lower part of the data tab
setup window, then a blank parameter item (as shown in Figure 6-6) will be added in the parameter list
box on the left side of the button. Click on the Search button following the "Parameter" in the window
and select a parameter from the opened parameter selection window (such as "Outlet chromatograph
sampling time as shown in Figure 6-7). Repeat above operations to select more parameters (see Figure
6-7). You can also adjust the position of parameter using Up or down button, or delete an existing

107
parameter in the list using Delete button. After all parameters are specified, you can click on the "Ok"
button in the data tab setup window, then a new data tab named "Gas Survey" will appear in the display
area of real-time data in the main interface of real-time setup program (as shown in Figure 6-8).

Figure 6-6 Add new parameter for data tab

Figure 6-7 Select more parameters for data tab

108
Figure 6-8 The main interface of real-time setup program after adding a Gas Survey data tab
After above setup is finished, users can save the new main interface of real-time setup program
(see instructions as follows) so as to invoke it when starting the program next time.
Save Setting (S)
After setup of data tab in the lower part of the main interface (i.e. display area of real-time data) of
real-time setup program is finished, you can save the configured content into a configuration file named
TabConfig.cfg so as to display the same image when starting the program next time. This setup file is
saved in the file folder in the CMS installation directory "\Creative Mudlogging System\Config".
The total 32 items of real-time parameters in 4 columns displayed in the upper part of the main
interface of real-time setup program can also be customized and saved as a configuration file by the
user. Where 8 items of parameters such as "RIGSTAT", "DEPTH" and "BITDEP" , etc. without black
border in the leftmost column are fixed and other parameters with black border can be selected by the
user at will: click on the name of the parameter required to be adjusted, then a parameter selection
window as shown in Figure 6-9 will pop up:

Figure 6-9 Select Parameter window

Select the parameter needed to be displayed in the parameter list box, or locate the parameter
needed to be displayed using "Search" function and click on "Ok" button, then the parameters originally
displayed in the main interface of real-time setup program will be replaced by the newly selected
parameters. If you click on the "Save" option in the status startup menu, then current configuration
displayed on the main interface will be saved, with default configuration file name as ParaConfig.cfg, to
the CMS installation directory "\Creative Mudlogging System\Config" in the form of configuration file.
Exit (E)
Click on the "Exit (E)" option in the File (F) menu, then a prompt window will pop up for you to
confirm if you really want to exit the program (Figure 6-10). You can click on "Yes" to close the real-
time setup program.

109
Figure 6-10 Confirmation window for exiting
Startup (S) menu
It is used to choose and start different drilling status manually. Click on "Startup (S)" menu button
and a menu as shown in Figure 6-11 will pop up. Users can start the corresponding logic state in
accordance with the current on-site actual drilling status.
Note: In fact, on-site conditions such as "Drill/Circulate", "Ream" and "Trip" are judged
automatically and converted mutually in the system. Thats to say that when a status condition is met,
the system will enter this status for operation automatically. Unless there are special requirements, it
does not need to be started manually.

Figure 6-11 "Startup" menu in real-time setup

"Drill/Circulate (D)" status


Select and click on the option of "Drill/Circulate (D)" to open a startup window as shown in Figure
6-12.
Input the current "Measured depth", "Bit position", "Lag depth", "Initial drilling speed" and some
initial parameters associated with the bit being lowered in this time. The system will carry out
accumulation and tracking based on these initial parameters. After finishing data input, click on "Apply
(A)" button and the system will enter drilling/circulation tracking status, and at the same time, the real-
time processing program starts to calculate and processes parameters associated with drilling/circulation
status.

110
Figure 6-12 The startup window of Drill/Circulate status

After clicking on "Apply (A)" button, the real-time processing program will compare the current
value of drilling/circulation logical judgment condition with the threshold value set by the user. If the
system judges that current status doesn't meet "Drill/Circulate" conditions, it will switch to the
corresponding secondary stage of logical status and pop up a window of "Real-time Message" in real-
time processing program to inform the operator the condition that doesnt satisfy "Drilling" status. The
user can make the system meet current actual status by modifying and adjusting current drilling
condition threshold of system in drilling "Threshold" window (see the following contents in this
chapter).
Secondary stage of status related to drilling/circulation status includes: pull from the bottom hole,
pull from the bottom hole/circulation, contact the bottom hole, contact the bottom hole/circulation and
make a connection and setting.
"Ream (R)" status
Select and click on the option of "Ream (R)" to open a "Ream (R)" startup window as shown in
Figure 6-13.

Figure 6-13 The startup window of Ream status

The startup window of "Ream" status is basically identical with that of "Drill/Circulate". After
clicking on "Apply (A)" button, the real-time processing program will compare the current value of
logical judgment condition of reaming with the threshold value set by the user. If the system judges that
current status doesn't meet "Ream" conditions, it will switch to the corresponding secondary stage of

111
logical status and pop up a window of "Real-time Message" in real-time processing program to inform
the operator the condition that satisfy Ream status. The user can make the system meet current actual
status by modifying and adjusting current reaming condition threshold of system in reaming "Threshold
Setup" window (see the following contents in this chapter).
Secondary stage of status related to reaming status includes: pull from the bottom hole, pull from
the bottom hole/circulation and make a connection and setting.
"Trip (T)" status
Select and click on the option of "Trip (T)" to open a "Trip (T)" status startup window as shown in
Figure 6-14.
Attention: If it is still in circulation status currently, a message as shown in the following figure will
pop up when "Trip" status starts.

Figure 6-14 The startup window of Trip status


In this window:
Depth: It refers to the measured total well depth when tripping and can not be edited.
Trip Depth: It refers to the current tripping depth. It is usually the total well depth of the system by
default.
Trip Number: Input the number of this tripping.
Trip Direction: It is used to set whether the current status is "Tripping Out" or "Tripping In"
manually. If the direction judged by the system for the first time is not compliant with that being
set manually, choose the direction that is judged manually.
Drillpipe Status: It is used to set up whether the drilling pipe is in "Open" or "Closed" status
currently. The method to calculate the displacement volume of drilling pipe in bore hole will be
different if the drilling pipe status is different.
Currently Tripping: It is used to choose if the string being tripped currently is stands, joints or
BHA. When the tripping direction is set to "Tripping Out", the system will consider by default the
current string being tripped out "Stands"; when the tripping direction is set to "Tripping in", the
system will consider by default the current string being tripped in "BHA".
112
Stands Done: It refers to the amount of stands which are still in the well or already being tripped in.
Stands Total: It refers to the total amount of stands being tripped this time. When starting tripping
status, users can adjust the amount of stands in accordance with actual conditions using the
increase or decrease button beside these two parameters.
Joints Done: It refers to the amount of singles which are still in the well or already being tripped in,
corresponding to amount of the current stand.
Joints Total: It refers to the total amount of singles being tripped this time, corresponding to the
total amount of stands.
Include BHA : If this item is selected, the total amount of stands (or singles) refers to the amount of
stands (or singles) in all drilling tools in the well; if this item is not selected, the total amount of
stands (or singles) only refers to the amount of stands (or singles) in all drill pipes in the well.
Bit Depth: The position of bit when tripping status is started. This value can vary with adjustment
of the amount of current stand or amount of current single. It is equal to the difference between the
total length of drilling tools in the well and the sum of length of slips and box of drill pipe. Users
can also correct the bit position by inputting the correction value of bit position (negative or
positive) and clicking on "Adjust" button.
Pipe Total Length: It refers to the total length of drill pipes in well currently and it is only for
display purpose.
Bit Depth Correction: It is used to correct the current bit position.
Expected Cumulative Fill: It refers to the volume equivalent to this part of drill pipes calculated
according to the current "Amount of drill pipe having been tripped" and "Drillpipe status". If
drillpipe status is "Close", this value is equal to the total volume (the sum of rigid volume of drill
pipe and bulk volume of drill pipe) of that part of drill pipes having been tripped out (for POOH)
or tripped in (for RIH); if drillpipe status is "Open", this value is equal to the rigid volume of that
part of drill pipes having been tripped out (for POOH) or tripped in (for RIH). Theoretically, under
normal conditions, the volume of drill pipes having been tripped out should be the volume of mud
needed to be pumped in, and the volume of mud displaced by the drill pipes having been tripped in
is the incremental mud volume in mud pit. It is usually 0 by default when the tripping status is
started.
Cumulative Fill: It refers to the known decreased or increased volume of pit volume when the
tripping status is started currently and is by default "Cumulative fill in tripping" in CDA. It is
usually set to 0 when POOH or RIH is started.
Expected PVT: It refers to the total pit volume at the moment when the "variance of total pit
volume" is set to 0 when tripping is started and it is by default the "Predicted total pit volume in
tripping activity" in CDA.
Rotating Time: It refers to the rotation time of bit which is recorded due to reaming or back
reaming during tripping. It is usually 0 by default when POOH or RIH is started.
Circulation Time: It refers to the circulation time occurred due to reaming or back reaming or
processing abnormal engineering accident during tripping. It is usually 0 by default when POOH or
RIH is started.
Comment: You can input the illustrations related to tripping and save them into the comment
repository.
After setup of all items mentioned above is finished, click on "Apply" button, then the real-time
setup program will send the setup content of all items mentioned above to the real-time processing
program to calculate and process the parameters associated with tripping status, and at the same time,
the system will enter the tripping monitoring status.
Secondary stage of status related to tripping monitoring status includes: POOH, setting, waiting
113
and RIH. After entering tripping monitoring status, the system will perform automatic judgment on
these statuses according to the tripping threshold in threshold setup (see the following contents in this
chapter).
"Casing (C)" status
Select and click on the option of "Casing (C)" to open a "Casing (C)" status startup window as
shown in Figure 6-15.

Figure 6-15 Casing status startup window


In this window:
Depth: It refers to the measured total well depth when running casings and it can not be edited.
Casing Depth: It refers to the current casing running depth. It is usually by default the total well
depth of the system.
Casing Number: Input the number of this casing running.
Casing Type: Select the type of casing from the pull-down menu. Casing types include surface
casing, intermediate casing 1, intermediate casing 2, production casing, liner and tail pipe.
Casing Status: It is used to set whether the current casing is in "Open" or "Close" status. The
method to calculate the displacement volume of casings in bore hole will be different if the casing
status is different.
Joints Done: It refers to the amount of casings having been run into the well.
Joint Total: It refers to the total amount of casings to be run into the well
Casing Total Length: It refers to the total length of casings having been run into the well currently.
Liner Depth: When the selected casing type is "Tail Pipe", you can input the depth of the
suspension position of tail pipe here.
Guide Shoe Depth: It refers to the position where the guide shoe locates currently. This value may
vary with adjustment of the Amount of current single. Users can also correct the guide shoe
position by inputting the correction value of guide shoe position (negative or positive) and clicking
on "Adjust" button.
Guide Shoe Correction: It is used to correct the current guide shoe position.
Expected Cumulative Fill: It refers to the volume equivalent to this part of pipe strings calculated

114
according to current amount of singles having been run into the well and "Casing Status". If casing
status is "Close", this value is equal to the total volume (the sum of rigid volume of pipe strings
and bulk volume of casings) of that part of pipe strings having been run in; if casing status is
"Open", this value is equal to the rigid volume of that part of pipe strings having been run in.
Theoretically, under normal conditions, the volume of mud displaced by the drill pipes having been
tripped in is the incremental mud volume in mud pit. It is usually 0 by default when the tripping
status is started.
Cumulative Fill: It refers to the known decreased or increased volume of pit volume when the
Casing status is started currently and is by default "Actual cumulative displacement in tripping"
in CDA. It is usually set to 0 when casing running is started.
Expected PVT: It refers to the total pit volume at the moment when the "variance of total pit
volume" is set to 0 when casing is started and it is by default the "Expected total pit volume in
tripping activity" in CDA.
Circulation Time: It refers to the circulation time occurred during casing running. It is usually 0 by
default when casing running is started.
Comment: You can input the illustrations related to casing running and save them into the comment
repository.
After setup of all items mentioned above is finished, click on "Apply" button, then the system will
enter the casing running monitoring status. Secondary stage of status related to casing running
monitoring status includes: casing running, setting, and waiting. After entering casing monitoring status,
the system will perform automatic judgment on these statuses according to the tripping threshold in
threshold setup (see the following contents in this chapter).
"Suspend (P)" status
Select and click on the option of "Suspend (P)" to open a "Suspend (P)" status startup window as
shown in Figure 6-16.

Figure 6-16 Suspend status startup window


The so-called "Suspend status refers to the general term of all other statuses when the system is
out of real-time monitoring and processing status (such as wire line logging, waiting on cementing and
shutdown due to assembly). Under suspend status, the system only acquires and receives data from
sensors but without any processing and judgment, and at the same time, the input of real-time data to
database is stopped.

"Operate (O)" menu


Click on "Operate (O)" menu button and a menu as shown in Figure 6-17 will pop up. It
includes three menu items of Threshold (T), Reset (R) and Message (M).

115
Figure 6-17 "Operate" menu in real-time setup

Threshold (T)
It is used to set the logic judgment threshold of different drilling status such as drilling, connection,
circulation, reaming and tripping, etc. Click on "Threshold (T)" menu button to open the following
setup window (Figure 6-17).

Figure 6-17 Threshold window


Threshold of Drill status:
As shown in Figure 6-17, the judgment threshold of drilling status is composed of 4 logical
conditions including "Minimum WOB", "Minimum", "Minimum Torque" and "Bit Jitter". To make the

116
system enter "Drilling" status, it is required to meet the following 4 conditions simultaneously:
Current WOB Minimum set value of WOB threshold
Current rotary speed Minimum set value of rotary speed threshold
Current torque Minimum set value of torque threshold; it doesnt need to be judged
when mud motor exists.
Distance of current bit from the bottom hole Set value of bit jitter threshold
The setup of each threshold value should be determined according on-site actual conditions. Users
can perform adjustment at any moment according to the specific conditions during drilling. For
examples, the WOB may possibly fail to increase (very low or close to 0) in rapid drilling, so the
minimum WOB threshold should be set to 0 or less than 0 (negative) so that the system can meet special
requirements of rapid drilling.
Bit jitter threshold is set to prevent drilling tools from being frequently lifted from the bottom hole
due to axial vibration. It is usually set to 0.1m or less (in condition of relatively low drilling speed) on
onshore drilling, while for offshore drilling, it can be set to about 0.2m.
After the drilling logical threshold values are set properly, you can click on "Apply" button, then
the real-time setup program will send the new drilling threshold values to the real-time processing
program for judgment and processing, and at the same time, pop up a "Real-time drilling message"
window to inform the user. If the system fails to satisfy the logical condition of "Drill", it will turn to the
next stage of drilling status until the drilling conditions are satisfied.
Threshold of Ream status:
Click on "Ream" button, then the threshold setup window will turn to threshold setup image of
ream logical status (Figure 6-18): To make the system to enter "Ream" status, it is required to meet the
following 4 conditions simultaneously:

Figure 6-18 Ream threshold setup window


Current WOB Minimum set value of WOB threshold
Current rotary speed Minimum set value of rotary speed threshold
Current torque Minimum set value of torque threshold; it doesnt need to be judged
when mud motor exists.
The difference between depth and reaming depth Set value of off bottom threshold.
The logical judgment conditions of drilling status are basically identical with those of reaming
status. The difference is that the current value of "Off Bottom" under reaming status is determined by
the difference between depth and reaming depth. After reaming status is started, the real-time processing
program always takes the current bit position as the "Potential" reaming depth in calculation of current
value of "Off Bottom". Therefore, under the condition that other three logical judgment conditions
(minimum WOB, minimum rotary speed and minimum torque) are satisfied simultaneously, the system
117
will enter the reaming status, and at the same time, assign current bit position to the Reaming Depth
in CDA. When any of above 4 logical judgment conditions is not satisfied, the system will enter the
next stage of drilling status (lifting from the bottom hole and lifting from the bottom hole/circulation,
etc.), and at the same time, the update of "Reaming depth" in CDA is also stopped to be identical with
depth until the logical judgment conditions of reaming status are satisfied again.
After the ream threshold values are set properly, you can click on "Apply" button, then the real-
time setup program will send the new ream threshold values to the real-time processing program for
judgment and processing, and at the same time, pop up a "Real-time Message" window to inform the
user. If the system fails to satisfy the logical condition of "Ream", it will turn to the next stage of
drilling status until the conditions are satisfied.
Threshold of Connection status:
Click on "Connection" button, then the threshold setup window will turn to threshold setup image
of connection status (Figure 6-19):

Figure 6-19 Connection threshold setup window

The judgment threshold of connection status is composed of 5 logical judgment conditions


including Single Length, On Slip Load, Off Slip Load, Connection Pressure and Minimum
Strate. The specific meanings of each threshold judgment condition are as follows:
Single Length: It is used for the system to test if a single is connected or dismantled
actually in the course of connection. If the connection threshold is satisfied, the system will
display "Connection" status, but does not actually judge if a single is connected or
dismantled. Only when the length of current single being connected is greater than or equal
to "Single Length", the system will judge if a single is connected or dismantled. At that
time, the system will automatically pull a single from the "Drilling tools having not been
lowered into well" in drilling tool management to the table of "Drilling tools having been
lowered into well".
On Slip Load: It is used for the system to judge whether a connection is being made. To
make the system to judge connection when the system load is changed from heavy to light,
the hook load must be lighter than the setting threshold.
Off Slip Load: It is used for the system to judge whether a connection is being made. To
make the system to judge connection when the system load is changed from light to heavy,
the hook load must be heavier than the unfreezing threshold.
Connection Pressure and Minimum Strate: It is used for the system to judge the minimum

118
standpipe pressure and pump stroke speed thresholds when making connections. To make
the system to judge connection, the current standpipe pressure and pump stroke speed must
be less than or equal to the minimum standpipe pressure and pump stroke speed thresholds
simultaneously (i.e. stopping circulation).
Auto Adjust Bit Depth: If this option is selected, the system will correct bit position
automatically according to correction table of drilling tool at the instant of unfreezing.
Attention: The function of auto adjust bit depth will be realized when making connection and at the
instant of unfreezing for tripping, so please use it with caution.
After the system finishes judgment of a connection, a Real-time Message window in real-time
processing program will pop up to inform users and pull a single from the drilling tool table to the table
of Drilling tools having been lowered into well. Users can see the number of the current single
"Having been lowered into well" in the window of "Drilling Tool" in menu of "Tool" in real-time setup
program.
Threshold of Circulation status:
Click on "Circulation" button, then the threshold setup window will turn to threshold setup image
of circulation status (Figure 6-20).

Figure 6-20 Circulation threshold setup window

In CMS, circulation status appears with two parallel statuses including "Lifting from bottom
hole/circulation" or "Contacting bottom hole/circulation". The system can calculate some hydraulic
parameters such as inlet flow rate, circulation pressure drop and hydraulic horsepower, etc. in real time
only under the circulation status. Circulation status includes two logical conditions of "Minimum Pump
Pressure" and "Minimum Strate". That's to say that to make the system to enter circulation status, it is
required to meet the following 2 conditions simultaneously:
Current standpipe pressure Minimum set value of standpipe pressure threshold;
Current pump stroke speed Minimum set value of pump stroke speed threshold
There also exist some setup contents in the following aspects in the setup window of circulation
status threshold (as shown in Figure 6-20).
Flow Calculations: It refers to the acquisition or calculation method for value of inlet flow rate and
can be determined according to the mode of hardware acquiring signals. Where "Flow" refers to
the inlet flow rate is obtained through signals acquired by the flow rate sensor installed on the inlet
charging pipeline instead of through calculation; "Rate" refers to calculate inlet flow rate through
119
the pump stroke rate acquired by the pump stroke counter.
Pump Averaging (secs): It refers to the minimum time interval for calculating pump stroke speed
through acquired pump stroke rate and its unit is second. If the calculation interval is 5s, then the
minimum pumping speed should not be less than 12 stroke/min; if it is 10s, then the minimum
pumping speed is 6 strokes/min; if it is 20s, then the minimum pumping speed is 3 strokes/min.
Therefore, calculation interval of 5s can be selected when the pumping speed is relatively fast,
while for relatively low pumping speed, 10s or 20s can be selected as the calculation interval (e.g.
in well killing).
Please note that the calculation interval of minimum pumping speed is only effective to pump
stroke speed that is obtained through calculation using acquired pump stroke rate. For the SK-7J02
acquisition system, the pump stroke speed is a value acquired by hardware instead of a calculated
value. For CAN bus acquisition system, users can set the calculation interval of pump stroke speed
preset in pump stroke node through data acquisition program to obtain appropriate pump stroke
speed.
WOB Type: It is used to select if the WOB is obtained through calculation or acquired by
downhole pressure sensors. WOB is usually obtained by deducting current hook load from the
apparent weight of drilling tool (calculated hook load). Theoretically, the apparent weight of
drilling tool (calculated hook load) refers to the buoyant weight of drilling tool when the in-well
drilling tool is in natural suspension status. During actual operation, the apparent weight of drilling
tool is usually obtained through the following methods: let the driller to lift the drilling tool 3m to
5m from the bottom hole, and then rotate the rotary table slowly and set the current WOB to zero
under this condition, then the apparent weight of drilling tool is equal to the current hook load. In
fact, experienced drillers usually use this method to correct weight indicator. Once apparent weight
of drilling tool is obtained, when the bit contacts the bottom hole and enters drilling status, the
value of the current WOB can be obtained. When a MWD tool with downhole pressure sensors is
used, users can also obtain the WOB through signal acquisition. At this time, you can select
"Acquisition" mode, then the acquired WOB will be assigned to the "Initial WOB" in CDA
parameter.
After the circulation threshold values are set properly, you can click on "Apply" button, then
the real-time setup program will send the new circulation threshold values to the real-time
processing program for judgment and processing, and at the same time, send a "Real-time Message"
to inform the user.
Threshold of Trip status:
Click on "Trip" button, then the threshold setup window will turn to threshold setup image of
trip status (Figure 6-21).

120
Figure 6-21 Trip threshold setup window
The trip threshold only contains one logical judgment condition: Off bottom.
Off bottom: Distance of current bit from the bottom hole Set value of off bottom.
Min Single Length: When the off bottom threshold is satisfied, the difference between the hook
height at the moment when the system load is changed from light to heavy and the hook height
at the moment when the system load becomes light again after a period of time of overloading
process is divided by the minimum single length to get a value used to judge if the pipe string
having tripped out (or having been tripped in) currently is a stand, double joint or single. At the
same time, the real-time processing program will pop up a Real-time Message window to
inform users, and pull up (or pull down) a stand, double joint or single from the drilling tool
table to the table of "Drilling tools having been raised from (lowered into) well".
Only use hookheight: This is an item with check box. To avoid setting misjudgment due to
relatively low hang weight when the bit is nearly close to the surface or RIH just starts, causing
deviation of bit position and counting of current stand amount, the CMS also takes account of
the method judging if a stand is tripped out or run in completely using only hook height. If you
select this option and click on "Apply" during tripping, then the judgment of current bit
position and amount of stands being tripped out (tripped in) will be carried out not according to
the judgment threshold mentioned above. Only two thresholds, hookheight up and hookheight
down are used to judge if a stand is tripped out or tripped in completely. That's to say that when
the hook height is lower than the hookheight down and higher than the hookheight up, the
system will judge that a stand is tripped out or tripped in completely. Note that the status at that
time (not only POOH, but also RIH) inherits the status of last time. Therefore, when judging
RIH using only hook height, it is suggested to start RIH status manually to determine tripping
direction.
Auto use hook height when tripping BHA: If you select this option and click on "Apply" during
tripping, then only two thresholds, hookheight up and hookheight down are used to judge if a
stand is tripped out or tripped in completely when tripping BHA currently.
After the tripping threshold values are set properly, you can click on "Apply" button, then the real-
time setup program will send the new tripping threshold values to the real-time processing program for
judgment and processing, and at the same time, send a "Real-time Message" to inform the user.
Interval setup:

121
Click on Interval button to pop up the interval setting window as shown in Figure 6-22.

Figure 6-22 Interval setting window


The window of "Interval" is mainly used to set the well depth interval and time interval in
calculation of instant drilling speed, and it can also be used to set the alarm threshold of ROP mutation.
DepthInterval: It is used to calculate the depth interval of drilling time.
DepthInsInterval: It is used to calculate the depth interval of instant drilling speed.
Drill Time: It is used to calculate the time interval of instant drilling speed.
Instant ROP Fraction: It refers to a ratio, usually between 0 and 1, used to determine the
calculation interval of instant drilling speed. Instant drilling speed is mainly used to reflect the
variation of current drilling speed rapidly and sends message about ROP mutation or slack-off.
Therefore its calculation method is different from the method calculating average ROP. In
CMS, the calculation interval of instant drilling speed takes account of depth and time interval
simultaneously, i.e. calculating the depth calculation interval and time calculation interval of
instant drilling speed at first respectively (depth calculation interval = instant ROP fraction
instant depth interval; time calculation interval = instant ROP fraction time interval). Within
the specified depth calculation interval, the instant drilling speed is calculated according to
depth weighting method. If the drilling speed is very slow, the bit footage may possibly show
no increase in a certain time. When this time exceeds the given time calculation interval, the
instant drilling speed will be calculated according to time calculation interval immediately.
Instant drilling speed = current depth increment/time calculation interval. If the depth still does
not increase within the next time calculation interval, the instant drilling speed will approach to
0 rapidly. Hence the instant drilling speed can reflect the variation of current drilling speed
rapidly.
Drill Break Type: It refers to a mode used to select the alarm threshold of ROP mutation value.
If "Fixed" is selected, the system will give alarms once the difference between current ROP and
average ROP is lower than the set ROP mutation value; if "Percent" is selected, it means that
the system will give alarms once the ratio of current ROP and average ROP is lower than the
set ROP mutation value percentage.
Drill Break Amount: It is used to set the alarm threshold value of ROP mutation.

122
Alarm: This is an item with check box. If this option is checked, audible alarms will be given
when the alarm threshold of ROP mutation is satisfied.
User Defined Depth Interval: It is used to calculate drilling time defined by user.
After all items mentioned above are set properly, you can click on "Apply" button, then the real-
time setup program will send the new setup values to the real-time processing program for processing,
and at the same time, send a "Real-time Message" to inform the user.
Cutting setup:
Click on "Cutting" button, then the setup window of drill cuttings properties will be displayed (see
Figure 6-23).

Figure 6-23 Cutting property setup window

"Cutting" window is used to set physical properties of drill cuttings such as density, shape and
diameter, etc. in currently encountered formation. These data will be used as hydraulic parameters for
calculation of current annulus pressure drop and drill cuttings lag time, etc. The density of current drill
cuttings can be obtained by adopting measured density of mudstone or from neutron population logging
data of adjacent wells, or you can input approximate density of each kind of rock; the shape and
diameter of drill cuttings can be obtained by actual observation and visual estimation.
After all items mentioned above are set properly, you can click on "Apply" button, then the real-
time setup program will send the new setup values to the real-time processing program for processing,
and at the same time, send a "Real-time Message" to inform the user.

Reset (R)
It is used to reassign, correct or clear calculation parameters required in different drilling status
such as drilling, circulating and tripping, etc. Click on "Reset (R)" menu button to open the following
setup window (Figure 6-24).
In fact, parameter reset refers to an intermediate intervention process in which some necessary
calculation parameters in drilling process are corrected or cleared so as to carry out re-accumulation and
tracking on this basis. The real-time setup program will inform the real-time processing program
through parameter reset to re-accumulate or recalculate the reset parameters so as to make them meet
current actual conditions more closely. The real-time processing program will send a notice using the
real-time message window at the same time of processing reset parameters; hence operators can review
the historical record of parameter rest through the real-time message window. According to parameters

123
required to be reset in different drilling status, parameter reset can be divided into the following three
types: drilling reset, tripping reset and circulating reset.
Drill reset:
Click on Drill button to pop up a window as shown in Figure 6-24.
Parameters required to be reset during drilling mainly include depth (measured depth, bit depth),
WOB and increment or decrement of pit volume:

Figure 6-24 Reset window

Depth and Bit Depth: Input current actual depth in the input box of depth (at the same time,
select the check boxes following depth and bit depth, then bit depth will become current well
depth as well automatically), and click on "Apply" button, then current depth and bit depth will
be recalculated and tracked according to corrected values. If the bit position is not equal to the
current measured depth, you can reset the current bit depth separately.
Drill Rate: It is mainly used to reset current instant drilling speed when calculation of current
instant drilling speed is not reasonable.
Current WOB: During drilling, you can input current actual WOB value in the input box and
select the check box following the input box, and then click on "Apply" button to correct the
WOB; or alternatively, you can reset WOB by clicking on "Zero Current WOB" when bit
position does not reach the bottom hole (3 to 5 meters) and the rotary table speed is slow. In
fact, no matter what mode is used, the purpose of WOB reset is to obtain the apparent weight of
drilling tool (apparent weight of drilling tool = current WOB + current hook load) so as to be
convenient for providing foundation for reset of later WOB variation. After the WOB is reset,
since the subsequently connected singles will increase the buoyant weight of drilling tool, the
system will correct the apparent weight of drilling tool after reset by automatically adding the
buoyant weight of subsequently connected singles onto the apparent weight of drilling tool.
Therefore, the input box of "Connections" in this window can be used to reset amount of
connected singles. Generally, when resetting WOB each time, users can reset the "Connections"
to zero (click on "Zero Singles" button) so that the system can offset the apparent weight of
subsequent drilling tool.
Zero Total Pit: Click on this button, then the increment and decrement of current total pit
volume and that of all individual pit volume are set to 0 simultaneously. Resetting the
124
increment and decrement of current total pit volume to zero is to make the "Expected total
volume of drilling pit" equal to the current actual total volume of drilling pit. That's to say that
there is no gain and no loss in the total volume of current active drilling pits.
Bit: Users can reset the Rotate time, Drilling time, Cyc time and Run time of bit, but some
options can be updated only when you entering the status (drill, circulation, etc.) reset function.
Trip reset:
Click on Trip button to pop up a window as shown in Figure 6-25.

Figure 6-25 Trip reset window


Parameters required to be reset during tripping mainly include amount of added stands or singles
and reset trip pit volumes.
Drillpipe: The system may misjudge the amount of stands or singles being tripped out/tripped
in due to improper logical judgment threshold setup of tripping or complicated downhole
conditions (encountering sticking or blockage, etc.) during RIH or POOH. Generally, when the
system is unable to judge if a stand or single has been tripped out/tripped in, it always excludes
this stand or single from the "Amount of current stand (or amount of current single)".
Therefore, to make the amount of stand (or single) meet actual conditions more closely, it is
required to add the amount of stand or single manually. When the "Add a Stand" or Cancel a
Stand button is clicked on every time, then the " Amount of current stand" will be added or
decreased by 1 correspondingly; when the "Add a Joint" or Cancel a Joint button is clicked
on every time, then the " Amount of single" will be added or decreased by 1 correspondingly.
At the same time, the bit depth will be changed automatically with the increase or decrease of
amount of stand or single.
Reset Trip Pit Volumes: Click on this button, then current total volume of active tripping pits
will be equal to expected total volume of active tripping pits. The system can calculate
parameters such as "Total volume difference of active tripping pits" and "Actual cumulative fill
in tripping", etc. according to this value, and compare it with the "Calculated cumulative fill in
tripping" that is calculated according to the drilling tools being tripped out/tripped in to judge if
spill or loss of in-well mud occurs during tripping.
Trip Pit: User can reset the TRIPPVT, TRIPEXPFILL and TRIPFILLVOL. After selecting the
box on the right side, you can modify the corresponding data. (Figure 6-26). After "Apply" is
clicked on, the system will start calculation automatically. You can input the supplemented
volume of pit according to actual supplemented volume to correct the validity of data.

125
Figure 6-26 The modification window of TRIPPVT
Circulation reset
Click on Circulation button to pop up a window as shown in Figure 6-27.

Figure 6-27 Circulation reset window


Parameters needed to be reset during circulating mainly include zero clearing of pump stroke rate
and reset of mud pocket (lag depth):
Reset of pump stroke rate: Reset of pump stroke rate refers to zero clearing of currently
cumulated individual pump stroke rate (or pump in volume) or total pump stroke rate (or total
volume of mud being pumped in) so as to restart accumulating. The purpose of resetting pump
stroke rate is mainly to track the operation condition of mud pocket in borehole. For example,
we can clear the total pump stroke rate when the pump is stopped for connection. When gases
return from the bottom hole to the surface and are detected by the chromatograph, record the
total pump stroke rate at that time, and compare this total pump stroke rate with calculated lag
pump stroke rate, then you can know whether currently calculated lag parameters (lag time,
mud lag depth and lag pump stroke rate, etc.) are accurate or not, and you can also correct lag
time using acetylene through this method.
You can select the reset type by clicking on "Stroke" or "Volume" button; to reset the
stroke rate or volume of mud being pumped in of a single pump, you can click on the "Zero"
button following each pump; or click on "All to Zero" button to set total pump stroke rate (or

126
total volume of mud being pumped in) to zero. It is needed to be noted that for CAN bus type
acquisition system and SK-7J02 acquisition system, the action objects of pump stroke rate reset
are different. Since for a CAN bus, "Pump stroke rate" is acquired by the system, and when you
click on the "Zero" or "All to Zero" button, then the pump stroke rate saved in the pump stroke
node is set to zero actually. While for a SK-7J02 acquisition system, since "Pump stroke rate" is
obtained by the system through calculation according to pump stroke speed, resetting pump
stoke rate is only to inform the real-time processing program to start to calculate pump stroke
rate again from zero.
Lag Depth: It is used to re-input currently corrected mud lag depth and cutting lag depth, and
then click on "Apply" button, then the real-time processing program will start to track the mud
pocket and cutting lag depth according to new lag depth.
Lag Time Adjust: Mud lag time can be adjusted according to actual period of cycle, actual
stroke of cycle and addition annulus volume. When the inputted actual period of cycle, actual
stroke of cycle and addition annulus volume are not right, they must be restored to the original
values first before being inputted again.

Message (M)
Click on the "Message (M)" option to open a comment window as shown in Figure 6-28.

Figure 6-28 Comment window

The comment window is used to input the real-time messages that need to be commented and
labeled during drilling into the comment window manually, and send these messages to the comment
repository of database for saving as required, or send them to strip chart printer for printing or data plot
screen for display. Real-time messages sent to comment repository are saved with the depth and time at
the moment when they are sent as the key words; in fact, messages sent to printer and data plot screen
are respectively forwarded to real-time print program and data monitoring program through the "System
message" of PCP, and then the comment messages will be printed on real-time strip chart or displayed
on the data monitoring screen. The comment messages inputted by the user can be kept so that users can
directly select the required message form the pup-up comment list box by clicking on the "Select"
button in the comment window when a message is needed next time.
After inputting comment information in the comment input box, you can check "Save content for
use" beneath the input list, and then press Database button and click on "Apply", then the comment
information will be saved in the comment repository; or you can press Printer button and select the
printing position (i.e. the column number on the real-time print strip chart with maximum of 8 columns)

127
and click on "Apply" button, then the comment information will be sent to the printer for print; or you
can press DataPlot button at the same time and click on "Apply" button, then a message window as
shown in Figure 6-29 will pop up on each plot screen.

Double click to close the window

Figure 6-29 Real-time comment message popped up on data plot screen

The window will be displayed for 20 seconds, but users can close it ahead of time by double
clicking this window. Once the comment information is saved, if you need the same or similar comment
content, you can click on the Select button on the comment window and select required comment
from the pop-up window of "Choose Note" (Figure 6-30) (the comment can be imported or exported).

Figure 6-30 Choose Note window for saving comment

Tool (T) menu


Click on "Tool (T)" menu button and a menu as shown in Figure 6-31 will pop up. It contains three
items of "Inclination (I), Carbonate (C) and Drillpipe (D).

128
Figure 6-31 Tool menu
Inclination (I)
Click on "Inclination (I)" button, then a window as shown in Figure 6-32 will pop up.

Figure 6-32 Hole Inclination window

Hole inclination window is mainly used to input real-time directional survey data so as to be
convenient for calculating and tracking some directional survey data such as vertical depth, vertical
depth of bit and dogleg angle in real time according to selected calculation method. Real-time
directional survey data mainly come from directional survey tools such as MWD (Measurement while

129
drilling), single point photograph or gyroscopic inclinometer and if required, borehole deviation data of
wire line logging may also be adopted. The real-time processing program can calculate and cumulate
the length of each vertical interval sectionally according to inputted borehole inclination data and
selected calculation method, and at the same time, calculate the length of the vertical interval at current
directional depth based on data of the last direction survey point, then the vertical well depth at current
directional depth can be obtained. In addition, the system can track the vertical depth of bit position in
real time with the up and down movement of bit in the well. This is very useful for tracking of wellbore
trajectory of directional well, extended reach well and horizontal well.
In the window of Figure 6-32, users only need to input the acquired latest "Survey well Depth",
"Inclination Angle" and "Azimuth Angle" into corresponding cells in the hole inclination data list, and
then select required "VDepth Method", then the vertical depth of each directional survey point can be
calculated, and at the same time, the vertical depth of current directional depth and vertical depth of bit
are also updated correspondingly. Users can also simply edit the inputted directional survey point as
required (delete a directional survey point), and then click on "Refresh" button to recalculate vertical
depth data. After data input is finished, you can click on "Apply" or "Ok" button to save the data into
the hole inclination data list.
Import and Export
Users can input hole inclination data manually or import existing data files into the data list. Click
on "Import" button and find the directory in which the hole inclination data file (Excel file) is saved in
the opened window, and then click on "Ok" button, then the data can be imported into the window
mentioned above. If required, you can export the hole inclination data in the list as an Excel file by
clicking on "Export" button.
Please note that sometimes the magnetic declination may not be corrected in directional survey
azimuth data provided by MWD. In this case, you only need to input the local magnetic declination data
into the input box of "Declination", then the system will automatically eliminate the influence of
magnetic declination in directional survey calculation. If the magnetic declination has been corrected in
obtained MWD directional survey data, then you only need to input zero into the input box of
"Declination".
With regard to calculation method of vertical depth, the CMS adopts totally 7 kinds of calculation
methods commonly used both at home and abroad for users to select. These methods include
"Tangential method", "Average angle method", "Balanced tangential method", "Minimum curvature
method", "Radius of curvature method", "Cylinder helix method" and "Corrected average angle
method". The method selection depends on field requirements. Generally, for directional wells and
extended reach wells, "Corrected average angle method" can be selected and used, while for horizontal
wells, "Minimum curvature method" can be selected and used.

"Carbonate (C)"
Click on "Carbonate (C)" button, then a window as shown in Figure 6-33 will pop up.

130
Figure 6-33 Carbonate analysis window

This option is a window specially designed for CAN bus type carbonatite analysis. In CAN bus
acquisition system, the carbonate analyzer is used as a special sensor node on CAN bus and it consists
only of carbonate reaction tank, pressure sensor and its node. Therefore, its pressure sensor is calibrated
through the data calibration function in the data acquisition program but however, its operation method
is basically same as that of traditional carbonate analyzer.
Before analyzing the sample, first input Sample No., Sample Depth, Sample Interval and
Lithology, select corresponding sample type (cuttings, core, wall core and standard sample) from the
pull-down menu of Sample Type but however, Analysis Time is automatically given by the
program. When you are ready to mix the sample and chlorhydric acid in the reaction tank to make the
react, click on Start button in the lower part of window (Figure 6-33), start up the analysis process and
at the same time, plot a curve of Time vs carbonate percentage in the plot area in the middle of
window. Users can click on Stop button according to the actual reaction time of sample to stop the
analysis process at any time, or automatically stop the analysis process when the analysis time is up to
6min. Once the analysis is terminated, the program will automatically analyze and determine
Maximum Carbonate, Calcium Carbonate and Other and display analytic results in the
corresponding boxes, respectively. If you doubt the analytic results, you can also edit them manually.
After the whole analysis process is complete, click on Save button and analytic data and analysis
results of this sample are saved in Analytic data table of carbonate and Analytic result table of
carbonate, respectively, and users can recall the analytic data any time: input the depth of played-back
sample in the input box of Sample Depth and then click on Load button. If required, click on
Print button to output the carbonate analysis report (as shown in Figure 6-34).

131
Figure 6-34 Print Carbonate Report window

Drillpipe (D)
Click on "Drillpipe (D)" button, then a window as shown in Figure 6-35 will pop up.

Figure 6-35 "Drillpipe" management window

The drillpipe management window is mainly used to track and adjust the variation of pipe strings
(including drill pipes or casings) in the borehole in real time during drilling, so that pipe string
assemblies "In Well" and "Out Well" meet current actual conditions.
The up and down movement and variation of pipe strings during drilling will have influence on the
calculation results of hydraulic parameters and lag parameters, etc. and the monitoring of pit volume
132
variation during tripping and casing running. Due to impact of various factors, the system may make
wrong judgment on the movement and variation of pipe strings sometimes; hence it is required to make
adjustment timely through drillpipe management. In drillpipe management window (Figure 6-35), data
in "In Well" and "Out Well" are read from the data list of "Running pipe string" "Pipe/casing" in the
parameter initialization program (refer to Parameter Initialization section for details). In this data list,
"In Well" and "Out Well" are identified with identification "1" and "0" respectively. After the system
judges that one single has been connected or one stand/single has been connected or dismantled, the
program will automatically adjust data of "In Well" and "Out Well" in the drillpipe management data
list, and at the same time, update the identification of "If in well" in data list of "Pipe/casing" in
parameter initialization program. When the system makes a wrong judgment on connection or
dismantling status of pipe string, you can adjust the pipe string through "Up" or "Down" button in
drillpipe management window manually so that current pipe string assembly can meet actual conditions.
Select one or more singles in the table of "In Well" and click on "Up" button, then the selected
single will enter "Out Well" and you can save current drill pipe assembly into the database by clicking
on "Apply" button again; or you can select one or more singles in the table of "Out Well" and click on
"Down" button, then the selected single will enter "In Well" and you can save current drill pipe
assembly into the database by clicking on "Apply" button again. Once the drill pipe assembly is
changed, the parameters associated with drill pipe in CDA such as "Total length of drill pipe", "Total
length of drill tool" and "End depth", etc. will be updated simultaneously.
The "Drillpipe management" window is only used to monitor and adjust "In Well" and "Out Well"
drill pipe assembly and can not be used to edit drilling pipe data. If you need to modify and add drill
pipe data, you can realize these functions in the parameter initialization program. Once the drill pipe
data in parameter initialization are changed, the system will inform the real-time setup program and
real-time processing program in the form of information to update the data in drillpipe management
window automatically.

133
Chapter 7 Real-time Processing Program
X Overview

This chapter describes the detailed functions and operating methods of real-
time processing program and its roles in CMS system.

Real-time processing program is the processing center of CMS for parameter calculation and
logical judgment, etc. It receives acquisition data from the data acquisition program in real time, judges
and tracks various drilling logical status and processes and calculates corresponding derived parameters
using inputted basic data in parameter initialization program and intermediate intervention information
sent by real-time setup program. The real-time processing program has the following aspects of
functions:
Judge and track various drilling logical status automatically and calculate and process
corresponding derived parameters in real time.
Receive the intermediate intervention information sent by real-time setup program to readjust the
calculation and judgment process, and send the calculation results to the real-time setup program.
Record and display the intermediate intervention and control information of real-time setup
program and some drilling information such as "Connection", "Tripping" and "Pump start and
close time", etc. in the form of "Real-time Message".
Be able to display relative acquisition parameters and part of derived parameters in categories in
real time with interval of 1 second.
Clear temporary data.
Provide special functions such as "Checkpost Stratum".
Have several kinds of practical calculation tools for calculating vertical depth and directional
depth, etc.
Be able to save all current acquisition parameters, calculated derived parameters and current
drilling status in the form of files so that to be convenient for invoking when the system is started
next time.
To start the real-time processing program, you can select the Real-time Monitoring program
package from the PCP and then click on Real-time Processing icon. Or alternatively, you can double
click on the icon of in the system installation directory \Create Mudlogging System\bin
to start this program manually.
XI Operation and Setup
After being started, the program will automatically minimize onto the taskbar in the lower right
corner of the screen in the form of icon (see Figure 7-1). You can right click on this icon to open the
main menu of this program (Figure 7-2). The main interface of real-time processing program includes
menu bars of RealTimeInfo (I), RealTimeReset (S), Monitor (M), Help (H) and Exit (X). If
the program is started for the first time, the initial drilling status will be "Suspended" by default. To
make the system to enter real-time calculation, depth tracking and automatic drilling status judgment,
you must start corresponding status through the real-time setup program.

Figure 7-1 Real-time processing program minimized on the taskbar

134
Figure 7-2 Main menu of Real-time Processing
"RealTimeInfo (I)" menu
Real-time information is an important function in real-time processing program. It can record the
intermediate intervention messages of real-time setup program in order of time, and record and display a
serials of useful drilling information in the form of real-time message such as drilling, reaming,
connection time during tripping, single No., time of starting and closing pump each time, time of
connecting or dismantling each stand in tripping, time of starting to pull BHA or to trip drill pipe or
stand and time of starting to inject cement slurry during tripping.
Double click on the icon of real-time processing program on the task bar in the lower right corner
of the screen; or right click on the icon of real-time processing program on the task bar and select the
"Real-time Message" option from the pop-up menu to open the real-time message window. An example
of e real-time message window is as follows (Figure 7-3).

Figure 7-3 Real-time Message window

Unless the real-time processing program is closed or restarted, otherwise the real-time message
window will keep all real-time messages all the time. After stopping the program, if required, you can
save the real-time messages into a text file (select the message text which needs to be saved and right
click and select "Copy" from the pop-up menu for review.

"RealTime Reset (S)" menu:

135
Right click on the icon of real-time processing program on the task bar and click on RealTime
Reset option from the pop-up menu to open the following window as shown in Figure 7-4.

Figure 7-4 RealTime Reset window

"RealTime Reset" mainly contains the following aspects of functions:


Cleanup global data. The real-time processing program must be restarted;
Cleanup historical data of Gas_Oriented;
Cleanup historical data of CDA;
Cleanup historical data of ROP_Oriented;
Cleanup historical data of Lag;
Cleanup historical data of ROP_Checkpoint

"Monitoring" menu:
Right click on the icon of real-time processing program on the task bar and click on Monitoring
option from the pop-up menu to open the following window as shown in Figure 7-5.

Figure 7-5 The main menu of Monitoring

Hole Track (T):


Click on option of "Hole Track (T)", then a display window of hole track diagram as shown in
Figure 7-6 will be opened.

136
Figure 7-6 The display window of Hole Track

The display window of hole track is mainly used to display the 3D hole track diagram of
directional well or horizontal well in real-time. Its coordinate Z is vertical depth, and X and Y represent
the geographic orientation and the NS and EW displacement of survey point. Users can adjust the
display effect of hole track through options such as "Scale", "Begin MDepth", "End MDepth",
"Horizontal Displacement", "Mark of HorDisplacement" and "Mark of MDepth". If you input
corresponding directional survey data in the input box of "Tool" "Inclination" in real-time setup
program and click on "Ok" button, then the real-time processing program will draw hole track diagrams
in real time and calculate and display current hole track according to the directional survey data of the
last point before receiving new borehole inclination data.
When the mouse moves slowly up and down in the hole track window, there will be a light blue
aperture moving with the movement of mouse along the hole track and at the same time, there is a set of
data on the bottom of the window to show the measured depth, vertical depth, NS displacement, EW
displacement and closure distance of the position where current aperture locates. Users can also perform
accurate conversion between measured depth and vertical depth through the setup window: select
measured depth and input known measured depth, then the accurate vertical depth corresponding to this
measured depth will be displayed on the bottom of the window, and vice versa.

Checkpost Stratum (R):


Click on Checkpost Stratum (R) option to open the display window of Checkpost Stratum
(Figure 7-7).

137
Figure 7-7 The display window of Checkpost Stratum

Aftereffect Observation (E)


Click on Aftereffect Observation (E) option to open the display window of Aftereffect
Observation (Figure 7-8).

138
Figure 7-8 The display window of Aftereffect Observation
GeoOrient (G)
Click on GeoOrient (G) option to open the display window of GeoOrient (Figure 7-9).

139
Figure 7-9 GeoOrient

Exit (X) menu


Right click on the icon of real-time processing program on the task bar and click on Exit (X)
option from the pop-up menu to open the following window as shown in Figure 7-10.

Figure 7-10 The prompt window for exiting program

Since real-time processing program is the calculating and processing center of CMS, exiting real-
time processing program means to terminate all monitoring activities (status judgment, depth tracking,
real-time calculation, monitoring display and data saving, etc.). Therefore, you must be very careful
before exiting the real-time processing program. If "No" is selected, the "Exit" operation will not take
effect; if "Yes" is selected, current status and all data in CDA will be saved in the working directory
\Creative Mudlogging System\Config of CMS in the form of 4 default binary files named
"CDATemp.bin", "GlobalTemp.bin", "CuttingsTemp.bin" and "ROPTemp.bin".
Attention: In normal process of logging operation, you should always ensure that data acquisition
program runs normally. In order to prevent real-time processing program from closing due to
misoperation, it is suggested to set the real-time processing program as Automatic Restart in the
Real-time ControlProgram Management window of PCP.

140
Chapter 8 CDA Setup Program
XII Overview

This chapter describes the detailed functions and operating methods of CDA
setup program and its roles in CMS system.
Data that are processed by the real-time processing program can be basically divided into real-time
acquisition parameter and derived parameter obtained through various calculations. These parameters
(501 items totally) can be distributed to other applications in CMS for saving, display, print or output
such as remote transmission, etc. through PCP in the form of broadcast. CDA (Common Data Area)
setup program is an application used to receive and display all real-time parameters of CMS. It has the
following functions:
Display names, current values, unit identifications and current units of 501 items of real-time
parameters concentratedly;
Be able to customize parameter groupings according to drilling operating conditions so as to be
convenient for CDA itself to search parameters and for other applications to select and set
parameters;
CDA setup program can run on any computer in CMS simultaneously. To start CDA setup
program, you can click on the icon of "CDA setup" program in program package of "Real-time
Monitoring" on PCP interface; or directly double click on the icon of in the system
installation directory \Create Mudlogging System\bin to start this program.
XIII Operation and Setup
The main interface of CDA setup program is as follows (Figure 8-1). The CDA setup program is
composed of two parts of status bar area and display area.

Figure 8-1 Main interface of CDA Setting program

141
Status bar area
Parameter Group
It is used to display the names of current parameter subgroup. At this point, what are displayed in
the CDA display area are all parameters of current subgroup. To review the parameters of a subgroup,
you can click on the Setting menu in the menu bar and select "Parameter Group" from the menu, then
a window as shown in Figure 8-2 will be opened. Click on the radio button before the required
parameter group to select this subgroup (such as "Pits") and click on "Ok" button, then all parameters in
the selected parameter group will be displayed in the CDA display area.

Figure 8-2 Select Parameter Group window

Date/time: It is used to display the clock time of current main acquisition computer.
Measured depth: It refers to current depth (directional depth).
Drilling status: It refers to the drilling logical status judged by CMS currently.
Search: It is used to query required parameters in the CDA display area. Input part of parameter
alias or full name of the parameter in the input box following it and click on "Start" button, then
the program will start to search the parameter in turn.

Display area
CDA Parameter Setting
You can modify the parameter components in parameter subgroup as required: select and double
click on a parameter (such as "Time") in CDA display area to open a window as shown in Figure 8-3.

142
Figure 8-3 Parameter Setting window
Find and select the required parameter in the box of "Parameter List" and select (or cancel-----not
select) one or more parameter groups from the check boxes of "Parameter Group" in the lower right part
of the window, then the parameter will be added to the selected parameter group (or be canceled from
the selected parameter group).
Parameter alias
It is used to display the parameter name customized by the user. To modify the parameter alias
(such as "Hook height"), you can double click on this parameter in CDA display area, then a window as
shown in Figure 8-4 will pop up:
Input the required parameter alias (such as modify "Offset hook height" into "Hook height") in
input box of "Parameter Alias" and click on "Ok" button, then the alias of this parameter in CDA display
area will be changed into "Hook height".

Figure 8-4 Modify parameter alias


Current value: It is used to display current value of parameter. The display can be refreshed
according to set update frequency.
Unit: It is used to display the unit being used by the parameter currently.
Unit Type: It refers to the unit identification used by the parameter. CMS divides the units of all
involved logging parameters into 130 categories and each category of unit has a unique
identification for distinguishing. Refer to chapter of Unit Setup program.
Description: It refers to the brief description of each parameter in CDA.

143
Chapter 9 Well Killing Monitoring Program
XIV Overview

This chapter describes the detailed functions and operating methods of well
killing monitoring program and its roles in CMS system.

Well killing monitoring software released together with SK-CMS software system is the newly-
developed well control monitoring and well kick analysis software of Shanghai Shenkai Company. It is
the engineering application of SK-CMS system, and reads initialization data and real-time data from
SK-CMS database and CDA (Common Data Area) to perform well kick analysis, provide evidence for
well killing, monitor the process of well shut-in and well killing and print related charts.
Well killing monitoring program can run on any computer in CMS simultaneously. To start well
killing monitoring program, you can click on the icon of "Kill" program in program package of "Real-
time Monitoring" on PCP interface; or directly double click on the icon of in the system
installation directory \Create Mudlogging System\bin to start this program.

XV Operation and Setup


The main interface of well killing monitoring program is as follows (Figure 9-1). It mainly
contains the functions of Shut In, Kick Data, Kick Analysis, Kick Report and Kill.

Figure 9-1 The main interface of Well killing monitoring program


Shut In:
It is used to monitor the variation of drill and casing pressure after deploying shut-in measure when
influx and overflow occurs. You should stop the circulation at the time of kicking, before shut-in and
during shut-in. Gas influx will increase subsurface pressure until bottom-hole pressure is stable and
subsurface pressure is balanced with formation pressure. This process may take 5-20min depending on

144
formation permeability, and the shut-in pressure obtained depends on the difference between formation
pressure and each corresponding hydrostatic column pressure.
When the pressure is stable and no formation breakdown occurs, the shut-in casing pressure is
usually higher than shut-in drillpipe pressure.
Click on the icon of on tool bar or directly click on the interface of Shut In to open the shut-
in monitoring window as shown in Figure 9-1:
Kick Name: The name given to the kick data recorded in database. It is an integer;
Shut-in At: The date and time when shut-in begins;
Time Interval: The data interval for plotting;
Influx: The volume of fluid flowing to borehole
Max. DP Pressure: The maximum drillpipe pressure during shut-in;
Max. Csg. Pressure: The maximum casing pressure during shut-in;
Start Build Up: Start to monitor the downhole pressure;
End Build Up: End pressure monitoring when the downhole pressure is balanced;
ShutIn Setup:

Right click on the shut in interface to pop up the following dialog as shown in Figure 9-2.

Figure 9-2 ShutIn (time-pressure table) Setup window

Y-Axe Press: It is used to define coordinate Y of pressure monitoring diagram.


Time Span: It is used to define coordinate X of pressure monitoring diagram. When time exceeds
the time span, the curve will move rightward. Delete the previous data and display interval remains
unchanged.
Color: You can select the color of drillpipe pressure curve, casing pressure curve, scale and
background.

Kick Data:

Click on the icon of on tool bar or directly click on the interface of Kick Data to open the
kick data window as shown in Figure 9-3:

145
Figure 9-3 Kick Data window
Well Name: The name of this well read from database
Well Hole: The current well hole identification of this well read from database
Basic Data:

Bit MDepth: Read from CDA;


Casing Shoe MDepth: The depth of casing shoe in the last layer. Read from database;
Weakest formation MDepth: It should be below the casing shoe depth. It is usually defined as
the casing shoe depth;
Fracture Gradient: It is used to calculate kick tolerance;
Mud Density: The average mud density read from CDA;
Leak Off EQMD: It is used to calculate the maximum casing pressure;
Kill Pressure Margin: It is used to calculate pore pressure and then to calculate kill mud density.
Active Pit Volume: It is used to calculate the amount of barite needed to weight mud;
Kill Method: It includes two methods of engineer (Also named Wait for weighting. Shut-in,
stabilize pressure, prepare heavy mud, perform one circulation and end killing) and driller
(Shut-in, stabilize pressure, perform one circulation and prepare heavy mud, perform secondary
circulation and end killing).

Slow Circulation Data:

Slow Circ Pump: The pump used to circulate heavy mud;


Slow Circ Pump Rate: The pump rate for killing;
Slow Circ Flow Rate: The flow rate for killing;

146
Slow Circ Pump Pressure: The initial circulation pressure obtained from the killing operation is
used to calculate the ending circulation pressure.

Influx Data:

Influx Volume: The data obtained from shut-in monitoring;


ShutIn DP Pressure: The data obtained from shut-in monitoring;
ShutIn Casing Pressure: The data obtained from shut-in monitoring.

Refresh: Click on this button and related real-time data will be read from CDA, such as bit depth,
mud density, active pit volume and slow circulation parameters.
Calculate: Click on this button to perform kick analysis of the given data. You can review the
analysis results in the interface of Kick Analysis and print kick analysis report.
Kick Analysis

Click on the icon of on tool bar or directly click on the interface of Kick Analysis to open
the kick analysis window as shown in Figure 9-4:

Figure 9-4 Kick Analysis window


Kick Data: Display some data when kicking occurs.

Pore Pressure: i.e. formation pressure;


Equivalent mud density of pore pressure: i.e. ECD;
Influx Length: Calculated according to the influx volume;
Influx Density: Calculated according to the influx pressure;
Influx Type: Oil, gas or saline water;
Kick Tolerance: i.e. the maximum formation balance pressure gradient. When kicking occurs in
current depth and mud density and in the condition that no hydraulic borehole fracture occurs
147
during shut-in, kick tolerance should be considered. The limit is the minimum fracture gradient.
Kick tolerance should be calculated before formation fluid invades. When no influx occurs, it
should be calculated with current mud density;
New Kick Tolerance: The kick tolerance calculated with the killing mud density;
New Min Kick Tolerance: The minimum kick tolerance calculated with the killing mud density;

Kill Data: Display some data required for killing operation

Kill Mud Density: i.e. the mud density to balance the formation pressure nicely. It can be
calculated with the stable shut-in pressure;
Max. Allowed CSIP: i.e. the maximum casing pressure allowed in shut-in operation. The
maximum pressure for one well under the conditions that no blowout control equipment, casing
or formation are damaged. Namely, the minimum value of rated working pressure of blowout
preventer, internal pressure strength of casing and formation fracture pressure gradient;
Initial Circ Pressure: The pressure needed at the beginning of circulation;
Final Circ Pressure: It refers to the pressure at the time when killing mud reaches to the bit
depth and begins to return to the surface. This value should be maintained during this process;
Barite Required: The weight of barite required in preparing heavy mud;
Volume Gain: The volume gain of mud caused by adding barite.

Kill Method: Engineer and driller

Drillers and engineer's methods (wait for weighting) are two commonly used constant bottom hole
pressure methods.

For drillers method, mud is not weighted in the first circulation and new mud density is equal
to the initial mud density, so the pressure of pump with low pumping rate will remain
unchanged. The pressure adjustment value is equal to the shut-in drillpipe pressure. The
drillpipe pressure can remain unchanged during the first circulation to keep the bottom hole
pressure constant. In the second circulation, the pressure reduces during the process of
sending killing mud to bit. After that, the drillpipe pressure remains unchanged.
There is only one circulation for engineers method. Mud should be weighted before
circulation begins and the final drillpipe pressure is equal to the new pressure of pump with
low pumping rate.

Expected Killing Process: The volume, stroke and time required in the process of sending kill mud
to bit, influx to shoe, influx to surface and kill mud to surface.
Save: Click on the button to save the kick data to the database
Expected pump pressure schedule during killing: The change curve of pump pressure during the
process of completing killing circulation.

Parameter setting of pump pressure schedule: Right click on the interface of kick analysis to pop
up the following window as shown in Figure 9-5.

148
Figure 9-5 Pump Pressure Schedule setup window
Circulation Pressure: The coordinate Y of graduated pump pressure schedule;
Time: The coordinate X of graduated pump pressure schedule;
Color: You can select the color of background, scale and pump pressure curve.
Kill:

Click on the icon of on tool bar or directly click on the interface of Kill to open the kill
monitoring window as shown in Figure 9-6:

Figure 9-6 Kill window


Shut In At: The start time of shut-in
149
Begin Kill Mud At: The start time of well killing
Status: Shut-in or well killing
M. Depth: The vertical depth when well is shut in.
Bit M. Depth: The bit depth when well is shut in.
Influx At: The current depth of the top of influx fluid
Kill Mud At: The arrival depth of heavy kill mud. It is negative in drill pipe and positive in annulus
Kill Strokes: The calculated pump stroke rate after clicking on the Start Kill Mud button
Monitor Strokes: The calculated pump stroke rate after clicking on the Start Monitor button
DP Scheduled: The current drillpipe pressure calculated theoretically
Flow In: The real-time value of inlet flow rate read from CDA
Stroke Rate: The real-time value of pumping rate read from CDA
Mud Weight In: The real-time value of inlet density read from CDA
Mud Weight Out: The real-time value of outlet density read from CDA
Surface to Bit: The value obtained according to the results of kick analysis
Bit to Shoe: The value obtained according to the results of kick analysis
Bit to Choke Line: The value obtained according to the results of kick analysis
Surface to Surface: The value obtained according to the results of kick analysis
Kill Pit Volume: The volume of kill mud pit
Kill Gain/Loss (Cum): The cumulative volume of kill gain or loss
Kill Gain/Loss (Inst): The instant volume of kill gain or loss (once per second)
Start monitor: Start to monitor pump, pit volume, pressure and total hydrocarbon. After clicking on
this button, the content changes to "End Monitor", then the Kill Mud button is available;
Kill Mud: After clicking on this button, the content changes to End Kill Mud;
End Kill Mud: End kill mud monitoring
End Monitoring: Click on this button, then the Kill Mud button is unavailable.

Right click on the interface of Kill to pop up the window of Kill Setup as shown in Figure 9-7:

Figure 9-7 Kill Setup window


Press Scale: The coordinate Y of the curve of drillpipe pressure and casing pressure;
TVL: The coordinate Y of the total pit curve;

150
TGas Scale: The coordinate Y of the total hydrocarbon curve;
Span: The coordinate X of the curve of drillpipe pressure, casing pressure, total pit volume and
total hydrocarbon in strokes. Click on Strokes button to draw figure with sampling in span or
click on Volume to convert it to mud volume pumped as the coordinate X.
Color: You can select the color of the curve of drillpipe pressure, casing pressure, total pit
volume and total hydrocarbon, background and scale.
Kick Report:

Click on the icon of on the tool bar to preview the kick report as shown in Figure 9-8.

Figure 9-8 Kick Report


Click on the corresponding button to perform such operations as print and zoom in, etc.

151
Chapter 10 Cutting Return Program
Cutting return program can be run on any computer in CMS simultaneously. To start this program,
you can click on the icon of Cutting Return program in Monitor program package in PCP interface.
You can also directly double click on in the system installation directory \Create
Mudlogging System\bin.
Figure 10-1 shows the cutting return window. It is used to monitor the returning status of cutting
per meter. Its display bar includes depth, ROP, reserved time, time on depth, time of arrival and reserved
stroke, which can display the returning status of 30 packages of cuttings continuously.

Figure 10-1 Cutting Return Window

152
Software Manual of SK-CMS Mud Logging Unit

Chapter 11 Data Record Program


XVI Overview

This chapter describes the functions and operating methods of data record program and its
roles in CMS in detail.

In CMS, real-time acquisition data and derived data are saved in the corresponding database table
based on time or/and drilling depth and event according to certain saving interval. The CMS divides the
real-time database into the following 20 database tables according to functions and applications of data:
Chinese name of English name of database
Remarks
database table table
Time table Gentime Based on time
Depth table DRILLDEPTH Based on well depth
1m depth table DRILLDEPTH_1M Based on well depth
Based on
Connections table CONNECTIONS
connections amount
Based on time/well
Hydraulics table HYDRAULICS
depth
Time table of tripping
TRIPTIME Based on time
pipe string
Setting table of tripping Based on setting
TRIPCONN
pipe string event
Lag mud table LAGMUD Based on lag depth
Outlet chromatogram Based on sampling
CHROM1_CYCLE
cycle table time
Outlet chromatogram
CHROM1_DEPTH Based on lag depth
depth table
Inlet chromatogram cycle Based on sampling
CHROM2_CYCLE
table time
Inlet chromatogram
CHROM2_DEPTH Based on well depth
depth table
Chromatogram
CHROM_DIFF_CYCLE Based on time
difference cycle table
Chromatogram
CHROM_DIFF_DEPTH Based on lag depth
difference depth table
Pits table PITS Based on time
5m average table FIVEm AVERAGE Based on well depth
Reaming (wipping) data
REAMDATA Based on time
table
Users defined time table UserDefinedTime Based on time
Users defined depth table UserDefinedDepth Based on well depth
Users defined lag depth
UserDefinedLagDepth Based on lag depth
table
The function of data recording program is to save real-time data into different database tables
mentioned above respectively. By setting one or more trigger and trigger interval, it writes real-time
data which meet trigger conditions in CDA into the fields of corresponding database table respectively.
In addition, the saving process of real-time data is also controlled by drilling status to avoid recording
useless or repeated records into the database. The data recording program has the following functions:
Receive CDA data transmitted by PCP in real time.

153
Record the real-time data into corresponding database table according to the trigger and trigger
interval specified by users and the data properties (maximum, minimum, average or original data).
Control data entry through trigger and drilling status to prevent data from being input repeatedly.
The coincidence relation between fields of database table and CDA data can be customized, hence
strengthening the flexibility and expandability of the system.
The opening and closing of database table can be freely specified by users.
To start data recording program, you can click on the icon of Data Record program in Data
Output program package in PCP interface. You can also directly double click on in the
system installation directory \Create Mudlogging System\bin.
XVII Operation and Setup
Figure 11-1 shows the main interface of data recording program. Its menu bar includes 4 menus of
File, Data, View and Help. Name of real-time database table, current status (open or close), the
last saving time, the corresponding depth when saving and trigger condition of data saving are shown in
the display area in the lower part of the menu bar.

Figure 11-1 Main Interface of Data Record Program


Attention: To input the real-time data into the required database, the data record program should
keep run normally all along in the course of normal logging. To prevent data record program from being
closed by misoperation, it is recommended to set the data record program as Restart automatically in
the window of Real-time control program management window in PCP.
File
The menu of file includes an option of Exit. Click on Exit or the button on the top right corner
of the window. Then the dialog as shown in Figure 11-2 will pop up for you to confirm whether to exit
this program or not. Click on Yes button, then the program will be ended. (If the data recording
program has been set as Restart automatically in the window of Real-time control program
management window in PCP, the program will restart immediately after exiting data recording program
unless the function of Restart automatically has been canceled).

154
Software Manual of SK-CMS Mud Logging Unit

Figure 11-2 Prompt Dialog before Exiting Data Record Program


Data
The data menu includes three options: Start/Stop (S), Table Config (C) and Option (O) (as
shown in Figure 11-3).

Figure 11-3 Window of Data Menu


Start/Stop (S)
After the data record program starts, a main interface as shown in Figure 11-4 will be displayed.

155
Figure 11-4 Main Interface after Starting Data Record Program
If the database table in the main interface is in Open status currently, click on icon in the
menu bar or Start/ Stop option in Data Record menu (Figure 11-3). Then the program will record
the data into corresponding database table according to the default saving setup conditions (trigger,
trigger type, trigger interval and trigger status), and a dialog similar to Figure 11-1 will appear in the
main interface simultaneously.
Table config (C)
This option is used to browse the system default configuration content, or reset/modify the CDA
parameters and data value properties (i.e. whether the data recorded is the maximum value, minimum
value or average value) corresponding to database table field, and set trigger condition for data saving
(i.e. trigger, trigger type, trigger interval and trigger status). Click on Table Config option to open the
parameter setting window (as shown in Figure 11-5).

156
Software Manual of SK-CMS Mud Logging Unit

Figure 11-5 Parameter Setting Window of Data Record


The upper part of the window is used to configure the CDA parameters corresponding to database
table field and determine the saving properties of the data value (maximum, minimum, average or
original value). You can click on the name of data table in the database list box on the leftmost side in
turn to review the default configuration contents in the list box of field in the middle part. In the
window, the column of Field Name represents names of all fields in the data table; the column of
Source represents the CDA (Common Data Area) parameter corresponding to the field name. To
modify the configuration property of any field in the database table, you can select required database
table in the database list box on the right side, select the field to be modified in the field list box in the
middle part, and then find and select the corresponding parameter item in the list box of Common data
area on the left side, select one item from Original, Average, Minimum and Maximum in the
single-selection item of Data type beneath it, then click on << button and the coincidence relation
between this field and CDA parameter item will be established in the list box of the field. Sometimes
the database table saved by the system cant meet requirement, then users can set/modify CDA
parameters corresponding to database table field and data value properties (i.e. whether the data
recorded is the maximum value, minimum value or average value) and set trigger conditions of data
saving (i.e. trigger, trigger type, trigger interval and trigger status) in user customized time table, well
depth table and lag depth table at will.
In fact, saving properties (such as modifying the data type of a field) can be reconfigured only
when users particularly require, otherwise users should adopt the default property setup.
The lower part of the configuration window is used to set the trigger conditions for saving data into
database. Generally, you can adopt the system-default trigger conditions of data saving in each database
table. In addition, users can modify the trigger condition as required (only adapting to customized table)
with the method as follows:
Select the data table whose trigger condition need to be modified from the database list box
in the upper left part of the window (highlight it).
Select a CDA parameter item from the pull-down list of the first trigger parameter on the
leftmost side of the trigger condition as the trigger for saving this data table into database.
Select a trigger type from the pull-down list of Trigger type. Input the trigger interval in
the input box of Increment. There are three trigger types available:
Fixed: Record data when the increment or decrement of trigger parameter meets the
trigger interval.
Increment: Record data when the increment of trigger parameter meets the trigger
interval.
Percentage: Record data when the variance of trigger parameter meets the percentage set
by the trigger interval.
Set the trigger status for saving data into database: Click on Change button, then the
window as shown in Figure 11-6 will pop up. Check trigger status, or click on Select All
button to select all operation statuses (drilling statuses) as the trigger status. Then click on
Ok and the selected drilling status will be added in the Trigger Status column.

157
Figure 11-6 Setting the Trigger Rig Activity of Data Record

After all settings or modifications are finished, you can click on Ok or Apply button on
the bottom of the window, and then current real-time data will be saved in the database
according to the new trigger conditions.

Option (O)
Click on Option to open the saving setting window (as shown in Figure 11-7).

Figure 11-7 Saving Setting Window

Save WTTS Data: Save data once per second. Attention: Dont pitch on it unless it is
necessary! The database will increase rapidly after saving WITS data.
Save CDA Data: It is used to load the data of the last 30 minutes by curve after performing
data monitoring.
Autorun data save while startup: If you pitch on this option, data record will be carried out
automatically after starting data record program. If this option is not selected, you should
perform data record manually after starting data record program (click on Start/Stop).

158
Software Manual of SK-CMS Mud Logging Unit

Chapter 12 Data Monitoring Program


XVIII Overview

This chapter describes the functions and operating methods of data monitoring
program and its roles in CMS in detail.

Data monitoring program is used to receive and display logging parameters in real time. It can also
replay historical data on the screen. It can display monitoring screens integrating alphabet numbers
and/or curves in real time through the format or template customized by users so as to record and reflect
the variation trend of logging parameters. The data monitoring program has the functions as follows:
Receive logging parameters sent by PCP in real time.
Save customized monitoring templates in the form of file so as to invoke them at any moment.
Display monitoring screens integrating alphabet numbers and curves in real time.
Replay historical data on the screen in the form of alphabet numbers and curves.
It has functions such as audible and visual parameter alarm, sampling prompt and chiming on
every hour, etc.
It can receive real-time comment messages sent by real-time setup program. And these messages
are displayed in text format in the information prompt window to inform the receiver of the remote
transmitted image.
It has flexible and convenient display format and beautiful and enrich image, which is capable of
meeting the monitoring requirements of users to different drilling status.
To start data recording program, you can click on the icon of Data Plot in Data Output
program package in PCP interface. You can also directly double click on in the system
installation directory \Create Mudlogging System\bin.

XIX Operation and Setup


As shown in Figure 12-1, the main interface of data monitoring program is composed of three
parts: menu bar, status bar and background area. The menu bar is mainly used to: open or close existing
comprehensive monitoring template; build new data, curve or comprehensive monitoring template; save
new template, or set a template as the default monitoring template so as to open this monitoring
template automatically when running this program next time. The well name and borehole name of
current Active well and current data receiving status will be displayed in the status bar. When the data
monitoring program is receiving CDA data from PCP, Receiving CDA data (as shown in Figure 12-
1) will be displayed in it. Otherwise, the message of Disconnection!!! will be displayed, and the well
name and borehole name is invisible. The background area is used to contain opened or newly built
monitoring templates.

159
Figure 12-1 Main Interface of Data Plot

File (F):
Click on File button, then the menu as shown in Figure 12-2 will pop up. It includes six
menu options: Open Template, Close Template, Set as Default Template, Save, Save as
and Exit.

Figure 12-2 File Menu

Open Template (O): It is used to open defined comprehensive monitoring templates that have been
saved in designated directory (files with extension of .SFF). Click on Open Template or icon
beneath the menu bar, and the dialog as shown in Figure 12-3 will pop up.

160
Software Manual of SK-CMS Mud Logging Unit

Figure 12-3 the Interface of Opening Template

Select the directory in which comprehensive monitoring templates are saved and the name of
monitoring template file, and click on Open button, then this monitoring template will be
displayed in the background area (as shown in Figure 12-4).

Figure 12-4 Sample of Comprehensive Monitoring Templates

If the data monitoring program receives data sent in real time at this point, the program will display
current parameter values and draw curves with refresh frequency of 1s in the monitoring template.
Close Template (C): You can close the comprehensive monitoring template displayed currently by
clicking on the option of Close template or icon beneath the menu bar.
Set as Default Template (E): It is used to set the comprehensive monitoring template displayed
currently as the system default monitoring screen so as to open this monitoring screen
automatically when running the program next time.

161
Save (S)/Save as (A): It is used to save ( icon) newly built mixed-display image integrating
alphabet numbers and/or curves into a comprehensive monitoring template; or resave or save the
comprehensive monitoring template modified currently ( icon) as a template file (with
extension of .SFF) so as to invoke them next time.
Exit (X): Click on Exit to exit data monitoring program.
Attention: At most 5 data monitoring programs can be run in an IPC to meet the requirement of
multiple-screen output of CMS.

Monitor (M):
Click on Monitor button, then a menu option as shown in Figure 12-5 will pop up.

Figure 12-5 Monitor Menu

Data Monitoring (D):


Click on New Data Template in Data Monitoring option or icon to open a blank data
monitoring template (Figure 12-6). Right click on the newly built data monitoring template, then a setup
menu as shown in Figure 12-6 will pop up. You can customize the newly built data monitoring
templates with this menu.

162
Software Manual of SK-CMS Mud Logging Unit

Figure 12-6 Building a Data Monitoring Template

Design Mode (D):


Click on Design mode, then cell gridlines will appear in the newly built data monitoring
template (Figure 12-7), and three edition functions including Cell Property, Insert and
Delete will turn into usable status from unusable status. Then you can set the newly built data
template.

Figure 12-7 Design Mode of Data Monitoring Template

Show Gridline (S):


Click on Show Gridline to show or hide the gridline.
Cell Property (C):
Click on Cell Property to open the cell property setup window (as shown in Figure 12-8).

163
Figure 12-8 Data Window of Cell Property Setup

This window is composed of General and Data. Data (Figure 12-8): It is mainly used to
set and select the parameters that need to be displayed in the cell. General (Figure 12-9): It is
mainly used to set the properties of background color, foreground color, font and template title, etc.

Figure 12-9 General Window of Cell Property Setup


Example: Set the showing parameters and property of a cell (horizontal arrange).
First, select this cell in the data monitoring template and right click, then select Cell Property to
open the setup window.
Select Real-time data from the pull-down menu of Data type in Data option window, then

164
Software Manual of SK-CMS Mud Logging Unit

the list of parameter subgroup and parameter name will appear in the list box on the right side of
data type respectively.
Select the parameter group in which the parameter locates (such as Drilling). Then find the
required parameter in the parameter name list and double click this parameter name (such as bit
position), then the required parameter will appear in the Parameter list box. Then click on OK,
the parameter will be displayed in the selected cell (as shown in Figure 12-10).
Repeat the steps above to finish parameter selection for all the cells.
Select one or more cells in the data monitoring template and right click, then select Cell Property
to open the setup window. Set alignment mode, font, background color, foreground color and the
title of this template in the General option window.
Click on OK button to complete the property setup of the selected parameter cell. Then this
parameter will be displayed in the selected cell (Figure 12-10).

Figure 12-10 Sample of Parameter Setup in the Cell

Besides Real-time parameter, you can also select Date/Time as a special parameter for
display in the cell, and at the same time, you can select the display format of date/time from the
pull-down Parameter list menu. In addition, you can insert the company icon into the cell for
display: check Picture in the upper part of the data window (as shown in Figure 12-8), and then
click on button. Find the icon in the directory in which icon files are saved and select it, and
then click on OK button. Then the required icon will be displayed in the designated cell (Figure
12-11).

165
Figure 12-11 Setup of Icon Displayed in the Cell
Attention: As shown in Figure 12-10, a parameter item is usually composed of three parts:
parameter name, parameter value and parameter unit. Therefore, once a parameter is selected in the cell
property setup data window, the parameter will automatically occupy three successive cells, which are
used to display parameter name, parameter value and parameter unit respectively, in same row in the
data monitoring template. Hence at least three columns of cells are usually be set in definition of data
monitoring template.
Example: Set a data monitoring template in which parameter values are listed vertically.
Click on OK to complete property setup. In order to browse and compare parameter values
of the same parameter (such as ROP data) at different well depth or time conveniently, it is
required to arrange parameters vertically according to the set time interval (as shown in Figure 12-
12).

166
Software Manual of SK-CMS Mud Logging Unit

Figure 12-12 The Data Monitoring Template with Vertically Listed Parameter Values
The setup method is:
Select the cell in which parameter values are going to be listed vertically in the data monitoring
template (as shown in Figure 12-12, the cell in which Well Depth locates). Then right click and
select Cell Property to open the cell property setup window.
Check Vertical Arrange in the General option window, then the originally unusable items of
Rows, Index, Interval, Data will turn into usable status (as shown in Figure 12-9).
Set the number of rows, key words (i.e. index, with well depth, lag depth or time available) and
display interval needed for vertical display, and select whether the data to be displayed are original,
maximum or average values, etc.
Repeat the steps mentioned above to set other columns of cells to be displayed vertically (as shown
in Figure 12-12, Average ROP and Outlet total hydrocarbon).
Click on Data option to enter Data option window, and set parameters to be displayed in the
columns above according to the steps of Set parameters in a cell respectively.
Set the properties of each cell in the General option window. Then click on OK button to finish
the setup.

Insert (I)/Delete (E)


The default format of a newly built alphabet number monitoring template contains totally 60 cells
with 10 rows and 6 columns. Users can modify the amount of rows and columns as required by using
the edit functions of Insert and Delete in Design Mode (Figure 12-13). The method is as follows:
Select a cell beside the location where a row or a column to be inserted (e.g. the cell A in Figure
12-13) and right click, then the setup menu will pop up.
In the pop-up menu, click on Insert Before Column (or Before Row or After Row or
After Column) in turn, then a column (or a row) will be inserted before the column (or Before
Row or After Row or After Column) in which cell A locates (e.g. the column before the
column where cell A in Figure 12 locates).
To delete a row or a column, you can select any cell in the row or column to be deleted and right
click. Then click on Delete Column (or Row) in the pop-up menu to delete a column (or a
row).

167
Figure 12-13 Inserting Rows or Columns

Property (P)
Generally, besides using Insert/Delete to set number of rows and columns, when building or
edit a data monitoring template, users can select Property option to define number of rows and
columns in the setup menu and determine the row height, column width, the line width and display
format of gridline.
Select the cell within the rows and columns to be edited on the data monitoring template, then right
click to select Property option to open the property setup window (Figure 12-14).
Set the Rows and Columns of the whole cells in the property setup window. And set the row
height and column width of the rows and columns where the selected cells locates.
You can also set whether the cell gridlines will be displayed or not and the line width and showing
style of gridline as required.
Click on Ok button to finish the setup of number of rows and columns, row height and column
width of this data monitoring template (Figure 12-14).

168
Software Manual of SK-CMS Mud Logging Unit

Figure 12-14 Setting the Property of Templates


Drag (R)
This is a multi-selection switch function. Move the mouse to any position of the monitoring
template window, right click and select Drag from the pop-up menu. Then you can see a tick before
Drag option when opening this menu again. It means that you can drag the monitoring template
window to any position in the background area with the mouse right now. If select this option again in
the menu, the tick before it will disappear. It means that the template window can only be fixed on the
current position and can not be dragged. The drag function is mainly used to combine and arrange
comprehensive monitoring images with curve monitoring template and data monitoring template mixed.
Attention: When the data monitoring template is in drag status, you can not select multiple cells
with the mouse at one time. In this case, cancel Drag function directly.
Minimize (M)
Move the mouse to any position of the monitoring template window, right click and select
Minimize from the pop-up menu, then the monitoring template window will minimize in the
background area. If you have set the title of monitoring template in the input box of Title in the
window of Cell Property General option (as shown in Figure 12-15), then this window will be
labeled with the title after it is minimized (Figure 12-15). Double click on the minimized template
window to open it and restore it to the original position.

169
Figure 12-15 Minimizing the Template Window
Close (X)
To close a monitoring template window that is opened currently, you can right click on any
position of the monitoring template window, and select the last Close option from the pop-up menu,
then this monitoring template will be closed immediately.
Curve monitoring (U)
It is used to build a monitoring template to show curves, which is similar with the function of data
monitoring mentioned above.
Click on New or in the Curve monitoring menu to open the default curve monitoring
template window (as shown in Figure 12-16). Users can modify the properties of this template: move
the mouse onto the newly built curve monitoring template and right click, then the setup menu as shown
in Figure 12-16 will pop up. Users can customize the new template in this menu.

Figure 12-16 Building Default Curve Monitoring Template and Property Setup Menu of the new
Template
Design Mode (D):
Click on Design Mode in the property setup menu, then three edit functions, Add Chart,
Data Source and Graph Property, will be changed from unusable status to usable status. It
represents that the system turns into the setup mode of the newly built curve monitoring template.
Add chart (A)
You can click on Add Chart to add a connected newly built curve monitoring template on
the right side of current newly built curve monitoring template (as shown in Figure 12-17). It shall
be noticed that the difference between Add Chart and Build Curve Monitoring Template" is as
follows: the template added by Add Chart is connected with the current template, while the
newly built template is separated from the current template.

170
Software Manual of SK-CMS Mud Logging Unit

Figure 12-17 Add a template beside the newly built curve monitoring template

Delete Chart (E)


Before carrying out Add Chart, the item of Delete Chart is in unusable status (as shown in
Figure 12-16). When two or more curve monitoring templates have been added, you can click on
Delete Chart to delete the currently selected unwanted curve monitoring template.
Data Source
It is used to select parameters to be displayed and their properties for the curve monitoring
template. Click on Data Source to open the setup window of data source (Figure 12-18). The upper
part of this window is used to select data source, parameters subgroup and parameters to be displayed.
And the lower part is used to set the curve display properties of selected parameter.

Figure 12-18 Setup Window of Data Source

171
Select a subgroup (such as Drilling) where the parameters locate from the CMS parameter set
list box first. Then parameters associated with drilling will be displayed in its adjacent list box.
Find and select required parameter in the parameter list box and then click on > button (or
double click on the parameter name), then this parameter will be displayed in the list box of Select
CMS parameter. You can also select unwanted parameter in the list box of Select CMS
parameter and then click on < button (or double click on the parameter name) to cancel this
parameter.
Repeat step 1 and 2 mentioned above to select other parameters.
Select the parameter whose display properties need to be set in the list box of Select CMS
parameter, and then set the line style, line width and color of this parameter curve and shape, size
and color of curve point signs (to be convenient for distinguishing when two curves cross) as
required in the lower part of the window. And you can also set the showing name of parameter and
horizontal scale (measure range) and modify parameter alias.
Click on OK button after finishing setup, then the curve monitoring template will draw curves
according to set parameters and curve properties (as shown in Figure 12-19).

Figure 12-19 Display Sample of Newly Built Curve Monitoring Template


Graph Property (G)
To change the properties, such as the width, background color, longitudinal coordinate and
gridlines, etc., of curve monitoring template as shown in Figure 12-19 to make them look nicer, you can
use the Graph Property setup window. Select the curve monitoring template whose properties need to
be set and right click. Then click on Graph Property (as shown in Figure 12-16) from the pop-up
menu to open Graph Property setup window (Figure 12-20). It contains the following option
windows:

172
Software Manual of SK-CMS Mud Logging Unit

Figure 12-20 Curve Monitoring Template: Graph Properties Setup Window

General
As shown in Figure 12-21, the General setup window contains the size (position) of template,
display property and font, etc. of coordinate axis, chart type (oscillogram, histogram or piegraph),
background color (including chart boundary, boundary area and drawing area), etc. After setting each
property value properly according to your fondness and methods similar with those in Figure 12-21, you
can click Apply" (or "Ok") button to get the required template appearance.

173
Figure 12-21 Setting General Properties of a Curve Monitoring Template
Note: the default General properties are:
Lefthand boundary =20, Righthand boundary =20,
Upper boundary = 20, Lower boundary =25
Width =45, Height =98
Line type of coordinate axis = Solid line, Line width = 1, Font = MS Serif
Graph type = Oscillogram
Background of chart boundary = White
Background of chart area = White
Background of drawing area = White
Y Axis
As shown in Figure 12-22, Y Axis setup window includes selecting drawing keyword (based on
time or well depth) and setting showing mode of horizontal gridline (line type and color, etc.), title and
scale and direction of Y axis calibration. After setting each property value properly according to your
fondness and methods similar with those in Figure 12-22, you can click Apply" (or "Ok") button to get
the required template appearance.

174
Software Manual of SK-CMS Mud Logging Unit

Figure 12-22 Setting Y Axis Properties of a Curve Monitoring Template


Note:
The default Y Axis properties are: Graphics display based on time, Line type of
gridline = solid line, color of gridline = grey, space between gridlines = 10s,
title/rotation: no X axis calibration, rotation = 0, calibration scale of X axis = 1:5
When graphics display based on well depth is selected, Main Spacing and Minor
Spacing will become usable.
X Axis
As shown in Figure 12-23, X axis setup window includes the calibration type (linear or
logarithmic), calibration base, gridline property and title of X axis. Set each property value according to
your preference like Figure 12-23. Then click on Apply (or OK) button to get the required template
appearance.

Figure 12-23 Setting X Axis Properties of a Curve Monitoring Template


Note:
The default X Axis properties are: Linear scale, line type of gridline = solid line, color
of gridline = grey, space between gridlines = 5, title text/rotation: none.
The meaning of Full scale of X axis is 100 units is: the measurement magnitude of
different parameter scale in relation to 100 calibration units of X axis.
Legend:
As shown in Figure 12-24, Legend setup window includes whether to display legend or not and
the position, color (including background and foreground color), title and appearance, etc. of legend. Set
each property value according to your preference like Figure 12-24. Then click on Apply (or OK)

175
button to obtain the required legend.

Figure 12-24 Setting Legend Properties of a Curve Monitoring Template


Note:
The default Legend properties are: Display legend (by selecting the check box),

lefthand boundary = 20, upper boundary = 30, background color of legend = ,

foreground color of legend = , title = none, appearance = Broder3DOut


You can cancel checking Display legend to hide the legend.
Option: As shown in Figure 12-25, Option setup window is used to set the name of curve
monitoring template. Input the title of curve monitoring template in the Title input box, then this
window will be labeled with the title when it is minimized. Double click on the minimized

176
Software Manual of SK-CMS Mud Logging Unit

template window to open it and restore it to the original position.

Figure 12-25 Setting Option Properties of a Curve Monitoring Template


Drag (R)
Click on Drag in the property setup menu of curve monitoring template to drag the curve
monitoring template window, which is the same as the Drag function in Data monitoring template
setup menu.
Time Synchronization (S):
You can create more than two connected (not separate) curve monitoring templates by Add Chart
option in the property setup menu of curve monitoring template (as shown in Figure 12-26). When
drawing real-time curves based on time, you can make the drawing time of these connected (not
separate) curve monitoring templates synchronized by Time Synchronization.

Figure 12-26 More than two connected (not separate) curve monitoring templates
Minimize (M)
Click on Minimize option in the property setup menu of curve monitoring template, then the

177
curve monitoring template window will minimize into a title bar. It has the same function as the
Minimize option in the setup menu of Data monitoring template (refer to the section of Data
monitoring).
Close (X)
You can click on Close option in the property setup menu of curve monitoring template to close
the curve monitoring template window. It has the same function as the Close option in the setup menu
of Data monitoring template.

Option (O)
Click on Option button, then the menu option as shown in Figure 12-27 will pop up.

Figure 12-27 Option Menu


Alarm Log (L)
It is used to review the alarm log which is recorded for parameters exceeding alarm setup
threshold. Click on Alarm Log option to open the alarm log browse window (Figure 12-28).

Figure 12-28 Alarm Log Browse Window


Sampling Alarm Setup
Click on Sampling Alarm option to open the sampling alarm setup window (Figure 12-29):

178
Software Manual of SK-CMS Mud Logging Unit

Figure 12-29 Sampling Alarm Setup Window


No Sampling Alarm hint: if this option is selected, the sampling alarm hint window will not pop up
when the lag depth meets the sampling alarm interval set in alarm setup program.
Sampling Alarm auto closed: if this option is selected, the sampling alarm hint window will pop up
when the lag depth meets the sampling alarm interval set in alarm setup program (as shown in
Figure 12-30). And this window will pop up in two separate times with display time of 5s each. In
the 5 seconds, you can close it manually by double clicking this window, or it will close
automatically 5s later.

Figure 12-30 Sampling Alarm Hint Window


Parameter alarm setup

179
Figure 12-31 Parameter Alarm Hint Window
Alarming parameter, time, current value, the maximum and minimum value set for alarm, alarm
type and status are displayed in the upper part of the alarm hint window. And the all the alarming
parameters set by the system are displayed in the left lower part of this window. Users can double click
on the parameter when it alarms, and then the alarming parameter will be in the Sound off Para Name
box. The text prompt and twinkling prompt can be carried out normally unless wiping off the sound.

Data Source Setup (S):


You can open the following data source setup window by clicking this option (Figure 12-32). It is
used to select data source for the data monitoring program. The optional data sources include:
Real-time Data: Receive and display real-time data sent by PCP.
Replay Data: Replay CDA real-time data files generated and saved by PCP. Select Replay
Data and click on Select File button to open the following window (as shown in Figure 12-
33). Select the directory (the default directory of CMS server system is \Creative Mudlogging
System\Database) in which the CDA real-time data files are saved, and select and open the
required data file (with extension of .RRD), then the data source for data replay is designated.
After setting replaying velocity properly, click on Ok button, then the program will start to
replay data (curve) on the screen.

180
Software Manual of SK-CMS Mud Logging Unit

Figure 12-32 Window for Selecting Data Source

Figure 12-33 Selecting the data file required by Real-time Replay


Attention: The data source setup of data monitoring program is different from that of PCP. To
ensure normal progress of logging operation in the course of drilling, the data source of PCP can only be
set as real-time data, while the data source setup of data monitoring program can be used to replay and
review historical data.

181
Chapter 13 Real-time Print Program
XX Overview

This chapter describes the functions and operating methods of real-time print
program and its roles in CMS in detail.

In the course of logging, it is usually required to print real-time data (engineering parameters and
gas survey parameters) in the form of text or curve according to certain format based on time or well
depth in real time, or replay and print these data as required afterwards. The real-time print program can
perform the following functions:
It can be used for real-time data print, real-time chart print and data replay print.
Label the name of chart curve automatically so as to be convenient for distinguishing.
Print real-time data based on time, well depth in integral meter and lag depth.
The print formats of curve and data can be saved into files so that users can set up print formats
according to different drilling status respectively and invoke them later.
Receive real-time comment messages sent by real-time setup program.
The real-time print program can be run on any computer in CMS simultaneously. You can also
transmit data from a computer to two or more computers through sharing printers. To start real-time
print program, you can click on the icon of Data Real-time Print in Data Output program package in
PCP interface. You can also directly double click on in the system installation directory
\Create Mudlogging System\bin.
XXI Operation and Setup
As shown in Figure 13-1, the real-time print program is composed of 4 option windows: Print
Setting, Data (or curve) Header, Data (or curve) Source and Summary.

Figure 13-1 Main Interface of Real-time Print Program

182
Software Manual of SK-CMS Mud Logging Unit

Print Setting (P)


The print setting window is used to set print content (data or curve) and select printer and paper.
Print Content
It can be used to print data or curves.
Data print can be used to print text data. The default print content is data print. If the light
before the data print is green, that represents that current print content is data print (Figure 13-
1). Once Data Print is selected, the titles of the following two option windows will become
Data Header and Data Source, and the window setup content will also turn into relative
setup of Data Print.
Curve Print can be used to print real-time curves based on time or well depth. Click on Curve
Print, then the light before it will turn from red into green, representing that current print
content is curve print. Once Curve Print is selected, the titles of the following two option
windows will become Curve Title and Curve Data, and the window setup content will
also turn into relative setup of Curve Print.
Printer Setting
Click on the pull-down list box following Printer input box, and select the printer which is required
to transmit data (for EPSON DLQ3500K printers, the default directory of its driver should be :\Creative
Mudlogging System\Driver\ EPSON DLQ3500K Printer Setup).
Paper Setting:
Paper: It is used to select the type of printer paper. The default paper of the program is
Continuous forms.
Orientation: It is used to select the orientation of print. If Data print is selected as the print
content, the default orientation is Portrait; if Curve Print is selected, then the default
orientation is Landscape.
Left: It refers to the width of the lefthand boundary of the print area.
Top: It refers to the width of the upper boundary of the print area.
After the contents mentioned above are set properly, click on Next button on the bottom of the
window or directly click on Data Header option (or Curve Title) to enter the next setup window.

Data Header (H)


It is used to set the title of real-time data print and the properties of header bar, etc. If the print
content is set as Data Print, the settings of Data Header are as follows (Figure 13-2).
Title Setting
Title: Input the title of the data outputted by real-time print. Click on Font button following
the input box to set the font, size and color of the title.
Logging Unit: Input the name of logging unit.
Well Name: Input the name of the well.
Header Setting
Border: Select the line type, line width and color of border.
Grid: Select the line type, line width and color of gridline.
Font: Click on Font button to select the style, size and color of header font.
Misc Setting
Page Number: Select or cancel the page number of currently printed page when printing is
started. The default current page number is the first page (1). You can reset the page number
when printing is restarted after being interrupted.
Landscape Line: It is used to select whether draw landscape line or not.
No Header and Title: Check this option, then there will be no title and header in the print

183
format and only the data part will be printed. The default setting of this option is unchecked.

Figure 13-2 Data Header Setup Window


DDepth Step: You can input the interval depth or select the mark color of interval depth data
line. No matter which item (based on time or well depth) is selected as the Print Trigger, the
program will trigger printer at the interval depth.
LDepth Step: You can input the interval lag depth or select the mark color of interval lag
depth data line. No matter which item (based on time or well depth) is selected as the Print
Trigger, the program will trigger printer at the interval lag depth.
After the contents mentioned above are set properly, click on Next button on the bottom of the
window or directly click on Data Source option to enter the next setup window.

Curve Title (C)


It is used to set properties of real-time curve print. If the print content is set as Curve Print, the
settings of Curve Title are as follows (Figure 13-3).
Title Setting
Title, Column Caption, No title: They are used to select whether to print the curve title or not.
Background Setting
It can be used to set the background color. The background color will be the default color, if it is
not set. This option can also be used to select the linear type.
Intervals
It used to control the precision of curve print. The shorter intervals, the more detailed curve will be
printed.
Time Line Interval
It used to set the time interval for printing landscape lines in the curve.
Continuous Print
Intervals between column header: Determine the interval (pages) between any two column headers.
Intervals between curve notes: Determine the interval (inches) between any two curve notes.
Pagination Print: It can be used to perform pagination print.

184
Software Manual of SK-CMS Mud Logging Unit

Figure 13-3 Curve Title Setup Window


After the contents mentioned above are set properly, click on Next button on the bottom of the
window or directly click on Curve Data option to enter next setup window.

Data Source (S)


It is used to set the parameters and properties of the data required to be printed in real time. When
the Print Content in the print setup option window is set as Data Print, the settings of Data Source
will be as follows (Figure 13-4).

185
Figure 13-4 Data Source Setup Window
CMS Parameters
Select the subgroup to which parameters belong from the list box of Type, then parameters
in this subgroup will be displayed in the Parameter List.
Find the required parameter and double click on the parameter name (or click on button) in
Parameter List, then this parameter will be displayed in the Parameter List box.
Set properties of this parameter such as alias and width, etc. on the right side of the
Parameter Setting box respectively.
Repeat step 1 to 3 to select and set required parameters in turn.
If required, you can also adjust the position of parameter in the table by using the up /down
button beside the Parameter Setting box.
Print Triggers
It is used to set print trigger parameter and trigger interval. Users can select to print based on time
or well depth. The default mode is printing based on time with interval of 120s. If well depth is selected
as the trigger parameter, the default interval is 1m.
After above setup is finished, click on Next button or directly click on Summary to enter the
window for previewing the set print format.

Curve Data (D)


It is used to select curve parameters required to be printed in real time and their properties. If the
Print Content in the print setting option window is set as Curve Print, the settings of Curve Data
will be as shown in Figure 13-5.

Figure 13-5 Data Source Setup Window


The setup of curve parameters and their properties are as follows:
Input the title of the curve print chart in the Name input box (Figure 13-5). The default curve
chart name is REAL TIME GRAPH. Click on button to open the font setup window to set
the font, size and color of title.

186
Software Manual of SK-CMS Mud Logging Unit

Input the name of the logging unit in the input box of Logging Unit. Click on button to open
the font setup window to set the font, size and color of title.
Click on button following Icon to select a company icon for the title bar of the curve print
chart.
Click on Insert Column button and REAL TIME GRAPH in the list box on the left side of the
window, then you can find that a NO. 1 is added beneath this title. You can insert NO. 2 and
NO. 3, etc. beneath NO. 1 by clicking on Insert Column button successively.
Click on the name of newly inserted column, then you can input properties such as column name
and column width on the right of the list box (Figure 13-5).
Click on Insert Curve button on the bottom of the window, then you can add parameters with
default name of 0, 1, 2, etc. under the first default parameter Time.
Click on the name of newly added parameter, then a setup window of curve parameter will appear
on the right of the list box (Figure 13-6).
Select the subgroup to which the parameter belongs from the list box of Parameter Subgroup and
find and double click on the parameter in the parameter list box. Then its name will be displayed in
the input boxes of Name and Alias. You can give this parameter an alias which will be used in
the print header of actual graph as required. At the same time, you can also set properties of curve
such as color, style, line width and range, etc.
If needing to insert a curve, you can select the parameter name above the position where a curve is
to be inserted from the list box and the click on Insert Curve button on the lower right corner of
the Curve Property setup area. Then a new curve parameter will be inserted below the selected
parameter name. Similarly, to delete a parameter, you can select this parameter name first and then
click on Del Curve button.
After above setup is finished, click on Next button or directly click on Summary option to
enter the window for previewing the set print format.

Figure 13-6 Curve Properties Setup Window


Summary (U)
It is used to review the print settings and preview the set print format (Figure 13-7). Click on
Apply button to make previous settings take into effect.

187
After all the settings mentioned above are finished, click on Save (or Save As) button in File
menu to save the settings mentioned above as a format file (for data print, the extension of its format file
is .DPF; while for curve print, the extension of its format file is .GPF) so as to invoke it directly next
time.

Figure 13-7 Print Settings Summary Window

XXII Menu Bar


The menu bar of real-time print program is composed of four menu items including File,
Setting, Data Source and Help and some icons below them.

Figure 13-8 Menu Bar and Icons


File
Load
It is used to load the print format of real-time data (with extension of .DPF) or real-time curve
(with extension of .DPF) into the program so as to start print directly or after little modification (Figure
13-9).
Save
After the real-time print setup is finished, you can save the settings into a print format file so as to
invoke directly next time.
Save As
Save the set real-time print format as another file.

188
Software Manual of SK-CMS Mud Logging Unit

Figure 13-9 Loading Window of Print Format


Set Default
Click on this button to set the set format template or loaded format template as the default template
so as to invoke this template format automatically when restarting the program next time.
Exit
Click on this option, and then the following window will pop up (Figure 13-10).

Figure 13-10 Prompt Window of Exit


Click on Yes button, then the program will be ended.

Setting
The setting menu includes the following two options (Figure 13-11) and its functions are the same
as those of selecting Print Content.

Figure 13-11 Setting menu

After the server PCP, data acquisition program, real-time setup program and real-time processing
program start to run normally in turn, the real-time print program will receive CDA real-time data
transmitted by PCP. To print data or curve in real time, you can follow the following steps:
Click on Load in File menu in the main interface of real-time print program, and then find the
directory in which the format files (with extension of .PDF) of real-time print data are saved from
the opened window, and double click on the required format file (Figure 13-9).
If the required format file of real-time print data doesnt exist, click on Next or four option

189
windows in turn to finish all required settings.
Click on Apply button on the lower right quarter of the Summary window to finish the setup.
Click on Start Print button (Figure 13-12), then the printer will start printing data or curves, and
the current print status will be displayed on the top right corner of the real-time print window
(Figure 13-12).

Figure 13-12 Start to Print Curves


If the print needs to be paused or stopped due to paper jam of printer, you can click on Pause or
Stop Log Print button.
Click on the minimization button of the window, then the program will be minimized onto the
taskbar tray in the form of printer icon (Figure 13-13).

Figure 13-13 the Real-time Print Program minimized onto the taskbar tray in the form of icon
Data
It is used to print the data source. Click on data source menu to open the interface as shown in Figure
13-14. Select the data source to be received.

190
Software Manual of SK-CMS Mud Logging Unit

Figure 13-14 Data Source Interface


CDA Data: Receive and print the real-time data transmitted by PCP.
Replay: Replay printing CDA real-time data files generated and saved by PCP. Select Replay and
click on Select File button to open the following window (as shown in Figure 13-15). Select the
directory (the default directory of CMS server system is \Creative Mudlogging System\Database) in
which the CDA real-time data files are saved, and select and open the required data file (with extension
of .RRD), then the data source for data replay printing is designated. After the playing velocity is set,
click on OK button, and then the program will start to replay data (or curve) in the printer.

Figure 13-15 Real-time Replaying Window of Print Settings

191
Chapter 14 Remote Data Transmission Program
XXIII Overview
Remote data transmission program can be used for data transmission between a well site and the
headquarters and that between other clients. It contains two main transmission functions including real-
time data transmission and file transmission and chat functions, In which the transmission format of
real-time data adopts the well site information transmission standard (WITS) generally used
internationally. The remote data transmission program can be divided into two types, transmitting end
and receiving end, and can be selected on the welcome interface. The transmitting end is installed on
any computer in CMS of well site, taking charge of receiving CDA data flow broadcasted by PCP and
converting them into corresponding WITS data packages and transmitting the WITS data packages to
the receiving end according to the waiting WITS record table selected in configuration information and
the trigger condition and interval of this record table; the receiving end is installed on any computer in
CMS of the headquarters or other client, taking charge of receiving WITS data packages and converting
them into CDA data flow and transmitting the CDA data flow to client PCP, which will forward the
CDA data flow to other corresponding programs for tasks such as data monitoring or saving, etc.
Remote data transmission program can run on any computer in CMS simultaneously. To start the
remote data transmission program, you can click on the icon of "Remote Transmission" program in
program package of "Remote Transmission" on PCP interface; or you can double click on the icon of
in the installation directory of \Create Mudlogging System\bin.

XXIV Operation and setup


The main interface of executive program of the remote data transmission program is as follows
(Figure 14-1). This program includes the main functions of transmitting and setting.

Figure 14-1 The main interface of Remote data transmission

192
Software Manual of SK-CMS Mud Logging Unit

Transmit (T)
Click on Transmit (T) button in the menu bar to pop up the menu as shown in Figure 14-2. The
two options of Start (S) and Exit (E) are contained in this menu.

Figure 14-2 Transmit menu

Start (S)
Click on Start (S) button, then the prompt window as shown in Figure 14-3 will pop up if the
transmission is failed. Click on Yes (Y) button to continue to connect or click on No (N) button to
return to the main interface (Figure 14-1).

Figure 14-3 The prompt window of failed transmission

Exit (E)
Click on Exit (E) button to pop up the menu as shown in Figure 14-4 or click on Close button
on the title bar in the main window to close the program.

Figure 14-4 The prompt window of Exit

Setting (S)
Click on Setting (S) button in the menu bar to pop up the menu as shown in Figure 14-5. The two
options of Wits Information (W) and Transmit Option (T) are contained in this menu.

193
Figure 14-5 Setting menu

WITS Information (W)


Click on WITS Information (W) to pop up the menu as shown in Figure 14-6.

Figure 14-6 WITS Information Setting window

WITS level: Select WITS level in the pull-down menu;


Tim interval: Input the time interval of data transmission;
WELLID: Input the well identification;

194
Software Manual of SK-CMS Mud Logging Unit

Sender: The name of sender;


STKNUM: Input the borehole name;
WELLNAME: Input the name of the well;
WELLNUM: Input the borehole identification;
OPERATOR: Input the name of operator of the well;
LOCATION: Input the geographic location of the well;
WELLUTM: The optional well types include vertical well, directional well, horizontal well,
extended reach well and cluster well.
WELLCLAS: The optional well sorts include parameter well, scientific research well,
preliminary prospecting well, appraisal well, production well, stepout well and
developmental evaluation well.
WELLLAT: Input the latitude coordinate of the wellhead;
WELLLON: Input the longitude coordinate of the wellhead;
FIELD: Input the name of field in which the well locates;
Sdup Date: Input the actual spudding date;
ELEVDP: Input the elevation of reference point;
ELEVKB: Input the bushing elevation;
ELEVGL: Input the ground elevation of wellhead;
WATDEPT: Input the average seawater depth of the area in which the platform locates. If it is
onshore drilling, you can input 0 for it.

Transmit Option (T)


Click on Transmit Option (T) to pop up the menu as shown in Figure 14-7.

Figure 14-7 Transmit Option window (1)

195
Figure 14-8 Transmit Option window (2)

Transmit Type: Select the transmit type (Network or Com) from the pull-down menu. When
the selected type is Network, the window in Figure 14-7 will appear and when Com, the
window in Figure 14-8 will pop up.
Net Parameter: Select the network protocol as UDP or TCP/IP from the pull-down box following
Protocol. Input IP address of computer receiving remote transmitted data in the box after
Remote Address. Input the network receiving port number of computer receiving remote
transmitted data in the box after Remote Port. Input the network sending port number of
the local computer in the box after Local Port.
Com Parameter: Select the com channel number of the transmitting computer and input bitrate, data bit,
parity and stop bit.
Auto transmit while startup: If this option is selected, when starting the remote data
transmission program, the program will start data transmission automatically.
Click on Ok or Apply button to complete transfer option.

XXV Data Display


Data display program is used to display the received data. The window is shown in Figure 14-1.
Currently, only the transmission of CDA data (m), WITS time table, WITS depth table and WITS well
information table is realized.

196
Software Manual of SK-CMS Mud Logging Unit

Chapter 15 Database Management Program


XXVI Overview
CMS builds a series of real-time database tables based on WITS standard using MS SQL Server
database system. As an interface for interaction between user and database tables, the database
management program can accomplish operations to data in database such as browse, ordering, query,
modification, addition, calculation, insertion, import and export, and can prevent users from accessing
database directly and simplify operations to database. The database management program has the
following functions:
Query/browse records and/or field in form mode according to filter conditions and modify data and
insert/add new records as per authority;
It can export the CMS real-time database obtained by enquiry as ASCII text data or Excel data
table; it can also import data (including electrical logging data and geochemical data, etc.) of the
third party in ASCII text format according to certain data format;
Review or edit data in the form of figure;
Perform interpolation to data within specified range using interpolation method;
Sort records (or data) by keywords;
Adopt authority management mode to edit database so as to strengthen system security.
The database management program can run on any computer in CMS simultaneously. To start this
program, you can click on the icon of "Database Management" program in program package of
"Database Management" on PCP interface; or directly double click on the icon of in the
system installation directory \Create Mudlogging System\bin.
XXVII Operation and setup
The main window of the database management program is as follows (Figure 15-1).

Figure 15-1 The main window of the Database Management Program


Data query
197
CMS database can save data of multiple wells and boreholes simultaneously. While CMS database
tables are constructed based on WITS standard and they use time, well depth, lag depth and event as
keyword respectively when saving data. Users can select the corresponding database tables and fields to
query required data as required. As shown in Figure 15-1, CMS real-time database tables are listed in
the form of tree structure in the list box on left side of the main interface of the database management
program. To query data, you should follow the following steps:
Select the CMS real-time database table and required field. Then click on the Query button in the
row of button on the top of the window in Figure 15-1 to pop up the window which is used to set
query conditions as shown in Figure 15-2.

Figure 15-2 The main window of Query

Input the field and range to be queried in the setup bar of "Condition" in the middle part of window
"Query" and click on Add Condition to add created query conditions into the display bar of
"Conditions Added" (Figure 15-3).

Figure 15-3 The display bar of "Conditions Added"

Create multi-condition query using the combination window (Figure 15-4).

198
Software Manual of SK-CMS Mud Logging Unit

Figure 15-4 The window of creating multi-condition query

Select refer field and click on Add Order to add the ordering rule into the column of "Refer Field
(Sort Ascending)" as shown in Figure 15-5.

Figure 15-5 Add order

Click on "Review SQL Sentence", then you can see the generated SQL sentence (Figure 15-6).

Figure 15-6 The generated SQL

Click on Start Query, then the queried results will be generated in the main interface (Figure 15-
7).

199
Figure 15-7 The queried results

Authority management
The database management program sets three levels of authority: level 1, 2 and 3. A super user
possesses the authority to query, modify, delete, add, interpolate and save data records (level 3); a user
with level 2 authority can query and interpolate data and edit curves, but it can not delete records and
save the modification; level 1 authority is the lowest authority and a user with level 1 authority can only
query and adjust data simply and it can not edit curves, delete records and save the modification. You
can add users or modify user password as required using the super user account.

After the program is started, the data management authority is level 1. Click on button in the
menu bar or the option of Logon On in menu of File to open the following logon window (Figure
15-8).

Figure 15-8 Log On window

Input username of super user "su" in the input box of "Username", input the password of super user
(default password is 999999) and click on "Logon" button, then some buttons such as "Delete user",

200
Software Manual of SK-CMS Mud Logging Unit

"Interpolate", "Curve" and "Save" in the main interface will become usable, representing that the current
user can perform data edition.
You can modify and add username, password and authority using super user account. Click on
option of "Manage User" in "File" menu to open the following window (Figure 15-9).

Figure 15-9 Manage User window (1)

Input the name of user (generally super user) with level 5 authority in the "UID" and input the
corresponding password, then click on "Ok" button to open the following window (Figure 15-10).

Figure 15-10 Manage User window (2)

You can modify and add username and its password and authority in this window. After the
modification is finished, click on Save (S) button to save the current setup.

Data edition
Data edition includes modifying data, adding record, inserting record and deleting record, etc.,
which can be realized through two forms: text and figure.
Text edition

201
Modify data
After data query is completed and forms are generated (as shown in Figure 15-7), users can
directly modify data in cells of a form (users can copy, paste, append record, insert record and delete
record in large-scale).

Append record
Right click in the data edition area and a menu as shown in Figure 15-11 will pop up. Click
"Append Record" option, then a new record with record number of -9999 will be added at the end of the
form (Figure 15-12);

Figure 15-11 Right click context menu

Figure 15-12 Append record

Insert record
Select the position where a new record will be inserted in the form and right click, then click on
option of "Insert Record" in the menu, then a new record with record number of -9999 will be inserted
before the selected record (Figure 15-13);
202
Software Manual of SK-CMS Mud Logging Unit

Figure 15-13 Insert record

Edit Block
Select one column of data in the data edition area and click on Edit Block option, then the
following window will pop up (Figure 15-14).

Figure 15-14 Edit Block window


Evaluate
Select the Evaluate option to input initial value and increment. Click on Ok and the
column of data will be reevaluated following the initial value and increment inputted by users;
Operation
Select five kinds of operands: add (+), subtract (-), multiply (*), divide (/) and equal to (=) and
conduct operation according to the value in the blank box. Click on Ok and the column of data
change following the operation methods selected by users;
Format
Select the Format option to input decimal digits. Click on Ok and the column of data will
change according to the new decimal digits;
Randomicity
Select the Randomicity option to input basic value and amplitude. Click on Ok and the
column of data will be reevaluated at random according to the basic value and amplitude inputted
by users.

Find, delete and replace

203
Click on the Find, Delete And Replace option and the following window will pop up
(Figure 15-15).

Figure 15-15 Find, Delete And Replace window


Find records:
Select the Find Records option to pop up the window as shown in Figure 15-15. Input the
field and range to be found in the setup bar of Condition in the Finding Condition window and
select the finding direction and beginning point. Click on Find ALL or Find Next to display all
records or one record in one time.

Find and delete records:


Select the Find And Delete Records option to pop up the window as shown in Figure 15-16.
Input the field and range to be found in the setup bar of Condition in the Finding Condition
window and select the finding direction and beginning point. Click on Find ALL or Find Next
to display all records or one record in one time. You can also directly click on Delete ALL or
Delete to delete records complying with all conditions or one compliant record.

Figure 15-16 Find And Delete Records window

204
Software Manual of SK-CMS Mud Logging Unit

Find and replace fields:


Select Find And Replace Fields option to pop up the window as shown in Figure 15-17.
Input the field and range to be found in the setup bar of Condition in the Finding Condition
window and select the finding direction and beginning point. Click on Find ALL or Find Next
to display all records or one record in one time. Select field to be replaced and input the new value
and click on Replace ALL or Replace to replace fields of records complying with all
conditions or field of one compliant record.

Figure 15-17 Find And Replace Fields window

Verify validity
Click on Verify Validity option. When no invalid data is found, the window will pop up as
shown in Figure 15-18; when invalid data is found, the window will pop up as shown in Figure 15-
19 and the cursor will stay on the row having invalid data.

Figure 15-18 Window of successful verification

205
Figure 15-19 Window of failed verification
Verify integrity
Click on Verify Integrity option to show the following window (Figure 15-20). This
function is used to verify the integrity of well-depth in database and find the missing interval or
multiple intervals. With this function, users can maintain the database.

Figure 15-20 Verify Integrity window

Find Faulty Well-Depths: find the well-depths failing to satisfy the condition of depth range;
Find Missing Well-Depths: find the missing well depths;
Find Multiple Well-Depths: find the multiple well depths;
Integrity interval: only for well-depth or lag depth;
Finding Direction: up or down;
Find All: click on this button to show all faulty well-depths in the following box;
Find Next: click on this button to show one faulty well-depth in the following box. Click on
this button repeatedly and the results will be displayed cumulatively. Until all
the faulty well-depths are displayed, the following prompt window will pop up
(Figure 15-21).

Figure 15-21 The prompt window of finishing finding

206
Software Manual of SK-CMS Mud Logging Unit

Finish Finding: click on this button to finish finding when finding next.

Save
After the modification is finished, you can press the Update button to save the data; the
system will pop up a prompt message as shown in Figure 15-22: Select "Yes (Y)" to save the data.

Figure 15-22 Save


Abandon
Press the Undo All button to abandon the modification, then the modified field values will
be restored;
Display Figure: click on the button to show the figure edition window and the icon will
change to the hidden figure.

Figure edition
After data query is completed and forms are generated, you can select a field in the column of field
displayed (coordinate Y) and click on Display button, then the curve of this field will be displayed in the
curve edition window on the right side (Figure 15-23). You can zoom in and zoom out the curve or
perform manual coordinate to check whether abnormal points are on the curve. You can double-click on
the abnormal point to show the corresponding row in the left table. Then modify and save.

Figure 15-23 Figure Edition window

207
Data import/export
The database management program can import data of third part such as electrical logging data and
geochemical data, etc. into the CMS database.
Import electrical logging data
Log on first, and then click on the "Import electrical logging." option in the "File" menu of the

interface or button to open a window as shown in the following figure (Figure 15-24).

Figure 15-24 Import Electrical Logging window

This window can be used to import the electrical logging data saved as text files (.txt) into the
CMS electrical logging data table.
Click on the button in this window, find the directory in which electrical logging data files are
saved in this opened window (Figure 15-25) and select a file, and then click on "Open" button, then the
electrical logging data will be displayed in the window as shown in Figure 15-26.
In the "Data Structure" form on the bottom of this window, click on each field name and select a
field name corresponding to CMS electrical logging data table in turn from the pull-down menu (Figure
15-27). After all fields are configured, click on Import button on the lower right corner of the window,
then the process of importing electrical logging data from the electrical logging data file into the CMS
electrical logging data table will start. This process may last several seconds. After data importing is
finished, the screen will return to the main interface of database management program.

208
Software Manual of SK-CMS Mud Logging Unit

Figure 15-25 Directory for saving electrical logging data files

Figure 15-26 Import Electrical Logging window

209
Figure 15-27 Select the field name corresponding to CMS electrical logging data table

Import geochemical data


Click on the "Import geochemical." option in the "File" menu of the interface or button to
open a window as shown in the following figure (Figure 15-28).

210
Software Manual of SK-CMS Mud Logging Unit

Figure 15-28 Import Geochemical Data window


This window can be used to import the geochemical data saved as Access database files (.mdb) into
the CMS geochemical data table.
Click on the button in this window, find the directory in which geochemical data files are
saved in this opened window (Figure 15-29) and select a file, and then click on "Open" button, then
fields corresponding to geochemical data will be displayed in the window as shown in Figure 15-30.

Figure 15-29 Directory for saving geochemical data files

Figure 15-30 Import Electrical Logging window


Names of geochemical database table are listed in the list box of Table Name on the left of the
211
window as shown in Figure 15-30. Select these three tables and then click on the Import button on the
lower right corner of the window, then the geochemical data will be imported into the CMS
geochemical database table (Figure 15-31).

Figure 15-31 Import geochemical data


The database management program can export queried form data to text files or Microsoft Excel
files so as to be used by other programs or be convenient for data processing.

Import quantitative fluorescence data (same as importing geochemical data)

Import database table


Click on Import database table option in the File menu of the interface to open a window as
shown in Figure 15-32 to import SK-2000 and SK-2Z11 data into CMS database.

212
Software Manual of SK-CMS Mud Logging Unit

Figure 15-32 Import Database window

Define the import database source and type and click on Test Import button to open a window as
shown in Figure 15-33.

Figure 15-33 Import Database window

Export query
Export data to text file
After obtaining required form data through query, you can click on the option of "Export

query" "Text" in the "File" menu or button to open a window as shown in the following
figure (Figure 15-34). Users can select field separator, character string identification character
and whether the first line will be taken as the field name and whether the field name is in
Chinese or English, etc. as required. After the setup is finished, click on the Export button on
the lower right corner of the window, then a save window as shown in Figure 15-35 will pop up.
Select the file folder in which text files are going to be saved and input the file name in this

213
window, and then press "Save" button to finish file saving.

Figure 15-34 Export data to text file

Figure 15-35 Save the exported text files


Export data to Excel file
To export data to Excel files, after obtaining required form data through query you can

click on the option of "Export query" "Excel" in the "File" menu or button to open a
window as shown in the following figure (Figure 15-36). Directly click on the Export
button on the lower right corner of the window, then a save window as shown in Figure 15-37
will pop up. Select the file folder in which Excel files are going to be saved and input the file
name in this window, and then press "Save" button to finish file saving.

214
Software Manual of SK-CMS Mud Logging Unit

Figure 15-36 Export data to Excel file

Figure 15-37 Save the exported Excel files

215
Chapter 16 Data Recalculation Program
XXVIII Overview
Most of calculated parameters are recalculated in the following conditions:
Modification of original data in CMS database;
Calculated parameters saved previously are obviously unreasonable;
Addition and deletion, etc. to records of CMS database table.

List of calculated items realized presently (Table 16-1)


Table 16-1
Recalculated item To database table
1) Recalculation of bit Depth table (DrillDepth) and 1m depth table (DrillDepth_1M)
footage
2) Recalculation of Depth table (DrillDepth) and 1m depth table (DrillDepth_1M)
drilling cost
3) Recalculation of tooth Depth table (DrillDepth) and 1m depth table (DrillDepth_1M)
wear
4) Recalculation of DC Depth table (DrillDepth) and 1m depth table (DrillDepth_1M)
exponent
5) Recalculation of Depth table (DrillDepth) and 1m depth table (DrillDepth_1M)
formation pressure
6) Recalculation of gas Lag mud table (LagMud)
calibration
7) Recalculation of Chromatographic difference depth table (ChromDiffDepth)
hydrocarbon ratio

The data recalculation program can run on any computer in CMS simultaneously. To start this
program, you can click on the icon of "Data Recalculation" program in program package of "Database
Management" on PCP interface; or directly double click the icon of in the system
installation directory \Create Mudlogging System\bin.

XXIX Operation and setup


After the CMS data recalculation program is started, a main interface of recalculation as shown in
the following figure will pop up (Figure 16-1).

Figure 16-1 Main interface of CMS recalculation program

You can also select items to be recalculated through "Select Recalculation Item" menu as shown in

216
Software Manual of SK-CMS Mud Logging Unit

the Figure 16-2.

Figure 16-2 Select Recalculation Item window

After you click on one item to be recalculated, the system will pop up a setup window as shown in the
following figure at first (Figure 16-3).

Figure 16-3 Recalculation setup window


Items needed to be set and selected include:
Name of well to be recalculated: Select it from the list;
Borehole to be recalculated: Select the borehole from the list for a selected well;
Depth table to be recalculated: You can select to recalculate the depth table or 1m depth table;
Depth range to be recalculated: Input the depth range to be recalculated manually and the range
will be taken as primary condition for filtering data records. If there are too many data records in
the set depth range, it will require relatively long time when invoking data.
After setting items that need to be recalculated, click "Ok" button to enter their own data
recalculation interface.

Recalculation of bit footage


Recalculated parameter: Bit footage
217
Figure 16-4 shows the display screen after the following conditions are selected during bit footage
recalculation.
Well name: DB-23;
Borehole: 445mm;
Data table: Depth table;
Depth range: 0>1000m;

Figure 16-4 Display window of bit footage


Where:
List of well depth value: Display all well depth values in the selected depth range;
"Recalculate Bit Footage" button: Bit footage will be recalculated after this button is clicked;
"Update Database" button: When bit footage is recalculated, new values will be displayed in the
table first. After confirming it, you can click on this button to update the
database.
Attention: This process is irreversible. That means that once the database is updated, it will not be
restored any longer. If you exit this screen after recalculation, it will have no impact on the data in
database.

218
Software Manual of SK-CMS Mud Logging Unit

"Load Database" button: Load data from the database again. If the database has been updated, the
reloaded data should be those have been updated.
"Reselect item to be recalculated" button: Click on this button, then the previous setup window will
pop up for you to reselect items such as depth range, etc. to be
recalculated.
(Note 1: All parameter units in data table are default units of the database.)
(Note 2: The operating interfaces of other items to be recalculated are identical with this one and the
operating methods will be omitted later.)

Figure 16-5 shows the display screen after bit footage having been recalculated:

Figure 16-5 Window with footage recalculated


You can see from the table that the column of Footage is obviously different from that of Initial
footage. You can click "Update Database" button at this point to update the database.
To recalculate other depth ranges, other depth tables or bit footage of other boreholes, you can
click "Reselect item to be recalculated" button, then a setup and select window as shown in the
following figure will pop up (Figure 16-3).
Figure 16-6 shows an example of recalculated 1m depth table.

219
Figure 16-6 Example of recalculated 1m depth table
Bit cost recalculation
Recalculated parameter: Instant cost and cumulative cost.

Figure 16-7 Bit Cost Recalculation window

220
Software Manual of SK-CMS Mud Logging Unit

Recalculation of tooth wear


Recalculated parameter: Tooth wear.

Figure 16-8 Tooth Wear Recalculation window

Recalculation of DC exponent
Recalculated parameter: D exponent, DC exponent, DC trend line, DC mud density (kg/m3), initial
Sigma exponent, corrected Sigma exponent and zero Sigma exponent.

221
Figure 16-9 DC Exponent Recalculation window
Gas calibration
Recalculated parameter: Normalized total hydrocarbon.

222
Software Manual of SK-CMS Mud Logging Unit

Figure 16-10 Gas Calibration Recalculation window

Recalculation of hydrocarbon ratio


Recalculated parameter: Difference C1/C2, difference C1/C3, difference C1/C4, difference C1/C5,
difference hydrocarbon humidity ratio, difference hydrocarbon equilibrium ratio and difference
hydrocarbon characteristic ratio.

223
Figure 16-11 Hydrocarbon Ratio Recalculation window
Recalculation of formation pressure
Recalculated parameter: DC exponent, DC trend line, DC mud density (kg/m 3), DC formation
pressure gradient, DC fracture pressure gradient and DC porosity.

224
Software Manual of SK-CMS Mud Logging Unit

Figure 16-12 Formation Pressure Recalculation window

225
Appendix WITS Specification
Wellsite Information Transfer Specification, abbreviated as WITS, is a transfer standard generally
used in international petroleum industry for wellsite information exchange between service companies
or between service companies and oil companies. It stipulates the format and content of data
transmission. Contents of part of WITS record table are as follows:
Type of predefined WITS record
Record No. Record name Description
1 General Time-Based Drilling data acquired as per specified time interval
2 Drilling - Depth Based Drilling data acquired as per specified depth range
3 Drilling - Connections Data acquired when making a connection during drilling
4 Hydraulics Hydraulics data acquired during circulation
5 Trip - Time Tripping data acquired during tripping
6 Trip - Connections Tripping data acquired when setting during tripping
7 Survey/Directional Directional/directional survey data
8 MWD Formation Evaluation MWD Formation evaluation data
9 MWD Mechanical MWD mechanical data
10 Pressure Evaluation Formation pressure evaluation data
11 Mud Tank Volumes Mud tank volume data
12 Chromatograph Cycle-Based Chromatograph cycle data
13 Chromatograph Depth-Based Chromatograph data averaged as per depth range
14 Lagged Mud Properties Mud property data based on lag depth interval
15 Cuttings / Lithology Cuttings and lithology and their relative data
16 Hydrocarbon Show Data associated with hydrocarbon show
17 Cementing Data of cementing operation
18 Drill Stem Testing Formation test data
19 Configuration Drilling tool and rig configuration data
20 Mud Report Mud report data
21 Bit Report Bit report data
22 Comments Comment data
23 Well Identification Well identification data
24 Vessel Motion / Mooring Status Data of vessel motion and mooring status
25 Weather / Sea State Data of weather and sea state

RECORD # 1 : GENERAL TIME-BASED


WITS Record ID 1 Logical Record Type 151 Auto/Manual AUTOMATIC
Trigger [TIME] Transmit at a specified time interval (secs)
Data Source Data acquired in real-time and computed over the trigger interval; record transmitted and computation reset when triggering
interval occurs
Short
Long mnemonic
No. Field description mnemonic Data type Length Metric system English system
symbol
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----

226
Software Manual of SK-CMS Mud Logging Unit

7 Activity Code ACTCOD ACTC S 2 ---- ----


8 Depth Bit (meas) DEPTBITM DBTM F 4 M F
9 Depth Bit (vert) DEPTBITV DBTV F 4 M F
10 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
11 Depth Hole (vert) DEPTVERT DVER F 4 M F
12 Block Position BLKPOS BPOS F 4 M F
13 Rate of Penetration (avg) ROPA ROPA F 4 M/HR F/HR
14 Hookload (avg) HKLA HKLA F 4 KDN KLB
15 Hookload (max) HKLX HKLX F 4 KDN KLB
16 Weight-on-Bit (surf,avg) WOBA WOBA F 4 KDN KLB
17 Weight-on-Bit (surf,max) WOBX WOBX F 4 KDN KLB
18 Rotary Torque (surf,avg) TORQA TQA F 4 KNM KFLB
19 Rotary Torque (surf,max) TORQX TQX F 4 KNM KFLB
20 Rotary Speed (surf,avg) RPMA RPMA S 2 RPM RPM
21 Standpipe Pressure (avg) SPPA SPPA F 4 KPA PSI
22 Casing (Choke) Pressure CHKP CHKP F 4 KPA PSI
23 Pump Stroke Rate #1 SPM1 SPM1 S 2 SPM SPM
24 Pump Stroke Rate #2 SPM2 SPM2 S 2 SPM SPM
25 Pump Stroke Rate #3 SPM3 SPM3 S 2 SPM SPM
26 Tank Volume (active) TVOLACT TVA F 4 M3 BBL
27 Tank Volume Change (act) TVOLCACT TVCA F 4 M3 BBL
28 Mud Flow Out % MFOP MFOP S 2 % %
29 Mud Flow Out (avg) MFOA MFOA F 4 L/M GPM
30 Mud Flow In (avg) MFIA MFIA F 4 L/M GPM
31 Mud Density Out (avg) MDOA MDOA F 4 KGM3 PPG
32 Mud Density In (avg) MDIA MDIA F 4 KGM3 PPG
33 Mud Temperature Out (avg) MTOA MTOA F 4 DEGC DEGF
34 Mud Temperature In (avg) MTIA MTIA F 4 DEGC DEGF
35 Mud Conductivity Out (avg) MCOA MCOA F 4 MMHO MMHO
36 Mud Conductivity In (avg) MCIA MCIA F 4 MMHO MMHO
37 Pump Stroke Count (cum) STKC STKC L 4 ---- ----
38 Lag Strokes LAGSTKS LSTK S 2 ---- ----
39 Depth Returns (meas) DEPTRETM DRTM F 4 M F
40 Gas (avg) GASA GASA F 4 % %
41 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
42 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
43 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
44 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
45 < SPARE 5 > SPARE5 SPR5 F 4 ----

RECORD # 2 : DRILLING DEPTH-BASED


Auto/Manual
WITS Record ID 2 Logical Record Type 152
AUTOMATIC
Trigger [DEPTH] Transmit at a specified depth interval (feet or meters)
Data Source Data acquired in real-time when on-bottom drilling NEW hole and computed over the trigger interval
No. Field description Long mnemonic Short Data type Length Metric system English system
symbol mnemonic

227
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
9 Depth Hole (vert) DEPTVERT DVER F 4 M F
10 Rate of Penetration (avg) ROPA ROPA F 4 M/HR F/HR
11 Weight-on-Bit (surf,avg) WOBA WOBA F 4 KDN KLB
12 Hookload (avg) HKLA HKLA F 4 KDN KLB
13 Standpipe Pressure (avg) SPPA SPPA F 4 KPA PSI
14 Rotary Torque (surf,avg) TORQA TQA F 4 KNM KFLB
15 Rotary Speed (surf,avg) RPMA RPMA S 2 RPM RPM
16 Bit Revolutions (cum) BTREVC BRVC L 4 ---- ----
17 Mud Density In (avg) MDIA MDIA F 4 KGM3 PPG
18 ECD at Total Depth ECDTD ECDT F 4 KGM3 PPG
19 Mud Flow In (avg) MFIA MFIA F 4 L/M GPM
20 Mud Flow Out (avg) MFOA MFOA F 4 L/M GPM
21 Mud Flow Out % MFOP MFOP S 2 % %
22 Tank Volume (active) TVOLACT TVA F 4 M3 BBL
23 Cost/Distance (inst) CPDI CPDI F $/M $/F
24 Cost/Distance (cum) CPDC CPDC F 4 $/M $/F
25 Bit Drilled Time BTDTIME BDTI F 4 HR HR
26 Bit Drilled Distance BTDDIST BDDI F 4 M F
27 Corr. Drilling Exponent DXC DXC F 4 ---- ----
28 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
29 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
30 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
31 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
32 < SPARE 5 > SPARE5 SPR5 F 4 ---- ----
33 < SPARE 6 > SPARE6 SPR6 F 4 ---- ----
34 < SPARE 7 > SPARE7 SPR7 F 4 ---- ----
35 < SPARE 8 > SPARE8 SPR8 F 4 ---- ----
36 < SPARE 9 > SPARE9 SPR9 F 4 ---- ----

RECORD # 3 : DRILLING CONNECTIONS


WITS Record ID 3 Logical Record Type 153 Auto/Manual AUTOMATIC
Trigger [EVENT] Transmit when first back on bottom following a drilling connection
Data Source Data acquired from first off-bottom to back on-bottom
Short
Long mnemonic
No. Field description mnemonic Data type Length Metric system English system
symbol
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----

228
Software Manual of SK-CMS Mud Logging Unit

3 Record Identifier RECID RID S 2 ---- ----


4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Connection (meas) DEPTCONM DCNM F 4 M F
9 Depth Connection (vert) DEPTCONV DCNV F 4 M F
10 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
11 Depth Hole (vert) DEPTVERT DVER F 4 M F
12 Elapsed Time Bottom-Slips ETIMEBTS ETBS S 2 SEC SEC
13 Elapsed Time In-Slips ETIMESLP ETSL S 2 SEC SEC
14 Elapsed Time Slips-Bottom ETIMESTB ETSB S 2 SEC SEC
15 Elapsed Time Pumps-Off ETIMEPOF ETPO S 2 SEC SEC
16 Running Speed - up (max) RSUX RSUX F 4 M/S FPM
17 Running Speed - down (max) RSDX RSDX F 4 M/S FPM
18 Hookload (max) HKLX HKLX F 4 KDN KLB
19 String Weight (rot,avg) STRGWT STWT F 4 KDN KLB
20 Torque - Make Up (max) TORQMUX TQMX F 4 KNM KFLB
21 Torque - Breakout (max) TORQBOX TQBX F 4 KNM KFLB
22 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
23 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
24 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
25 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
26 < SPARE 5 > SPARE5 SPR5 F 4 ---- ----

RECORD # 4 : HYDRAULICS
WITS Record ID 4 Logical Record Type 154 Auto/Manual AUTOMATIC
Trigger [TIME] Transmit at a specified time interval (secs)
Data Source Data acquired in real-time while circulating drilling fluid. Not sent if no circulation is taking place. Minimum and
maximum values reset when record is transmitted. Other items should reflect the input and output variables used in the most recent
hydraulics calculation prior to transmission.
Long mnemonic Short mnemonic Metric English
No. Field description Data type Length
symbol symbol system system
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
9 Depth Hole (vert) DEPTVERT DVER F 4 M F
10 Depth Bit (meas) DEPTBITM DBTM F 4 M F
11 Depth Bit (vert) DEPTBITV DBTV F 4 M F
12 Mud Density In (avg) MDIA MDIA F 4 KGM3 PPG
13 Mud Flow In (avg) MFIA MFIA F 4 L/M GPM
14 Standpipe Pressure (avg) SPPA SPPA F 4 KPA PSI
15 Plastic Viscosity PV PV F 4 CP CP

229
16 Yield Point YP YP F 4 PA PHSF
17 Pressure Loss - bit PLB PLB F 4 KPA PSI
18 Pressure Loss - string PLDS PLDS F 4 KPA PSI
19 Pressure Loss - annulus PLA PLA F 4 KPA PSI
20 Pressure Loss - surface PLSU PLSU F 4 KPA PSI
21 Pressure Loss - mud motor PLMM PLMM F 4 KPA PSI
22 Pressure Loss - MWD tool PLMWD PLMW F 4 KPA PSI
23 Pressure Loss - % at bit PLPB PLPB F 4 % %
24 Bit Hydraulic Power BHP BHP F 4 KW HP
25 Bit Hydraulic Power/Area BHPA BHPA F 4 KWM2 HSI
26 Jet Impact Force JIF JIF F 4 KDN LB
27 Jet Velocity JV JV F 4 M/S FPS
28 Annular Velocity (min) AVELN AVN F 4 M/S FPM
29 Annular Velocity (max) AVELX AVX F 4 M/S FPM
30 ECD at Total Depth ECDTD ECDT F 4 KGM3 PPG
31 ECD at Bit ECDBIT ECDB F 4 KGM3 PPG
32 ECD at Casing Shoe ECDCSG ECDC F 4 KGM3 PPG
33 Pump Hydraulic Power PHP PHP F 4 KW HP
34 Calc/Obs Press.Loss ratio PLCO PLCO F 4 % %
35 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
36 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
37 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
38 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
39 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD #5 : TRIPPING/CASING RUN TIME-BASED


Auto/Manual
WITS Record ID 5 Logical Record Type 155
AUTOMATIC
Trigger [TIME] Transmit at a specified time interval (secs)
Data Source Data aquired in real-time and computed over the trigger interval. Only sent when tripping. Average, minimum and
maximum values reset when this record OR Record 6 (Tripping/Casing Connection Based) is transmitted
Long mnemonic Short mnemonic Data Metric English
No. Field description Length
symbol symbol type system system
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Bit (meas) DEPTBITM DBTM F 4 M F
9 Depth Bit (vert) DEPTBITV DBTV F 4 M F
10 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
11 Depth Hole (vert) DEPTVERT DVER F 4 M F
12 Trip Number TRIPNUM TNUM S 2 ---- ----
13 In-Slips Status STATUSIS STIS A 2 ---- ----
14 Hookload (avg) HKLA HKLA F 4 KDN KLB

230
Software Manual of SK-CMS Mud Logging Unit

15 Block Position BLKPOS BPOS F 4 M F


16 Running Speed - up (max) RSUX RSUX F 4 M/S FPM
17 Running Speed - down (max) RSDX RSDX F 4 M/S FPM
18 Fill/Gain Volume Obs.(cum) FVOLOC FVOC F 4 M3 BBL
19 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
20 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
21 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
22 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
23 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 6 : TRIPPING/CASING CONNECTION-BASED


WITS Record ID 6 Logical Record Type 156 Auto/Manual AUTOMATIC
Trigger [EVENT] Transmit when first out of slips following a connection
Data Source Data acquired in real-time and computed from first out of slips to next first out of slips. Only sent when tripping.
Average and maximum values reset following the transmission of the record
Short
Long mnemonic
No. Field description mnemonic Data type Length Metric system English system
symbol
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Bit (meas) DEPTBITM DBTM F 4 M F
9 Depth Bit (vert) DEPTBITV DBTV F 4 M F
10 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
11 Depth Hole (vert) DEPTVERT DVER F 4 M F
12 Trip Number TRIPNUM TNUM S 2 ---- ----
13 Connections Done CONNDONE CDON S 2 ---- ----
14 Connections Remaining CONNREM CREM S 2 ---- ----
15 Elapsed Time In-Slips ETIMESLP ETSL S 2 SEC SEC
16 Elapsed Time Out-of-Slips ETIMEOS ETOS S 2 SEC SEC
17 Running Speed -up (max) RSUX RSUX F 4 M/S FPM
18 Running Speed -up (avg) RSUA RSUA F 4 M/S FPM
19 Running Speed -down (max) RSDX RSDX F 4 M/S FPM
20 Running Speed -down (avg) RSDA RSDA F 4 M/S FPM
21 Hookload (max) HKLX HKLX F 4 KDN KLB
22 Hookload (min) HKLN HKLN F 4 KDN KLB
23 Hookload (avg) HKLA HKLA F 4 KDN KLB
24 Torque - Make Up (max) TORQMUX TQMX F 4 KNM KFLB
25 Torque - Breakout (max) TORQBOX TQBX F 4 KNM KFLB
26 Fill/Gain Volume Obs. FVOLO FVO F 4 M3 BBL
27 Fill/Gain Volume Exp. FVOLE FVE F 4 M3 BBL
28 Fill/Gain Volume Obs.(cum) FVOLOC FVOC F 4 M3 BBL
29 Fill/Gain Volume Exp (cum) FVOLEC FVEC F 4 M3 BBL

231
30 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
31 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
32 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
33 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
34 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 7 : SURVEY / DIRECTIONAL


Auto/Manual
WITS Record ID 7 Logical Record Type 157
AUTO(MWD)/MANUAL
Trigger [EVENT] Transmit when new survey data values are received and computed (MWD) or when manually triggered by
operator
Data Source Data acquired in real-time by MWD tools or entered manually from other sources
Short
Long mnemonic Metric
No. Field description mnemonic Data type Length English system
symbol system
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Svy/reading (meas) DEPTSVYM DSVM F 4 M F
9 Depth Svy/reading (vert) DEPTSVYV DSVV F 4 M F
10 Pass Number PASSNUM PASS S 2 ---- ----
11 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
12 Svy Type SVYTYPE STYP A 8 ---- ----
13 Svy Inclination SVYINC SINC F 4 DEG DEG
14 Svy Azimuth (uncorrected) SVYAZU SAZU F 4 DEG DEG
15 Svy Azimuth (corrected) SVYAZC SAZC F 4 DEG DEG
16 Svy Magnetic Toolface SVYMTF SMTF F 4 DEG DEG
17 Svy Gravity Toolface SVYGTF SGTF F 4 DEG DEG
18 Svy North-South Position SVYNS SNS F 4 M F
19 Svy East-West Position SVYEW SEW F 4 M F
20 Svy Dog Leg Severity SVYDLS SDLS F 4 DGHM DGHF
21 Svy Rate of Walk SVYWALK SWLK F 4 DGHM DGHF
22 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
23 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
24 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
25 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
26 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 11 : MUD TANK VOLUMES


WITS Record ID 11 Logical Record Type 161 Auto/Manual AUTOMATIC
Trigger [TIME] Transmit at a specified time interval (secs)
Data Source Data acquired in real-time and computed over the trigger interval; record transmitted and computations reset when
triggering interval occurs

232
Software Manual of SK-CMS Mud Logging Unit

Short
Long mnemonic
No. Field description mnemonic Data type Length Metric system English system
symbol
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
9 Depth Hole (vert) DEPTVERT DVER F 4 M F
10 Tank Volume (total) TVOLTOT TVT F 4 M3 BBL
11 Tank Volume (active) TVOLACT TVA F 4 M3 BBL
12 Tank Volume Change (total) TVOLCTOT TVCT F 4 M3 BBL
13 Tank Volume Change (active) TVOLCACT TVCA F 4 M3 BBL
14 Tank Volume Reset Time TVRESET TVRT L 4 ---- ----
15 Tank 01 Volume TVOL01 TV01 F 4 M3 BBL
16 Tank 02 Volume TVOL02 TV02 F 4 M3 BBL
17 Tank 03 Volume TVOL03 TV03 F 4 M3 BBL
18 Tank 04 Volume TVOL04 TV04 F 4 M3 BBL
19 Tank 05 Volume TVOL05 TV05 F 4 M3 BBL
20 Tank 06 Volume TVOL06 TV06 F 4 M3 BBL
21 Tank 07 Volume TVOL07 TV07 F 4 M3 BBL
22 Tank 08 Volume TVOL08 TV08 F 4 M3 BBL
23 Tank 09 Volume TVOL09 TV09 F 4 M3 BBL
24 Tank 10 Volume TVOL10 TV10 F 4 M3 BBL
25 Tank 11 Volume TVOL11 TV11 F 4 M3 BBL
26 Tank 12 Volume TVOL12 TV12 F 4 M3 BBL
27 Tank 13 Volume TVOL13 TV13 F 4 M3 BBL
28 Tank 14 Volume TVOL14 TV14 F 4 M3 BBL
29 Trip Tank 1 Volume TTVOL1 TTV1 F 4 M3 BBL
30 Trip Tank 2 Volume TTVOL2 TTV2 F 4 M3 BBL
31 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
32 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
33 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
34 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
35 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 12 : CHROMATOGRAPH GASES CYCLE-BASED


WITS Record ID 12 Logical Record Type 162 Auto/Manual AUTOMATIC
Trigger Transmit at the completion of a valid chomatograph cycle while circulating.

Data Source Data acquired in real-time from each valid chomatograph cycle. Not sent if no circulation is taking place

Short
Long mnemonic English
No. Field description mnemonic Data type Length Metric system
symbol system
symbol

233
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Chrom Sample (meas) DEPTCHRM DCHM F 4 M F
9 Depth Chrom Sample (vert) DEPTCHRV DCHV F 4 M F
10 Date Chrom Sample DATECHR DCHR L 4 ---- ----
11 Time Chrom Sample TIMECHR TCHR L 4 ---- ----

12 Methane (C1) METHANE METH L 4 PPM PPM

13 Ethane (C2) ETHANE ETH L 4 PPM PPM


14 Propane (C3) PROPANE PRP L 4 PPM PPM
15 Iso-Butane (IC4) IBUTANE IBUT L 4 PPM PPM
16 Nor-Butane (NC4) NBUTANE NBUT L 4 PPM PPM
17 Iso-Pentane (IC5) IPENTANE IPEN L 4 PPM PPM
18 Nor-Pentane (NC5) NPENTANE NPEN L 4 PPM PPM
19 Neo-Pentane (EC5) EPENTANE EPEN L 4 PPM PPM
20 Iso-Hexane (IC6) IHEXANE IHEX L 4 PPM PPM
21 Nor-Hexane (NC6) NHEXANE NHEX L 4 PPM PPM
22 Carbon Dioxide CO2 CO2 L 4 PPM PPM
23 Acetylene ACET ACET L 4 PPM PPM
24 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
25 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
26 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
27 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
28 < SPARE 5 > SPARE5 SPR5 F 4 ---- ----

RECORD # 13 : CHROMATOGRAPH GASES DEPTH-BASED


WITS Record ID 13 Logical Record Type 163 Auto/Manual AUTOMATIC
Trigger [DEPTH] Transmit at the specified depth interval (feet or meters) based on the returns depth.
Data Source Data acquired in real-time from each valid chomatograph cycle. Record transmitted and computations reset when the
triggering interval occurs. Record not sent if circulation not taking place or if bottoms up has been achieved resulting in no further
increase in returns depth
Short
Long mnemonic Metric English
No. Field description mnemonic Data type Length
symbol system system
symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Returns (meas) DEPTRETM DRTM F 4 M F

234
Software Manual of SK-CMS Mud Logging Unit

9 Depth Returns (vert) DEPTRETV DRTV F 4 M F


10 Methane (C1) (avg) METHA MTHA L 4 PPM PPM
11 Methane (C1) (min) METHN MTHN L 4 PPM PPM
12 Methane (C1) (max) METHX MTHX L 4 PPM PPM
13 Ethane (C2) (avg) ETHA ETHA L 4 PPM PPM
14 Ethane (C2) (min) ETHN ETHN L 4 PPM PPM
15 Ethane (C2) (max) ETHX ETHX L 4 PPM PPM
16 Propane (C3) (avg) PROPA PRPA L 4 PPM PPM
17 Propane (C3) (min) PROPN PRPN L 4 PPM PPM
18 Propane (C3) (max) PROPX PRPX L 4 PPM PPM
19 Iso-Butane (IC4) (avg) IBUTA IBTA L 4 PPM PPM
20 Iso-Butane (IC4) (min) IBUTN IBTN L 4 PPM PPM
21 Iso-Butane (IC4) (max) IBUTX IBTX L 4 PPM PPM
22 Nor-Butane (NC4) (avg) NBUTA NBTA L 4 PPM PPM
23 Nor-Butane (NC4) (min) NBUTN NBTN L 4 PPM PPM
24 Nor-Butane (NC4) (max) NBUTX NBTX L 4 PPM PPM
25 Iso-Pentane (IC5) (avg) IPENTA IPNA L 4 PPM PPM
26 Iso-Pentane (IC5) (min) IPENTN IPNN L 4 PPM PPM
27 Iso-Pentane (IC5) (max) IPENTX IPNX L 4 PPM PPM
28 Nor-Pentane (NC5) (avg) NPENTA NPNA L 4 PPM PPM
29 Nor-Pentane (NC5) (min) NPENTN NPNN L 4 PPM PPM
30 Nor-Pentane (NC5) (max) NPENTX NPNX L 4 PPM PPM
31 Neo-Pentane (EC5) (avg) EPENTA EPNA L 4 PPM PPM
32 Neo-Pentane (EC5) (min) EPENTN EPNN L 4 PPM PPM
33 Neo-Pentane (EC5) (max) EPENTX EPNX L 4 PPM PPM
34 Iso-Hexane (IC6) (avg) IHEXA IHXA L 4 PPM PPM
35 Iso-Hexane (IC6) (min) IHEXN IHXN L 4 PPM PPM
36 Iso-Hexane (IC6) (max) IHEXX IHXX L 4 PPM PPM
37 Nor-Hexane (NC6) (avg) NHEXA NHXA L 4 PPM PPM
38 Nor-Hexane (NC6) (min) NHEXN NHXN L 4 PPM PPM
39 Nor-Hexane (NC6) (max) NHEXX NHXX L 4 PPM PPM
40 Carbon Dioxide (avg) CO2A CO2A L 4 PPM PPM
41 Carbon Dioxide (min) CO2N CO2N L 4 PPM PPM
42 Carbon Dioxide (max) CO2X CO2X L 4 PPM PPM
43 Acetylene ACET ACET L 4 PPM PPM
44 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
45 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
46 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
47 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
48 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 14 : LAGGED CONTINUOUS MUD PROPERTIES


WITS Record ID 14 Logical Record Type 164 Auto/Manual AUTOMATIC
Trigger [TIME], [DEPTH] or [TIME/DEPTH] Transmit at the specified time interval (secs), depth interval (feet or meters) based on the
returns depth, or a combination of these.
Data Source Data acquired in real-time and computed over the interval. Record transmitted and computations reset when the triggering
interval occurs. If a depth interval is specified, it is active until bottoms-up occurs. Time intervals, if specified, are reset following the

235
transmission of the record by either depth or time trigger. Not sent if no circulation is taking place
Long mnemonic Short mnemonic Metric English
No. Field description Data type Length
symbol symbol system system
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Returns (meas) DEPTRETM DRTM F 4 M F
9 Depth Returns (vert) DEPTRETV DRTV F 4 M F
10 Mud Density In (lagd) MDIL MDIL F 4 KGM3 PPG
11 Mud Density Out (avg) MDOA MDOA F 4 KGM3 PPG
12 Mud Temperature In (lagd) MTIL MTIL F 4 DEGC DEGF
13 Mud Temperature Out (avg) MTOA MTOA F 4 DEGC DEGF
14 Mud Conductivity In (lagd) MCIL MCIL F 4 MMHO MMHO
15 Mud Conductivity Out (avg) MCOA MCOA F 4 MMHO MMHO
16 Hyd.Sulfide Haz.Pot. (avg) HSHPA HHPA F 4 PPM PPM
17 Hyd.Sulfide pH (avg) HSPHA HPHA F 4 ---- ----
18 Hyd.Sulfide pHS (avg) HSPHSA HPSA F 4 % %
19 Gas In (lagd) GASIL GSIL F 4 % %
20 Gas (avg) GASA GASA F 4 % %
21 Gas (max) GASX GASX F 4 % %
22 Carbon Dioxide (avg) CO2A CO2A L 4 PPM PPM
23 Hydrogen Sulfide (avg) HSA HSA L 4 PPM PPM
24 Hydrogen Sulfide (max) HSX HSX L 4 PPM PPM
25 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----
26 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
27 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
28 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
29 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 15 : CUTTINGS / LITHOLOGY


WITS Record ID 15 Logical Record Type 165 Auto/Manual MANUAL
Trigger [EVENT] Transmission is operator-initiated
Data Source Manually-entered data from sample examination sent when new data values are available
Long mnemonic Short mnemonic Metric
No. Field description Data type Length English system
symbol symbol system
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Sample (meas) DEPTSAMM DSAM F 4 M F

236
Software Manual of SK-CMS Mud Logging Unit

9 Depth Sample (vert) DEPTSAMV DSAV F 4 M F


10 Description type DESCTYPE DESC A 8 ---- ----
11 Lith 1 type L1TYPE L1TY A 16 ---- ----
12 Lith 1 % L1PERC L1PC S 2 % %
13 Lith 1 classification L1CLASS L1CL A 16 ---- ----
14 Lith 1 color L1COLOR L1CO A 16 ---- ----
15 Lith 1 texture L1TEXT L1TX A 16 ---- ----
16 Lith 1 hardness L1HARD L1HD A 16 ---- ----
17 Lith 1 grain size L1SIZE L1SZ A 16 ---- ----
18 Lith 1 roundness L1ROUND L1RD A 16 ---- ----
19 Lith 1 sorting L1SORT L1SO A 16 ---- ----
20 Lith 1 matrix/cement L1MATCEM L1MC A 16 ---- ----
21 Lith 1 accessories L1ACC L1AC A 16 ---- ----
22 Lith 1 porosity L1POR L1PO F 4 % %
23 Lith 1 permeability L1PERM L1PE F 4 MD MD
24 Lith 2 type L2TYPE L2TY A 16 ---- ----
25 Lith 2 % L2PERC L2PC S 2 % %
26 Lith 2 classification L2CLASS L2CL A 16 ---- ----
27 Lith 2 color L2COLOR L2CO A 16 ---- ----
28 Lith 2 texture L2TEXT L2TX A 16 ---- ----
29 Lith 2 hardness L2HARD L2HD A 16 ---- ----
30 Lith 2 grain size L2SIZE L2SZ A 16 ---- ----
31 Lith 2 roundness L2ROUND L2RD A 16 ---- ----
32 Lith 2 sorting L2SORT L2SO A 16 ---- ----
33 Lith 2 matrix/cement L2MATCEM L2MC A 16 ---- ----
34 Lith 2 accessories L2ACC L2AC A 16 ---- ----
35 Lith 2 porosity L2POR L2PO F 4 % %
36 Lith 2 permeability L2PERM L2PE F 4 MD MD
37 Lith 3 type L3TYPE L3TY A 16 ---- - ---
38 Lith 3 % L3PERC L3PC S 2 % %
39 Lith 3 classification L3CLASS L3CL A 16 ---- ----
40 Lith 4 type L4TYPE L4TY A 16 ---- ----
41 Lith 4 % L4PERC L4PC S 2 % %
42 Lith 4 classification L4CLASS L4CL A 16 ---- ----
43 Lith 5 type L5TYPE L5TY A 16 ---- ----
44 Lith 5 % L5PERC L5PC S 2 % %
45 Lith 5 classification L5CLASS L5CL A 16 ---- ----
46 Fossils FOSS FOSS A 16 ---- ----
47 Composite Show COMPSHOW SHOW A 16 ---- ----
48 Bulk Density BULKDEN BDEN F 4 G/CC G/CC
49 Cuttings Gas GASCUTT GCUT F 4 % %
50 Calcimetry Calcite % CCAL CCAL F 4 % %
51 Calcimetry Dolomite % CDOL CDOL F 4 % %
52 Cuttings CEC CEC CEC F 4 MEHG MEHG
53 Cavings % CAVINGS CAV S 2 % %
54 Shale Density SHALEDEN SDEN F 4 G/CC G/CC
55 < SPARE 1 > SPARE1 SPR1 F 4 ---- ----

237
56 < SPARE 2 > SPARE2 SPR2 F 4 ---- ----
57 < SPARE 3 > SPARE3 SPR3 F 4 ---- ----
58 < SPARE 4 > SPARE4 SPR4 F 4 ---- ----
59 < SPARE 5 > SPARE5 SPR5 F 4 --- ----

RECORD # 22: REMARKS


WITS Record ID 22 Logical Record Type 172 Auto/Manual MANUAL
Trigger [EVENT] Transmission is operator-initiated
Data Source Manually-entered data
Long Short
Lengt Metric English
No. Field description mnemonic mnemonic Data type
h system system
symbol symbol
1 Well Identifier WELLID WID A 16 ---- ----
2 Sidetrack/Hole Sect No. STKNUM SKNO S 2 ---- ----
3 Record Identifier RECID RID S 2 ---- ----
4 Sequence Identifier SEQID SQID L 4 ---- ----
5 Date DATE DATE L 4 ---- ----
6 Time TIME TIME L 4 ---- ----
7 Activity Code ACTCOD ACTC S 2 ---- ----
8 Depth Hole (meas) DEPTMEAS DMEA F 4 M F
9 Depth Hole (vert) DEPTVERT DVER F 4 M F
10 Comments COMM COMM A 256 ---- ----

238
Software Manual of SK-CMS Mud Logging Unit

Manual of CMS Background Software


XXX Introduction to System Functions
This system is a kind of log data processing software running on the Windows9X/2000/XP platform.
The system is developed by using the currently prevalent object-oriented development tool - Visual C# and
has the features as follows:
The interface is beautiful and normative. Conform to Windows standards.
Its functions are powerful, providing a set of solution to log data processing.
It allows users to customize the output format to meet specific requirements of different users.
The whole system is divided into function programs as follows: engineering plot, drill bit cost report,
casing report, borehole inclination analysis, well cement report, gas survey interpretation, formation pressure
analysis, hydraulics report and professional plotting software.

XXXI Running Environment of the System


Win9x/2000/XP operating system;
MS SQL Server database, MS Access database.
MS Office 2000 software.

XXXII Notice
Prerequisites for normal operation: Microsoft .Net Framework 1.1 package shall be installed.

239
Chapter 1 Engineering Plot
XXXIII Overview
The engineering plot is used to draw three reports on engineering process, well structure and
working time analysis, which are commonly used in engineering. Figure 1-1 shows the main interface
of this software.

Figure 1-1 Main Interface of Running Engineering Plot


XXXIV Data Input
When users select to create a new report, the program will prompt users to select type of the report,
as shown in Figure 1-2.

Figure 1 Selecting Plot Type


After creating the report, contents of the created report will be displayed. The newly created report
in general is blank and here users can click on Edit Data to edit data. A corresponding edit box will
pop up automatically according to the type of the current report.

240
Software Manual of SK-CMS Mud Logging Unit

XXXV Engineering Process Plot


The edit window of engineering process is shown in Figure 1-3. Input the corresponding plan
progress, real progress and company icon, click on OK to view engineering process plot, as shown in
Figure 1-4.

Figure 1-3 Editing Engineering Process Data

241
Figure 1-4 Engineering Process Plot
XXXVI Well Structure Plot
After inputting data such as begin depth, cement return height, inner diameter, bit diameter and the
company icon etc. related to the well structure in the edit window, click on OK to view the well
structure plot, as shown in Figure 1-6.

Figure 1-5 Editing the Data of Well Structure

242
Software Manual of SK-CMS Mud Logging Unit

Figure 1-6 Well Structure Plot


XXXVII Working Time Plot
Input the working condition and time spent on each working condition in the window (as shown in
Figure 1-7) to generate the working time plot, as shown in Figure 1-8.

Figure 1-7 Edit Working Time Data

243
Figure 1-8 Working Time Plot
XXXVIII Parameter/Unit Setting
Inside the program, all data are saved in standard units. But users can customize units displayed in
the program interface and the program will automatically conduct the conversion between standard and
customized units. Click on Setting-Param Setting and a parameter setting dialogue will pop up for
you to set parameters names and units of the report, as shown in Figure 1-9.

Figure 1-9 Parameters Setting

244
Software Manual of SK-CMS Mud Logging Unit

Each parameter belongs to a parameter group, which has uniform unit setting (such as type, unit,
conversion coefficient to standard units and decimal width etc.). For example, the parameter of Well
Depth belongs to Depth parameter group; the name of this unit group is m, the type is length and the
conversion coefficient to standard units (m) is 1. If you dont want to use the unit setting in the
parameter group, you can select customized unit (mark in corresponding ) and then select
appropriate unit type, unit and decimal width.
After finishing the setting, click on OK and the program will redraw the plot according to the
current unit setting and save the current unit setting at the same time. Since then, the unit setting will
always be applied unless users modify the unit setting again.
XXXIX Printout
Click on Print in the toolbar and Print window will pop up (as shown in Figure 1-10), where
users can print out the report.

Figure 1-10 Printout Dialog


XL Save/Open/Create a Report
Every time you run the program, a report named Untitled will be created automatically. When
the program is running, users can save (select File- Save) or save as the report (select File- Save
as). At the same time, you can open an existing report (select File- Open), or create a new report
(select File- New). If the data of the plot have been modified but unsaved, the program will prompt
users to save the modified data or not.

XLI Export
The report can be exported in various external file formats, such as electronic spreadsheet file
(Excel file), Word file (RTF file), image file (TIF file) and PDF file. Select File - Export and the
Export window will pop up, as shown in Figure 1-11.

245
Figure 1-11 Export as external File
Select export format (tif, xls or rtf) in Save as Type, then input the file name and press Save
button to export the report to the specified path according to the specified format.
XLII Exit the Program
Select File - Exit or the close button on the title bar in the main window to close the program.
If some data have been edited but unsaved, the program will prompt users to save the data or not, as
shown in Figure 1-12.

Figure 1-12 Prompt Box of Exiting the Program

246
Software Manual of SK-CMS Mud Logging Unit

Chapter 2 Casing Report


XLIII Overview
Casing Report is an application specially developed to generate the casing report in the course of
drilling. Users can input the related data and a casing list report will be generated according to the data
input by users. The report can be printed. Main window of this program is shown in Figure 2-1.

Figure 2-1 Main Window of Casing List Report


XLIV Input Data
Select Edit - Edit Data and the Edit Data window will pop up as shown in Figure 2-2, where
users can input the required data to generate report.

247
Figure 2-2 Window of Input Casing Data
When editing casing data, the casing type list will be used; click on Edit casing type and
Casing Type window will pop up (as shown in Figure 2-3), where users can edit casing type list and
write it from the file or save it to the file.

Figure 2-3 Input Window of Casing Type

After editing data in Edit Data window, click on OK and a casing list report as shown in Figure
2-4 (when selecting Casing List Report in View menu) or as shown in Figure 2-5 (when selecting
Casing chart report) will be generated in the main window according to the data just input.

248
Software Manual of SK-CMS Mud Logging Unit

Figure 2-4 Casing List Report

249
Figure 2-5 Casing Picture Report
XLV Report Switch
Select View - Casing List Report and View - Casing Picture Report to switch the program
between casing list report and casing picture report.

XLVI The operations of parameter/unit setting, printout,


save/open/create a report, export, and exit the program are the same as
Chapter 1.

250
Software Manual of SK-CMS Mud Logging Unit

Chapter 3 Bit Cost Report


XLVII Overview
Bit cost report refers to the average cost per meter, including well site operation cost and bit value,
when the bit is drilling in the well. Bit cost contains two parts: one is the average net cost of bit, which
refers to the cost of net drilling and tripping time. The other is the average cost of borehole time, which
refers to the total cost of bit during borehole time. The beginning accumulated cost value is high. With
footage increase, it declines rapidly and then slowly. Finally instantaneous cost is more than the
accumulated cost for the abrasion of bit. At this time, you should consider changing a bit. Accumulated
cost is an important parameter to evaluate bit. Users can input bit data and the program will generate a
chart according to data input by users, which can be printed. Figure 3-1 shows the main window of this
program.

Figure 3-1 Main Window of Bit Cost Report

XLVIII Input Data


Select Edit - Edit Data and Edit data window will pop up as shown in Figure 3-2, where
users can input data required to generate the cost report of bit. You can also click on Load Datas, and
the window as shown in Figure 3-3 will be displayed.

251
Figure 3-2 Window of Bit Data Input

Figure 3-3 Window of Load Bit DataBase

Select well name, borehole, tubular assembly from the pull-down box, and input begin depth and
end depth of the bit, then click on OK. Return to the window as shown in Figure 3-2 after completing
Load Database.
After finishing the input, click on OK and a bit cost report will be generated in the main window
according to data just input, as shown in Figure 3-4.

252
Software Manual of SK-CMS Mud Logging Unit

Figure 3-4 Bit Cost Report


XLIX Format Setting
Users can set the report format as the following steps, select Edit - Set Format and Set
Format window will pop up, as shown in Figure 3-5.

Figure 3-5 Format Setting

253
After finishing the setting, click on OK and a report will be regenerated in the main window
according to the setting above.
Attention: each report has its unique format setting. The modified format setting is available
only to the current report but has no effect on other reports.
L The operations of parameter/unit setting, printout,
save/open/create a report, export, and exit the program are the same as
Chapter 1.

254
Software Manual of SK-CMS Mud Logging Unit

Chapter 4 Well Cement Report


LI Overview
After the well cementation, well cement report is output by this software. Figure 4-1 shows the
main interface of this software.

Figure 4-1 Main Window of Cement Report

LII Data Input


Select Edit - Edit Data and Edit Data window will pop up as shown in Figure 4-2, where
users can input the required data to generate the cement report. You can also click on Load Datas, and
the window as shown in Figure 4-3 will be displayed.

255
Figure 4-2 Cement Data Input

Figure 4-3 Load Well Structure Database

Select well name, borehole, annulus interval from the pull-down box, and input begin depth and
end depth of the cement, then click on OK. Return to the window as shown in Figure 4-3 after
completing Load Database.
After finishing the input, click on OK and a cement report will be generated in the main window
according to data just input, as shown in Figure 4-1.
This software allows three-level design of well cementation and an additive can be added in each
level of well cementation. Click on the front check box and then input data and press OK after finishing
the input to output the report.

256
Software Manual of SK-CMS Mud Logging Unit

LIII The operations of parameter/unit setting, printout,


save/open/create a report, export, and exit the program are the same as
Chapter 1.

257
Chapter 5 Borehole Inclination Report
LIII.1 Overview
When the borehole inclination report program is used for the directional drilling, the borehole
inclination data are used to provide users with the inclination report/perpendicular projection of
borehole/horizontal projection of borehole/stereographic projection of borehole, and they can also be
used for inclination analysis in the vertical well exploration. The inclination report plays an important
role in analyzing the quality in the midway of a well or a completed well and the degree of conformity
to design requirements. Figure 5-1 shows the main interface of this software.

Figure 5-1 Main Window of Inclination Report

LIII.2 Data Input


Select Edit - Inclination Data, the Inclination Calc window as shown in Figure 5-2 will pop
up. Input company icon, well name etc. in the title information. And select inclination calculation
method and dog leg calculation method in Calculate Method, then input well depth, inclination and
azimuth angle in actual inclination/set inclination data. You can also click on Load Datas, and the
dialog as shown in Figure 5-3 will be displayed.

258
Software Manual of SK-CMS Mud Logging Unit

Figure 5-2 Inclination Data Input

Figure 5-3 Load Inclination Database

Select well name, borehole from the pull-down box, and input begin depth and end depth of the
inclination, then click on OK. Return to the window as shown in Figure 5-2 after completing Load
Database.
After finishing input, click on OK and an inclination report will be generated in the main
window according to data just input, as shown in Figure 5-1.

LIII.3 Display Setting


Users can set the report format as the following steps, select Edit - Display Setup and Frm
Chart Setup window will pop up, as shown in Figure 5-4.

259
Figure 5-4 Display Setting

Set the effect of displayed borehole inclination plot, and then click on OK to update the plot.

LIII.4 Switch of Borehole Inclination Plot and Borehole Inclination


Chart
Select View - Inclination Plot in the menu (as shown in Figure 5-1), or select View -
Inclination Chart to review the inclination chart (as shown in Figure 5-5).

260
Software Manual of SK-CMS Mud Logging Unit

Figure 5-5 Inclination Chart


LIII.5 The operations of parameter/unit setting, printout,
save/open/create a report, export, and exit the program are the same as
Chapter 1.

261
Chapter 6 Gas Survey Interpretation Program
(a) Overview
The gas survey interpretation report can be output by this software. Figure 6-1 shows the main
interface of this software.

Figure 6-1 Main Interface of Gas Interpretation


The right column in the main window is the index of well depths of all the points. Click well depth
value to refresh the page until obtain the gas interpretation report of the point.

(b) Chart Setting


Click on Setting - Chart Setting in the menu, the window as shown in Figure 6-2 will pop up.
Four kinds of charts can be set in this dialog.

Figure 6-2 Chart Setting Selection

Triangle setting, as shown in Figure 6-3

262
Software Manual of SK-CMS Mud Logging Unit

Figure 6-3 Setting the Oil-gas Boundary and Valuable Zone of the Triangle Chart

Ratio setting, as shown in Figure 6-4:

Figure 6-4 Setting Pixler Area Data

Logarithm setting, as shown in Figure 6-5:

263
Figure 6-5 Setting Logarithm Area Data

Three H Setting as shown in Figure 6-6:

Figure 6 Setting Three H Area Data

(c) Data Input


Select Edit - Data Input in the menu, the dialog as shown in Figure 6-7 will pop up. Input
company icon, well name, log unit etc. in the data input window, and input specific well depth and ratio
value of C1, C2, C3 in the data column. You can also click on Load Datas, and the dialog as shown in
Figure 6-8 will be displayed.

264
Software Manual of SK-CMS Mud Logging Unit

Figure 6-7 Gas Survey Data Input

Figure 6-8 Load Gas Survey Database


Select well name, borehole from the pull-down box, and input begin and end depth of the gas
interpretation, then click on OK. Return to the window as shown in Figure 6-7 after completing Load
Database.
Click on OK after finishing input, and a gas chart will be generated in the main window
according to data just input, as shown in Figure 6-1.

265
(d) The operations of parameter/unit setting, printout,
save/open/create a report, export, and exit the program are the
same as Chapter 1.

(e) Basic Knowledge of Chart


Ratio Chart Interpretation Method
The ratio chart is also called Pixler method. The default interpretation standards of the gas
interpretation software are as follows:
Oil Zone: C1/C2 = 2-14;
C1/C3 = 2 -14;
C1/C4 = 2 -21;
Gas Zone: C1/C2 = 10-35;
C1/C3 = 14 -82;
C1/C4 = 21 -200;
Non-productive Zone: C1/C2<2 or >35;
C1/C3<2 or >82;
C1/C42 or >200.
Suggestion: Correct them gradually according to their using situation to make them applicable to actual
situations of the zone.

Triangle Chart Interpretation Method


Inversion or positive of triangle form: if the triangle form is consistent with the direction of triangle
coordinate system, the triangle is called a positive triangle and otherwise, an inverted triangle.
Size of triangle form: if side length of the triangle form obtained is more than 75% of that of
triangle coordinate system, the triangle is called a large triangle; if it is 25-75% of side length of triangle
coordinate system, the triangle is called a medium triangle; if it is less than 25% of side length of
triangle coordinate system, the triangle is called a small triangle.
Interpretation method:
If the triangle is positive, it is a gas layer.
If the triangle is inverted, it is an oil-bearing layer.
Large triangle indicates gas is from dry gas layer or oil layer with low oil-gas ratio.
Small triangle indicates gas is from wet gas layer or oil layer with high oil-gas ratio.
If the intersection point of connecting lines of the corresponding apices of two triangle forms is
located in the valuable zone of the chart,
it is believed that off-take potential is available in the reservoir; otherwise, no off-take potential is
available.
The default data used in valuable zone of triangle chart of the gas interpretation software are as
follows:
C2/sum=0.141 C3/sum=0.020
C2/sum=0.136 C3/sum=0.031
C2/sum=0.101 C3/sum=0.063
C2/sum=0.079 C3/sum=0.076
C2/sum=0.066 C3/sum=0.080
C2/sum=0.054 C3/sum=0.075
C2/sum=0.052 C3/sum=0.068

266
Software Manual of SK-CMS Mud Logging Unit

C2/sum=0.054 C3/sum=0.059
C2/sum=0.064 C3/sum=0.047
C2/sum=0.074 C3/sum=0.040
C2/sum=0.090 C3/sum=0.030
C2/sum=0.110 C3/sum=0.024
C2/sum=0.125 C3/sum=0.017
C2/sum=0.136 C3/sum=0.013
C2/sum=0.141 C3/sum=0.020
Suggestion: Correct them gradually according to their using situation to make them applicable to actual
situations of the zone.

3H Interpretation Method
Humidity ratio of hydrocarbon: (Wh) = [( C2+ C3+ C4+ C5)/( C1+ C2+ C3+ C5)]*100;
Equilibrium ratio of hydrocarbon: (Bh) = (C1+C2)/(C3+ C4+ C5);
Characteristic ratio of hydrocarbon: (Ch) = (C4+ C5)/ C3;
The default interpretation rules used in 3H chart of the gas interpretation software are as follows:
If Wh<0.5 and Bh>100, this zone is equivalent to very light dry gas only and it is almost sure it has
no productive capacity.
If 0.5<Wh<17.5 and Wh<Bh<100, this zone is equivalent to possibly recoverable natural gas and
the humidity and density of natural gas increase with the convergence of two curves.
When 0.5<Wh<17.5 and Wh< Bh, this zone is equivalent to possibly recoverable gas condensate
or high-density gas/light oil or oil and gas condensate with high gas-oil ratio.
If 17.5<Wh<40 and Bh<Wh, this zone is equivalent to possibly recoverable oil and the oil density
increases with the divergence of two curves.
If Wh>40 and Bh<Wh, this zone is equivalent to viscous crude with low productive potential or
residual oil without production capacity.
If the characteristic ratio (Ch) of hydrocarbon is selected to interpret the fuzzy display between oil
and gas. The rule for Ch in the interpretation is that: if 0.5<Wh<17.5 and Bh< Wh and Ch>0.5, this
zone is equivalent to possibly recoverable gas condensate or high-density gas/light oil, or oil and
gas condensate with high gas-oil ratio. If 0.5<Wh<17.5 and Bh< Wh and Ch<0.5, this zone is
equivalent to possibly recoverable wet gas or condensate gas.
Suggestion: Correct them gradually according to their using situation to make them applicable to actual
situations of the zone.

Logarithm Chart Interpretation Method and Statistics Chart Interpretation


The vertical coordinate of this chart is (C 2/C1)*1000 and its horizontal coordinate is (C 3/C1)*1000.
The double logarithm chart is adopted to draw the plot. The chart is divided into four zones as follows:
dry gas, natural gas condensate, accompanying gas - oil, transition to oxidized oil.
In the gas survey component, the logarithm chart can be used to interpret the oil-bearing and gas-
bearing type of strata once C3 appears. If the statistics chart is used, the intervals used for plot shall be
significant gas show intervals, C1, C2 and C3 thresholds of each layer (these values are minimums for the
gas component studied and handled) shall be set according to practical situation of each layer.
The default rules used for logarithm chart and statistics chart of the gas interpretation software are as
follows:
The splitting line of dry gas, natural gas condensate zones is (11,1) (44.1000, 1000).
The splitting line of natural gas gas condensate, accompanying gas oil zones is (22, 1) (88, 1000)
and that of accompanying gas oil zones and transitional zone to oxidized oil is (120, 1) (480, 1000).
267
Suggestion: Correct them gradually according to their using situation to make them applicable to actual
situations of the zone.
It shall be pointed out that the interpretation by various charts is inevitably disturbed by many factors to
affect the interpretation results and when using them, you had better conduct the comprehensive
interpretation by combining with other data and methods.

268
Software Manual of SK-CMS Mud Logging Unit

Chapter 7 Formation Press Program


LIV Overview
In general, the analysis report of formation pressure is processed until drilling is finished.
Certainly, the formation pressure data of the drilled well interval can also be processed when replacing
the bit for each tripping according to the requirement of Party A. Comparing the two reports, the
analysis report of formation pressure processed after completing drilling is more accurate to determine
the normal trend and provide the actual abrasion of the bit. So it is more accurate and more suitable for
actual condition. It can confirm normal trendline accurately and provide actual abrasion of bit. Gas
interpretation report can be output by this software. Figure 7-1 shows the main interface of this
software.

Figure 7-1 Main Interface of Formation Pressure Program

LV Area Data
Click on Area Data Initial Setting in the menu, the window as shown in Figure 7-2 will pop
up.

Figure 7-2 Area Data

269
Select the area to be used from the pull-down box of Area Name. Then click on Setting, and
the Area Data window will pop up (as shown in Figure 7-3), where area can be built and deleted.

Figure 7-3 Setting Area Data

New: build a new area (including area data and area trendline data);
Delete: delete an area (including area data and area trendline data);
Return: return to Area Data window.

The meaning of initial parameter:


HyPressGradient: it is influenced by the concentration of solid dissolved in liquid column.
Usually 1.0g/cm3 and 1.074g/cm3 are used to estimate the gradient of static hydraulic pressure
in the formation of continental and sea facies.
InhPressGradient: formation pressure gradient of the permeable formation relates with the
formation pressure gradients of overburden undercompacted formation. The formation
pressure gradient of the permeable formation that is produced by the attenuation of
overburden formation pressure gradient is also called gradient of inherited pressure.
DC LeftMargin: lefthand boundary is on the left of normal trendline. It is the boundary
between normally compacted formation and undercompacted formation, namely, it is the
boundary to divide the abnormally high pressure formation. Lefthand boundary is in parallel
with normal trendline. Lefthand boundary can be confirmed if the offset between it and
normal trendline is given. Generally lefthand boundary value of 0.05 is suitable.
DC SandLine: sandstone line is on the left of lefthand boundary. It is the boundary between
undercompacted formation and permeable formation. Sandstone line is also parallel with
normal trendline. It can be confirmed if the offset between it and normal trendline is given.
Generally the distance between sandstone line and normal trendline is suitable in 0.50.
Calculation Model: DC index method provides 4 calculation models of inverse, logarithm,
Eaton index and equivalent depth to calculate formation pressure gradient. DC index and
SIGMA index method provide 3 calculation models of Eaton, Huang and Ma to calculate
fracture pressure gradient.
This program also provides 2 methods of bit and EDC to correct D index. Users can select one
or several correcting methods at the same time. The calculation results will be corrected by

270
Software Manual of SK-CMS Mud Logging Unit

the program when calculating DC index.

LVI Trend Line Definition


Click on Area Data Trend Line in the menu, the window as shown in Figure 7-4 will pop up.
You can select the following six parameters initialization from the pull-down box of trend line: DC
trend line, Sigma trend line, overburden pressure grads, mudstone density, stress coefficient of rock
matrix and poisson's ratio of rock.

Figure 7-4 Trend Line Definition


DC trend line (as shown in Figure 7-4)
There are two methods to define trend line:
Select Manual Input box, input the begin depth, end depth and coefficient a and b of DC
index trend line (two points define a trend line). Then click on Next-> button and input the
coefficient of next well depth interval. The results are displayed in the following table.
Select Regress Analyze box, input the begin depth, end depth and depth of the two points
and known DC index. Regress calculation is used to calculate the coefficient of a and b by the
program. Then click on Next-> button to input the information of next well depth interval.
The results are displayed in the following table.
Double click on the table, then the information of the trend line can be modified; you can select a
row and then click on Delete Trend Line button to delete a section of trend line.

Sigma trend line (as shown in Figure 7-5):

271
Figure 7-5 Definition of Sigma Trend Line
Input the begin depth, end depth and Sigma A and Sigma B of Sigma index trend line (By default,
Sigma A is 0.0866 and Sigma B the Sigma value of depth zero). Then click on Next-> button to input
the coefficient of next well depth interval. The results are displayed in the following table. Similarly,
double click on the table to modify the information of trend line; you can select a row and then click on
Delete Trend Line button to delete a section of trend line.

Overburden formation pressure gradient (as shown in Figure 7-6):

Figure 7-6 Overburden Pressure Grads

272
Software Manual of SK-CMS Mud Logging Unit

There are five methods to confirm the coefficients of overburden pressure gradient:
Regress Analyze: input the corresponding values in Vertical Depth and Pressure Grads
columns that are on the left of the window. Select the check box to be used in well depth
calculation. Then click on Overburden Pressure Grads Curve to draw grads curve in FP
gradient chart. Click on Regress Trend Line to calculate coefficient a, b and c of pressure
gradient.
Select presetting value: the following formation data are provided in the recommended value
list:

Formation Type SA SB SC

Soft Formation 1 0.0294976 -0.321555 2.84636


Soft Formation 2 0.0301 -0.3278 2.9015
Hard Formation 1 0.0327324 -0.337322 2.94162
Hard Formation 2 0.0334 -0.3439 2.9986
User
definition: input coefficient in text box directly.
Calculating with density logging data: select Density Log from the pull-down list, the
window as shown in Figure 7-7 will be displayed.

Figure 7-7 Density Log Data

Click on Import Data to add the data of acoustic density log (*.dat format), the window as shown
in Figure 7-8 will pop up.

273
Figure 7-8 Open Logging File
The file to be opened should be of the following formats: the beginning of the text is basic
information, such as date, unit etc., followed by field names and data of each depth. The data lists are
divided by blank (as shown in Figure 7-9).

Figure 7-9 Format of Logging File


Select the list of well depth and density data, and confirm the units after adding data. Dragging left
mouse button in the table to select a row to calculate or selecting all the data to calculate.
Calculating with acoustic log data: the operation is the same as the calculation of density log
data. The difference is that data selected is from the list of well depth data and acoustic
slowness data.

274
Software Manual of SK-CMS Mud Logging Unit

Mudstone density (as shown in Figure 7-10):

Figure 7-10 Mudstone Density


There are two methods to define mudstone trend line:
Regress Analyze: input the corresponding values in Vertical Depth and Density that are
on the left of the window. Select the check box to be used in well depth calculation. Then
click on Mudstone Density Curve to draw density curve in the chart. Click on Regress
Trend Line to calculate the coefficient of mudstone trend line, and you can select linear and
logarithmic model to calculate in Mudstone Density Model box.
Manual Input: basic mudstone density in general is 2.65g/cm 3 (influencing porosity
calculation).
Rock matrix stress coefficient (as shown in Figure 7-11):

275
Figure 7-11 Rock Matrix Stress Coefficient
There are three methods to define rock matrix stress coefficient:
Select presetting value: several formation experience data are provided in the recommended
value list as follows:
Formation a b
Type
Soft 0.266 -2.351
Formation
Hard 0.354 -3.1864
Formation

Regress Analyze: input the corresponding values in Vertical Depth and Stress Coefficient
that are on the left of the window. Select the check box to be used in well depth calculation.
Then click on Stress Coefficient Curve to draw grads curve in the chart. Click on Regress
Trend Line to calculate matrix stress coefficient.
Calculating with leak-off test data: click on Leak-off Test button, the window as shown in
Figure 7-12 will be displayed.

276
Software Manual of SK-CMS Mud Logging Unit

Figure 7-12 Calculating Rock Matrix Stress Coefficient with Leak-off Test Data
Input the values of well depth, measured rupture pressure, mud density and formation pressure
grads to calculate rock matrix stress coefficient.

Rock Poissons ratio coefficient (as shown in Figure 7-13):

277
Figure 7-13 Rock Poissons Ratio Coefficient
There are two methods to define rock Poissons ratio coefficient:
Regress Analyze: input the corresponding values in Vertical Depth and Poissons Ratio
that are on the left of the window. Select the check box to be used in well depth calculation.
Then click on Rock Poissons Ratio Curve to draw gradient curve in the chart. Click on
Regress Trend Line to calculate rock Poissons ratio coefficient.
Input manually.
Attention: as rock matrix stress coefficient relates with rock Poissons ratio, they are
synchronized automatically.
Attention: definition of trend line is a necessary step to calculate the formation pressure,
fracturing pressure and porosity.

LVII Well Data


Click on Well Data in the menu, the window as shown in Figure 7-14 will pop up. You can input
four kinds of data.

Figure 7-14 Well Data Window

Basic data (as shown in Figure 7-15):

Figure 7-15 Basic Data

Users can select the well and borehole existing in CMS database from the pull-down box of Well
Name and Hole Name. Then input the tectonic and team name; click on OK and finish loading
database.

Bit data (as shown in Figure 7-16):

278
Software Manual of SK-CMS Mud Logging Unit

Figure 7-16 Bit Data

All the information of the bit is displayed in table on the top of the window.
Data can be modified by clicking on the cell; right click (the menu as shown in Figure 7-17 will
pop up) to carry out deletion and appending etc.

Figure 7-17 Cell Modification


It is necessary to input data of the bit which is being used in the process of real time monitoring.

Lithology data (as shown in Figure 7-18):

279
Figure 7-18 Lithology Data
There are two data sources:
Select CMS database as data source:
According to information of the well and borehole in Well Data/Basic Data, the
corresponding data can be read automatically from CMS database when you open lithology data
window. The data will be displayed in the table in lithology data window after being imported
successfully.
Import Excel file:
If there isnt any corresponding data, or the information of well and borehole hasnt been
selected, you can import Excel file to obtain data.
The Excel file to be imported should be of the following format (as shown in Figure 7-19):
field names such as Begin Depth, End Depth and Rock Code are in the first line; then the following are
records of each list (starting from the second line).

280
Software Manual of SK-CMS Mud Logging Unit

Figure 7-19 Format of Lithology Import


Click on Save to save lithology data in the table into corresponding place of CMS database
according to information of the well and borehole in Well Data/Basic Data (attention: select in Well
Data/Basic Data window first).

Project data (as shown in Figure 7-20):

Figure 7-20 Project Data


Like lithology data, project data includes two data sources:
Select CMS database as data source:
According to information of the well and borehole in Well Data/Basic Data, the
corresponding data can be read automatically from CMS database when you open project data window.
281
The data will be displayed in the table in project data window after being imported successfully.
Import Excel file:
If there isnt any corresponding data, or the information of well and borehole hasnt been
selected, you can import Excel file to obtain data.
The Excel file to be imported should be of the following format (as shown in Figure 7-21):
field names such as Depth, Rop, RPM, WOB and ECD are in the first line; then the following are
records of each list (starting from the second line).

Figure 7-21 Format of Project Data Import


Click on Calculate button, other data in the table can be calculated according to Depth, ROP,
RPM, WOB, ECD and bit data.
Click on Save to save project data in the table into corresponding place of CMS database
according to information of the well and borehole in Well Data/Basic Data (attention: select in Well
Data/Basic Data window first).

LVIII Formation Pressure Monitoring


Click on Formation Pressure Monitoring Real-time Monitoring in the menu, the window as
shown in Figure 7-22 will pop up. The formation pressure monitoring while drilling can receive the
project data sent by CMS mud logging unit, plot DC index, trend line and other parameters related to
formation pressure in real time; and can also add and delete the trend line which is being evaluated.

Figure 7-22 Formation Pressure Monitoring

LIX Fitting Setting


Click on Fitting Setting in the menu, the window as shown in Figure 7-23 will pop up.

282
Software Manual of SK-CMS Mud Logging Unit

Figure 7-23 Fitting Setting Window


Trend Line Exct
Draging Right mouse button to fit trendline: press and drag right mouse button in the curve,
the program will first process DC index of the selected well depth interval (see DC-index
Filter); then regress and fit DC index coefficient and redraw the trendline of this well depth
interval.
Draging Right mouse button to draw trendline: take the point where the mouse button is
pressed as the beginning point and where mouse button is released as the end point; then link
the two points as trendline of this well depth interval.
Dragging Right mouse button to delete trendline: delete the trendline for the two well
depths when mouse button is pressed and released.

DC index filter (as shown in Figure 7-24):

Figure 7-24 DC Index Filter Window


When dragging right mouse button to add or modify trendline, the program will analyze all DC
indexes in this interval and remove the points deviating far away from fit trendline to figure out accurate
trendline.
Removing of deviation in the DC-Index greater: collect standard deviation statistics for the
data first, then find the point of greater deviation and remove the point of designated number
according to the percent input (for example, if 5 is input, then 5% of points with the greatest
deviation will be removed and excluded from regress calculation).
Standard deviation statistics: remove the point more than designated standard deviation in
the data. Two methods are available: statistics analyse and regress analyse. Standard deviation
factor is the designated standard deviation (the default is 5).

283
Iteractive Calculation: check it to analyze and eliminate DC index.
Display setting (as shown in Figure 7-25):

Figure 7-25 Display Setting Window


Set the showing depth (namely, how many meters to be showed in each screen), well interval or all
depth in each screen.

LX Formation Pressure Analysis


Click on Analysis in the menu, the window as shown in Figure 7-26 will pop up.

Figure 7-26 Formation Pressure Analysis Window

Formation Pressure Analysis:


Click on Analysis - Analyse in the menu, the window as shown in Figure 7-27 will pop up.

284
Software Manual of SK-CMS Mud Logging Unit

Figure 7-27 Chart of Formation Pressure Analysis

Fitting Setting:
Click on Fitting Setting in the menu, the window as shown in Figure 7-28 will pop up.

Figure 7-28 Fitting Setting Window


Trend Line Exct, DC Index Filter and Displayed Setting are the same as those above.
Shale Thickness (as shown in Figure 7-29):

Figure 7-29 Minimum Thickness Setting of Shale


Set the minimum thickness of shale (unit: m). For all well depth intervals with continuous shale
lithology being less than set value, the DC-index will not be displayed in the curve (for example, for the
input of 20, if the depth of a section of shale lithology is less than 20, then DC-index of this section will
not be displayed). Input 0 and all the DC indexes will be displayed.
Formation pressure chart and formation data report are generated according to formation pressure
285
analysis.
Pressure Analysis Chart:
Click on Formation Pressure Analysis Pressure Analysis Chart in the menu, the window as
shown in Figure 7-30 will pop up.

Figure 7-30 Formation Pressure Analysis Chart


The chart directly shows parameters such as drilling time, well depth, lithology, DC and Sigma
index etc. in the curve form.

Pressure Datasheet:
Click on Formation Pressure Analysis Pressure Datasheet in the menu, the window as shown
in Figure 7-31 will pop up.

286
Software Manual of SK-CMS Mud Logging Unit

Figure 7-31 Formation Pressure Analysis Sheet

Pressure datasheet shows the drilling parameter, DC, Sigma and so on in datasheet form.

Report Setting
Click on Formation Pressure Analysis Report Setting in the menu, the window as shown in
Figure 7-32 will pop up. There are three settings as follows: parameters scope, curve setting and report
header setting.

287
Figure 7-32 Main Window of Report Setting
Parameters Scope
Click on Parameters Scope after entering Report Setting, and the window as shown in Figure 7-32
appears.
It is the range of coordinate of each parameter for plotting designated formation pressure. If the
coordinate is set as logarithm coordinate, the minimum can not be 0 (.Refer to Curve Setting for
logarithm coordinate setting).

Curve Setting
Click on Curve Setting after entering Report Setting, and the window as shown in Figure 7-33 is
displayed.

288
Software Manual of SK-CMS Mud Logging Unit

Figure 7-33 Curve Setting

Designate the mode of each column in each report linear or logarithm mode.
Scale of Pressure Analysis Plot designates the scale of pressure analysis plot. For example.
Input 200 in the Scale, then the data of 200m are displayed in each page, the rest may be
deduced by analogy;
Back Color can modify the color of background color (dash-line).
If Show the calculation results of Sigma in the report isn't checked, Sigma, SigmaT,
formation pressure grads, fracture pressure grads and porosity of Sigma method will not be
displayed in Pressure Datasheet and Pressure Analysis Chart.

Report Header Setting


Click on Report Header Setting after entering Report Setting, and the window as shown in Figure
7-34 will be displayed.

289
Figure 7-34 Report Header Setting
Users can modify icon of Pressure Analysis Chart and Pressure Datasheet, report date and start
page number in this window.

LXI The operations of parameter/unit setting, printout,


save/open/create a report, export, and exit the program are the same as
Chapter 1.

290
Software Manual of SK-CMS Mud Logging Unit

Chapter 8: Hydraulics Report


LXI.1 Overview
Hydraulics Report is an application specially developed to analyze hydraulics data in the course
of drilling. Users can input all data and the program will generate a chart according to data input by
users, which can be printed. Main window of the program is shown in Figure 8-1:

Figure 8-1 Main Window of Hydraulics Report

LXI.2 Data Edition


Click on Edit Edit Data in the menu, the window as shown in Figure 8-2 will pop up. Users
can input the required data to generate hydraulics report. Click on Load Datas, the window as shown
in Figure 8-3 will pop up. Select the required message from the window and the data can be loaded
directly from CMS database.

Figure 8-2 Window of Hydraulics Data Edition

291
Figure 8-3 Loading Hydraulics Database

Select well name, borehole, tubular assembly, annulus from the pull-down box, and input begin
depth and end depth of the bit, then click on OK. Return to the window as shown in Figure 8-2 after
completing Load Database.
Click on OK after inputting data in Edit Data window. A Fan Viscosity report (when select
Flux curve in View), hydraulic report (when select HycalRpt in View) or wave pressure plot
(when select WavePres in View) will be generate d in the main window.

LXI.3 Report
Click on View in the menu, the window as shown in Figure 8-4 will pop up. There are three
kinds of reports, such as Flux curve, hydraulic report and wave pressure.

Figure 8-4 Window of Report Option

Fan Viscosity Report (as shown in Figure 8-5)

292
Software Manual of SK-CMS Mud Logging Unit

Figure 8-5 Fan Viscosity Report

Hydraulic Report (as shown in Figure 8-6)

293
Figure 8-6 Hydraulic Report

Wave Pressure Report (as shown in Figure 8-7)

294
Software Manual of SK-CMS Mud Logging Unit

Figure 8-7 Wave Pressure Report

LXI.4 Optimization Calculation


Select Hycal-Optimization Real-time Optimization in the menu, the HyDsn will pop up (as
shown in Figure 8-8).

295
Figure 8-8 Hydraulic Design

Input two given values then press Cal to carry out optimization calculation. There are two
optimization methods to be selected: maximum bit hydraulic horse-power regime and maximum jet
impact force regime.

LXI.5 The operations of parameter/unit setting, printout,


save/open/create a report, export, and exit the program are the same as
Chapter 1.

296

Potrebbero piacerti anche