Results 1 to 6 of 6
  1. #1
    Jlafber is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2017
    Posts
    4

    Calculating Depletion for Oil & Gas Wells


    I'm new to access and figured it would be a good time to learn this program. I'm curious if there would be an easy way to perform the following

    1) I need to run queries to find totals for each oil & gas well within a spacing unit
    2) A spacing unit is based on township-range-section grid numbers
    3) A spacing unit includes two section and so 150-90-1 and 150-90-12 would be a spacing unit
    4) Within this section there might be 6 wells with unique Well #s

    Currently I have the detail on a well-by-well basis. I'm just not sure how to get access to auto-recognize a spacing unit. The spacing units always follow the same logic. So for example Section 1/12 2/11 3/10 etc are all one spacing unit. There are thousands of wells and so the task needs to be automated.

    Click image for larger version. 

Name:	Theoreticaltownshipmap.gif 
Views:	9 
Size:	70.4 KB 
ID:	27891

    Any tips or ideas would be appreciated. It would be great if Access could take the well data and then auto sort the wells into spacing units and provide subtotals.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    let's focus on one block of 36 wells so 150-90-1 through 150-90-36
    each block is represented by 3 different spacing units
    150-90-1 - 150-90-12
    150-90-13 - 150-90-24
    150-90-25 - 150-90-36
    Within the spacing unit 150-90-1 - 150-90-12 there may be 6 wells
    I am assuming that there can only be 1 well per block within the spacing unit, in other words unit 150-90-1 could not have 2 wells in it, or could it?

    I think regardless of this if you are recording the well number and the grid from which it came it should be fairly easy to choose a township and range then select a spacing unit and show the data relevant to that spacing unit.

    For instance you could have a table

    Code:
    tblSpacingUnitGroups
    SUG_ID  SUG_Seq  SUG_Lower  SUG_Upper
    1       1        1          12
    2       2        13         24
    3       3        25         36
    Then when you run your query against a group of wells after having chosen township and range you would select a spacing unit group from a list which would translate the last digit(s) of the 'code' to determine which wells belong in your query.

    You could also go more brute force like this

    Code:
     tblSpacingUnitGroups
    SUG_ID  SUG_Group  SUG_Number
    1       1          1
    2       1          7
    3       1          12
    ...
    10      2          13
    11      2          16
    15      2          24
    ...
    20      3          25
    21      3          36
    then you could just strip off the last character and make sure it matched the group you were looking for.

  3. #3
    Jlafber is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2017
    Posts
    4
    Here is another map that shows the well locations within a spacing unit. The dark lines are horizontal drilling. There is usually multiple wells within a spacing unit. The purple shading is indicating that Section 17/20 is one spacing unit and there might be 7 wells in this unit. You can see the other spacing unit pairs (30/31, 29/32, 21/28, 24/25 etc). All of North Dakota follows this same logic for the most part.

    Ideally the querry would be able to provide a summary for all pairs for all township/ranges by spacing unit. I would be looking to sum total revenue, barrels extracted, ending reserves, etc. Currently all this information is tracked only at the well.



    Click image for larger version. 

Name:	Screen Shot 2015-05-05 at 6.09.13 PM.png 
Views:	7 
Size:	269.4 KB 
ID:	27894

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    If the logic in my first post correctly defines the block/spacing group then the method should be sound for anything you're doing. All you'd have to do then is record the in/out volumes and figure out a method to figure the cost (i.e out units * barrel cost on that day). This doesn't outwardly appear to be a very difficult database to build. Is there something in particular that is causing you an issue?

  5. #5
    Jlafber is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2017
    Posts
    4
    Thanks rpeare. I'm going to play with it and appreciate your help!

  6. #6
    Jlafber is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2017
    Posts
    4
    That works perfectly!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculating overtime pay
    By mallard09 in forum Queries
    Replies: 3
    Last Post: 09-12-2014, 08:27 PM
  2. calculating
    By cade1980 in forum Access
    Replies: 3
    Last Post: 04-17-2012, 10:42 PM
  3. Calculating Age
    By Koyangie in forum Queries
    Replies: 2
    Last Post: 04-05-2012, 03:11 PM
  4. Calculating Age from DOB
    By coolpal9 in forum Forms
    Replies: 15
    Last Post: 01-12-2012, 05:26 AM
  5. Calculating from a Table
    By Swarland in forum Programming
    Replies: 3
    Last Post: 11-25-2010, 11:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums