productionbywell#
This function returns well-level monthly oil and gas production. It sends a post request to the Hyperion V4 productionbywell endpoint.
In the Formula Builder, select Hyperion 4.0, then choose the productionbywell function from the Enter Function dropdown. Next, select the required fields and click Insert to automatically add the formula to Excel.
Syntax#
=SMXH4.productionbywell(aggregate_by,region_natgas,state_code,sub_region_natgas,county,operator,production_month,date_prod_min,date_prod_max,well_id)
Arguments#
Parameter |
Description |
Example |
|---|---|---|
aggregate_by |
Specifies a parameter by which to aggregate data. |
|
region_natgas |
Region divisions based on natural gas production profiles. |
|
state_code |
Limit search by the state code where the wells are located. |
|
sub_region_natgas |
Subregion divisions based on natural gas production profiles. |
|
county |
Limit search by county where the well is located. |
|
operator |
Limit search by the name of the operator whose wells to retrieve. |
|
production_month |
Specific production months of specific wells. Starts from 1 and increases by 1 for each subsequent month. |
|
date_prod_min |
A date in MM/DD/YYYY format |
|
date_prod_max |
A date in MM/DD/YYYY format |
|
well_id |
A well identifier |
|
Note
Performance considerations: This function may take some time to retrieve and organize large amounts of data. For best performance, it is recommended to limit the number of input parameters and retrieve only the data needed for analysis.
Examples#
To retrieve production by a specific operator in a specific region_natgas:
=SMXH4.productionbywell("","EXXCEL OPERATING COMPANY","gulf","","","","","","","")
Input:
Output:
To retrieve production in a specific sub_region_natgas and county for a specific production month:
=SMXH4.productionbywell("","","","Central - TX","LIMESTONE","","5","","","")
Input:
Output:
To retrieve production aggregated by date_prod:
=SMXH4.productionbywell("date_prod","","","","","","","","","")
Input:
Output:
Output Parameters#
Field |
Type |
Description |
Example |
|---|---|---|---|
county |
|
County in the state where the well is located. |
“BEAUREGARD” |
date_prod |
|
A date in MM/DD/YYYY format |
“11/24/2022” |
field_name |
|
The name of a specific oil and gas field - as designated by the appropriate state agency. |
|
formation |
|
|
|
operator |
|
A well operator |
“EXXON MOBIL” |
prod_oil_bbl_day |
|
Daily oil production measured in barrels per day (bbl/day). |
8 |
prod_oil_bbl_month |
|
Monthly oil production measured in barrels per month (bbl/month). |
29 |
prod_water_bbl_day |
|
Daily water production measured in barrels per day(bbl/day). |
|
prod_water_bbl_month |
|
Monthly water production measured in barrels per month (bbl/month). |
|
prod_wet_gas_mcf_day |
|
Daily wet gas production measured in thousand cubic feet per day (MCF/day). |
16.870967 |
prod_wet_gas_mcf_month |
|
Monthly wet gas production measured in thousand cubic feet per month (MCF/month). |
523 |
production_month |
|
The production month to retrieve completions for. Defaults to the latest month available if not specified. |
496 |
range |
|
|
|
region_natgas |
|
Region divisions based on natural gas production profiles. |
“gulf” |
section |
|
|
|
state_code |
|
Abbreviation of the state. |
“TX” |
sub_region_natgas |
|
Subregion divisions based on natural gas production profiles. |
“West - TX” |
township |
|
|
|
well_id |
|
Unique well identifier |
“4238939426” |
well_name |
|
The name assigned to a well at a specific site. |
|
well_no |
|
The number assigned to a well at a specific site. |
|
Errors#
Functions may return the following error messages:
Error |
Description |
|---|---|
#VALUE! |
Input parameters are invalid or cannot be parsed. |
#REF! |
The function cannot retrieve data from the SynMaxax API due to a network or connectivity issue. |
!!! EXCEPTION |
Invalid input parameters. Make sure dates are enclosed in quotes. Check if the API key is valid. To know more about how to use an API key, please check the section on authentication. |
#No Data |
Input data is invalid or does not exist. |
Note
You can also check the logs for more information on errors. You can access the logs by clicking on SynMax Commodities on the Excel ribbon and then clicking on Logs.