home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
oilfield
/
gaugdemo.exe
/
READGAUG.DOC
< prev
next >
Wrap
Text File
|
1990-11-10
|
17KB
|
361 lines
Gauges
Copyright (c) 1990 by H L Hendrick, all rights reserved.
GAUGES is a computerized daily gauging system and production
record database. The program was developed with input from field
personnel over a three year period.
This package contains computer software and printed material
copyrighted by H L Hendrick. You should carefully read the follow-
ing terms and conditions before using the software. Use of the
software indicates your acceptance of the software and all terms
and conditions.
This software product is licensed to one user, the original
purchaser, for use on one machine only. Multiple licenses are
available.
Under international copyright laws there are penalties for
making unauthorized copies. You may make one copy in machine-
readable form for your own use and one copy for backup and ar-
chival purposes. Any copy you make must include reproduction of
the copyright notice. You may not sell or otherwise transfer any
copies that you make.
H L Hendrick makes no express or implied warranty for the
software which is provided solely on an "as is" basis. H L
Hendrick disclaims all conditions and warranties, whether express
or implied with regard to the software, including all implied con-
ditions or warranties of fitness for a particular purpose. H L
Hendrick shall not have any liability or responsibility of any
kind including special, indirect or consequential damages, aris-
ing out of or resulting from such software or the use or modifica-
tion thereof.
Minimum requirements for running this program are a floppy
disk drive and hard disk, 640K microcomputer using an 8088 or
8086 or compatible CPU and MS or PC DOS version 2.xx or higher.
The microcomputer must be "IBM PC compatible". A printer is also
required. Your system must be configured with a minimum of
files=20 and buffers=8. More is better.
Make a working copy of all disk shipped in the package.
Make a list of tank numbers, tank factors (in barrels per
inch), operator name and well or lease name. Make a list of all
meter numbers, operator name and well or lease name. This will
speed up the set up procedure. An opening or beginning gauge is
also required.
1
Installation is quick and easy with each area or lease as-
signed to a sub-directory on the hard disk. This allows a field
computer to be set up for one area only and the home office com-
puter to be set up for several different areas. Each field area
can send data by modem to the home office computers sub-directory
at their convenience.
INSTALLATION PROCEDURE
IF YOUR HARD DISK HAS A DIRECTORY CALLED GAUGES IN ITS ROOT
DIRECTORY, DO NOT INSTALL THE PROGRAM. H L Hendrick MUST MODIFY
THE PROGRAM FOR YOUR SYSTEM.
Your hard disk must be in its root directory c:\.
Tanks and meters should be grouped together in a logical man-
ner and placed in one sub-directory according to a logical group-
ing. In other words, tanks and meters read for one operator or
on one lease should be grouped together in one sub-directory. Any
logical grouping can be used. The user will have to decide the
most appropriate grouping choice for their needs. As many sub-
directories as needed may be created.
Insert the working copy of the program disk in drive a: and
log on to drive a:. When the A> prompt appears, enter STARTUP. A
directory c:\gauges will be created and all programs needed to
run the program will be transferred to it. When the c: prompt
appears the user will be in the directory c:\gauges. The user
must use the DOS MD command and create all the sub-directories
that will be needed to work the leases and areas desired. After
creating all the sub-directories that will be needed, enter
GAUGES and run the program, select the area requested and run the
utilities options. Then select Set up a new tank and set up all
the tanks in the area selected, next select Set up a meter and
set up the meters for the area selected. After entering all
tanks and meters for the lease or area selected , the user may
select another lease or area and set up the tanks and meters for
the new area. Repeat this process until all leases and or areas
and all tanks and meters are set up.
Your hard disk must be in directory C:\gauges to run the
program after an initial boot up.
MAIN MENU OPTIONS
0) Exit will close all files and exit the program and return
to the operating system. It is not necessary to exit the program
to change working areas.
2
a) Enter daily gauges allows automatic entry in alphabetical
order of the daily gauge reading on all tanks and meters listed
in the in use file. The entry required for tanks is feet, inches
and a response to the question "are these entries correct". If
the current entry is less than the previous one, a prompt will
ask if this is a sales run. Enter (y/n). The program calculates
the daily production, adjust the stock, sales and draw off. When
prompted for a tank entry, if the gauge is the same as the gauge
on the previous day, enter <return> and the previous day's gauge
will be entered in the record for the current day. After all
gauges for all tanks are entered, the program will continue to
prompt for entry on each gas meter. During entry of gas meter
data, an option is presented which allows direct entry of gas
volume or the use of the H L Hendrick gas volume calculator to
calculate the gas volume. This calculator conforms to AGA Bull
No. 3. After all entry is completed for the day, the program will
return to the main menu. It is necessary to enter inches in
decimal fractions and not regular fractions, i.e. one quarter
inch must be entered as .25 and not as 1/4. After the entry made
on the first day of a month, the production is summarized for the
month and stored in data base files (OILSUM.DBF AND GASSUM.DBF).
b) The print option prints only the daily gauges that have
not been printed with the auto option before. Print out on a
weekly basis will result in the best format on one sheet of
paper. The maximum number of days allowed in order to keep three
tanks on one sheet of paper is 10. This allows three seven day
print out and one nine or ten day print out per month. The user
can print as many copies as desired. All tanks and meters on the
in use list will be printed.
c) Create a modem transfer file - Creates a summary file of
all tanks (TRANSOIL.DBF) and all meters (TRANSGAS.DBF) for all
entries which have not been transferred by modem before. These
files can be transmitted by modem to another computer by your
modem software. These transfers must be made from and to the cor-
rect c:\gauges\Sub-directory. The database files will be flagged
and the data transferred will not be included in the next crea-
tion of TRANSOIL.DBF and TRANSGAS.DBF. These flags can be reset
by a reset option.
d) Display Monthly Summary
e) Print Monthly Summary
f) Display one tank production, request the tank number,
beginning date and ending date you wish displayed. The data is
then displayed on the screen.
3
g) Display one meter production, request the meter number,
beginning date and ending date you wish displayed. The data is
then displayed on the screen.
h) Resets the beginning and ending dates for the auto-
print option and allows it to be reprinted.
i) Reset the modem transfer flags and allows the user to
create new modem transfer files after the original transfer.
j) Change the working area or lease.
k) Utility programs calls up ten (10) utility options as fol-
lows:
(a) Set up a new tank, allows a new tank to added to the in
use list.
(b) Remove a tank, removes a tank from the in use list but
does not erase it from the disk. All data is saved and can be
displayed to the screen or printed out using the print one tank
option. The removed tank will not print out using the auto print
option.
(c) Set up a new meter, will allow setting up a new meter.
(d) Remove a meter, removes a meter from the in use file.
(e) Display tanks in use, displays to screen all tanks in
the in use file, it does not display tanks that have been removed
from the in use list. Deleted tanks and meters will not be listed
on the in use list displayed by the display tanks in use or dis-
play meters in use option in the utility programs options. These
deleted tanks and meters and the data entered in them will remain
on the data disk and may be checked by using the DOS dir *.dbf
command. All tank numbers will be preceded by a T and all meter
numbers will be preceded by a G. If one wishes to display or
print the data in a deleted tank or meter, enter the number only,
DO NOT ENTER THE T OR THE G.
(f) Display meters in use, displays all meters in use.
(g) Correct a tank, allows corrections to be made of an
entry in any tank. The tank number and the date of the incorrect
entry is requested. ***This option uses the date you enter to lo-
cate the record to be corrected; therefore, if you are correcting
an incorrect date entry, you must enter the incorrect date that
was entered in order to locate the record.*** The program will
locate the incorrect entry and prompt the user for the correct
entry. The record will be corrected. Each subsequent entry will
be checked and the record will be adjusted to reflect the correct
4
production, draw and sales. If these parameters change, the user
will be shown the date and asked to indicate the status of the
entry (was this a sales run (y/n). The user must check this and
make the correct selection from the screen prompt for the date
displayed. This option will not correct the first entry (the one
entered when the data file was created).
(h) Correct a meter, This option works the same as option 8
for meters.
(i) Print one tank.
(j) Print one meter.
(k) Append from a modem transfer - appends the tank
databases and the meter databases from TRANSOIL.DBF and
TRANSGAS.DBF after transmission from another computer.
SOME HINTS
If a tank is used to store water and daily gauges are made,
the well or lease name must be followed by a w or the word water.
If this is not done, the water production will be calculated as
oil production and included in the summary on the printed report.
The modem transfer files (TRANSOIL.DBF, TRANSGAS.DBF,
OILSUM.DBF AND GASSUM.DBF) must be transferred using your modem
software. These files must be transferred to the receiving com-
puters correct c:\gauges\sub-directory.
After running the program, if it becomes necessary to add a
new lease or area to the program, log on to c:\gauges and use MD
to create a new sub-directory, then enter GAUGES, select the new
lease or area and install the new tanks and/or meters.
Routines are coded into the program which require the gauge
and meter readings to be input in the correct date sequence. In
other words, 05/02/89 must follow 05/01/89. Leap years are recog-
nized.
Duplicate tank or meter numbers are not allowed on the same
lease or area.
The data base files created are compatible with Dbase lll
(tm), FoxBase Plus (tm) and Clipper (tm). These files can be
transported into most spread sheets and manipulated by the user
using the spread sheet programming and graphics capability.
On the first day of each month, a summary of the preceding
month is made for each well or lease and cumulative production is
carried forward.
5
The maximum number of tanks allowed is 1,000,000,000, the
maximum number of meters allowed is 1,000,000,000. Each tank and
each meter can accept 1,000,000,000 entries.
EXAMPLE
Honest John Oil Co. operates a lease which has one well, Big
Blow No. 1. This tank battery has three tanks with assigned num-
bers of 17344, 17345 and 17346. These are all 400 barrel tanks
with a factor of 1.667 barrels per inch. Honest John will start
using GAUGES on 05/01/89. This requires that the set up be done
on 04/30/89 and gauges entered for each tank on that day. This
sets the beginning stock for the program.
Honest John installs the program on the computer using the
STARTUP command . This lease is pumped by Joe Smith and Honest
John has decided to install all wells pumped by Joe Smith under
one sub directory and call it Smith. After the C> appears enter
MD SMITH and create a sub-directory. Use MD and create as many
sub-directories and you will need. (Additional sub-directories
can be added later).
Enter GAUGES to run the program. Select the area (one of
the sub-directories created as above) SMITH in this case and
then the main menu will appear. Select the utility option, the
utility menu will appear. Select set up a tank and set up as many
tanks as necessary for the area selected (The SMITH area).
Select set up a meter and set up as many meters as needed.
Enter GAUGES to run the program and make selections from the
main menu.
If you are using the demonstration version, the program will
only allow entry of 35 days of production. This will allow you
to test all of the options and create the monthly summary files.
Please address all comments to H L Hendrick, P.O. Box 79530,
Houston, TX 77279 or call 713-932-9408 or CompuServe 76217,1171.
6