home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
oilfield
/
spe-34.lzh
/
MANUAL.DOC
< prev
next >
Wrap
Text File
|
1989-07-12
|
17KB
|
343 lines
************************************************************************
SOCIETY OF PETROLEUM ENGINEERS MICROCOMPUTER USERS GROUP DISK # 33
PC/MS-DOS 3.0 & UP FORMAT: DOUBLE SIDED
------------------------------------------------------------------------
NOTICE TO USERS: Neither the contributor nor the Society of Petroleum
Engineers makes any express or implied warranty of any kind with regard
to these program materials, including, but not limited to warranties of
of merchantability and fitness for a particular purpose. Neither the
contributor nor the SPE shall be liable for incidental or consequential
damages in connection with or arising out of the furnishing, use or
performance of these program materials. SPE EXCHANGE PROGRAMS (LEVEL 1
public domain, and user supported) may be copied and used freely
provided credit is given to SPE, author, or source.
------------------------------------------------------------------------
October 1, 1988
DECLINE CURVE PROGRAM
Copyright 1988 Dale C. Cheesman III
Version 2
The Decline Curve Program is a menu-driven graphics program that
automatically plots graphs on your PC illustrating the rate of decline of
your oil and gas wells. With this program you can 1) create a well file,
2) update its daily or monthly flow rates, (automatically calculating
ratios, cumulatives and averages), 3) retrieve back all specific
information saved on disk and get a permanent printed detail, 4) plot a
graph of the decline curve in either linear or semi-logarithmic style, and 5)
print a hard copy of you graph on to your IBM or Epson compatible printer.
The program can be configured for either a VGA, EGA or CGA monitors,
although the VGA and EGA modes obviously look the best. Also it helps a great
deal to have a color monitor. YOU MUST HAVE A GRAPHICS CARD TO DISPLAY THE
GRAPHS.
This program is ideal for engineers, geologists, landmen, investors
or anyone who is interested in keeping track of various wells. Although
it was written to be used for oil and gas wells, it could be used to track
just about anything you want (i.e. stocks and other markets...). It is
a heck of an alternative to the $2,000+ programs that do the same thing.
THIS IS A SHAREWARE PROGRAM
If you find that you can use the program and that it is helpful to
you, please register by sending a check for $50 (plus $4 tax if in Texas)
to:
Dale Cheesman III
Decline Curve Program
750 Bering, Suite 100
Houston, Texas 77057
ALL PEOPLE WHO REGISTER WILL RECEIVE A VERSION OF THE PROGRAM THAT CAN
AUTOMATICALLY CONVERT WELL FILES FROM PETROLEUM INFORMATION AND DWIGHTS DATA
BASE FILES!!!!!!! The registered version has other great enhancements
including automatically converting daily well files to monthly well files.
Please feel free to distribute a copy of this program to as many people
as you wish. All people who register will get the special version of the
program described above as well as notice of all updates and personal back-up
support through the mail. I can also customize the program for anyone who
has specific needs (i.e. Hercules, MCGA or Black & White compatible programs
or special data formats...). Like I said, it is a heck of an alternative to
the $2,000+ programs that do the same thing.
THE DECLINE CURVE PROGRAM MAY NOT BE DISTRIBUTED WITHOUT THIS
"MANUAL.DOC" FILE.
1
LIST OF FILE INCLUDED IN THIS PACKAGE
DECLINE.EXE THE DECLINE CURVE PROGRAM
DECLINE.CNF CONFIGURATION FILE
MANUAL.DOC INSTRUCTION MANUAL
NEW-VER2.DOC LISTS VERSION 2 IMPROVEMENTS
EXAMPLE1.TXT 1ST EXAMPLE WELL FILE (DAILY)
EXAMPLE2.TXT 2ND EXAMPLE WELL FILE (MONTHLY)
EGAEPSON.COM EPSON EGA SCREEN DUMP DRIVER
NOLF.COM EPSON DRIVER TO DELETE EXTRA LINE FEEDS
INSTRUCTIONS
To start the program, just type the word DECLINE and then press
<ENTER>. You will get the opening configuration menu. The first thing
to do is configure the program for your needs. To do this enter (6) on
the main menu (only if you are not already in the configuration menu) and
then enter (Y) to proceed with the configuration. Enter your name or the
name of your company, then enter the correct path to your well files. If
you plan to keep all your well files on a floppy disk in drive A then
enter A:\. IT DOES NOT MATTER WHERE THE PROGRAM IS, JUST THE WELL FILES.
If you want to put the system on your hard drive, I suggest putting the
program and its configuration file (DECLINE.EXE and DECLINE.CNF
respectively) in one directory and all the well files in a sub-directory.
Just be sure to enter the correct path to that sub-directory in the
configuration program (i.e. C:\DECLINE\WELLS\).
Next enter (1) for CGA, (2) for EGA, or (3) for VGA monitors. When
you are finished enter (S) to save the new configuration and return to the
menu. You may re-configure the program as many times as you wish.
REMEMBER TO ALWAYS KEEP THE CONFIGURATION FILE "DECLINE.CNF" IN THE SAME
DIRECTORY AS THE MAIN PROGRAM "DECLINE.EXE". You may keep the well files
in another directory as long as you enter its path in the configuration
program.
You are now ready to use the Decline Curve Program.
WELL FILES
The idea of the program is to have a group of files on disk that
contain daily or monthly flow rates for your wells. Each file represents
a well. The well file is a list of records containing the rate of Pressure,
Gas, Oil, and Water for a certain point on the graph. Each point can be a
day, week, month or year. The program can handle a total of 2,000 points,
(meaning 2,000 days, weeks, months or years.) I recommend that you start off
your new wells on daily rates, then in your fifth year of production convert
the numbers to weekly or monthly rates. When you are installing older wells
(i.e. 5 years) start off using monthly dates. Wells producing over 120 years
should use yearly points (sure).
DATA ENTRY
The program has its own data base manager to input and update the
well file data. To create a well file just select 5 from the Main Menu
and follow the prompts.
The well file name is just like any other file name that it must
contain 8 characters or less. DO NOT PUT AN EXTENSION ON THE FILE NAME.
2
The program automatically puts a ".txt" extension on all file names so it
can recognize them. After entering the file name, enter the starting date
of the well in the form of the example on the screen. BE SURE THE DATE
LOOKS LIKE THE FORMAT BELOW. Now enter your first set of points at the
prompts. At that point you can start over (M), exit to the menu (E), or
Continue (C). If your first set of points look right enter (C) to save
them and continue.
ADDING DATA
The next prompt is asking you if you want the computer to
automatically fill in the date for you when you enter your well data in
order to save you time and keystrokes. Enter (A). Then it asks you
whether you want to use Daily or Monthly points in your graph. Enter (D)
or (M). Then just follow the prompts. If you make a mistake, just hit
the <Enter> key until you get the Mistake message and then enter (M).
When you are finished entering or up-dating the data, select (E) to exit
then (Y) to save it. You may then choose to use the new points you have
just entered or disregard them for your current graph. Select (Y) to use
them.
EDITING DATA
To edit existing data, simply use your favorite text editor or word
processor.
OTHER DATA BASE PROGRAMS
If you prefer, you may create, update and edit your well files using
any other data base program such as Paradox, Dbase or Lotus (and PI or Dwight's
if you are a registered user of Decline Curve). You can even use a text editor
or a word processing program. All you have to do is export the files from these
programs in ASCII (text) format in the form illustrated below:
"Date",Pressure,Gas,Oil,Water
Filename: EXAMPLE1.TXT
"1/01/1988",1555,230,2.3,43.4
"1/02/1988",1575,229,2,39.2
"1/03/1988",1555,227,2.6,11.5
......
This is an example of the daily well file EXAMPLE1.TXT, if it were
monthly it would have dates like "1/1988", "2/1988"... as in well file
EXAMPLE2.TXT.
IMPORTANT! All date formats must be done in this style:
MONTH/DAY/YEAR or MONTH/YEAR
1/04/1988 1/1988
Separate the numbers with slashes (/) and if the DAY is a single
digit (4), it must have a zero before it (04).
But you don't have to worry about any of this if you use the Decline
Curve Program's data base manager.
3
LISTING WELL FILES
YOU CAN NOT LIST, PRINT OR GRAPH A WELL FILE UNTIL YOU FIRST SELECT
A WELL FILE (menu selection 1).
If you haven't already done so, enter (1) on the menu to select a
well file. You will get a listing of all the wells you have on file
including the two example well files EXAMPLE1.TXT and EXAMPLE2.TXT. Move the
cursor to the first letter of the file you want and press <ENTER>. Back at
the main menu you will notice that the selected well is now listed on the
right.
Enter (2) to list the data. As you can see it moves pretty fast
so you will have to pause the screen to read a certain date. At the end
of the list the program will give you total cumulative and average figures
for the well, (very useful!) After it lists the data on the screen you
can Enter (P) to get a hard copy. This comes in very handy for your
office files.
Please notice that the program automatically calculates the Gas -
Oil Ratio (GOR) in the far right column.
PLOTTING GRAPHS
YOU CAN NOT LIST, PRINT OR GRAPH A WELL FILE UNTIL YOU FIRST SELECT
A WELL FILE (menu selection 1).
If you haven't already done so, enter (1) on the menu to select a
well file. At the main menu select (3) to draw a graph. At this point
you may select (1) for Linear format or (2) Logarithmic format. Press (1)
for Linear style.
Now the program asks you if you want to change the way the graphs
appear on the screen (and on the printer). If you just want to plot the
graphs on the screen AT THIS TIME, select (N) or <ENTER> to leave it
unchanged and the program will proceed plot the graph. Please notice that in
the Linear format, the program automatically sets the scale to the highest
value in order to use all of the screen. To erase the graph just press any
key and you will return to the main menu. Enter (3) again at the main menu
but this time select (2) for Logarithmic style. After a brief wait the new
graph will appear.
Use the Linear format to study high values like the Pressure and
Gas rate and use the Logarithmic format to study lower values like Oil
and Water.
CHANGING GRAPH APPEARANCE
Since everyone wants something different than everyone else, this
program allows you to change the appearance of the graphs to suit your needs.
After pressing (3) at the main menu and selecting which kind of graph you want
(linear or logarithmic), the program will ask you if you want to change the
graphs. Enter (Y).
First the program will ask you if you want to print all the lines (I.E.
pressure, gas, oil, water and GOR). If you only want to print certain lines
on your graph (temporarily) enter (Y). At this point just press (Y) or (N)
by each line description or <Enter> to leave unchanged. (Y) = print the line,
(N) = don't print the line, or (ENTER) to leave as is.
4
Next it will ask you about the graphs themselves. In EGA and VGA mode,
all graphs have an attractive blue background and solid lines for scale
markers. I believe this looks best on the screen but causes problems when you
decide to print the graphs. I recommend that you use the default settings
(BLUE <1> and LINES <1>) when working on your wells and are just using the
screen. When you are ready to print a hard copy of your graph, select BLACK
background <0> and DOTS <0> for scales.
On large well files that are on monthly or yearly points, choose NO
(N) on printing Monthly Dates so the date labels won't run together. If the
Month lines are too close together, enter No (N) to suppress them also.
Choose YES (Y) in both cases for almost all other graphs.
Now the program asks you if you want to print a certain time period of
the well. The default settings show the well from beginning to end but if you
want to just study a certain time period enter Yes (Y). Using the correct
date format, described above, enter the date you want to start at and then the
ending date. If you put an incorrect date or just hit <Enter>, the date will
remain unchanged.
The last question asks you if you want to change the length of the lines
in relation to the time scale of the graph. If you want to forecast the
production rates on the well enter (Y) for yes. The idea is to determine what
percentage of the entire graph should the line take up in order for the line to
reach the bottom of the graph. Start out with 50 (for 50%) which will double
the scale of the graph. After printing the graph, draw a line though the points
to illustrate your idea of the forecast line. If the line doesn't reach the
bottom of the graph try a smaller percentage. You can only enter 1 thru 100.
A future version of this program will automatically forecast lines.
All of the settings that change the graph appearance will remain
unchanged if you press <enter> at the questions. The settings remain in
memory until you change them or leave the program.
PRINTING GRAPHS
If you have a IBM Graphics or Epson compatible printer, you may use
<Print Screen> to print the graph from your CGA or EGA (not VGA) screen
to your printer. Remember to first change the background and scale settings
on the graphs to Black and Dots.
To print a graph you must first load the Epson driver. Included with
this package are two Public Domain drivers to help you screen-dump your
graphics to your IBM or Epson compatible printers. The first is EGAEPSON.COM,
which allows you to print your graphs from an EGA screen to an Epson or IBM
compatible printer. It will also print from your CGA screen on some machines.
To use this program, just enter EGAEPSON before running DECLINE. The second
program is NOLF.COM which takes away the extra line feeds some printers
produce during screen dumps. If your printer prints every other line you need
to also enter NOLF before running DECLINE. If you have a CGA and the
EGAEPSON does not work, re-boot your system and invoke the Dos "GRAPHICS"
command prior to running Decline. Future versions of this program will
support printing detail graphs from VGA screens. The new DOS 4.0 has drivers
(Graphics) that will screen dump from CGA, EGA and VGA screens. This will
work great with this program.
If you are having trouble with the program, or have suggestions or need
customized versions of the program please send me a letter and I will get back
to you as soon as I can.
I hope the Decline Curve Program is as helpful to you as it is for
me. Thanks for your support.
Dale C. Cheesman III
5