Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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
1
Software Manual of SK-CMS Mud Logging Unit
Select Install Database Server in the installer window and start to install SQL Server.
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
3
Software Manual of SK-CMS Mud Logging Unit
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.
9
Software Manual of SK-CMS Mud Logging Unit
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.
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
12
Software Manual of SK-CMS Mud Logging Unit
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
14
Software Manual of SK-CMS Mud Logging Unit
15
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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
Click on Finish.
Click on Yes.
21
Software Manual of SK-CMS Mud Logging Unit
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.
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
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
25
Software Manual of SK-CMS Mud Logging Unit
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
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
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
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.
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.
31
Software Manual of SK-CMS Mud Logging Unit
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.
34
Software Manual of SK-CMS Mud Logging Unit
35
Software Manual of SK-CMS Mud Logging Unit
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
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
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
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
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
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.
42
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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.
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.
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.
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.
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):
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
48
Software Manual of SK-CMS Mud Logging Unit
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).
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
51
Software Manual of SK-CMS Mud Logging Unit
52
Software Manual of SK-CMS Mud Logging Unit
53
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
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
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.
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
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 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 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
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
Select Bit and click on Bit Data button, and a dialog of bit, as shown in the following
figure, will pop up.
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).
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).
Select Mud Motor and click on Mud-driver Property button, then the dialog as shown in
Figure 2-12 will pop up.
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).
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.
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.
71
Software Manual of SK-CMS Mud Logging Unit
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.
72
Software Manual of SK-CMS Mud Logging Unit
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
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.
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
76
Software Manual of SK-CMS Mud Logging Unit
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.
78
Software Manual of SK-CMS Mud Logging Unit
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
80
Software Manual of SK-CMS Mud Logging Unit
81
Software Manual of SK-CMS Mud Logging Unit
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).
84
Software Manual of SK-CMS Mud Logging Unit
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).
86
Software Manual of SK-CMS Mud Logging Unit
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
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.
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.
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).
95
Figure 5-9 Acquisition menu: Sensor Setting window
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.
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".
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.
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).
View
The View menu includes two options of "Toolbar" and "Statusbar" (see Figure 5-17).
101
Figure 5-17 View menu
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).
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
105
Figure 6-2 File 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-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).
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:
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.
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.
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.
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.
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).
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:
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).
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.
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).
"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:
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.
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.
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.
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.
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).
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.
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.
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.
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).
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.
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.
"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.
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.
137
Figure 7-7 The display window of Checkpost Stratum
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
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.
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.
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".
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.
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.
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:
146
Slow Circ Pump Pressure: The initial circulation pressure obtained from the killing operation is
used to calculate the ending circulation pressure.
Influx Data:
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:
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.
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:
Right click on the interface of Kill to pop up the window of Kill Setup as shown in Figure 9-7:
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.
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.
152
Software Manual of SK-CMS Mud Logging Unit
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.
154
Software Manual of SK-CMS Mud Logging Unit
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
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).
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
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.
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.
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
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).
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.
162
Software Manual of SK-CMS Mud Logging Unit
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.
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).
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.
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
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
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).
172
Software Manual of SK-CMS Mud Logging Unit
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
175
button to obtain the required legend.
176
Software Manual of SK-CMS Mud Logging Unit
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.
178
Software Manual of SK-CMS Mud Logging Unit
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.
180
Software Manual of SK-CMS Mud Logging Unit
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.
182
Software Manual of SK-CMS Mud Logging Unit
183
format and only the data part will be printed. The default setting of this option is unchecked.
184
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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.
188
Software Manual of SK-CMS Mud Logging Unit
Setting
The setting menu includes the following two options (Figure 13-11) and its functions are the same
as those of selecting Print Content.
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-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
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.
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.
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).
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.
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
194
Software Manual of SK-CMS Mud Logging Unit
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.
196
Software Manual of SK-CMS Mud Logging Unit
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).
198
Software Manual of SK-CMS Mud Logging Unit
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.
Click on "Review SQL Sentence", then you can see the generated SQL sentence (Figure 15-6).
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).
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).
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).
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);
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
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).
203
Click on the Find, Delete And Replace option and the following window will pop up
(Figure 15-15).
204
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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).
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 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.
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).
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
209
Figure 15-27 Select the field name corresponding to CMS electrical logging data table
210
Software Manual of SK-CMS Mud Logging Unit
212
Software Manual of SK-CMS Mud Logging Unit
Define the import database source and type and click on Test Import button to open a window as
shown in Figure 15-33.
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.
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
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.
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.
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
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).
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:
219
Figure 16-6 Example of recalculated 1m depth table
Bit cost recalculation
Recalculated parameter: Instant cost and cumulative cost.
220
Software Manual of SK-CMS Mud Logging Unit
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
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
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
226
Software Manual of SK-CMS Mud Logging Unit
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 ---- ----
228
Software Manual of SK-CMS Mud Logging Unit
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 --- ----
230
Software Manual of SK-CMS Mud Logging Unit
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 --- ----
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 --- ----
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 ---- ----
234
Software Manual of SK-CMS Mud Logging Unit
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 --- ----
236
Software Manual of SK-CMS Mud Logging Unit
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 --- ----
238
Software Manual of SK-CMS Mud Logging Unit
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.
240
Software Manual of SK-CMS Mud Logging Unit
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.
242
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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.
246
Software Manual of SK-CMS Mud Logging Unit
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.
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
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.
250
Software Manual of SK-CMS Mud Logging Unit
251
Figure 3-2 Window of Bit Data Input
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
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
255
Figure 4-2 Cement Data Input
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
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.
258
Software Manual of SK-CMS Mud Logging Unit
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.
259
Figure 5-4 Display Setting
Set the effect of displayed borehole inclination plot, and then click on OK to update the plot.
260
Software Manual of SK-CMS Mud Logging Unit
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.
262
Software Manual of SK-CMS Mud Logging Unit
Figure 6-3 Setting the Oil-gas Boundary and Valuable Zone of the Triangle Chart
263
Figure 6-5 Setting Logarithm Area Data
264
Software Manual of SK-CMS Mud Logging Unit
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.
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.
268
Software Manual of SK-CMS Mud Logging Unit
LV Area Data
Click on Area Data Initial Setting in the menu, the window as shown in Figure 7-2 will pop
up.
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.
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.
270
Software Manual of SK-CMS Mud Logging Unit
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.
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
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).
274
Software Manual of SK-CMS Mud Logging Unit
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.
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.
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.
278
Software Manual of SK-CMS Mud Logging Unit
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.
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
282
Software Manual of SK-CMS Mud Logging Unit
283
Iteractive Calculation: check it to analyze and eliminate DC index.
Display setting (as shown in Figure 7-25):
284
Software Manual of SK-CMS Mud Logging Unit
Fitting Setting:
Click on Fitting Setting in the menu, the window as shown in Figure 7-28 will pop up.
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
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
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.
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.
290
Software Manual of SK-CMS Mud Logging Unit
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.
292
Software Manual of SK-CMS Mud Logging Unit
293
Figure 8-6 Hydraulic Report
294
Software Manual of SK-CMS Mud Logging Unit
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.
296