diff --git a/.zenodo.json b/.zenodo.json index 1cdd95037..11f93de1a 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -18,21 +18,7 @@ "affiliation": "US Bureau of Economic Analysis", "name": "Matthew Chambers", "orcid": "https://orcid.org/0000-0001-6382-3344" - }, - { - "affiliation": "Global Quality Corp.", - "name": "Melissa Conner" - }, - { - "affiliation": "Global Quality Corp.", - "name": "Jacob Specht" - }, - - { - "affiliation": "General Dynamics Information Technology, Inc.", - "name": "Mo Li", - "orcid": "https://orcid.org/0000-0002-3672-1622" - }, + }, { "affiliation": "US Environmental Protection Agency", "name": "Wesley Ingwersen", diff --git a/flowsa/__init__.py b/flowsa/__init__.py index f9a15550e..08bfa70d3 100644 --- a/flowsa/__init__.py +++ b/flowsa/__init__.py @@ -10,7 +10,7 @@ https://github.com/USEPA/flowsa/wiki/Data-Storage#local-storage or can be downloaded from a remote repository -https://edap-ord-data-commons.s3.amazonaws.com/index.html?prefix=flowsa/ +https://dmap-data-commons-ord.s3.amazonaws.com/index.html?prefix=flowsa/ The most recent version (based on timestamp) of Flow-By-Activity and Flow-By-Sector files are loaded when running these functions diff --git a/flowsa/common.py b/flowsa/common.py index c527fa2ee..07d1edbbc 100644 --- a/flowsa/common.py +++ b/flowsa/common.py @@ -346,7 +346,7 @@ def seeAvailableFlowByModels(flowbytype, print_method=True): fb_names = [os.path.splitext(f)[0] for f in fb_dir if f.endswith('.yaml')] # further reduce list of file names by excluding common and summary_target - exclude = ["_common", "_target"] + exclude = ["_common", "_Common", "_target"] fb_names = [f for f in fb_names if all(s not in f for s in exclude)] if flowbytype == 'FBA': diff --git a/flowsa/data/Sector_2012_Names.csv b/flowsa/data/Sector_2012_Names.csv index 1fad191f1..db3199e08 100644 --- a/flowsa/data/Sector_2012_Names.csv +++ b/flowsa/data/Sector_2012_Names.csv @@ -1805,16 +1805,19 @@ NAICS_2012_Code,NAICS_2012_Name 562211,Hazardous Waste Treatment and Disposal 562212,Solid Waste Landfill 5622121,MSW Landfill +5622122,Industrial Waste Landfills 562213,Solid Waste Combustors and Incinerators 562219,Other Nonhazardous Waste Treatment and Disposal -5622191,Codigestion/Anaerobic Digestion -5622192,Composting/Aerobic Processes +5622191,Anaerobic Digestion +5622192,MSW Composting 5629,Remediation and Other Waste Management Services 56291,Remediation Services 562910,Remediation Services 56292,Materials Recovery Facilities 562920,Materials Recovery Facilities 5629201,MSW Recycling +5629202,Mixed CDD MRFs +5629203,Single material MRFs 56299,All Other Waste Management Services 562991,Septic Tank and Related Services 562998,All Other Miscellaneous Waste Management Services diff --git a/flowsa/data/Sector_2017_Names.csv b/flowsa/data/Sector_2017_Names.csv index 36e18591f..978468b2b 100644 --- a/flowsa/data/Sector_2017_Names.csv +++ b/flowsa/data/Sector_2017_Names.csv @@ -1792,16 +1792,19 @@ NAICS_2017_Code,NAICS_2017_Name 562211,Hazardous Waste Treatment and Disposal 562212,Solid Waste Landfill 5622121,MSW Landfill +5622122,Industrial Waste Landfills 562213,Solid Waste Combustors and Incinerators 562219,Other Nonhazardous Waste Treatment and Disposal -5622191,Codigestion/Anaerobic Digestion -5622192,Composting/Aerobic Processes +5622191,Anaerobic Digestion +5622192,MSW Composting 5629,Remediation and Other Waste Management Services 56291,Remediation Services 562910,Remediation Services 56292,Materials Recovery Facilities 562920,Materials Recovery Facilities 5629201,MSW Recycling +5629202,Mixed CDD MRFs +5629203,Single material MRFs 56299,All Other Waste Management Services 562991,Septic Tank and Related Services 562998,All Other Miscellaneous Waste Management Services diff --git a/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USDA_IWMS.csv b/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USDA_IWMS.csv index 66d849635..ea95019a3 100644 --- a/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USDA_IWMS.csv +++ b/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USDA_IWMS.csv @@ -21,7 +21,7 @@ USDA_IWMS,ORCHARDS,NAICS_2012_Code,11131, USDA_IWMS,ORCHARDS,NAICS_2012_Code,11132, USDA_IWMS,ORCHARDS,NAICS_2012_Code,111331, USDA_IWMS,ORCHARDS,NAICS_2012_Code,111332, -USDA_IWMS,ORCHARDS,NAICS_2012_Code,111333, +USDA_IWMS,BERRY TOTALS,NAICS_2012_Code,111333, USDA_IWMS,BERRY TOTALS,NAICS_2012_Code,111334, USDA_IWMS,ORCHARDS,NAICS_2012_Code,111335, USDA_IWMS,ORCHARDS,NAICS_2012_Code,111336, diff --git a/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USGS_WU_Coef.csv b/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USGS_WU_Coef.csv index ef6cb246c..3d371d89d 100644 --- a/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USGS_WU_Coef.csv +++ b/flowsa/data/activitytosectormapping/NAICS_Crosswalk_USGS_WU_Coef.csv @@ -1,6 +1,7 @@ ActivitySourceName,Activity,SectorSourceName,Sector,SectorType USGS_WU_Coef,"Beef and other cattle, including calves",NAICS_2012_Code,11211, USGS_WU_Coef,Dairy cows,NAICS_2012_Code,11212, +USGS_WU_Coef,"Beef and other cattle, including calves",NAICS_2012_Code,11213, USGS_WU_Coef,Hogs and pigs,NAICS_2012_Code,1122, USGS_WU_Coef,Laying hens,NAICS_2012_Code,11231, USGS_WU_Coef,Broilers and other chickens,NAICS_2012_Code,11232, diff --git a/flowsa/data/external_data/AEOseriesIDs.csv b/flowsa/data/external_data/AEOseriesIDs.csv deleted file mode 100644 index 603f2c8ba..000000000 --- a/flowsa/data/external_data/AEOseriesIDs.csv +++ /dev/null @@ -1,572 +0,0 @@ -table_name,series_name,units,series_id -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use & Related Statistics : Delivered Energy Use, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_DEU_TOTD_NA_DEU_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Biofuels Heat and Coproducts, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_BFH_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Coal-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_CLH_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Coal Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_COS_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Delivered Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_DELE_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_DFO_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : E85, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_E85_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Electricity, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_ELC_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Electricity Related Losses, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_ERL_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Hydrogen, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_HDG_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Jet Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_JFL_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Kerosene, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_KRS_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_LFL_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Liquefied Petroleum Gases, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_LPG_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Liquefaction, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_LQFCT_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Lease and Plant Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_LSAPFL_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Motor Gasoline, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_MGS_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Metallurgical Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_MTC_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Net Coal Coke Imports, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_NCC_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Natural Gas Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_NGS_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_NG_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Natural-Gas-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_NLP_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Other Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_OCA_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Other Petroleum, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_ONP_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Petrochemical Feedstocks, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_PCF_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Pipeline Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_PPN_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_REN_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_RFO_DELV_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Delivered : All Sectors : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ALLS_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_CL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Delivered Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_DELE_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Electricity, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_ELC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Electricity Related Losses, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_ERL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Kerosene, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_KRS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Motor Gasoline, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_MGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Propane, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_PROP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_REN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_RFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Commercial : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_COMM_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Electricity Imports, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_ELI_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Non-biogenic Municipal Waste, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_NBMSW_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Nuclear, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_NUC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_REN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_RFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Steam Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_STC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Electric Power : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_ELEP_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Biofuels Heat and Coproducts, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_BFH_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Coal-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_CLH_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Coal Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_COS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Delivered Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_DELE_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Electricity, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_ELC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Electricity Related Losses, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_ERL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Liquefied Petroleum Gases, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_LPG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Liquefaction, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_LQFCT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Lease and Plant Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_LSAPFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Motor Gasoline, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_MGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Metallurgical Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_MTC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Net Coal Coke Imports, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_NCC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Natural Gas Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_NGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Natural-Gas-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_NLP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Other Industrial Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_OIC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Other Petroleum, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_ONP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Petrochemical Feedstocks, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_PCF_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_REN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_RFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Industrial : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_IDAL_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use & Related Statistics : Ethanol Consumed in Motor Gasoline and E85, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_NA_NA_EM1_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Unspecified : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_OTH_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Delivered Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_DELE_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Electricity, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_ELC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Electricity Related Losses, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_ERL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Propane, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_PROP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_REN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Residential : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_RESD_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Biofuels Heat and Coproducts, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_BFH_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Coal-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_CLH_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Coal Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_COS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : E85, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_E85_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Electricity Imports, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_ELI_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Hydrogen, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_HDG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Jet Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_JFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Kerosene, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_KRS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Liquefied Petroleum Gases, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_LPG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Liquefaction, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_LQFCT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Lease and Plant Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_LSAPFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Motor Gasoline, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_MGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Metallurgical Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_MTC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Non-biogenic Municipal Waste, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NBMSW_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Net Coal Coke Imports, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NCC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Natural Gas Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Natural-Gas-to-Liquids Heat and Power, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NLP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Nuclear, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_NUC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Other Coal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_OCA_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Other Petroleum, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_ONP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Petrochemical Feedstocks, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_PCF_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Pipeline Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_PPN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Renewable Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_REN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_RFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use & Related Statistics : Total Energy Use, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_TEU_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Total : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TEN_NA_TOT_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Delivered Energy, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_DELE_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Distillate Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_DFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : E85, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_E85_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Electricity, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_ELC_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Electricity Related Losses, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_ERL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Hydrogen, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_HDG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Jet Fuel, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_JFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Liquid Fuels Subtotal, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_LFL_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Motor Gasoline, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_MGS_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_NG_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Other Petroleum, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_ONP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Pipeline Fuel Natural Gas, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_PFN_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Propane, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_PROP_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Residual Fuel Oil, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_RFO_NA_NA_QBTU.A -"Table 2. Energy Consumption by Sector and Source (quadrillion Btu, unless otherwise noted), United States","Energy Use : Transportation : Total, United States, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_ENU_TRN_NA_TOT_NA_NA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_HHD_RESD_SPH_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity Related Losses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_LOSSES_RESD_NA_ENRL_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Clothes Dryers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CDR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Clothes Dryers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CDR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Clothes Dryers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CDR_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Clothes Dryers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CDR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CGR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CGR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CGR_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Propane : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CGR_PROP_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CGR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Clothes Washers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CLW_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Clothes Washers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CLW_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Clothes Washers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CLW_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Computers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CMPR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Computers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CMPR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Computers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_CMPR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Energy Consumption by End Use : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DELE_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Purchased Electricity, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DELE_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DELE_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Propane : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DELE_PROP_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Dishwashers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DSW_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Dishwashers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DSW_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Dishwashers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_DSW_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Fans and Pumps, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FPR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Fans and Pumps, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FPR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Fans and Pumps, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FPR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Freezers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FRZ_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Freezers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FRZ_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Freezers, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_FRZ_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Nonmarketed Renewables : Geothermal Heat Pumps, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_GEHP_NRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_LGHTNG_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_LGHTNG_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_LGHTNG_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Distillate Fuel Oil : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_NA_DFO_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Marketed Renewables (wood), Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_NA_MRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Nonmarketed Renewables : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_NA_NRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Distillate Fuel Oil : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_DFO_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Propane : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_PROP_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_OTHU_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_REFR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_REFR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_REFR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Nonmarketed Renewables : Solar Hot Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SHW_NRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Nonmarketed Renewables : Solar Photovoltaic, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SOPH_NRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPC_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPC_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPC_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPC_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPH_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Distillate Fuel Oil : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPH_DFO_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPH_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Propane : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPH_PROP_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_SPH_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Total Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_TOTENCONS_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Energy Consumption by End Use : Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_TUS_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Televisions, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_TVR_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Televisions, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_TVR_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Televisions, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_TVR_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Nonmarketed Renewables : Wind, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WND_NRW_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Delivered Energy Use by End Use : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Distillate Fuel Oil : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_DFO_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Natural Gas : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_NG_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Propane : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_PROP_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Energy Use by End Use : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_RESD_WTHT_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Energy Consumption by End Use : Generation for Own Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_RESD_GFO_DEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Electricity : Generation for Own Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_RESD_GFO_ELC_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Generation for Own Use : Total Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_RESD_GFO_TEE_NA_USA_QBTU.A -"Table 4. Residential Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Residential : Total Net Own-use Generation : Total Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_RESD_TTG_TEE_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Marketed Renewables (biomass), Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_BMS_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_CGR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_LGHTNG_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Computing, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_OFEQPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Office Equipment, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_OFEQPNPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_OTHU_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_REFR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_SPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_SPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Ventilation, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_VNTC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Delivered Energy Use by End Use : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DEE_WTHT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Energy Consumption by Fuel : Purchased Electricity, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DELE_ELC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Distillate Fuel Oil : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DFO_DELE_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Distillate Fuel Oil : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DFO_OTHU_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Distillate Fuel Oil : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DFO_SPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Distillate Fuel Oil : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_DFO_WTHT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Electricity Related Losses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_ERL_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_CGR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_DELE_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_OTHU_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_SPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_SPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Natural Gas : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NG_WTHT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Nonmarketed Renewable Fuels : Solar Photovoltaic, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NRF_SOPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Nonmarketed Renewable Fuels : Solar Thermal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NRF_SOTH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Nonmarketed Renewable Fuels : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NRF_TOT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Nonmarketed Renewable Fuels : Wind, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_NRF_WND_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Other Fuels, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_OFU_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_CGR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Energy Consumption by Fuel : Electricity Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_DELE_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_LGHTNG_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Office Equipment, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_OTHEQPNPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Computing, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_OTHEQPPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_OTHU_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_REFR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_SPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_SPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Ventilation, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_VNTC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Purchased Electricity : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_PRC_WTHT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Cooking, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_CGR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Lighting, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_LGHTNG_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Total Gross End-use Consumption, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Computing, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_OFEQPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Office Equipment, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_OFEQPNPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Other Uses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_OTHU_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Refrigeration, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_REFR_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Space Cooling, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_SPC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Space Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_SPH_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Ventilation, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_VNTC_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Water Heating, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_COMM_NA_TEE_WTHT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Generation for Own Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_GFO_COMM_NA_TEE_NA_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Total Energy Use by End Use : Total Net Own-use Generation, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_GFO_COMM_NA_TEE_TOT_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Energy Consumption by End Use : Generation for Own Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_COMM_NA_DEE_GFO_USA_QBTU.A -"Table 5. Commercial Sector Key Indicators and Consumption (quadrillion Btu, unless otherwise noted)","Commercial : Energy Consumption by Fuel : Generation for Own Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.GEN_NA_COMM_NA_GFO_ELC_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Asphalt and Road Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_ARO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Coal Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_COS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_DELE_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Distillate Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_DFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Electricity Related Losses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_ERL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : LPG and Other Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_LPGF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Propane Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_LPGHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Liquefaction, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_LQFCT_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Lease and Plant Fuel, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_LSAPFL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Metallurgical Coal and Coke, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_MCC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Motor Gasoline, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_MGS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Miscellaneous Petroleum, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_MPET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Natural Gas Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_NGF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Natural Gas Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_NGS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Natural Gas Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_NHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Other Industrial Coal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_OIC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Petrochemical Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_PCF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Petroleum Coke, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_PCK_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Petroleum Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_PET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Propylene, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_PPL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Purchased Electricity, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_PRC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Renewables, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_REB_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Residual Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_RFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Energy Use : Excluding Refining : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_IDEI_TOT_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Asphalt and Road Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_ARO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Biofuels Heat and Coproducts, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_BFH_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Coal-to-Liquids Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_CLH_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Coal Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_COS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_DELE_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Distillate Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_DFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Electricity Related Losses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_ERL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : LPG and Other Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_LPGF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : LPG Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_LPGHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Liquefaction, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_LQFCT_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Lease and Plant Fuel, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_LSAPFL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Metallurgical Coal and Coke, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_MCC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Motor Gasoline, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_MGS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Miscellaneous Petroleum, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_MPET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Natural Gas Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_NGF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Natural Gas Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_NGS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Natural Gas Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_NHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Natural-Gas-to-Liquids Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_NLP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Other Industrial Coal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_OIC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Petrochemical Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_PCF_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Petroleum Coke, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_PCK_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Petroleum Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_PET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Purchased Electricity, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_PRC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Renewables, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_REB_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Residual Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_RFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Still Gas, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_SLG_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Total Industrial Sector Use : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_NA_TOT_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Biofuels Heat and Coproducts, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_BFH_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Coal-to-Liquids Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_CLH_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Coal Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_COS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Delivered Energy, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_DELE_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Distillate Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_DFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Electricity Related Losses, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_ERL_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : LPG Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_LPGHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Miscellaneous Petroleum, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_MPET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Natural Gas Feedstocks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_NGF_NA_NA_NA.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Natural Gas Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_NGS_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Natural Gas Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_NHP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Natural-Gas-to-Liquids Heat and Power, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_NLP_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Other Industrial Coal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_OIC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Petroleum Coke, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_PCK_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Petroleum Subtotal, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_PET_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Purchased Electricity, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_PRC_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Residual Fuel Oil, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_RFO_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Still Gas, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_SLG_NA_USA_QBTU.A -Table 6. Industrial Sector Key Indicators and Consumption,"Industrial : Refining Use : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFU_TOT_NA_USA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Air, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_AIR_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Bus Transportation, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_BST_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Commercial Light Trucks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_CML_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Freight Trucks, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_FGHT_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Lubricants, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_LBC_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Light-Duty Vehicles, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_LDV_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Military Use, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_MILU_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Total, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_NA_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Pipeline Fuel, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_PFT_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Recreational Boats, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_RBT_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Rail, Freight, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_RLF_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Rail, Passenger, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_RLP_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Shipping, Domestic, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_SHDT_USE_NA_NA_QBTU.A -Table 7. Transportation Sector Key Indicators and Delivered Energy Consumption,"Transportation : Energy Use by Mode : Shipping, International, Reference, AEO2022",quads,AEO.__year__.REF__year__.CNSM_NA_TRN_SHINT_USE_NA_NA_QBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Energy Consumed at Ethanol Plants : Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ETHPLT_CL_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Energy Consumed at Ethanol Plants : Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ETHPLT_ELC_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Energy Consumed at Ethanol Plants : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ETHPLT_NG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Energy Consumed at Ethanol Plants : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ETHPLT_TOT_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Biofuels Heat and Coproducts, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_BFH_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_DFO_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Liquefied Petroleum Gases, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_LPG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_NA_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Natural Gas : Feedstocks, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_NG_FSK_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Natural Gas : Gas-to-Liquids Heat, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_NG_GTL_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Natural Gas : Heat and Power, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_NG_HAP_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_NG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_ONP_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_PCK_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_PET_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_PRC_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_RFO_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Still Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_SLG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Total Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REFLIQ_STC_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_DFO_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Liquefied Petroleum Gases, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_LPG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_NG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_ONP_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_PCK_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_PET_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_PRC_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_RFO_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Still Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_SLG_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_STC_NA_NA_TRLBTU.A -Table 24. Refining Industry Energy Consumption,"Refining Industry : Refinery Only Energy : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_REF_TOT_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_DFO_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_NA_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_NG_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_ONP_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_PET_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_PRC_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_PROP_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_REB_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_RFO_NA_NA_TRLBTU.A -Table 25. Food Industry Energy Consumption,"Food Industry : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FDP_STC_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_DFO_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_NA_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_NG_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_ONP_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_PCK_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_PET_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_PRC_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_PROP_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_REB_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_RFO_NA_NA_TRLBTU.A -Table 26. Paper Industry Energy Consumption,"Paper Industry : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PPM_STC_NA_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Feedstock : Liquefied Petroleum Gases, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_FSK_LPG_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Feedstock : Total Feedstocks, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_FSK_NA_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Feedstock : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_FSK_NG_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Feedstock : Petrochemical Feedstocks, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_FSK_PCF_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Feedstock : Propylene, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_FSK_PPL_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_DFO_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_NA_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_NG_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_ONP_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_PCK_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_PET_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_PRC_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_PROP_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_REB_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_RFO_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Energy Use : Heat and Power : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_HAP_STC_NA_TRLBTU.A -Table 27. Bulk Chemical Industry Energy Consumption,"Bulk Chemical : Total Energy Use, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BCH_NA_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_DFO_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_NA_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_NG_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_PET_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_PRC_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_PROP_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_RFO_NA_NA_TRLBTU.A -Table 28. Glass Industry Energy Consumption,"Glass Industry : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_GGR_STC_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Coal Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_COS_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_DFO_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_MTC_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_NA_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_NG_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_ONP_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_PCK_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_PET_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_PRC_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_PROP_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_REB_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_RFO_NA_NA_TRLBTU.A -Table 29. Cement and Lime Industry Energy Consumption,"Cement Industry : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CEM_STC_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Coal Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_COS_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_DFO_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_MTC_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Net Coke Imports, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_NCI_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_NG_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_ONP_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_PET_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_PRC_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_PROP_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_REB_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_RFO_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_STC_NA_NA_TRLBTU.A -Table 30. Iron and Steel Industry Energy Consumption,"Iron and Steel : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_ISM_TOT_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_DFO_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_NG_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_ONP_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_PCK_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_PET_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_PRC_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_PROP_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_REB_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_RFO_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_STC_NA_NA_TRLBTU.A -Table 31. Aluminum Industry Energy Consumption,"Aluminum Industry : Energy Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AAP_TOT_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_DFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_ELC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_NA_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_NG_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_PCK_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_PET_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_PROP_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_REB_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_RFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Computers : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CMPR_STC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_DFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_ELC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_NA_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_NG_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_PCK_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_PET_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_PROP_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_REB_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_RFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Electrical Equipment : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_EEI_STC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_DFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_ELC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_MTC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_NA_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_NG_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_PCK_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_PET_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_PROP_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_REB_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_RFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Fabricated Metal Products : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_FBP_STC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_DFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_ELC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_NA_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_NG_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_PCK_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_PET_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_PROP_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_REB_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_RFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Machinery : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MCHI_STC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_DFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_ELC_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_NA_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_NG_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_PCK_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_PET_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_PROP_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_REB_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_RFO_NA_NA_TRLBTU.A -Table 32. Metal Based Durables Industry Energy Consumption,"Metal Based Durables : Transportation Equipment : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_TEQ_STC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_DFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_ELC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_MTC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_NA_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_NG_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_ONP_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Petroleum Coke, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_PCK_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_PET_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_PROP_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_REB_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_RFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Balance of Manufacturing : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_BMF_STC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_DFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_ELC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_MTC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_NA_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_NG_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_PET_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_PROP_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_REB_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_RFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Plastics : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_PLI_STC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_DFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_ELC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Metallurgical Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_MTC_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_NA_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_NG_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_PET_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_PROP_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_REB_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_RFO_NA_NA_TRLBTU.A -Table 33. Other Manufacturing Industry Energy Consumption,"Other Manufacturing : Wood Products : Use : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_WDP_STC_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_DFO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Motor Gasoline, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_MGS_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_NA_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_NG_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_ONP_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_PET_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_PRC_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_PROP_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_REB_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_RFO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Agriculture : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_AGG_STC_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Asphalt and Road Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_ARO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_DFO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Motor Gasoline, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_MGS_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_NA_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_NG_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_ONP_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_PET_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Purchased Electricity, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_PRC_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Construction : Propane, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_CNS_PROP_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Liquefaction, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_LQFCT_NA_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Distillate Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_DFO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Lease and Plant Fuel, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_LSAPFL_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Motor Gasoline, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_MGS_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Total, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_NA_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Natural Gas, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_NG_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Other Petroleum, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_ONP_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Purchased Electricity excluding Oil Shale, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_PEO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Purchased Electricity for Oil Shale, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_PES_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Petroleum Subtotal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_PET_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Renewables, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_REB_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Residual Fuel Oil, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_RFO_NA_NA_TRLBTU.A -Table 34. Nonmanufacturing Sector Energy Consumption,"Nonmanufacturing : Energy Use : Mining : Steam Coal, Reference, AEO2022",trillion Btu,AEO.__year__.REF__year__.CNSM_NA_IDAL_MING_STC_NA_NA_TRLBTU.A diff --git a/flowsa/data/external_data/NOAA_FisheriesLandings.csv b/flowsa/data/external_data/NOAA_FisheriesLandings.csv new file mode 100644 index 000000000..3c0548654 --- /dev/null +++ b/flowsa/data/external_data/NOAA_FisheriesLandings.csv @@ -0,0 +1,286 @@ +"Year","State","Pounds","Metric Tons","Dollars","Collection" +"2012","OHIO","4,812,541","2,183","5,834,006","Commercial" +"2012","MAINE","289,860,342","131,480","530,398,191","Commercial" +"2012","TEXAS","90,159,341","40,896","205,759,804","Commercial" +"2012","ALASKA","5,346,482,209","2,425,148","1,968,960,849","Commercial" +"2012","HAWAII","31,054,636","14,086","112,497,318","Commercial" +"2012","OREGON","306,778,817","139,154","126,560,630","Commercial" +"2012","ALABAMA","25,552,996","11,591","44,942,254","Commercial" +"2012","GEORGIA","11,031,797","5,004","16,740,659","Commercial" +"2012","DELAWARE","5,639,856","2,558","8,464,047","Commercial" +"2012","MARYLAND","77,263,981","35,047","84,305,290","Commercial" +"2012","MICHIGAN","9,487,700","4,304","10,504,852","Commercial" +"2012","NEW YORK","36,758,334","16,673","55,030,156","Commercial" +"2012","VIRGINIA","462,448,198","209,765","174,524,201","Commercial" +"2012","LOUISIANA","1,213,719,059","550,539","327,870,072","Commercial" +"2012","MINNESOTA","457,374","207","288,807","Commercial" +"2012","WISCONSIN","3,850,262","1,746","6,145,681","Commercial" +"2012","CALIFORNIA","354,541,710","160,819","232,204,362","Commercial" +"2012","NEW JERSEY","180,442,717","81,848","187,675,189","Commercial" +"2012","WASHINGTON","229,678,952","104,182","339,927,411","Commercial" +"2012","CONNECTICUT","8,940,172","4,055","21,128,116","Commercial" +"2012","MISSISSIPPI","263,504,347","119,525","49,142,420","Commercial" +"2012","FLORIDA-EAST","30,893,286","14,013","61,144,232","Commercial" +"2012","FLORIDA-WEST","76,040,740","34,492","153,485,733","Commercial" +"2012","PENNSYLVANIA","37,190","17","123,035","Commercial" +"2012","RHODE ISLAND","85,233,593","38,662","81,135,941","Commercial" +"2012","MASSACHUSETTS","294,923,359","133,776","615,122,488","Commercial" +"2012","NEW HAMPSHIRE","12,145,398","5,509","23,236,034","Commercial" +"2012","NORTH CAROLINA","56,693,350","25,716","72,977,509","Commercial" +"2012","PROCESS AT SEA","206,077,075","93,476","28,140,718","Commercial" +"2012","SOUTH CAROLINA","12,769,657","5,792","25,592,213","Commercial" +"2013","OHIO","4,332,759","1,965","4,079,352","Commercial" +"2013","MAINE","267,002,775","121,112","478,880,649","Commercial" +"2013","TEXAS","83,583,262","37,913","258,123,745","Commercial" +"2013","ALASKA","5,791,755,145","2,627,123","1,878,360,114","Commercial" +"2013","HAWAII","32,412,541","14,702","107,969,577","Commercial" +"2013","OREGON","349,165,794","158,381","177,422,607","Commercial" +"2013","ALABAMA","21,648,360","9,820","50,776,753","Commercial" +"2013","GEORGIA","18,084,659","8,203","12,732,574","Commercial" +"2013","DELAWARE","4,048,199","1,836","7,307,306","Commercial" +"2013","MARYLAND","47,200,010","21,410","81,136,441","Commercial" +"2013","MICHIGAN","8,289,138","3,760","11,511,985","Commercial" +"2013","NEW YORK","33,968,886","15,408","57,291,254","Commercial" +"2013","VIRGINIA","381,576,527","173,082","163,020,259","Commercial" +"2013","LOUISIANA","991,059,987","449,542","396,046,760","Commercial" +"2013","MINNESOTA","290,277","132","185,971","Commercial" +"2013","WISCONSIN","2,905,501","1,318","5,088,266","Commercial" +"2013","CALIFORNIA","365,710,302","165,885","257,039,361","Commercial" +"2013","NEW JERSEY","119,555,910","54,230","131,352,355","Commercial" +"2013","WASHINGTON","276,443,483","125,394","384,251,434","Commercial" +"2013","CONNECTICUT","7,956,666","3,609","14,628,813","Commercial" +"2013","MISSISSIPPI","180,342,860","81,803","34,600,263","Commercial" +"2013","FLORIDA-EAST","24,037,555","10,903","50,463,593","Commercial" +"2013","FLORIDA-WEST","75,134,017","34,081","190,811,030","Commercial" +"2013","PENNSYLVANIA","24,820","11","83,946","Commercial" +"2013","RHODE ISLAND","89,849,566","40,755","86,062,941","Commercial" +"2013","MASSACHUSETTS","261,450,566","118,593","562,192,707","Commercial" +"2013","NEW HAMPSHIRE","8,246,643","3,741","20,187,640","Commercial" +"2013","NORTH CAROLINA","50,197,503","22,769","79,127,112","Commercial" +"2013","PROCESS AT SEA","287,069,082","130,214","36,999,301","Commercial" +"2013","SOUTH CAROLINA","10,918,743","4,953","24,624,640","Commercial" +"2014","OHIO","4,503,089","2,043","4,885,294","Commercial" +"2014","MAINE","278,047,651","126,122","595,693,806","Commercial" +"2014","TEXAS","78,027,106","35,393","263,614,321","Commercial" +"2014","ALASKA","5,671,337,204","2,572,502","1,712,192,539","Commercial" +"2014","HAWAII","33,447,012","15,171","101,387,044","Commercial" +"2014","OREGON","300,160,290","136,152","156,307,221","Commercial" +"2014","ALABAMA","23,718,292","10,759","62,842,974","Commercial" +"2014","GEORGIA","18,836,431","8,544","17,330,174","Commercial" +"2014","DELAWARE","3,726,767","1,690","7,219,875","Commercial" +"2014","MARYLAND","50,210,140","22,775","92,116,512","Commercial" +"2014","MICHIGAN","7,459,765","3,384","12,148,096","Commercial" +"2014","NEW YORK","27,516,056","12,481","56,775,287","Commercial" +"2014","VIRGINIA","389,163,506","176,523","172,830,898","Commercial" +"2014","LOUISIANA","870,175,460","394,709","480,068,409","Commercial" +"2014","MINNESOTA","217,174","99","155,638","Commercial" +"2014","WISCONSIN","2,676,044","1,214","4,931,459","Commercial" +"2014","CALIFORNIA","361,285,189","163,878","235,338,792","Commercial" +"2014","NEW JERSEY","124,927,190","56,667","149,325,185","Commercial" +"2014","WASHINGTON","202,559,339","91,880","370,015,097","Commercial" +"2014","CONNECTICUT","7,509,382","3,406","14,088,873","Commercial" +"2014","MISSISSIPPI","190,308,728","86,323","38,393,657","Commercial" +"2014","FLORIDA-EAST","24,973,022","11,328","58,154,499","Commercial" +"2014","FLORIDA-WEST","81,547,436","36,990","212,082,276","Commercial" +"2014","PENNSYLVANIA","34,577","16","116,803","Commercial" +"2014","RHODE ISLAND","91,779,822","41,631","86,419,396","Commercial" +"2014","MASSACHUSETTS","272,925,761","123,798","522,313,510","Commercial" +"2014","NEW HAMPSHIRE","9,116,748","4,135","24,287,811","Commercial" +"2014","NORTH CAROLINA","61,122,191","27,725","93,894,633","Commercial" +"2014","PROCESS AT SEA","363,679,627","164,964","40,405,300","Commercial" +"2014","SOUTH CAROLINA","10,380,890","4,709","24,193,007","Commercial" +"2015","OHIO","4,585,389","2,080","4,981,431","Commercial" +"2015","MAINE","252,484,453","114,526","628,953,876","Commercial" +"2015","TEXAS","84,228,435","38,206","180,420,682","Commercial" +"2015","ALASKA","6,014,135,661","2,727,994","1,767,789,837","Commercial" +"2015","HAWAII","36,651,665","16,625","111,054,155","Commercial" +"2015","OREGON","203,609,850","92,357","116,072,020","Commercial" +"2015","ALABAMA","22,772,650","10,330","43,165,104","Commercial" +"2015","GEORGIA","13,912,557","6,311","17,859,669","Commercial" +"2015","DELAWARE","3,528,646","1,601","6,843,309","Commercial" +"2015","MARYLAND","53,988,234","24,489","88,312,548","Commercial" +"2015","MICHIGAN","6,698,061","3,038","9,836,745","Commercial" +"2015","NEW YORK","30,146,549","13,674","69,162,995","Commercial" +"2015","VIRGINIA","408,156,892","185,139","197,530,812","Commercial" +"2015","LOUISIANA","1,067,089,146","484,028","368,761,773","Commercial" +"2015","MINNESOTA","286,020","130","237,556","Commercial" +"2015","WISCONSIN","3,018,584","1,369","3,844,443","Commercial" +"2015","CALIFORNIA","187,937,451","85,248","143,051,103","Commercial" +"2015","NEW JERSEY","148,373,850","67,302","166,222,235","Commercial" +"2015","WASHINGTON","168,705,552","76,524","366,378,693","Commercial" +"2015","CONNECTICUT","9,389,905","4,259","15,782,467","Commercial" +"2015","MISSISSIPPI","304,610,880","138,171","64,733,084","Commercial" +"2015","FLORIDA-EAST","25,287,891","11,471","52,339,251","Commercial" +"2015","FLORIDA-WEST","74,793,898","33,926","196,524,816","Commercial" +"2015","PENNSYLVANIA","104,580","47","125,352","Commercial" +"2015","RHODE ISLAND","75,728,351","34,350","82,077,104","Commercial" +"2015","MASSACHUSETTS","259,463,670","117,692","523,409,692","Commercial" +"2015","NEW HAMPSHIRE","11,093,312","5,032","27,793,985","Commercial" +"2015","NORTH CAROLINA","65,363,814","29,649","105,203,413","Commercial" +"2015","PROCESS AT SEA","211,596,562","95,980","15,495,855","Commercial" +"2015","SOUTH CAROLINA","10,970,761","4,976","24,578,428","Commercial" +"2016","OHIO","4,085,859","1,853","4,983,412","Commercial" +"2016","MAINE","276,903,728","125,603","735,803,421","Commercial" +"2016","TEXAS","79,365,928","36,000","205,129,313","Commercial" +"2016","ALASKA","5,585,909,187","2,533,752","1,550,842,117","Commercial" +"2016","HAWAII","35,056,593","15,902","118,155,549","Commercial" +"2016","OREGON","227,079,637","103,003","152,039,777","Commercial" +"2016","ALABAMA","24,578,656","11,149","50,820,054","Commercial" +"2016","GEORGIA","7,653,085","3,471","13,950,819","Commercial" +"2016","DELAWARE","5,684,275","2,578","11,493,662","Commercial" +"2016","MARYLAND","59,149,560","26,830","90,748,850","Commercial" +"2016","MICHIGAN","6,200,910","2,813","8,145,777","Commercial" +"2016","NEW YORK","30,187,323","13,693","52,573,803","Commercial" +"2016","VIRGINIA","361,966,168","164,187","204,702,779","Commercial" +"2016","LOUISIANA","1,252,400,333","568,085","417,711,051","Commercial" +"2016","MINNESOTA","244,714","111","214,120","Commercial" +"2016","WISCONSIN","2,670,112","1,211","3,013,519","Commercial" +"2016","CALIFORNIA","168,703,706","76,523","205,046,292","Commercial" +"2016","NEW JERSEY","132,291,375","60,007","191,035,979","Commercial" +"2016","WASHINGTON","188,306,695","85,415","381,390,583","Commercial" +"2016","CONNECTICUT","12,147,543","5,510","15,005,720","Commercial" +"2016","MISSISSIPPI","307,986,927","139,702","29,932,448","Commercial" +"2016","FLORIDA-EAST","28,745,314","13,039","56,961,581","Commercial" +"2016","FLORIDA-WEST","72,930,651","33,081","186,320,768","Commercial" +"2016","PENNSYLVANIA","68,071","31","230,818","Commercial" +"2016","RHODE ISLAND","82,689,439","37,508","94,898,789","Commercial" +"2016","MASSACHUSETTS","244,388,020","110,854","551,877,401","Commercial" +"2016","NEW HAMPSHIRE","7,937,222","3,600","33,479,256","Commercial" +"2016","NORTH CAROLINA","60,682,368","27,525","97,325,649","Commercial" +"2016","PROCESS AT SEA","382,232,165","173,379","33,490,342","Commercial" +"2016","SOUTH CAROLINA","11,006,762","4,993","25,065,263","Commercial" +"2017","OHIO","4,401,112","1,996","5,729,400","Commercial" +"2017","MAINE","231,219,762","104,881","577,459,326","Commercial" +"2017","TEXAS","90,673,278","41,129","230,632,944","Commercial" +"2017","ALASKA","6,006,230,879","2,724,408","2,003,021,420","Commercial" +"2017","HAWAII","37,415,284","16,971","116,465,469","Commercial" +"2017","OREGON","302,346,451","137,143","147,112,097","Commercial" +"2017","ALABAMA","26,737,290","12,128","56,221,992","Commercial" +"2017","GEORGIA","9,691,256","4,396","17,032,457","Commercial" +"2017","DELAWARE","5,079,914","2,304","9,807,064","Commercial" +"2017","MARYLAND","51,213,056","23,230","81,511,711","Commercial" +"2017","MICHIGAN","5,492,685","2,491","8,302,133","Commercial" +"2017","NEW YORK","25,132,447","11,400","46,786,866","Commercial" +"2017","VIRGINIA","338,613,411","153,594","188,003,949","Commercial" +"2017","LOUISIANA","897,825,479","407,251","369,089,851","Commercial" +"2017","MINNESOTA","210,023","95","218,611","Commercial" +"2017","WISCONSIN","2,692,671","1,221","3,070,913","Commercial" +"2017","CALIFORNIA","213,340,173","96,770","211,953,377","Commercial" +"2017","NEW JERSEY","197,584,484","89,624","184,667,399","Commercial" +"2017","WASHINGTON","234,958,410","106,576","380,476,212","Commercial" +"2017","CONNECTICUT","10,170,200","4,613","13,808,216","Commercial" +"2017","MISSISSIPPI","311,383,604","141,243","31,256,739","Commercial" +"2017","FLORIDA-EAST","36,748,974","16,669","64,095,801","Commercial" +"2017","FLORIDA-WEST","75,191,882","34,107","185,933,466","Commercial" +"2017","PENNSYLVANIA","64,805","29","215,110","Commercial" +"2017","RHODE ISLAND","83,797,025","38,010","101,962,127","Commercial" +"2017","MASSACHUSETTS","242,825,803","110,145","605,213,489","Commercial" +"2017","NEW HAMPSHIRE","10,798,685","4,898","35,690,779","Commercial" +"2017","NORTH CAROLINA","53,289,428","24,172","97,126,287","Commercial" +"2017","PROCESS AT SEA","446,353,097","202,464","35,999,980","Commercial" +"2017","SOUTH CAROLINA","10,773,822","4,887","25,741,129","Commercial" +"2018","OHIO","3,755,700","1,704","3,772,409","Commercial" +"2018","MAINE","252,171,240","114,384","645,338,123","Commercial" +"2018","TEXAS","84,384,688","38,277","211,847,821","Commercial" +"2018","ALASKA","5,403,754,133","2,451,127","1,781,998,778","Commercial" +"2018","HAWAII","35,637,390","16,165","118,799,610","Commercial" +"2018","OREGON","312,820,448","141,894","174,694,068","Commercial" +"2018","ALABAMA","35,352,304","16,036","67,669,768","Commercial" +"2018","GEORGIA","8,393,108","3,807","17,766,936","Commercial" +"2018","DELAWARE","5,282,779","2,396","10,556,571","Commercial" +"2018","MARYLAND","48,966,687","22,211","71,985,382","Commercial" +"2018","MICHIGAN","5,232,224","2,373","8,011,571","Commercial" +"2018","NEW YORK","22,842,712","10,361","46,864,054","Commercial" +"2018","VIRGINIA","362,793,707","164,562","178,655,038","Commercial" +"2018","LOUISIANA","1,031,962,324","468,095","375,899,487","Commercial" +"2018","MINNESOTA","244,505","111","228,638","Commercial" +"2018","WISCONSIN","2,440,787","1,107","2,868,403","Commercial" +"2018","CALIFORNIA","181,482,259","82,320","197,429,345","Commercial" +"2018","NEW JERSEY","189,550,930","85,980","169,701,997","Commercial" +"2018","WASHINGTON","213,308,995","96,756","372,723,618","Commercial" +"2018","CONNECTICUT","11,472,803","5,204","16,539,999","Commercial" +"2018","MISSISSIPPI","319,891,903","145,102","44,594,977","Commercial" +"2018","FLORIDA-EAST","35,053,378","15,900","58,502,786","Commercial" +"2018","FLORIDA-WEST","71,657,665","32,504","190,601,986","Commercial" +"2018","PENNSYLVANIA","73,282","33","250,655","Commercial" +"2018","RHODE ISLAND","81,101,966","36,788","105,121,731","Commercial" +"2018","MASSACHUSETTS","241,752,574","109,658","647,808,401","Commercial" +"2018","NEW HAMPSHIRE","10,119,447","4,590","39,118,110","Commercial" +"2018","NORTH CAROLINA","44,782,823","20,313","78,362,274","Commercial" +"2018","PROCESS AT SEA","401,210,196","181,988","31,872,457","Commercial" +"2018","SOUTH CAROLINA","8,978,737","4,073","22,092,283","Commercial" +"2019","MAINE","181,362,193","82,265","657,241,764","Commercial" +"2019","TEXAS","74,918,432","33,983","209,278,560","Commercial" +"2019","ALASKA","5,631,389,035","2,554,381","1,754,110,799","Commercial" +"2019","HAWAII","34,743,418","15,760","109,681,852","Commercial" +"2019","OREGON","334,941,638","151,929","165,019,644","Commercial" +"2019","ALABAMA","26,019,855","11,803","57,661,755","Commercial" +"2019","GEORGIA","10,314,720","4,679","24,271,016","Commercial" +"2019","DELAWARE","5,993,609","2,719","11,830,910","Commercial" +"2019","MARYLAND","47,210,626","21,415","77,943,711","Commercial" +"2019","NEW YORK","23,570,954","10,692","42,175,723","Commercial" +"2019","VIRGINIA","392,371,856","177,979","184,268,786","Commercial" +"2019","LOUISIANA","898,851,377","407,716","317,319,387","Commercial" +"2019","CALIFORNIA","112,497,593","51,029","163,987,630","Commercial" +"2019","NEW JERSEY","175,341,427","79,534","181,741,370","Commercial" +"2019","WASHINGTON","193,321,843","87,690","351,231,694","Commercial" +"2019","CONNECTICUT","9,190,709","4,169","16,600,451","Commercial" +"2019","MISSISSIPPI","340,715,771","154,548","58,661,303","Commercial" +"2019","FLORIDA-EAST","45,475,640","20,628","64,502,149","Commercial" +"2019","FLORIDA-WEST","66,576,880","30,199","173,141,091","Commercial" +"2019","RHODE ISLAND","78,800,921","35,744","109,305,519","Commercial" +"2019","MASSACHUSETTS","234,197,628","106,231","681,043,802","Commercial" +"2019","NEW HAMPSHIRE","13,224,984","5,999","39,549,598","Commercial" +"2019","NORTH CAROLINA","51,890,089","23,537","87,462,680","Commercial" +"2019","PROCESS AT SEA","370,761,748","168,176","35,023,797","Commercial" +"2019","SOUTH CAROLINA","9,829,789","4,459","25,090,609","Commercial" +"2020","MAINE","165,395,717","75,023","520,058,686","Commercial" +"2020","TEXAS","72,517,386","32,894","195,628,163","Commercial" +"2020","ALASKA","5,061,976,288","2,296,097","1,481,048,669","Commercial" +"2020","HAWAII","27,265,121","12,367","83,848,915","Commercial" +"2020","OREGON","344,421,211","156,228","154,883,044","Commercial" +"2020","ALABAMA","29,802,942","13,519","66,571,804","Commercial" +"2020","GEORGIA","9,829,388","4,459","21,883,342","Commercial" +"2020","DELAWARE","5,276,294","2,393","10,146,647","Commercial" +"2020","MARYLAND","35,111,453","15,926","68,534,619","Commercial" +"2020","NEW YORK","23,153,884","10,503","34,225,011","Commercial" +"2020","VIRGINIA","321,860,722","145,995","214,430,986","Commercial" +"2020","LOUISIANA","739,193,627","335,296","262,965,076","Commercial" +"2020","CALIFORNIA","107,049,206","48,557","143,022,063","Commercial" +"2020","NEW JERSEY","173,952,421","78,904","185,264,980","Commercial" +"2020","WASHINGTON","164,433,268","74,586","262,620,674","Commercial" +"2020","CONNECTICUT","6,968,535","3,161","20,281,682","Commercial" +"2020","MISSISSIPPI","303,508,848","137,671","51,987,845","Commercial" +"2020","FLORIDA-EAST","41,271,905","18,721","57,049,281","Commercial" +"2020","FLORIDA-WEST","63,940,986","29,003","155,352,104","Commercial" +"2020","RHODE ISLAND","73,497,157","33,338","78,417,960","Commercial" +"2020","MASSACHUSETTS","227,956,935","103,401","557,468,496","Commercial" +"2020","NEW HAMPSHIRE","11,336,319","5,142","29,582,921","Commercial" +"2020","NORTH CAROLINA","41,921,738","19,016","78,152,309","Commercial" +"2020","PROCESS AT SEA","326,891,133","148,277","21,570,503","Commercial" +"2020","SOUTH CAROLINA","9,728,380","4,413","26,209,300","Commercial" +"2021","MAINE","171,571,109","77,824","875,878,162","Commercial" +"2021","TEXAS","79,096,286","35,878","237,407,574","Commercial" +"2021","ALASKA","5,271,970,830","2,391,350","1,896,517,435","Commercial" +"2021","HAWAII","29,640,827","13,445","129,279,499","Commercial" +"2021","OREGON","317,831,699","144,168","208,220,011","Commercial" +"2021","ALABAMA","30,696,876","13,924","81,517,435","Commercial" +"2021","GEORGIA","4,844,629","2,198","13,139,551","Commercial" +"2021","DELAWARE","5,679,960","2,576","10,942,604","Commercial" +"2021","MARYLAND","25,602,993","11,613","60,317,112","Commercial" +"2021","NEW YORK","20,659,516","9,371","33,954,848","Commercial" +"2021","VIRGINIA","345,775,801","156,843","194,140,842","Commercial" +"2021","LOUISIANA","741,071,355","336,148","352,811,908","Commercial" +"2021","CALIFORNIA","149,747,545","67,925","198,899,541","Commercial" +"2021","NEW JERSEY","159,123,743","72,178","258,657,952","Commercial" +"2021","WASHINGTON","175,106,848","79,428","228,633,543","Commercial" +"2021","CONNECTICUT","8,537,170","3,872","15,418,084","Commercial" +"2021","MISSISSIPPI","212,049,456","96,185","35,504,155","Commercial" +"2021","FLORIDA-EAST","38,132,063","17,297","65,051,706","Commercial" +"2021","FLORIDA-WEST","71,509,265","32,436","196,700,671","Commercial" +"2021","RHODE ISLAND","72,839,003","33,040","109,870,950","Commercial" +"2021","MASSACHUSETTS","204,983,842","92,980","843,890,524","Commercial" +"2021","NEW HAMPSHIRE","12,744,571","5,781","48,645,886","Commercial" +"2021","NORTH CAROLINA","41,026,496","18,609","90,946,281","Commercial" +"2021","PROCESS AT SEA","305,779,692","138,701","35,359,787","Commercial" +"2021","SOUTH CAROLINA","8,395,179","3,808","27,032,735","Commercial" diff --git a/flowsa/data/external_data/foss_landings.csv b/flowsa/data/external_data/foss_landings.csv deleted file mode 100644 index 081530c10..000000000 --- a/flowsa/data/external_data/foss_landings.csv +++ /dev/null @@ -1,205 +0,0 @@ -"Year","State","Sum Pounds","Sum Dollars" -"2018","ALABAMA","35,551,631","67,846,927" -"2018","ALASKA","5,403,999,436","1,846,614,306" -"2018","CALIFORNIA","179,290,060","181,977,689" -"2018","CONNECTICUT","11,473,218","16,723,813" -"2018","DELAWARE","5,282,779","10,556,581" -"2018","FLORIDA-EAST","35,027,939","58,699,579" -"2018","FLORIDA-WEST","71,660,905","198,360,621" -"2018","GEORGIA","7,674,868","16,673,056" -"2018","LOUISIANA","1,033,126,651","376,700,313" -"2018","MAINE","252,393,115","645,809,661" -"2018","MARYLAND","49,099,358","72,507,792" -"2018","MASSACHUSETTS","241,785,477","647,762,076" -"2018","MISSISSIPPI","319,862,623","44,430,662" -"2018","NEW HAMPSHIRE","9,939,185","38,539,848" -"2018","NEW JERSEY","189,564,711","169,716,772" -"2018","NEW YORK","23,286,017","48,597,931" -"2018","NORTH CAROLINA","54,890,536","78,360,036" -"2018","OREGON","313,148,193","172,436,070" -"2018","PROCESS AT SEA","404,344,945","31,870,515" -"2018","RHODE ISLAND","81,092,923","105,116,696" -"2018","SOUTH CAROLINA","8,798,227","21,549,735" -"2018","TEXAS","84,383,352","211,836,928" -"2018","VIRGINIA","362,499,438","178,682,523" -"2018","WASHINGTON","197,400,793","239,882,126" -"2017","ALABAMA","26,946,229","56,415,994" -"2017","ALASKA","6,004,962,443","1,764,524,111" -"2017","CALIFORNIA","212,305,126","196,696,405" -"2017","CONNECTICUT","10,172,493","13,771,686" -"2017","DELAWARE","5,079,923","9,807,049" -"2017","FLORIDA-EAST","36,731,515","64,085,434" -"2017","FLORIDA-WEST","75,163,506","185,658,113" -"2017","GEORGIA","9,483,425","17,003,501" -"2017","HAWAII","37,166,095","116,422,773" -"2017","LOUISIANA","898,554,642","369,582,684" -"2017","MAINE","231,130,754","577,170,050" -"2017","MARYLAND","51,213,890","81,512,905" -"2017","MASSACHUSETTS","243,138,757","605,435,400" -"2017","MICHIGAN","5,492,685","8,302,133" -"2017","MINNESOTA","210,023","218,611" -"2017","MISSISSIPPI","311,101,104","30,619,977" -"2017","NEW HAMPSHIRE","10,666,363","35,042,284" -"2017","NEW JERSEY","197,601,969","184,677,822" -"2017","NEW YORK","25,593,922","48,911,847" -"2017","NORTH CAROLINA","62,632,159","97,126,287" -"2017","OHIO","4,401,112","5,729,400" -"2017","OREGON","302,274,566","144,048,802" -"2017","PENNSYLVANIA","64,805","215,110" -"2017","PROCESS AT SEA","449,913,559","35,999,942" -"2017","RHODE ISLAND","83,795,508","101,962,530" -"2017","SOUTH CAROLINA","10,533,295","25,036,929" -"2017","TEXAS","90,673,177","230,632,683" -"2017","VIRGINIA","338,642,768","188,030,744" -"2017","WASHINGTON","218,734,019","256,040,280" -"2017","WISCONSIN","2,692,671","3,070,913" -"2016","ALABAMA","25,020,194","51,089,486" -"2016","ALASKA","5,585,918,917","1,745,848,470" -"2016","CALIFORNIA","168,190,239","198,448,634" -"2016","CONNECTICUT","12,148,918","15,013,258" -"2016","DELAWARE","5,684,321","11,493,708" -"2016","FLORIDA-EAST","28,927,284","57,057,410" -"2016","FLORIDA-WEST","73,222,631","186,608,155" -"2016","GEORGIA","7,690,265","13,986,881" -"2016","HAWAII","35,055,268","118,181,811" -"2016","LOUISIANA","1,253,164,455","418,191,410" -"2016","MAINE","276,816,639","735,449,900" -"2016","MARYLAND","59,218,910","90,894,166" -"2016","MASSACHUSETTS","244,620,156","552,160,107" -"2016","MICHIGAN","6,200,910","8,145,777" -"2016","MINNESOTA","244,714","214,120" -"2016","MISSISSIPPI","307,363,065","28,601,934" -"2016","NEW HAMPSHIRE","7,937,180","33,486,847" -"2016","NEW JERSEY","132,349,191","191,157,658" -"2016","NEW YORK","30,268,351","52,630,986" -"2016","NORTH CAROLINA","60,728,758","97,325,649" -"2016","OHIO","4,085,859","4,983,412" -"2016","OREGON","226,858,044","148,561,402" -"2016","PENNSYLVANIA","68,071","230,818" -"2016","PROCESS AT SEA","383,721,607","33,490,329" -"2016","RHODE ISLAND","82,690,351","94,902,140" -"2016","SOUTH CAROLINA","10,880,919","24,769,522" -"2016","TEXAS","79,365,332","205,127,835" -"2016","VIRGINIA","362,202,839","204,858,365" -"2016","WASHINGTON","171,519,216","238,241,728" -"2016","WISCONSIN","2,670,112","3,013,519" -"2015","ALABAMA","23,157,096","43,365,298" -"2015","ALASKA","6,015,129,492","1,750,199,008" -"2015","CALIFORNIA","187,057,598","129,367,450" -"2015","CONNECTICUT","9,391,142","15,788,249" -"2015","DELAWARE","3,528,655","6,843,318" -"2015","FLORIDA-EAST","25,559,045","52,464,003" -"2015","FLORIDA-WEST","74,917,700","196,579,588" -"2015","GEORGIA","13,949,505","17,844,718" -"2015","HAWAII","34,624,935","103,424,175" -"2015","LOUISIANA","1,068,513,904","369,622,159" -"2015","MAINE","252,484,484","628,954,463" -"2015","MARYLAND","54,030,545","88,327,719" -"2015","MASSACHUSETTS","259,845,587","523,668,579" -"2015","MICHIGAN","6,698,061","9,836,745" -"2015","MINNESOTA","286,020","237,556" -"2015","MISSISSIPPI","12,560,523","15,163,018" -"2015","NEW HAMPSHIRE","11,093,312","27,796,599" -"2015","NEW JERSEY","148,368,117","166,233,253" -"2015","NEW YORK","30,273,471","69,164,301" -"2015","NORTH CAROLINA","65,363,813","105,203,413" -"2015","OHIO","4,585,389","4,981,431" -"2015","OREGON","203,819,544","114,272,683" -"2015","PENNSYLVANIA","104,580","125,352" -"2015","PROCESS AT SEA","212,552,044","15,495,855" -"2015","RHODE ISLAND","75,749,302","82,120,970" -"2015","SOUTH CAROLINA","11,015,343","24,648,887" -"2015","TEXAS","84,212,242","180,400,220" -"2015","VIRGINIA","408,184,056","197,549,415" -"2015","WASHINGTON","148,806,338","221,539,946" -"2015","WISCONSIN","3,018,584","3,844,443" -"2014","ALABAMA","23,719,717","62,844,399" -"2014","ALASKA","5,674,164,434","1,806,351,768" -"2014","CALIFORNIA","361,052,602","234,817,300" -"2014","CONNECTICUT","7,509,754","14,089,298" -"2014","DELAWARE","3,726,767","7,219,875" -"2014","FLORIDA-EAST","25,007,685","58,193,311" -"2014","FLORIDA-WEST","81,585,358","212,201,526" -"2014","GEORGIA","18,835,616","17,326,017" -"2014","HAWAII","33,479,912","101,313,275" -"2014","LOUISIANA","870,175,540","480,068,449" -"2014","MAINE","278,058,864","595,739,715" -"2014","MARYLAND","50,210,782","92,121,473" -"2014","MASSACHUSETTS","273,265,860","522,403,931" -"2014","MICHIGAN","7,459,765","12,148,096" -"2014","MINNESOTA","217,174","155,638" -"2014","MISSISSIPPI","12,366,004","28,523,710" -"2014","NEW HAMPSHIRE","9,116,748","24,290,447" -"2014","NEW JERSEY","124,925,416","149,324,586" -"2014","NEW YORK","27,668,506","56,773,508" -"2014","NORTH CAROLINA","61,122,191","93,894,633" -"2014","OHIO","4,503,089","4,885,294" -"2014","OREGON","300,398,876","156,306,042" -"2014","PENNSYLVANIA","34,577","116,803" -"2014","PROCESS AT SEA","364,487,179","40,405,300" -"2014","RHODE ISLAND","91,779,844","86,419,403" -"2014","SOUTH CAROLINA","10,374,735","24,191,599" -"2014","TEXAS","77,978,869","263,449,991" -"2014","VIRGINIA","389,192,416","172,830,898" -"2014","WASHINGTON","183,180,112","238,377,710" -"2014","WISCONSIN","2,676,044","4,931,459" -"2013","ALABAMA","21,648,360","50,776,753" -"2013","ALASKA","5,797,772,600","2,011,579,301" -"2013","CALIFORNIA","365,683,626","256,986,718" -"2013","CONNECTICUT","7,956,666","14,628,813" -"2013","DELAWARE","4,048,199","7,307,306" -"2013","FLORIDA-EAST","24,104,430","50,507,747" -"2013","FLORIDA-WEST","75,472,302","192,800,851" -"2013","GEORGIA","18,085,210","12,725,993" -"2013","HAWAII","32,453,284","108,031,275" -"2013","LOUISIANA","991,059,987","396,046,760" -"2013","MAINE","267,002,775","478,880,458" -"2013","MARYLAND","47,200,010","81,136,441" -"2013","MASSACHUSETTS","261,900,388","562,706,179" -"2013","MICHIGAN","8,289,138","11,511,985" -"2013","MINNESOTA","290,277","185,971" -"2013","MISSISSIPPI","9,848,214","24,370,228" -"2013","NEW HAMPSHIRE","8,246,643","20,165,235" -"2013","NEW JERSEY","119,518,128","131,345,455" -"2013","NEW YORK","34,445,635","57,291,276" -"2013","NORTH CAROLINA","50,197,503","79,127,112" -"2013","OHIO","4,332,759","4,079,352" -"2013","OREGON","349,365,690","177,417,441" -"2013","PENNSYLVANIA","24,820","83,946" -"2013","PROCESS AT SEA","287,834,526","36,999,301" -"2013","RHODE ISLAND","89,849,566","86,062,901" -"2013","SOUTH CAROLINA","10,963,017","24,980,902" -"2013","TEXAS","83,583,262","258,123,745" -"2013","VIRGINIA","381,601,469","163,016,061" -"2013","WASHINGTON","256,996,301","245,487,576" -"2013","WISCONSIN","2,905,501","5,088,266" -"2012","ALABAMA","25,552,996","44,942,254" -"2012","ALASKA","5,346,724,634","1,969,533,802" -"2012","CALIFORNIA","354,509,069","232,188,277" -"2012","CONNECTICUT","8,940,172","21,128,109" -"2012","DELAWARE","5,639,856","8,464,047" -"2012","FLORIDA-EAST","30,916,015","61,184,833" -"2012","FLORIDA-WEST","75,999,412","153,454,696" -"2012","GEORGIA","11,031,593","16,740,318" -"2012","HAWAII","31,053,489","112,343,153" -"2012","LOUISIANA","1,213,719,059","327,870,072" -"2012","MAINE","289,860,342","530,398,191" -"2012","MARYLAND","77,263,981","84,305,146" -"2012","MASSACHUSETTS","294,945,843","615,211,432" -"2012","MICHIGAN","9,487,700","10,504,852" -"2012","MINNESOTA","457,374","288,807" -"2012","MISSISSIPPI","14,658,610","26,748,286" -"2012","NEW HAMPSHIRE","12,145,398","23,236,034" -"2012","NEW JERSEY","180,436,466","187,675,188" -"2012","NEW YORK","37,103,538","55,029,249" -"2012","NORTH CAROLINA","56,693,350","72,977,509" -"2012","OHIO","4,812,541","5,834,006" -"2012","OREGON","306,926,535","126,560,501" -"2012","PENNSYLVANIA","37,190","123,035" -"2012","PROCESS AT SEA","206,605,522","28,140,718" -"2012","RHODE ISLAND","85,233,593","81,135,825" -"2012","SOUTH CAROLINA","12,827,311","25,794,660" -"2012","TEXAS","90,159,341","205,759,804" -"2012","VIRGINIA","462,488,103","174,524,099" -"2012","WASHINGTON","209,229,241","215,477,544" -"2012","WISCONSIN","3,850,262","6,145,681" diff --git a/flowsa/data_source_scripts/EIA_AEO.py b/flowsa/data_source_scripts/EIA_AEO.py index e47a75d8f..40c00139f 100644 --- a/flowsa/data_source_scripts/EIA_AEO.py +++ b/flowsa/data_source_scripts/EIA_AEO.py @@ -33,45 +33,30 @@ def eia_aeo_url_helper(*, build_url, year, config, **_): # maximum number of series IDs that can be called at once max_num_series = 100 - df_seriesIDs = get_series_ids() - # add year into series IDs - year_dict = { - '2012': '2014', - '2013': '2015', - '2014': '2016', - '2015': '2017', - '2016': '2018', - '2017': '2019', - '2018': '2019', - '2019': '2020', - '2020': '2021', - '2021': '2022', - # else 2022 - } - aeo_year = year_dict.get(year, '2022') - df_seriesIDs['series_id'] = df_seriesIDs['series_id'].str.replace('__year__', aeo_year) - list_seriesIDs = df_seriesIDs['series_id'].to_list() + list_seriesIDs = config['series_id'] # reshape list of series IDs into 2D array, padded with '' rows = max_num_series cols = math.ceil(len(list_seriesIDs) / max_num_series) - list_seriesIDs = np.pad(list_seriesIDs, (0, rows*cols - len(list_seriesIDs)), - mode='constant', constant_values='') + list_seriesIDs = np.pad(list_seriesIDs, (0, rows*cols - len(list_seriesIDs)), + mode='constant') array_seriesIDs = list_seriesIDs.reshape(cols, rows).T urls = [] # for each batch of series IDs... for col in range(array_seriesIDs.shape[1]): # concatenate series IDs into a list separated by semicolons - series_list = ";".join(array_seriesIDs[:,col]) - # remove any trailing semicolons - series_list = series_list.rstrip(";") + series_list = "&facets[seriesId][]=".join(array_seriesIDs[:,col]) + # remove any empty seriesid + series_list = series_list.replace('&facets[seriesId][]=0', '') # create url from build url url = build_url userAPIKey = load_env_file_key('API_Key', config['api_name']) url = (url.replace("__API_KEY__", userAPIKey) - .replace("__SERIES_ID__", series_list)) + .replace("__YEAR__", year) + .replace("__SERIES_ID__", series_list) + ) urls.append(url) return urls @@ -85,31 +70,19 @@ def eia_aeo_call(*, resp, year, **_): """ df_json = json.loads(resp.text) # convert response to dataframe - series = df_json["series"] - df_series = pd.DataFrame( - data=series[1:len(series)], columns=series[0]) - data = ["data"] - d = [pd.DataFrame(df_series[col].tolist()).add_prefix(col) for col in data] - df_series = pd.concat([df_series, d[0]], axis=1) - df_series = df_series.drop('data', axis=1) - row_1=df_series.iloc[0] - for col in df_series.columns: - if "data" in col: - # change the column name from the current data to the row 1 year value. - data = row_1[col] - year_str = data[0] - split_data = pd.DataFrame(df_series[col].to_list(), - columns=[col + "_split", year_str]) - df_series = pd.concat([df_series, split_data], axis=1) - df_series = df_series.drop(col, axis=1) - df_series = df_series.drop(col + "_split", axis=1) - if year_str != year: - df_series = df_series.drop(year_str, axis=1) - df_series = df_series.drop(columns=["updated", "end", "start", "f", - "lastHistoricalPeriod", "description"]) - df_series = df_series.rename(columns={"series_id": "Description"}) - df_series = df_series.rename(columns={"units": "Unit"}) - return df_series + series = df_json["response"]["data"] + df_load = pd.DataFrame(data=series[1:len(series)], columns=series[0]) + # begin subsettting/renaming + df = (df_load + .query("period==2020") + .rename(columns={"seriesName": "Description", + "value": "FlowAmount", + "unit": "Unit"}) + .drop(columns=['history', 'scenario', 'scenarioDescription', + 'tableId', 'tableName', 'seriesId']) + ) + + return df def eia_aeo_parse(*, df_list, year, **_): @@ -123,12 +96,13 @@ def eia_aeo_parse(*, df_list, year, **_): # concat dataframes df = pd.concat(df_list, sort=False, ignore_index=True) df['Year'] = year - df['Location'] = '00000' + df['Location'] = np.where(df['regionId'].isin(['0-0', '1-0']), + '00000', None) df = df.rename(columns={year: "FlowAmount"}) for index, row in df.iterrows(): # split the string based on : - name_array = row["name"].split(":") + name_array = row["Description"].split(":") name_array = [n.strip() for n in name_array] if len(name_array) == 4: # Except when 3rd value is 'Natural Gas' @@ -154,8 +128,6 @@ def eia_aeo_parse(*, df_list, year, **_): print(name_array) df.loc[index, 'FlowName'] = clean_string(name_string, 'flow') df.loc[index, 'ActivityConsumedBy'] = clean_string(apb_string, 'activity') - df = df.drop(columns=['Description']) - df = df.rename(columns={'name': 'Description'}) df = assign_fips_location_system(df, year) # hard code data df['SourceName'] = 'EIA_AEO' @@ -168,12 +140,6 @@ def eia_aeo_parse(*, df_list, year, **_): return df -def get_series_ids(): - # load crosswalk of series IDs - filepath = externaldatapath / 'AEOseriesIDs.csv' - return pd.read_csv(filepath) - - def clean_string(s, string_type): # Adjustments to flow and activity strings s = re.sub(', United States(.*)', '', s) diff --git a/flowsa/data_source_scripts/EIA_SEDS.py b/flowsa/data_source_scripts/EIA_SEDS.py index 0e2931357..22f802ce9 100644 --- a/flowsa/data_source_scripts/EIA_SEDS.py +++ b/flowsa/data_source_scripts/EIA_SEDS.py @@ -80,7 +80,7 @@ def eia_seds_parse(*, df_list, year, config, **_): ## Extract information for SEDS codes units = pd.read_excel(config['url']['activities_url'], - sheet_name='Codes_and_Descriptions', + sheet_name='MSN descriptions', header=10, usecols='B:D') units['FuelCode'] = units['MSN'].str[0:2] units['SectorCode'] = units['MSN'].str[2:4] diff --git a/flowsa/data_source_scripts/EPA_CDDPath.py b/flowsa/data_source_scripts/EPA_CDDPath.py index 96c984648..68adfeaa1 100644 --- a/flowsa/data_source_scripts/EPA_CDDPath.py +++ b/flowsa/data_source_scripts/EPA_CDDPath.py @@ -13,6 +13,7 @@ from tabula.io import read_pdf import re import os +from esupy.remote import headers import flowsa.flowbyactivity from flowsa.location import US_FIPS @@ -50,7 +51,7 @@ def call_cddpath_model(*, resp, year, config, **_): log.error(f"{file} not found in external data directory. " "The source dataset is not available publicly, but " "the published FBA can be found on Data Commons at " - "https://edap-ord-data-commons.s3.amazonaws.com/index.html?prefix=flowsa/") + "https://dmap-data-commons-ord.s3.amazonaws.com/index.html?prefix=flowsa/") raise FileNotFoundError sheet_name = f"Final Results {year}" @@ -146,7 +147,10 @@ def call_generation_by_source(file_dict): """Extraction generation by source data from pdf""" pg = file_dict.get('pg') url = file_dict.get('url') - df = read_pdf(url, pages=pg, stream=True, guess=True)[0] + df = read_pdf(url, pages=pg, stream=True, + guess=True, + user_agent=headers.get('User-Agent') + )[0] # set headers df = df.rename(columns={df.columns[0]: 'FlowName', df.columns[1]: 'Buildings', diff --git a/flowsa/data_source_scripts/USDA_IWMS.py b/flowsa/data_source_scripts/USDA_IWMS.py index bcb2d8a9c..494a5a141 100644 --- a/flowsa/data_source_scripts/USDA_IWMS.py +++ b/flowsa/data_source_scripts/USDA_IWMS.py @@ -120,105 +120,3 @@ def iwms_parse(*, df_list, year, **_): 'IN THE OPEN, IRRIGATED', 'Compartment'] = 'IRRIGATED' return df - - -def iwms_aggregation(df_load, **kwargs): - """ - Before multiplying the USDA CoA Cropland data by IWMS data, - first aggregate the two hay values from IWMS - :param df_load: - :param kwargs: - :return: - """ - - # load the acreage information for iwms - land_load = load_fba_w_standardized_units( - "USDA_IWMS", year=kwargs['attr']['helper_source_year'], - flowclass="Land", - geographic_level="state") - - # subset to hay and haylage - land = land_load[land_load['ActivityConsumedBy'].isin( - ['HAY & HAYLAGE, (EXCL ALFALFA)', 'HAY & HAYLAGE, ALFALFA'])] - land_sub = land[['ActivityConsumedBy', 'FlowAmount', - 'Location']].reset_index(drop=True) - land_sub = land_sub.rename(columns={'FlowAmount': 'HelperFlow'}) - - # merge the two dfs - df = pd.merge(df_load, land_sub, how='right') - df['HelperFlow'] = df['HelperFlow'].fillna(1) - # drop rows where flow is 0 - df = df[df['FlowAmount'] != 0] - # reset hay sectors and rename - df['SectorConsumedBy'] = np.where(df['SectorConsumedBy'].isin([ - '111940A', '111940B']), '11194', df['SectorConsumedBy']) - df['ActivityConsumedBy'] = np.where(df['SectorConsumedBy'] == '11194', - 'HAY & HAYLAGE', - df['ActivityConsumedBy']) - - wt_flow = df.groupby(df['Location']).apply( - lambda x: np.average(x['FlowAmount'], weights=x[ - 'HelperFlow'])).reset_index() - wt_flow = wt_flow.rename(columns={wt_flow.columns[1]:'NewFlow'}) - - df2 = df.merge(wt_flow) - # reset flowamount, drop duplicates, drop columns - df2 = df2.assign(FlowAmount=df2['NewFlow']).drop(columns=['HelperFlow', - 'NewFlow']) - df3 = df2.drop_duplicates() - - # drop data from original, add in modifed data - df_o = df_load[~df_load['SectorConsumedBy'].isin(['111940A', '111940B'])] - df4 = pd.concat([df_o, df3], ignore_index=True) - - return df4 - - -def estimate_suppressed_iwms(fba: FlowByActivity) -> FlowByActivity: - """ - Fill suppressed state level data with national level rates. Also sub in - national level rates when there is no available state data - :param fba: - :return: - """ - # subset to national data - fba_nat = fba.query('Location == @US_FIPS') - fba_nat_sub = (fba_nat[['FlowAmount', 'ActivityConsumedBy']] - .rename(columns={'FlowAmount': 'FlowAmountNat'}) - ) - - # subset state data - fba_state = filter_by_geoscale(fba, "state") - # merge state with national data and fill in suppressed state data with - # national - fba_state = fba_state.merge(fba_nat_sub, how='left') - fba_state['FlowAmount'] = np.where(fba_state['FlowAmount'] == 0, - fba_state['FlowAmountNat'], - fba_state['FlowAmount']) - # merge state and nat - fbam = (pd.concat([fba_nat, fba_state]) - .drop(columns='FlowAmountNat')) - - # subset state df columns - fba_state_sub = ( - fba_state[['ActivityConsumedBy', 'Location', 'FlowAmount']] - .rename(columns={'FlowAmount': 'FlowAmountState', - 'Location': 'FIPS'})) - # add all possible state FIPS to national df - statefips = (get_state_FIPS()[['FIPS']] - .assign(Location=US_FIPS)) - fba_nat2 = fba_nat.merge(statefips) - # merge national and state dfs and subset to state data that does not - # exist, fill with national level rates - m = (fba_nat2.merge(fba_state_sub, how='left') - .fillna(0) - .query('FlowAmountState == 0')) - m2 = (m - .assign(Location=m['FIPS']) - .drop(columns=['FIPS', 'FlowAmountState']) - ) - - # append new state level rates - fbam2 = pd.concat([fbam, m2], ignore_index=True) - - return fbam2 diff --git a/flowsa/data_source_scripts/USGS_MYB.py b/flowsa/data_source_scripts/USGS_MYB.py index dce9375df..fbf056280 100644 --- a/flowsa/data_source_scripts/USGS_MYB.py +++ b/flowsa/data_source_scripts/USGS_MYB.py @@ -42,9 +42,9 @@ "niobium": "2014-2018", "peat": "2014-2018", "perlite": "2013-2017", - "phosphate": "2014-2018", + "phosphate": "2014-2019", "platinum": "2014-2018", - "potash": "2014-2018", + "potash": "2014-2019", "pumice": "2014-2018", "rhenium": "2014-2018", "salt": "2013-2017", @@ -53,7 +53,7 @@ "silver": "2012-2016", "sodaash": "2010-2017", "sodaash_t4": ["2016", "2017"], - "stonecrushed": "2013-2017", + "stonecrushed": "2014-2018", "stonedimension": "2013-2017", "strontium": "2014-2018", "talc": "2013-2017", @@ -133,7 +133,7 @@ def usgs_myb_remove_digits(value_string): return return_string -def usgs_myb_url_helper(*, build_url, **_): +def usgs_myb_url_helper(*, build_url, config, year, **_): """ This helper function uses the "build_url" input from generateflowbyactivity.py, which is a base url for data imports that requires parts of the url text @@ -147,7 +147,17 @@ def usgs_myb_url_helper(*, build_url, **_): :return: list, urls to call, concat, parse, format into Flow-By-Activity format """ - return [build_url] + + # Replace year-dependent aspects of file url + url = (build_url + .replace('__FILENAME__', config.get('filename_replacement', + {}).get(int(year), 'NULL')) + .replace('__YEAR__', year) + .replace('__FORMAT__', config.get('file_format', + {}).get(int(year), 'NULL')) + ) + + return [url] def usgs_asbestos_call(*, resp, year, **_): @@ -1966,26 +1976,6 @@ def usgs_kyanite_parse(*, df_list, source, year, **_): return dataframe -def usgs_lead_url_helper(*, year, **_): - """ - This helper function uses the "build_url" input from generateflowbyactivity.py, - which is a base url for data imports that requires parts of the url text - string to be replaced with info specific to the data year. This function - does not parse the data, only modifies the urls from which data is - obtained. - :param build_url: string, base url - :return: list, urls to call, concat, parse, format into Flow-By-Activity - format - """ - # return file name based on data year - filename = _['config']['filename_replacement'].get(int(year)) - - # complete url - url = _['build_url'].replace('__filename__', filename) - - return [url] - - def usgs_lead_call(*, resp, year, **_): """ Convert response for calling url to pandas dataframe, begin parsing @@ -2978,6 +2968,12 @@ def usgs_phosphate_call(*, resp, year, **_): df_raw_data_one = pd.io.excel.read_excel(io.BytesIO(resp.content), sheet_name='T1') + # replace cell in column one and then set row 4 as col names + df_raw_data_one.iloc[4,0] = 'Production' + df_raw_data_one.columns = df_raw_data_one.iloc[4] + df_raw_data_one.columns = df_raw_data_one.columns.astype(str).str.replace( + ".0", '') + df_data_one = pd.DataFrame(df_raw_data_one.loc[7:9]).reindex() df_data_one = df_data_one.reset_index() del df_data_one["index"] @@ -2986,27 +2982,9 @@ def usgs_phosphate_call(*, resp, year, **_): df_data_two = df_data_two.reset_index() del df_data_two["index"] - if len(df_data_one.columns) > 12: - for x in range(11, len(df_data_one.columns)): - col_name = "Unnamed: " + str(x) - del df_data_one[col_name] - del df_data_two[col_name] - - if len(df_data_one. columns) == 12: - df_data_one.columns = ["Production", "unit", "space_1", "year_1", - "space_3", "year_2", "space_4", "year_3", - "space_5", "year_4", "space_6", "year_5"] - df_data_two.columns = ["Production", "unit", "space_1", "year_1", - "space_3", "year_2", "space_4", "year_3", - "space_5", "year_4", "space_6", "year_5"] - - col_to_use = ["Production"] - col_to_use.append(usgs_myb_year(YEARS_COVERED['phosphate'], year)) - - for col in df_data_one.columns: - if col not in col_to_use: - del df_data_one[col] - del df_data_two[col] + col_to_use = ["Production", year] + df_data_one = df_data_one[col_to_use] + df_data_two = df_data_two[col_to_use] frames = [df_data_one, df_data_two] df_data = pd.concat(frames) @@ -3031,7 +3009,7 @@ def usgs_phosphate_parse(*, df_list, source, year, **_): name = usgs_myb_name(source) des = name dataframe = pd.DataFrame() - col_name = usgs_myb_year(YEARS_COVERED['phosphate'], year) + col_name = year for df in df_list: for index, row in df.iterrows(): if df.iloc[index]["Production"].strip() == \ @@ -3178,6 +3156,12 @@ def usgs_potash_call(*, resp, year, **_): """ df_raw_data_one = pd.io.excel.read_excel(io.BytesIO(resp.content), sheet_name='T1') + # replace cell in column one and then set row 4 as col names + df_raw_data_one.iloc[4, 0] = 'Production' + df_raw_data_one.columns = df_raw_data_one.iloc[4] + df_raw_data_one.columns = df_raw_data_one.columns.astype(str).str.replace( + ".0", '') + df_data_one = pd.DataFrame(df_raw_data_one.loc[6:8]).reindex() df_data_one = df_data_one.reset_index() del df_data_one["index"] @@ -3186,27 +3170,11 @@ def usgs_potash_call(*, resp, year, **_): df_data_two = df_data_two.reset_index() del df_data_two["index"] - if len(df_data_one.columns) > 12: - for x in range(12, len(df_data_one.columns)): - col_name = "Unnamed: " + str(x) - del df_data_one[col_name] - del df_data_two[col_name] - if len(df_data_one. columns) == 12: - df_data_one.columns = ["Production", "space_1", "space_2", "year_1", - "space_3", "year_2", "space_4", "year_3", - "space_5", "year_4", "space_6", "year_5"] - df_data_two.columns = ["Production", "space_1", "space_2", "year_1", - "space_3", "year_2", "space_4", "year_3", - "space_5", "year_4", "space_6", "year_5"] - col_to_use = ["Production"] - col_to_use.append(usgs_myb_year(YEARS_COVERED['potash'], year)) - - for col in df_data_one.columns: - if col not in col_to_use: - del df_data_one[col] - del df_data_two[col] + col_to_use = ["Production", year] + df_data_one = df_data_one[col_to_use] + df_data_two = df_data_two[col_to_use] frames = [df_data_one, df_data_two] df_data = pd.concat(frames) @@ -3231,7 +3199,7 @@ def usgs_potash_parse(*, df_list, source, year, **_): name = usgs_myb_name(source) des = name dataframe = pd.DataFrame() - col_name = usgs_myb_year(YEARS_COVERED['potash'], year) + col_name = year for df in df_list: for index, row in df.iterrows(): if df.iloc[index]["Production"].strip() == "Production:3": @@ -3779,25 +3747,6 @@ def description(value, code): return return_val -def soda_url_helper(*, build_url, config, year, **_): - """ - This helper function uses the "build_url" input from generateflowbyactivity.py, - which is a base url for data imports that requires parts of the url text - string to be replaced with info specific to the data year. This function - does not parse the data, only modifies the urls from which data is - obtained. - :param build_url: string, base url - :param config: dictionary, items in FBA method yaml - :param year: year - :return: list, urls to call, concat, parse, format into Flow-By-Activity - format - """ - url = build_url - url = url.replace('__format__', str(config['formats'][year])) - url = url.replace('__url_text__', str(config['url_texts'][year])) - return [url] - - def soda_call(*, resp, year, **_): """ Convert response for calling url to pandas dataframe, begin parsing df diff --git a/flowsa/datavisualization.py b/flowsa/datavisualization.py index d0c18ad55..02c0caeb6 100644 --- a/flowsa/datavisualization.py +++ b/flowsa/datavisualization.py @@ -93,7 +93,8 @@ def FBSscatterplot(method_dict, :param sectors_to_include: list, sectors to include in output. Sectors are subset by all sectors that "start with" the values in this list :param impact_cat: str, name of impact category to apply and aggregate on - impacts (e.g.: 'Global warming'). Use 'None' to aggregate by flow + impacts (e.g.: 'Global warming'), or dict in the form of + {impact_method: impact_category}. Use 'None' to aggregate by flow :param industry_spec, dict e.g. {'default': 'NAICS_3', 'NAICS_4': ['112', '113'], 'NAICS_6': ['1129']} @@ -108,7 +109,7 @@ def FBSscatterplot(method_dict, dfm = flowsa.flowbysector.collapse_FlowBySector(method) if plottype == 'facet_graph': dfm['methodname'] = dfm['Unit'].apply(lambda x: f"{label} ({x})") - elif plottype == 'method_comparison': + elif plottype in ('method_comparison', 'boxplot'): dfm['methodname'] = label df_list.append(dfm) df = pd.concat(df_list, ignore_index=True) @@ -216,11 +217,17 @@ def FBSscatterplot(method_dict, g = sns.relplot(data=df2, x="FlowAmount", y=y_axis, hue="methodname", alpha=0.7, style="methodname", palette="colorblind", - aspect=1.5 + # height=5, + aspect=1.5, ).set(title=title) g._legend.set_title(legend_title) g.set_axis_labels(axis_title, "") g.tight_layout() + elif plottype == 'boxplot': + g = sns.boxplot(data=df2, x="FlowAmount", y=y_axis, + color="gray") + g.set(xlabel = axis_title, + ylabel = "") return g @@ -240,6 +247,7 @@ def stackedBarChart(df, grouping_variable=None, sector_variable='Sector', subplot=None, + subplot_order=None, rows=1, cols=1, filename = 'flowsaBarChart', @@ -252,10 +260,18 @@ def stackedBarChart(df, group data by context as well as sector :param df: str or df, either an FBS methodname (ex. "Water_national_m1_2015") or a df :param impact_cat: str, name of impact category to apply and aggregate on - impacts (e.g.: 'Global warming'). Use 'None' to aggregate by flow - :param industry_spec, dict e.g. {'default': 'NAICS_3', + impacts (e.g.: 'Global warming'), or dict in the form of + {impact_method: impact_category}. Use 'None' to aggregate by flow + :param industry_spec: dict e.g., {'default': 'NAICS_3', 'NAICS_4': ['112', '113'], 'NAICS_6': ['1129']} + :param subplot_order: dict, e.g., {'Carbon dioxide': 1, + 'Methane': 2, + 'Nitrous oxide': 3, + 'Jobs': 4, + 'Wages': 5, + 'Taxes': 6 + } :return: stacked, group bar plot """ # if the df provided is a string, load the fbs method, otherwise use the @@ -282,13 +298,9 @@ def stackedBarChart(df, "_", 1)[1].split("_", 1)[0] df = df.sector_aggregation() - df = flowsa.flowbyfunctions.collapse_fbs_sectors(df) - - # determine list of subplots - try: - plot_list = df[subplot].drop_duplicates().values.tolist() - except KeyError: - plot_list = None + # collapse the df, if the df is not already collapsed + if 'Sector' not in df.columns: + df = flowsa.flowbyfunctions.collapse_fbs_sectors(df) # convert units df = convert_units_for_graphics(df) @@ -296,17 +308,23 @@ def stackedBarChart(df, if index_cols is None: index_cols = ["Location", "Sector", "Unit"] if impact_cat: + if type(impact_cat)==str: + imp_method = 'TRACI2.1' + indicator = impact_cat + else: + imp_method = list(impact_cat.keys())[0] + indicator = list(impact_cat.values())[0] try: import lciafmt - df = (lciafmt.apply_lcia_method(df, 'TRACI2.1') + df = (lciafmt.apply_lcia_method(df, imp_method) .rename(columns={'FlowAmount': 'InvAmount', 'Impact': 'FlowAmount'})) var = 'Indicator' - df = df[df['Indicator'] == impact_cat] + df = df.query('Indicator == @indicator').reset_index(drop=True) df_unit = df['Indicator unit'][0] sort_cols = [sector_variable, stacking_col] if len(df) == 0: - log.exception(f'Impact category: {impact_cat} not found') + log.exception(f'Impact category: {indicator} not found') return except ImportError: log.exception('lciafmt not installed') @@ -337,13 +355,33 @@ def stackedBarChart(df, df2 = df.groupby(index_cols + [stacking_col], as_index=False).agg({"FlowAmount": sum}) + # determine list of subplots, use specified order if given in a dictionary + try: + primary_sort_col = [subplot] + if subplot_order is not None: + df2['order'] = df2[subplot].map(subplot_order) + primary_sort_col = ['order'] + df2 = (df2 + .sort_values(primary_sort_col + [sector_variable, grouping_variable]) + .reset_index(drop=True) + .drop(columns='order', errors='ignore') + ) + plot_list = df2[subplot].drop_duplicates().values.tolist() + # if subplot order specified, return list of dictionary keys + except KeyError: + plot_list = None + # fill in non existent data with 0s to enable accurate sorting of sectors - flows = (df2[['Location', 'Unit', var, 'Sector']] + subset_cols = ['Location', 'Unit', var, subplot] + flows = (df2[df2.columns.intersection(subset_cols)] .drop_duplicates() ) - scv = df[stacking_col].unique().tolist() - flows[stacking_col] = [scv for _ in range(len(flows))] + # match all possible stacking variables + flows[stacking_col] = [df[stacking_col].unique().tolist() for _ in range(len(flows))] flows = flows.explode(stacking_col) + # match all possible sector variables + flows[sector_variable] = [df[sector_variable].unique().tolist() for _ in range(len(flows))] + flows = flows.explode(sector_variable) df2 = df2.merge(flows, how='outer') df2['FlowAmount'] = df2['FlowAmount'].fillna(0) @@ -378,14 +416,16 @@ def stackedBarChart(df, colors = colors.merge(vis[[stacking_col, 'Color']], how='left') # fill in any colors missing from the color dictionary with random colors - colors['Color'] = colors['Color'].apply(lambda x: x if pd.notnull(x) else - "#%06x" % random.randint(0, 0xFFFFFF)) + colors['Color'] = colors['Color'].apply( + lambda x: x if pd.notnull(x) else "#%06x" % random.randint(0, 0xFFFFFF)) + # sort in reverse alphabetical order for the legend order + colors = colors.sort_values([stacking_col], ascending=False).reset_index(drop=True) # merge back into df df2 = df2.merge(colors, how='left') if subplot is None: - axis_title = axis_title or f"FlowAmount ({df_unit})" - for r, c in zip(df2[stacking_col].unique(), df2['Color'].unique()): + axis_title = axis_title or f"Flow Total ({df_unit})" + for r, c in zip(colors[stacking_col], colors['Color']): plot_df = df2[df2[stacking_col] == r] y_axis_col = plot_df[sector_variable] # if there are more than one variable category add to y-axis @@ -400,12 +440,12 @@ def stackedBarChart(df, fig.update_xaxes(title_text=axis_title) fig.update_yaxes(title_text="Sector", tickmode='linear') else: - axis_title = axis_title or f"Flow Total ({plot_df['Unit'][0]})" s = 0 for row in range(1, rows + 1): for col in range(1, cols + 1): - df3 = df2[df2[subplot] == plot_list[s]].reset_index(drop=True) - for r, c in zip(df3[stacking_col].unique(), df3['Color'].unique()): + df3 = pd.DataFrame(df2[df2[subplot] == plot_list[s]].reset_index(drop=True)) + axis_title = f"Flow Total ({df3['Unit'][0]})" + for r, c in zip(colors[stacking_col], colors['Color']): plot_df = df3[df3[stacking_col] == r].reset_index(drop=True) flow_col = plot_df['FlowAmount'] sector_col = [plot_df[sector_variable], plot_df[var]] @@ -447,9 +487,11 @@ def stackedBarChart(df, if (trace.name in names) else names.add(trace.name)) fig.show() - log.info(f'Saving file to {plotoutputpath / filename}.svg') - fig.write_image(plotoutputpath / f"{filename}.svg", width=graphic_width, - height=graphic_height) + if filename is not None: + log.info(f'Saving file to {plotoutputpath / filename}.svg') + fig.write_image(plotoutputpath / f"{filename}.svg", width=graphic_width, + height=graphic_height) + return fig def plot_state_coefficients(fbs_coeff, indicator=None, diff --git a/flowsa/flowby.py b/flowsa/flowby.py index 4e2b76252..3f7f0be88 100644 --- a/flowsa/flowby.py +++ b/flowsa/flowby.py @@ -749,16 +749,26 @@ def attribute_flows_to_sectors( else: if all(fb.groupby('group_id')['group_id'].agg('count') == 1): - log.info(f'No attribution needed for {fb.full_name} at ' - f'the given industry aggregation level') + log.info(f'No allocation needed for {fb.full_name} at ' + f'the given industry aggregation level.') attributed_fb = fb.copy() validate = False else: + # issue warning if the attribution method is missing + # from the method yaml if step_config.get('attribution_method') is None: - log.warning(f'No attribution method specified for ' - f'{fb.full_name}. Using equal attribution ' + log.warning(f'No allocation method specified for ' + f'{fb.full_name}. Using equal allocation ' f'as default.') - log.info(f"Equally attributing {self.full_name} to " + # issue warning if "direct" attribution is specified, + # but the method requires an "equal" allocation + elif not all(fb.groupby('group_id')['group_id'].agg( + 'count') == 1): + log.warning(f'Allocation of {fb.full_name} includes ' + f'1:many mappings of activities:sectors. ' + f'Using "equal" attribution instead of ' + f'"direct".') + log.info(f"Equally allocating {self.full_name} to " f"target sectors.") attributed_fb = fb.equally_attribute() @@ -1036,27 +1046,32 @@ def proportionally_attribute( unattributable = with_denominator.query(f'denominator == 0 ') if not unattributable.empty: - vlog.warning(f'Could not attribute activities in ' - f'{unattributable.full_name} due to lack of ' - f'flows in attribution source ' - f'{other.full_name} for mapped {rank} sectors' - f' {sorted(set(unattributable[f"{rank}Sector"]))}. ' - f'See validation_log for details.') + # implode the location data to shorten warning message + unatt_sub = unattributable.groupby( + [f"{rank}Sector"], dropna=False, as_index=False).agg( + {'Location': lambda x: ", ".join(x)}) + vlog.warning( + f'Could not attribute activities in ' + f'{unattributable.full_name} due to lack of flows in ' + f'attribution source {other.full_name} for mapped ' + f'{rank} sectors/Location ' + f'{sorted(set(zip(unatt_sub[f"{rank}Sector"], unatt_sub.Location)))}. ' + f'See validation_log for details.') if other_geoscale.aggregation_level < 5: vlog.warning('This can occur when combining datasets ' - 'at a sub-national level when activities ' - 'do not align for some locations.') + 'at a sub-national level when activities ' + 'do not align for some locations.') vlog.warning(f'{other.full_name} is at geoscale ' f'{other_geoscale}. Is that correct?') vlog.debug( 'Unattributed activities: \n {}'.format( unattributable .drop(columns=schema.dq_fields + - ['LocationSystem', 'SectorSourceName', 'FlowType', - 'ProducedBySectorType', 'ConsumedBySectorType', - 'denominator', 'Suppressed'], - errors='ignore') - .to_string())) + ['LocationSystem', 'SectorSourceName', + 'FlowType', 'ProducedBySectorType', + 'ConsumedBySectorType', 'denominator', + 'Suppressed'], errors='ignore' + ).to_string())) proportionally_attributed = ( non_zero_denominator @@ -1205,6 +1220,10 @@ def multiplication_attribution( # determine if any flows are lost because multiplied by 0 fb_null = fb[fb['FlowAmount'] == 0] if len(fb_null) > 0: + # implode the location data to shorten warning message + fb_null = fb_null.groupby( + ['ActivityProducedBy', 'ActivityConsumedBy'], dropna=False, + as_index=False).agg({'Location': lambda x: ", ".join(x)}) log.warning('FlowAmounts in %s are reset to 0 due to lack of ' 'flows in attribution source %s for ' 'ActivityProducedBy/ActivityConsumedBy/Location: %s', @@ -1214,7 +1233,7 @@ def multiplication_attribution( fb_null.Location)) ) - fb = fb[fb['FlowAmount'] != 0] + fb = fb[fb['FlowAmount'] != 0].reset_index(drop=True) # set new units, incorporating a check that units are correctly # converted diff --git a/flowsa/flowbyclean.py b/flowsa/flowbyclean.py index f13d936a0..fd35d22c4 100644 --- a/flowsa/flowbyclean.py +++ b/flowsa/flowbyclean.py @@ -15,21 +15,23 @@ from flowsa.validation import compare_summation_at_sector_lengths_between_two_dfs -def return_primary_activity_column(fba: FlowByActivity) -> \ - FlowByActivity: +def return_primary_flow_column(self: FB, flowtype='FBA') -> FB: """ Determine activitiy column with values - :param fba: fbs df with two sector columns + :param self: fbs df with two sector columns + :param flowtype: str, 'FBA' or 'FBS' :return: string, primary sector column """ - if fba['ActivityProducedBy'].isnull().all(): - primary_column = 'ActivityConsumedBy' - elif fba['ActivityConsumedBy'].isnull().all(): - primary_column = 'ActivityProducedBy' + flow = 'Activity' + if flowtype == 'FBS': + flow = 'Sector' + if self[f'{flow}ProducedBy'].isnull().all(): + primary_column = f'{flow}ConsumedBy' + elif self[f'{flow}ConsumedBy'].isnull().all(): + primary_column = f'{flow}ProducedBy' else: - log.error('Could not determine primary activity column as there ' - 'are values in both ActivityProducedBy and ' - 'ActivityConsumedBy') + log.error(f'Could not determine primary {flow} column as there are ' + f'values in both {flow}ProducedBy and {flow}ConsumedBy') return primary_column @@ -207,7 +209,7 @@ def estimate_suppressed_sectors_equal_attribution( # forward fill naics_key = naics_key.T.ffill().T - col = return_primary_activity_column(fba) + col = return_primary_flow_column(fba, 'FBA') # determine if there are any 1:1 parent:child sectors that are missing, # if so, add them (true for usda_coa_cropland_naics df) @@ -577,3 +579,41 @@ def drop_parentincompletechild_descendants( ) return fba2 + + +def proxy_sector_data( + fba: 'FlowByActivity', + download_sources_ok: bool = True, + **kwargs +) -> 'FlowByActivity': + """ + Use a dictionary to use data for one sector as proxy data for a second + sector. + + To implement, use in an FBS method + attribution_method: direct + # equate the water application rates of strawberries to other berries + clean_fba_after_attribution: !clean_function:flowbyclean proxy_sector_data + proxy_sectors: {'111334': '111333'} + + :param fba: + :param download_sources_ok: + :param kwargs: + :return: + """ + col = return_primary_flow_column(fba, flowtype='FBS') + proxy = fba.config['proxy_sectors'] + + fba2 = fba.drop(columns='group_id') + for k, v in proxy.items(): + fba2[col] = np.where(fba2[col] == k, f'{k},{v}', fba2[col]) + # convert sector col to list + fba2[col] = fba2[col].str.split(",") + # break each sector into separate line + fba3 = (fba2 + .explode(col) + .reset_index(drop=True).reset_index() + .rename(columns={'index': 'group_id'}) + ) + + return fba3 diff --git a/flowsa/flowbysector.py b/flowsa/flowbysector.py index d81643960..e8e3fe630 100644 --- a/flowsa/flowbysector.py +++ b/flowsa/flowbysector.py @@ -231,7 +231,11 @@ def sector_aggregation(self, industry_spec=None): 'target_naics_year']) fbs = self - for direction in ['ProducedBy', 'ConsumedBy']: + sector_cols = ['ProducedBy', 'ConsumedBy'] + # if using a collapsed FBS, only aggregate on "Sector" column + if 'Sector' in fbs.columns: + sector_cols = [''] + for direction in sector_cols: if fbs[f'Sector{direction}'].isna().all(): continue fbs = ( diff --git a/flowsa/methods/flowbyactivitymethods/EIA_AEO.yaml b/flowsa/methods/flowbyactivitymethods/EIA_AEO.yaml index b7263ed81..f4e9a340b 100644 --- a/flowsa/methods/flowbyactivitymethods/EIA_AEO.yaml +++ b/flowsa/methods/flowbyactivitymethods/EIA_AEO.yaml @@ -5,19 +5,590 @@ api_name: EIA api_key_required: true format: json url: - base_url: https://api.eia.gov/series/?series_id=__SERIES_ID__&api_key=__API_KEY__&out=json + base_url: "https://api.eia.gov/v2/aeo/__YEAR__/data/?api_key=__API_KEY__&frequency=annual&data[0]=value&facets[scenario][]=ref__YEAR__&facets[seriesId][]=__SERIES_ID__&sort[0][column]=period&sort[0][direction]=desc&offset=0&length=5000" url_replace_fxn: !script_function:EIA_AEO eia_aeo_url_helper call_response_fxn: !script_function:EIA_AEO eia_aeo_call parse_response_fxn: !script_function:EIA_AEO eia_aeo_parse years: -- 2012 -- 2013 -- 2014 -- 2015 -- 2016 -- 2017 -- 2018 -- 2019 -- 2020 -- 2021 -- 2022 + - 2014 + - 2015 + - 2016 + - 2017 + - 2018 + - 2019 + - 2020 + - 2021 + - 2022 +series_id: # pulled/revised from v1 of EIA API + - cnsm_deu_totd_NA_deu_NA_NA_qbtu + - cnsm_enu_alls_NA_bfh_delv_NA_qbtu + - cnsm_enu_alls_NA_clh_delv_NA_qbtu + - cnsm_enu_alls_NA_cos_delv_NA_qbtu + - cnsm_enu_alls_NA_dele_delv_NA_qbtu + - cnsm_enu_alls_NA_dfo_delv_NA_qbtu + - cnsm_enu_alls_NA_e85_delv_NA_qbtu + - cnsm_enu_alls_NA_elc_delv_NA_qbtu + - cnsm_enu_alls_NA_erl_delv_NA_qbtu + - cnsm_enu_alls_NA_lhy_delv_NA_qbtu + - cnsm_enu_alls_NA_jfl_delv_NA_qbtu + - cnsm_enu_alls_NA_krs_delv_NA_qbtu + - cnsm_enu_alls_NA_lfl_delv_NA_qbtu + - cnsm_enu_alls_NA_lpg_delv_NA_qbtu + - cnsm_enu_alls_NA_lqfct_delv_NA_qbtu + - cnsm_enu_alls_NA_lsapfl_delv_NA_qbtu + - cnsm_enu_alls_NA_mgs_delv_NA_qbtu + - cnsm_enu_alls_NA_mtc_delv_NA_qbtu + - cnsm_enu_alls_NA_ncc_delv_NA_qbtu + - cnsm_enu_alls_NA_ngs_delv_NA_qbtu + - cnsm_enu_alls_NA_ng_delv_NA_qbtu + - cnsm_enu_alls_NA_nlp_delv_NA_qbtu + - cnsm_enu_alls_NA_oca_delv_NA_qbtu + - cnsm_enu_alls_NA_onp_delv_NA_qbtu + - cnsm_enu_alls_NA_pcf_delv_NA_qbtu + - cnsm_enu_alls_NA_ppn_delv_NA_qbtu + - cnsm_enu_alls_NA_ren_delv_NA_qbtu + - cnsm_enu_alls_NA_rfo_delv_NA_qbtu + - cnsm_enu_alls_NA_tot_NA_NA_qbtu + - cnsm_enu_comm_NA_cl_NA_NA_qbtu + - cnsm_enu_comm_NA_dele_NA_NA_qbtu + - cnsm_enu_comm_NA_dfo_NA_NA_qbtu + - cnsm_enu_comm_NA_elc_NA_NA_qbtu + - cnsm_enu_comm_NA_erl_NA_NA_qbtu + - cnsm_enu_comm_NA_krs_NA_NA_qbtu + - cnsm_enu_comm_NA_lfl_NA_NA_qbtu + - cnsm_enu_comm_NA_mgs_NA_NA_qbtu + - cnsm_enu_comm_NA_ng_NA_NA_qbtu + - cnsm_enu_comm_NA_prop_NA_NA_qbtu + - cnsm_enu_comm_NA_ren_NA_NA_qbtu + - cnsm_enu_comm_NA_rfo_NA_NA_qbtu + - cnsm_enu_comm_NA_tot_NA_NA_qbtu + - cnsm_enu_elep_NA_dfo_NA_NA_qbtu + - cnsm_enu_elep_NA_eli_NA_NA_qbtu + - cnsm_enu_elep_NA_lfl_NA_NA_qbtu + - cnsm_enu_elep_NA_nbmsw_NA_NA_qbtu + - cnsm_enu_elep_NA_ng_NA_NA_qbtu + - cnsm_enu_elep_NA_nuc_NA_NA_qbtu + - cnsm_enu_elep_NA_ren_NA_NA_qbtu + - cnsm_enu_elep_NA_rfo_NA_NA_qbtu + - cnsm_enu_elep_NA_stc_NA_NA_qbtu + - cnsm_enu_elep_NA_tot_NA_NA_qbtu + - cnsm_enu_idal_NA_bfh_NA_NA_qbtu + - cnsm_enu_idal_NA_clh_NA_NA_qbtu + - cnsm_enu_idal_NA_cos_NA_NA_qbtu + - cnsm_enu_idal_NA_dele_NA_NA_qbtu + - cnsm_enu_idal_NA_dfo_NA_NA_qbtu + - cnsm_enu_idal_NA_elc_NA_NA_qbtu + - cnsm_enu_idal_NA_erl_NA_NA_qbtu + - cnsm_enu_idal_NA_lfl_NA_NA_qbtu + - cnsm_enu_idal_NA_lpg_NA_NA_qbtu + - cnsm_enu_idal_NA_lqfct_NA_NA_qbtu + - cnsm_enu_idal_NA_lsapfl_NA_NA_qbtu + - cnsm_enu_idal_NA_mgs_NA_NA_qbtu + - cnsm_enu_idal_NA_mtc_NA_NA_qbtu + - cnsm_enu_idal_NA_ncc_NA_NA_qbtu + - cnsm_enu_idal_NA_ngs_NA_NA_qbtu + - cnsm_enu_idal_NA_ng_NA_NA_qbtu + - cnsm_enu_idal_NA_nlp_NA_NA_qbtu + - cnsm_enu_idal_NA_oic_NA_NA_qbtu + - cnsm_enu_idal_NA_onp_NA_NA_qbtu + - cnsm_enu_idal_NA_pcf_NA_NA_qbtu + - cnsm_enu_idal_NA_ren_NA_NA_qbtu + - cnsm_enu_idal_NA_rfo_NA_NA_qbtu + - cnsm_enu_idal_NA_tot_NA_NA_qbtu + - cnsm_enu_NA_NA_em1_NA_NA_qbtu + - cnsm_enu_oth_NA_tot_NA_NA_qbtu + - cnsm_enu_res_NA_dele_NA_NA_qbtu + - cnsm_enu_res_NA_dfo_NA_NA_qbtu + - cnsm_enu_res_NA_elc_NA_NA_qbtu + - cnsm_enu_res_NA_erl_NA_NA_qbtu + - cnsm_enu_res_NA_lfl_NA_NA_qbtu + - cnsm_enu_res_NA_ng_NA_NA_qbtu + - cnsm_enu_res_NA_prop_NA_NA_qbtu + - cnsm_enu_res_NA_ren_NA_NA_qbtu + - cnsm_enu_res_NA_tot_NA_NA_qbtu + - cnsm_enu_ten_NA_bfh_NA_NA_qbtu + - cnsm_enu_ten_NA_clh_NA_NA_qbtu + - cnsm_enu_ten_NA_cos_NA_NA_qbtu + - cnsm_enu_ten_NA_dfo_NA_NA_qbtu + - cnsm_enu_ten_NA_e85_NA_NA_qbtu + - cnsm_enu_ten_NA_eli_NA_NA_qbtu + - cnsm_enu_ten_NA_lhy_NA_NA_qbtu + - cnsm_enu_ten_NA_jfl_NA_NA_qbtu + - cnsm_enu_ten_NA_krs_NA_NA_qbtu + - cnsm_enu_ten_NA_lfl_NA_NA_qbtu + - cnsm_enu_ten_NA_lpg_NA_NA_qbtu + - cnsm_enu_ten_NA_lqfct_NA_NA_qbtu + - cnsm_enu_ten_NA_lsapfl_NA_NA_qbtu + - cnsm_enu_ten_NA_mgs_NA_NA_qbtu + - cnsm_enu_ten_NA_mtc_NA_NA_qbtu + - cnsm_enu_ten_NA_nbmsw_NA_NA_qbtu + - cnsm_enu_ten_NA_ncc_NA_NA_qbtu + - cnsm_enu_ten_NA_ngs_NA_NA_qbtu + - cnsm_enu_ten_NA_ng_NA_NA_qbtu + - cnsm_enu_ten_NA_nlp_NA_NA_qbtu + - cnsm_enu_ten_NA_nuc_NA_NA_qbtu + - cnsm_enu_ten_NA_oca_NA_NA_qbtu + - cnsm_enu_ten_NA_onp_NA_NA_qbtu + - cnsm_enu_ten_NA_pcf_NA_NA_qbtu + - cnsm_enu_ten_NA_ppn_NA_NA_qbtu + - cnsm_enu_ten_NA_ren_NA_NA_qbtu + - cnsm_enu_ten_NA_rfo_NA_NA_qbtu + - cnsm_enu_ten_NA_teu_NA_NA_qbtu + - cnsm_enu_ten_NA_tot_NA_NA_qbtu + - cnsm_enu_trn_NA_dele_NA_NA_qbtu + - cnsm_enu_trn_NA_dfo_NA_NA_qbtu + - cnsm_enu_trn_NA_e85_NA_NA_qbtu + - cnsm_enu_trn_NA_elc_NA_NA_qbtu + - cnsm_enu_trn_NA_erl_NA_NA_qbtu + - cnsm_enu_trn_NA_lhy_NA_NA_qbtu + - cnsm_enu_trn_NA_jfl_NA_NA_qbtu + - cnsm_enu_trn_NA_lfl_NA_NA_qbtu + - cnsm_enu_trn_NA_mgs_NA_NA_qbtu + - cnsm_enu_trn_NA_ng_NA_NA_qbtu + - cnsm_enu_trn_NA_onp_NA_NA_qbtu + - cnsm_enu_trn_NA_pfn_NA_NA_qbtu + - cnsm_enu_trn_NA_prop_NA_NA_qbtu + - cnsm_enu_trn_NA_rfo_NA_NA_qbtu + - cnsm_enu_trn_NA_tot_NA_NA_qbtu + - cnsm_hhd_res_sph_elc_NA_usa_qbtu + - cnsm_losses_res_NA_enrl_NA_usa_qbtu + - cnsm_NA_res_cdr_dee_NA_usa_qbtu + - cnsm_NA_res_cdr_elc_NA_usa_qbtu + - cnsm_NA_res_cdr_ng_NA_usa_qbtu + - cnsm_NA_res_cdr_tee_NA_usa_qbtu + - cnsm_NA_res_cgr_dee_NA_usa_qbtu + - cnsm_NA_res_cgr_elc_NA_usa_qbtu + - cnsm_NA_res_cgr_ng_NA_usa_qbtu + - cnsm_NA_res_cgr_prop_NA_usa_qbtu + - cnsm_NA_res_cgr_tee_NA_usa_qbtu + - cnsm_NA_res_clw_dee_NA_usa_qbtu + - cnsm_NA_res_clw_elc_NA_usa_qbtu + - cnsm_NA_res_clw_tee_NA_usa_qbtu + - cnsm_NA_res_cmpr_dee_NA_usa_qbtu + - cnsm_NA_res_cmpr_elc_NA_usa_qbtu + - cnsm_NA_res_cmpr_tee_NA_usa_qbtu + - cnsm_NA_res_dele_dee_NA_usa_qbtu + - cnsm_NA_res_dele_elc_NA_usa_qbtu + - cnsm_NA_res_dele_ng_NA_usa_qbtu + - cnsm_NA_res_dele_prop_NA_usa_qbtu + - cnsm_NA_res_dsw_dee_NA_usa_qbtu + - cnsm_NA_res_dsw_elc_NA_usa_qbtu + - cnsm_NA_res_dsw_tee_NA_usa_qbtu + - cnsm_NA_res_fpr_dee_NA_usa_qbtu + - cnsm_NA_res_fpr_elc_NA_usa_qbtu + - cnsm_NA_res_fpr_tee_NA_usa_qbtu + - cnsm_NA_res_frz_dee_NA_usa_qbtu + - cnsm_NA_res_frz_elc_NA_usa_qbtu + - cnsm_NA_res_frz_tee_NA_usa_qbtu + - cnsm_NA_res_gehp_nrw_NA_usa_qbtu + - cnsm_NA_res_lghtng_dee_NA_usa_qbtu + - cnsm_NA_res_lghtng_elc_NA_usa_qbtu + - cnsm_NA_res_lghtng_tee_NA_usa_qbtu + - cnsm_NA_res_NA_dfo_NA_usa_qbtu + - cnsm_NA_res_NA_mrw_NA_usa_qbtu + - cnsm_NA_res_NA_nrw_NA_usa_qbtu + - cnsm_NA_res_othu_dee_NA_usa_qbtu + - cnsm_NA_res_othu_dfo_NA_usa_qbtu + - cnsm_NA_res_othu_elc_NA_usa_qbtu + - cnsm_NA_res_othu_ng_NA_usa_qbtu + - cnsm_NA_res_othu_prop_NA_usa_qbtu + - cnsm_NA_res_othu_tee_NA_usa_qbtu + - cnsm_NA_res_refr_dee_NA_usa_qbtu + - cnsm_NA_res_refr_elc_NA_usa_qbtu + - cnsm_NA_res_refr_tee_NA_usa_qbtu + - cnsm_NA_res_shw_nrw_NA_usa_qbtu + - cnsm_NA_res_soph_nrw_NA_usa_qbtu + - cnsm_NA_res_spc_dee_NA_usa_qbtu + - cnsm_NA_res_spc_elc_NA_usa_qbtu + - cnsm_NA_res_spc_ng_NA_usa_qbtu + - cnsm_NA_res_spc_tee_NA_usa_qbtu + - cnsm_NA_res_sph_dee_NA_usa_qbtu + - cnsm_NA_res_sph_dfo_NA_usa_qbtu + - cnsm_NA_res_sph_ng_NA_usa_qbtu + - cnsm_NA_res_sph_prop_NA_usa_qbtu + - cnsm_NA_res_sph_tee_NA_usa_qbtu + - cnsm_NA_res_totencons_tee_NA_usa_qbtu + - cnsm_NA_res_tus_dee_NA_usa_qbtu + - cnsm_NA_res_tvr_dee_NA_usa_qbtu + - cnsm_NA_res_tvr_elc_NA_usa_qbtu + - cnsm_NA_res_tvr_tee_NA_usa_qbtu + - cnsm_NA_res_wnd_nrw_NA_usa_qbtu + - cnsm_NA_res_wtht_dee_NA_usa_qbtu + - cnsm_NA_res_wtht_dfo_NA_usa_qbtu + - cnsm_NA_res_wtht_elc_NA_usa_qbtu + - cnsm_NA_res_wtht_ng_NA_usa_qbtu + - cnsm_NA_res_wtht_prop_NA_usa_qbtu + - cnsm_NA_res_wtht_tee_NA_usa_qbtu + - gen_NA_res_gfo_dee_NA_usa_qbtu + - gen_NA_res_gfo_elc_NA_usa_qbtu + - gen_NA_res_gfo_tee_NA_usa_qbtu + - gen_NA_res_ttg_tee_NA_usa_qbtu + - cnsm_NA_comm_NA_bms_NA_usa_qbtu + - cnsm_NA_comm_NA_dee_cgr_usa_qbtu + - cnsm_NA_comm_NA_dee_lghtng_usa_qbtu + - cnsm_NA_comm_NA_dee_NA_usa_qbtu + - cnsm_NA_comm_NA_dee_ofeqpc_usa_qbtu + - cnsm_NA_comm_NA_dee_ofeqpnpc_usa_qbtu + - cnsm_NA_comm_NA_dee_othu_usa_qbtu + - cnsm_NA_comm_NA_dee_refr_usa_qbtu + - cnsm_NA_comm_NA_dee_spc_usa_qbtu + - cnsm_NA_comm_NA_dee_sph_usa_qbtu + - cnsm_NA_comm_NA_dee_vntc_usa_qbtu + - cnsm_NA_comm_NA_dee_wtht_usa_qbtu + - cnsm_NA_comm_NA_dele_elc_usa_qbtu + - cnsm_NA_comm_NA_dfo_dele_usa_qbtu + - cnsm_NA_comm_NA_dfo_othu_usa_qbtu + - cnsm_NA_comm_NA_dfo_sph_usa_qbtu + - cnsm_NA_comm_NA_dfo_wtht_usa_qbtu + - cnsm_NA_comm_NA_erl_NA_usa_qbtu + - cnsm_NA_comm_NA_ng_cgr_usa_qbtu + - cnsm_NA_comm_NA_ng_dele_usa_qbtu + - cnsm_NA_comm_NA_ng_othu_usa_qbtu + - cnsm_NA_comm_NA_ng_spc_usa_qbtu + - cnsm_NA_comm_NA_ng_sph_usa_qbtu + - cnsm_NA_comm_NA_ng_wtht_usa_qbtu + - cnsm_NA_comm_NA_nrf_soph_usa_qbtu + - cnsm_NA_comm_NA_nrf_soth_usa_qbtu + - cnsm_NA_comm_NA_nrf_tot_usa_qbtu + - cnsm_NA_comm_NA_nrf_wnd_usa_qbtu + - cnsm_NA_comm_NA_ofu_NA_usa_qbtu + - cnsm_NA_comm_NA_prc_cgr_usa_qbtu + - cnsm_NA_comm_NA_prc_dele_usa_qbtu + - cnsm_NA_comm_NA_prc_lghtng_usa_qbtu + - cnsm_NA_comm_NA_prc_otheqpnpc_usa_qbtu + - cnsm_NA_comm_NA_prc_otheqppc_usa_qbtu + - cnsm_NA_comm_NA_prc_othu_usa_qbtu + - cnsm_NA_comm_NA_prc_refr_usa_qbtu + - cnsm_NA_comm_NA_prc_spc_usa_qbtu + - cnsm_NA_comm_NA_prc_sph_usa_qbtu + - cnsm_NA_comm_NA_prc_vntc_usa_qbtu + - cnsm_NA_comm_NA_prc_wtht_usa_qbtu + - cnsm_NA_comm_NA_tee_cgr_usa_qbtu + - cnsm_NA_comm_NA_tee_lghtng_usa_qbtu + - cnsm_NA_comm_NA_tee_NA_usa_qbtu + - cnsm_NA_comm_NA_tee_ofeqpc_usa_qbtu + - cnsm_NA_comm_NA_tee_ofeqpnpc_usa_qbtu + - cnsm_NA_comm_NA_tee_othu_usa_qbtu + - cnsm_NA_comm_NA_tee_refr_usa_qbtu + - cnsm_NA_comm_NA_tee_spc_usa_qbtu + - cnsm_NA_comm_NA_tee_sph_usa_qbtu + - cnsm_NA_comm_NA_tee_vntc_usa_qbtu + - cnsm_NA_comm_NA_tee_wtht_usa_qbtu + - gen_gfo_comm_NA_tee_NA_usa_qbtu + - gen_gfo_comm_NA_tee_tot_usa_qbtu + - gen_NA_comm_NA_dee_gfo_usa_qbtu + - gen_NA_comm_NA_gfo_elc_usa_qbtu + - cnsm_NA_idal_idei_aro_NA_usa_qbtu + - cnsm_NA_idal_idei_cos_NA_usa_qbtu + - cnsm_NA_idal_idei_dele_NA_usa_qbtu + - cnsm_NA_idal_idei_dfo_NA_usa_qbtu + - cnsm_NA_idal_idei_erl_NA_usa_qbtu + - cnsm_NA_idal_idei_lpgf_NA_usa_qbtu + - cnsm_NA_idal_idei_lpghp_NA_usa_qbtu + - cnsm_NA_idal_idei_lqfct_NA_usa_qbtu + - cnsm_NA_idal_idei_lsapfl_NA_usa_qbtu + - cnsm_NA_idal_idei_mcc_NA_usa_qbtu + - cnsm_NA_idal_idei_mgs_NA_usa_qbtu + - cnsm_NA_idal_idei_mpet_NA_usa_qbtu + - cnsm_NA_idal_idei_ngf_NA_usa_qbtu + - cnsm_NA_idal_idei_ngs_NA_usa_qbtu + - cnsm_NA_idal_idei_nhp_NA_usa_qbtu + - cnsm_NA_idal_idei_oic_NA_usa_qbtu + - cnsm_NA_idal_idei_pcf_NA_usa_qbtu + - cnsm_NA_idal_idei_pck_NA_usa_qbtu + - cnsm_NA_idal_idei_pet_NA_usa_qbtu + - cnsm_NA_idal_idei_ppl_NA_usa_qbtu + - cnsm_NA_idal_idei_prc_NA_usa_qbtu + - cnsm_NA_idal_idei_reb_NA_usa_qbtu + - cnsm_NA_idal_idei_rfo_NA_usa_qbtu + - cnsm_NA_idal_idei_tot_NA_usa_qbtu + - cnsm_NA_idal_NA_aro_NA_usa_qbtu + - cnsm_NA_idal_NA_bfh_NA_usa_qbtu + - cnsm_NA_idal_NA_clh_NA_usa_qbtu + - cnsm_NA_idal_NA_cos_NA_usa_qbtu + - cnsm_NA_idal_NA_dele_NA_usa_qbtu + - cnsm_NA_idal_NA_dfo_NA_usa_qbtu + - cnsm_NA_idal_NA_erl_NA_usa_qbtu + - cnsm_NA_idal_NA_lpgf_NA_usa_qbtu + - cnsm_NA_idal_NA_lpghp_NA_usa_qbtu + - cnsm_NA_idal_NA_lqfct_NA_usa_qbtu + - cnsm_NA_idal_NA_lsapfl_NA_usa_qbtu + - cnsm_NA_idal_NA_mcc_NA_usa_qbtu + - cnsm_NA_idal_NA_mgs_NA_usa_qbtu + - cnsm_NA_idal_NA_mpet_NA_usa_qbtu + - cnsm_NA_idal_NA_ngf_NA_usa_qbtu + - cnsm_NA_idal_NA_ngs_NA_usa_qbtu + - cnsm_NA_idal_NA_nhp_NA_usa_qbtu + - cnsm_NA_idal_NA_nlp_NA_usa_qbtu + - cnsm_NA_idal_NA_oic_NA_usa_qbtu + - cnsm_NA_idal_NA_pcf_NA_usa_qbtu + - cnsm_NA_idal_NA_pck_NA_usa_qbtu + - cnsm_NA_idal_NA_pet_NA_usa_qbtu + - cnsm_NA_idal_NA_prc_NA_usa_qbtu + - cnsm_NA_idal_NA_reb_NA_usa_qbtu + - cnsm_NA_idal_NA_rfo_NA_usa_qbtu + - cnsm_NA_idal_NA_slg_NA_usa_qbtu + - cnsm_NA_idal_NA_tot_NA_usa_qbtu + - cnsm_NA_idal_refu_bfh_NA_usa_qbtu + - cnsm_NA_idal_refu_clh_NA_usa_qbtu + - cnsm_NA_idal_refu_cos_NA_usa_qbtu + - cnsm_NA_idal_refu_dele_NA_usa_qbtu + - cnsm_NA_idal_refu_dfo_NA_usa_qbtu + - cnsm_NA_idal_refu_erl_NA_usa_qbtu + - cnsm_NA_idal_refu_lpghp_NA_usa_qbtu + - cnsm_NA_idal_refu_mpet_NA_usa_qbtu + - cnsm_NA_idal_refu_ngf_NA_NA_NA + - cnsm_NA_idal_refu_ngs_NA_usa_qbtu + - cnsm_NA_idal_refu_nhp_NA_usa_qbtu + - cnsm_NA_idal_refu_nlp_NA_usa_qbtu + - cnsm_NA_idal_refu_oic_NA_usa_qbtu + - cnsm_NA_idal_refu_pck_NA_usa_qbtu + - cnsm_NA_idal_refu_pet_NA_usa_qbtu + - cnsm_NA_idal_refu_prc_NA_usa_qbtu + - cnsm_NA_idal_refu_rfo_NA_usa_qbtu + - cnsm_NA_idal_refu_slg_NA_usa_qbtu + - cnsm_NA_idal_refu_tot_NA_usa_qbtu + - cnsm_NA_trn_air_use_NA_NA_qbtu + - cnsm_NA_trn_bst_use_NA_NA_qbtu + - cnsm_NA_trn_cml_use_NA_NA_qbtu + - cnsm_NA_trn_fght_use_NA_NA_qbtu + - cnsm_NA_trn_lbc_use_NA_NA_qbtu + - cnsm_NA_trn_ldv_use_NA_NA_qbtu + - cnsm_NA_trn_milu_use_NA_NA_qbtu + - cnsm_NA_trn_NA_use_NA_NA_qbtu + - cnsm_NA_trn_pft_use_NA_NA_qbtu + - cnsm_NA_trn_rbt_use_NA_NA_qbtu + - cnsm_NA_trn_rlf_use_NA_NA_qbtu + - cnsm_NA_trn_rlp_use_NA_NA_qbtu + - cnsm_NA_trn_shdt_use_NA_NA_qbtu + - cnsm_NA_trn_shint_use_NA_NA_qbtu + - cnsm_NA_idal_ethplt_cl_NA_NA_trlbtu + - cnsm_NA_idal_ethplt_elc_NA_NA_trlbtu + - cnsm_NA_idal_ethplt_ng_NA_NA_trlbtu + - cnsm_NA_idal_ethplt_tot_NA_NA_trlbtu + - cnsm_NA_idal_refliq_bfh_NA_NA_trlbtu + - cnsm_NA_idal_refliq_dfo_NA_NA_trlbtu + - cnsm_NA_idal_refliq_lpg_NA_NA_trlbtu + - cnsm_NA_idal_refliq_NA_NA_NA_trlbtu + - cnsm_NA_idal_refliq_ng_fsk_NA_trlbtu + - cnsm_NA_idal_refliq_ng_gtl_NA_trlbtu + - cnsm_NA_idal_refliq_ng_hap_NA_trlbtu + - cnsm_NA_idal_refliq_ng_NA_NA_trlbtu + - cnsm_NA_idal_refliq_onp_NA_NA_trlbtu + - cnsm_NA_idal_refliq_pck_NA_NA_trlbtu + - cnsm_NA_idal_refliq_pet_NA_NA_trlbtu + - cnsm_NA_idal_refliq_prc_NA_NA_trlbtu + - cnsm_NA_idal_refliq_rfo_NA_NA_trlbtu + - cnsm_NA_idal_refliq_slg_NA_NA_trlbtu + - cnsm_NA_idal_refliq_stc_NA_NA_trlbtu + - cnsm_NA_idal_pri_dfo_NA_NA_trlbtu + - cnsm_NA_idal_pri_lpg_NA_NA_trlbtu + - cnsm_NA_idal_pri_ng_NA_NA_trlbtu + - cnsm_NA_idal_pri_onp_NA_NA_trlbtu + - cnsm_NA_idal_pri_pck_NA_NA_trlbtu + - cnsm_NA_idal_pri_pet_NA_NA_trlbtu + - cnsm_NA_idal_pri_prc_NA_NA_trlbtu + - cnsm_NA_idal_pri_rfo_NA_NA_trlbtu + - cnsm_NA_idal_pri_slg_NA_NA_trlbtu + - cnsm_NA_idal_pri_stc_NA_NA_trlbtu + - cnsm_NA_idal_pri_tot_NA_NA_trlbtu + - cnsm_NA_idal_fdp_dfo_NA_NA_trlbtu + - cnsm_NA_idal_fdp_NA_NA_NA_trlbtu + - cnsm_NA_idal_fdp_ng_NA_NA_trlbtu + - cnsm_NA_idal_fdp_onp_NA_NA_trlbtu + - cnsm_NA_idal_fdp_pet_NA_NA_trlbtu + - cnsm_NA_idal_fdp_prc_NA_NA_trlbtu + - cnsm_NA_idal_fdp_prop_NA_NA_trlbtu + - cnsm_NA_idal_fdp_reb_NA_NA_trlbtu + - cnsm_NA_idal_fdp_rfo_NA_NA_trlbtu + - cnsm_NA_idal_fdp_stc_NA_NA_trlbtu + - cnsm_NA_idal_ppm_dfo_NA_NA_trlbtu + - cnsm_NA_idal_ppm_NA_NA_NA_trlbtu + - cnsm_NA_idal_ppm_ng_NA_NA_trlbtu + - cnsm_NA_idal_ppm_onp_NA_NA_trlbtu + - cnsm_NA_idal_ppm_pck_NA_NA_trlbtu + - cnsm_NA_idal_ppm_pet_NA_NA_trlbtu + - cnsm_NA_idal_ppm_prc_NA_NA_trlbtu + - cnsm_NA_idal_ppm_prop_NA_NA_trlbtu + - cnsm_NA_idal_ppm_reb_NA_NA_trlbtu + - cnsm_NA_idal_ppm_rfo_NA_NA_trlbtu + - cnsm_NA_idal_ppm_stc_NA_NA_trlbtu + - cnsm_NA_idal_bch_fsk_lpg_NA_trlbtu + - cnsm_NA_idal_bch_fsk_NA_NA_trlbtu + - cnsm_NA_idal_bch_fsk_ng_NA_trlbtu + - cnsm_NA_idal_bch_fsk_pcf_NA_trlbtu + - cnsm_NA_idal_bch_fsk_ppl_NA_trlbtu + - cnsm_NA_idal_bch_hap_dfo_NA_trlbtu + - cnsm_NA_idal_bch_hap_NA_NA_trlbtu + - cnsm_NA_idal_bch_hap_ng_NA_trlbtu + - cnsm_NA_idal_bch_hap_onp_NA_trlbtu + - cnsm_NA_idal_bch_hap_pck_NA_trlbtu + - cnsm_NA_idal_bch_hap_pet_NA_trlbtu + - cnsm_NA_idal_bch_hap_prc_NA_trlbtu + - cnsm_NA_idal_bch_hap_prop_NA_trlbtu + - cnsm_NA_idal_bch_hap_reb_NA_trlbtu + - cnsm_NA_idal_bch_hap_rfo_NA_trlbtu + - cnsm_NA_idal_bch_hap_stc_NA_trlbtu + - cnsm_NA_idal_bch_NA_NA_NA_trlbtu + - cnsm_NA_idal_ggr_dfo_NA_NA_trlbtu + - cnsm_NA_idal_ggr_NA_NA_NA_trlbtu + - cnsm_NA_idal_ggr_ng_NA_NA_trlbtu + - cnsm_NA_idal_ggr_pet_NA_NA_trlbtu + - cnsm_NA_idal_ggr_prc_NA_NA_trlbtu + - cnsm_NA_idal_ggr_prop_NA_NA_trlbtu + - cnsm_NA_idal_ggr_rfo_NA_NA_trlbtu + - cnsm_NA_idal_ggr_stc_NA_NA_trlbtu + - cnsm_NA_idal_cem_cos_NA_NA_trlbtu + - cnsm_NA_idal_cem_dfo_NA_NA_trlbtu + - cnsm_NA_idal_cem_mtc_NA_NA_trlbtu + - cnsm_NA_idal_cem_NA_NA_NA_trlbtu + - cnsm_NA_idal_cem_ng_NA_NA_trlbtu + - cnsm_NA_idal_cem_onp_NA_NA_trlbtu + - cnsm_NA_idal_cem_pck_NA_NA_trlbtu + - cnsm_NA_idal_cem_pet_NA_NA_trlbtu + - cnsm_NA_idal_cem_prc_NA_NA_trlbtu + - cnsm_NA_idal_cem_prop_NA_NA_trlbtu + - cnsm_NA_idal_cem_reb_NA_NA_trlbtu + - cnsm_NA_idal_cem_rfo_NA_NA_trlbtu + - cnsm_NA_idal_cem_stc_NA_NA_trlbtu + - cnsm_NA_idal_ism_cos_NA_NA_trlbtu + - cnsm_NA_idal_ism_dfo_NA_NA_trlbtu + - cnsm_NA_idal_ism_mtc_NA_NA_trlbtu + - cnsm_NA_idal_ism_nci_NA_NA_trlbtu + - cnsm_NA_idal_ism_ng_NA_NA_trlbtu + - cnsm_NA_idal_ism_onp_NA_NA_trlbtu + - cnsm_NA_idal_ism_pet_NA_NA_trlbtu + - cnsm_NA_idal_ism_prc_NA_NA_trlbtu + - cnsm_NA_idal_ism_prop_NA_NA_trlbtu + - cnsm_NA_idal_ism_reb_NA_NA_trlbtu + - cnsm_NA_idal_ism_rfo_NA_NA_trlbtu + - cnsm_NA_idal_ism_stc_NA_NA_trlbtu + - cnsm_NA_idal_ism_tot_NA_NA_trlbtu + - cnsm_NA_idal_aap_dfo_NA_NA_trlbtu + - cnsm_NA_idal_aap_ng_NA_NA_trlbtu + - cnsm_NA_idal_aap_onp_NA_NA_trlbtu + - cnsm_NA_idal_aap_pck_NA_NA_trlbtu + - cnsm_NA_idal_aap_pet_NA_NA_trlbtu + - cnsm_NA_idal_aap_prc_NA_NA_trlbtu + - cnsm_NA_idal_aap_prop_NA_NA_trlbtu + - cnsm_NA_idal_aap_reb_NA_NA_trlbtu + - cnsm_NA_idal_aap_rfo_NA_NA_trlbtu + - cnsm_NA_idal_aap_stc_NA_NA_trlbtu + - cnsm_NA_idal_aap_tot_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_dfo_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_elc_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_NA_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_ng_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_pck_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_pet_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_prop_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_reb_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_rfo_NA_NA_trlbtu + - cnsm_NA_idal_cmpr_stc_NA_NA_trlbtu + - cnsm_NA_idal_eei_dfo_NA_NA_trlbtu + - cnsm_NA_idal_eei_elc_NA_NA_trlbtu + - cnsm_NA_idal_eei_NA_NA_NA_trlbtu + - cnsm_NA_idal_eei_ng_NA_NA_trlbtu + - cnsm_NA_idal_eei_pck_NA_NA_trlbtu + - cnsm_NA_idal_eei_pet_NA_NA_trlbtu + - cnsm_NA_idal_eei_prop_NA_NA_trlbtu + - cnsm_NA_idal_eei_reb_NA_NA_trlbtu + - cnsm_NA_idal_eei_rfo_NA_NA_trlbtu + - cnsm_NA_idal_eei_stc_NA_NA_trlbtu + - cnsm_NA_idal_fbp_dfo_NA_NA_trlbtu + - cnsm_NA_idal_fbp_elc_NA_NA_trlbtu + - cnsm_NA_idal_fbp_mtc_NA_NA_trlbtu + - cnsm_NA_idal_fbp_NA_NA_NA_trlbtu + - cnsm_NA_idal_fbp_ng_NA_NA_trlbtu + - cnsm_NA_idal_fbp_pck_NA_NA_trlbtu + - cnsm_NA_idal_fbp_pet_NA_NA_trlbtu + - cnsm_NA_idal_fbp_prop_NA_NA_trlbtu + - cnsm_NA_idal_fbp_reb_NA_NA_trlbtu + - cnsm_NA_idal_fbp_rfo_NA_NA_trlbtu + - cnsm_NA_idal_fbp_stc_NA_NA_trlbtu + - cnsm_NA_idal_mchi_dfo_NA_NA_trlbtu + - cnsm_NA_idal_mchi_elc_NA_NA_trlbtu + - cnsm_NA_idal_mchi_NA_NA_NA_trlbtu + - cnsm_NA_idal_mchi_ng_NA_NA_trlbtu + - cnsm_NA_idal_mchi_pck_NA_NA_trlbtu + - cnsm_NA_idal_mchi_pet_NA_NA_trlbtu + - cnsm_NA_idal_mchi_prop_NA_NA_trlbtu + - cnsm_NA_idal_mchi_reb_NA_NA_trlbtu + - cnsm_NA_idal_mchi_rfo_NA_NA_trlbtu + - cnsm_NA_idal_mchi_stc_NA_NA_trlbtu + - cnsm_NA_idal_teq_dfo_NA_NA_trlbtu + - cnsm_NA_idal_teq_elc_NA_NA_trlbtu + - cnsm_NA_idal_teq_NA_NA_NA_trlbtu + - cnsm_NA_idal_teq_ng_NA_NA_trlbtu + - cnsm_NA_idal_teq_pck_NA_NA_trlbtu + - cnsm_NA_idal_teq_pet_NA_NA_trlbtu + - cnsm_NA_idal_teq_prop_NA_NA_trlbtu + - cnsm_NA_idal_teq_reb_NA_NA_trlbtu + - cnsm_NA_idal_teq_rfo_NA_NA_trlbtu + - cnsm_NA_idal_teq_stc_NA_NA_trlbtu + - cnsm_NA_idal_bmf_dfo_NA_NA_trlbtu + - cnsm_NA_idal_bmf_elc_NA_NA_trlbtu + - cnsm_NA_idal_bmf_mtc_NA_NA_trlbtu + - cnsm_NA_idal_bmf_NA_NA_NA_trlbtu + - cnsm_NA_idal_bmf_ng_NA_NA_trlbtu + - cnsm_NA_idal_bmf_onp_NA_NA_trlbtu + - cnsm_NA_idal_bmf_pck_NA_NA_trlbtu + - cnsm_NA_idal_bmf_pet_NA_NA_trlbtu + - cnsm_NA_idal_bmf_prop_NA_NA_trlbtu + - cnsm_NA_idal_bmf_reb_NA_NA_trlbtu + - cnsm_NA_idal_bmf_rfo_NA_NA_trlbtu + - cnsm_NA_idal_bmf_stc_NA_NA_trlbtu + - cnsm_NA_idal_pli_dfo_NA_NA_trlbtu + - cnsm_NA_idal_pli_elc_NA_NA_trlbtu + - cnsm_NA_idal_pli_mtc_NA_NA_trlbtu + - cnsm_NA_idal_pli_NA_NA_NA_trlbtu + - cnsm_NA_idal_pli_ng_NA_NA_trlbtu + - cnsm_NA_idal_pli_pet_NA_NA_trlbtu + - cnsm_NA_idal_pli_prop_NA_NA_trlbtu + - cnsm_NA_idal_pli_reb_NA_NA_trlbtu + - cnsm_NA_idal_pli_rfo_NA_NA_trlbtu + - cnsm_NA_idal_pli_stc_NA_NA_trlbtu + - cnsm_NA_idal_wdp_dfo_NA_NA_trlbtu + - cnsm_NA_idal_wdp_elc_NA_NA_trlbtu + - cnsm_NA_idal_wdp_mtc_NA_NA_trlbtu + - cnsm_NA_idal_wdp_NA_NA_NA_trlbtu + - cnsm_NA_idal_wdp_ng_NA_NA_trlbtu + - cnsm_NA_idal_wdp_pet_NA_NA_trlbtu + - cnsm_NA_idal_wdp_prop_NA_NA_trlbtu + - cnsm_NA_idal_wdp_reb_NA_NA_trlbtu + - cnsm_NA_idal_wdp_rfo_NA_NA_trlbtu + - cnsm_NA_idal_wdp_stc_NA_NA_trlbtu + - cnsm_NA_idal_agg_dfo_NA_NA_trlbtu + - cnsm_NA_idal_agg_mgs_NA_NA_trlbtu + - cnsm_NA_idal_agg_NA_NA_NA_trlbtu + - cnsm_NA_idal_agg_ng_NA_NA_trlbtu + - cnsm_NA_idal_agg_onp_NA_NA_trlbtu + - cnsm_NA_idal_agg_pet_NA_NA_trlbtu + - cnsm_NA_idal_agg_prc_NA_NA_trlbtu + - cnsm_NA_idal_agg_prop_NA_NA_trlbtu + - cnsm_NA_idal_agg_reb_NA_NA_trlbtu + - cnsm_NA_idal_agg_rfo_NA_NA_trlbtu + - cnsm_NA_idal_agg_stc_NA_NA_trlbtu + - cnsm_NA_idal_cns_aro_NA_NA_trlbtu + - cnsm_NA_idal_cns_dfo_NA_NA_trlbtu + - cnsm_NA_idal_cns_mgs_NA_NA_trlbtu + - cnsm_NA_idal_cns_NA_NA_NA_trlbtu + - cnsm_NA_idal_cns_ng_NA_NA_trlbtu + - cnsm_NA_idal_cns_onp_NA_NA_trlbtu + - cnsm_NA_idal_cns_pet_NA_NA_trlbtu + - cnsm_NA_idal_cns_prc_NA_NA_trlbtu + - cnsm_NA_idal_cns_prop_NA_NA_trlbtu + - cnsm_NA_idal_lqfct_NA_NA_NA_trlbtu + - cnsm_NA_idal_ming_dfo_NA_NA_trlbtu + - cnsm_NA_idal_ming_lsapfl_NA_NA_trlbtu + - cnsm_NA_idal_ming_mgs_NA_NA_trlbtu + - cnsm_NA_idal_ming_NA_NA_NA_trlbtu + - cnsm_NA_idal_ming_ng_NA_NA_trlbtu + - cnsm_NA_idal_ming_onp_NA_NA_trlbtu + - cnsm_NA_idal_ming_peo_NA_NA_trlbtu + - cnsm_NA_idal_ming_pes_NA_NA_trlbtu + - cnsm_NA_idal_ming_pet_NA_NA_trlbtu + - cnsm_NA_idal_ming_reb_NA_NA_trlbtu + - cnsm_NA_idal_ming_rfo_NA_NA_trlbtu + - cnsm_NA_idal_ming_stc_NA_NA_trlbtu + diff --git a/flowsa/methods/flowbyactivitymethods/EPA_WARMer.yaml b/flowsa/methods/flowbyactivitymethods/EPA_WARMer.yaml index 55bae5317..29daab28d 100644 --- a/flowsa/methods/flowbyactivitymethods/EPA_WARMer.yaml +++ b/flowsa/methods/flowbyactivitymethods/EPA_WARMer.yaml @@ -1,13 +1,13 @@ author: US Environmental Protection Acency source_name: EPA_WARMer -source_url: 'https://raw.githubusercontent.com/USEPA/HIO/main/flowsa/WARMv15_env.csv' +source_url: 'https://raw.githubusercontent.com/USEPA/HIO/main/data/WARMv15_env.csv' original_data_download_date: '2022-07-26' bib_id: EPA_WARMer api_name: None api_key_required: false format: csv url: - base_url: 'https://raw.githubusercontent.com/USEPA/HIO/main/flowsa/WARMv15_env.csv' + base_url: 'https://raw.githubusercontent.com/USEPA/HIO/main/data/WARMv15_env.csv' call_response_fxn: !script_function:EPA_WARMer warmer_call parse_response_fxn: !script_function:EPA_WARMer warmer_parse years: diff --git a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Lead.yaml b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Lead.yaml index 78dd4d0d0..feaca5005 100644 --- a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Lead.yaml +++ b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Lead.yaml @@ -6,8 +6,8 @@ date_generated: '2023-01-26' years_available: 2012-2019 format: xlsx url: - base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/__filename__ -url_replace_fxn: !script_function:USGS_MYB usgs_lead_url_helper + base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/__FILENAME__ +url_replace_fxn: !script_function:USGS_MYB usgs_myb_url_helper call_response_fxn: !script_function:USGS_MYB usgs_lead_call parse_response_fxn: !script_function:USGS_MYB usgs_lead_parse years: diff --git a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Phosphate.yaml b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Phosphate.yaml index d4b7326c1..9b65997b6 100644 --- a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Phosphate.yaml +++ b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Phosphate.yaml @@ -6,13 +6,21 @@ date_generated: '2021-03-26' years_available: 2014-2018 format: xls url: - base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/atoms/files/myb1-2018-phosp.xls + base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/atoms/files/__FILENAME__ url_replace_fxn: !script_function:USGS_MYB usgs_myb_url_helper call_response_fxn: !script_function:USGS_MYB usgs_phosphate_call parse_response_fxn: !script_function:USGS_MYB usgs_phosphate_parse years: -- 2014 -- 2015 -- 2016 -- 2017 -- 2018 + - 2014 + - 2015 + - 2016 + - 2017 + - 2018 + - 2019 +filename_replacement: + 2019: myb1-2019-phosp-adv.xlsx + 2018: myb1-2019-phosp-adv.xlsx + 2017: myb1-2019-phosp-adv.xlsx + 2016: myb1-2019-phosp-adv.xlsx + 2015: myb1-2019-phosp-adv.xlsx + 2014: myb1-2017-phosp.xls diff --git a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Potash.yaml b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Potash.yaml index 516e92c0d..34eca5335 100644 --- a/flowsa/methods/flowbyactivitymethods/USGS_MYB_Potash.yaml +++ b/flowsa/methods/flowbyactivitymethods/USGS_MYB_Potash.yaml @@ -6,13 +6,21 @@ date_generated: '2021-03-26' years_available: 2014-2018 format: xls url: - base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/atoms/files/files/myb1-2018-potas.xls + base_url: https://d9-wret.s3-us-west-2.amazonaws.com/assets/palladium/production/atoms/files/__FILENAME__ url_replace_fxn: !script_function:USGS_MYB usgs_myb_url_helper call_response_fxn: !script_function:USGS_MYB usgs_potash_call parse_response_fxn: !script_function:USGS_MYB usgs_potash_parse years: -- 2014 -- 2015 -- 2016 -- 2017 -- 2018 + - 2014 + - 2015 + - 2016 + - 2017 + - 2018 + - 2019 +filename_replacement: + 2019: myb1-2019-potas-adv.xlsx + 2018: myb1-2019-potas-adv.xlsx + 2017: myb1-2019-potas-adv.xlsx + 2016: myb1-2019-potas-adv.xlsx + 2015: myb1-2019-potas-adv.xlsx + 2014: myb1-2017-potas.xls \ No newline at end of file diff --git a/flowsa/methods/flowbyactivitymethods/USGS_MYB_SodaAsh.yaml b/flowsa/methods/flowbyactivitymethods/USGS_MYB_SodaAsh.yaml index cf87a714c..457b92f42 100644 --- a/flowsa/methods/flowbyactivitymethods/USGS_MYB_SodaAsh.yaml +++ b/flowsa/methods/flowbyactivitymethods/USGS_MYB_SodaAsh.yaml @@ -6,35 +6,31 @@ bib_id: USGS_MYB_SA # api_key_required: false format: xlsx url: - base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/__url_text__/myb1-__year__-sodaa.__format__ -url_replace_fxn: !script_function:USGS_MYB soda_url_helper + base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/__FILENAME__/myb1-__YEAR__-sodaa.__FORMAT__ +url_replace_fxn: !script_function:USGS_MYB usgs_myb_url_helper call_response_fxn: !script_function:USGS_MYB soda_call parse_response_fxn: !script_function:USGS_MYB soda_parse -url_texts: - '2010': mineral-pubs/soda-ash - '2011': mineral-pubs/soda-ash - '2012': mineral-pubs/soda-ash - '2013': mineral-pubs/soda-ash - '2014': mineral-pubs/soda-ash - '2015': mineral-pubs/soda-ash - '2016': mineral-pubs/soda-ash - '2017': atoms/files +filename_replacement: + 2010: mineral-pubs/soda-ash + 2011: mineral-pubs/soda-ash + 2012: mineral-pubs/soda-ash + 2013: mineral-pubs/soda-ash + 2014: mineral-pubs/soda-ash + 2015: mineral-pubs/soda-ash + 2016: mineral-pubs/soda-ash + 2017: atoms/files years: -#- 2010 -#- 2011 -#- 2012 -- 2013 -- 2014 -- 2015 -- 2016 -- 2017 -formats: - '2010': xls - '2011': xls - '2012': xls - '2013': xls - '2014': xls - '2015': xlsx - '2016': xlsx - '2017': xls - + - 2013 + - 2014 + - 2015 + - 2016 + - 2017 +file_format: + 2010: xls + 2011: xls + 2012: xls + 2013: xls + 2014: xls + 2015: xlsx + 2016: xlsx + 2017: xls diff --git a/flowsa/methods/flowbyactivitymethods/USGS_MYB_StoneCrushed.yaml b/flowsa/methods/flowbyactivitymethods/USGS_MYB_StoneCrushed.yaml index 958faefb2..8b8da2125 100644 --- a/flowsa/methods/flowbyactivitymethods/USGS_MYB_StoneCrushed.yaml +++ b/flowsa/methods/flowbyactivitymethods/USGS_MYB_StoneCrushed.yaml @@ -6,7 +6,7 @@ date_generated: '2021-03-26' years_available: 2014-2018 format: xls url: - base_url: https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/media/files/myb1-2019-stonec-adv.xlsx + base_url: https://pubs.usgs.gov/myb/vol1/2018/myb1-2018-stone-crushed.xlsx url_replace_fxn: !script_function:USGS_MYB usgs_myb_url_helper call_response_fxn: !script_function:USGS_MYB usgs_stonecr_call parse_response_fxn: !script_function:USGS_MYB usgs_stonecr_parse diff --git a/flowsa/methods/flowbysectormethods/Detail_Make.yaml b/flowsa/methods/flowbysectormethods/Detail_Make.yaml index 0d88303ec..2eb663c00 100644 --- a/flowsa/methods/flowbysectormethods/Detail_Make.yaml +++ b/flowsa/methods/flowbysectormethods/Detail_Make.yaml @@ -27,7 +27,6 @@ source_names: activity_to_sector_mapping: BEA_2012_Summary primary_action_type: Consumed # speeds processing # Drop unneeded codes - exclusion_fields: exclusion_fields: ActivityConsumedBy: ['Other', 'Used', 'Total Industry Output'] ActivityProducedBy: ['Total Commodity Output'] diff --git a/flowsa/methods/flowbysectormethods/GHG_national_m2_common.yaml b/flowsa/methods/flowbysectormethods/GHG_national_m2_common.yaml index 9de49d37c..1acaf1d33 100644 --- a/flowsa/methods/flowbysectormethods/GHG_national_m2_common.yaml +++ b/flowsa/methods/flowbysectormethods/GHG_national_m2_common.yaml @@ -5,7 +5,7 @@ # the exisiting summary level national FBS (method 1), except where Direct attribution # is available at the detail level and uses the GHGI as the primary source -!include:BEA_detail_target.yaml +!include:USEEIOv2_detail_target.yaml # year: &ghgi_year 2019 target_naics_year: 2012 geoscale: national diff --git a/flowsa/methods/flowbysectormethods/Land_national_2012.yaml b/flowsa/methods/flowbysectormethods/Land_national_2012.yaml index a036a0343..ac35f9d4e 100644 --- a/flowsa/methods/flowbysectormethods/Land_national_2012.yaml +++ b/flowsa/methods/flowbysectormethods/Land_national_2012.yaml @@ -53,7 +53,7 @@ source_names: general_mining: # all blm pls activities other than hardrock selection_fields: PrimaryActivity: !from_index:BLM_PLS_2012_asets.csv general_mining - attribution_method: direct + attribution_method: equal hardrock_mining: selection_fields: PrimaryActivity: !from_index:BLM_PLS_2012_asets.csv hardrock_mining @@ -101,10 +101,11 @@ source_names: FlowName: - "AG LAND, CROPLAND, HARVESTED" estimate_suppressed: !clean_function:flowbyclean estimate_suppressed_sectors_equal_attribution + attribution_method: equal cropland_attribution-orchards: selection_fields: PrimaryActivity: ORCHARDS - attribution_method: direct + attribution_method: equal pastureland: selection_fields: PrimaryActivity: @@ -118,13 +119,14 @@ source_names: Class: Land FlowName: "FARM OPERATIONS" estimate_suppressed: !clean_function:flowbyclean estimate_suppressed_sectors_equal_attribution + attribution_method: equal forest: selection_fields: PrimaryActivity: - 'Forest-use land not grazed' - 'Land in defense and industrial areas' - 'Land in rural parks and wildlife areas' - attribution_method: direct + attribution_method: equal rural_transportation: selection_fields: PrimaryActivity: diff --git a/flowsa/methods/flowbysectormethods/Land_state_2012.yaml b/flowsa/methods/flowbysectormethods/Land_state_2012.yaml index b265849df..f00e5018f 100644 --- a/flowsa/methods/flowbysectormethods/Land_state_2012.yaml +++ b/flowsa/methods/flowbysectormethods/Land_state_2012.yaml @@ -120,10 +120,11 @@ source_names: FlowName: - "AG LAND, CROPLAND, HARVESTED" estimate_suppressed: !clean_function:flowbyclean estimate_suppressed_sectors_equal_attribution + attribution_method: equal cropland_attribution-orchards: selection_fields: PrimaryActivity: ORCHARDS - attribution_method: direct + attribution_method: equal pastureland: selection_fields: PrimaryActivity: diff --git a/flowsa/methods/flowbysectormethods/README.md b/flowsa/methods/flowbysectormethods/README.md index f1228a7f2..4f7cc12f2 100644 --- a/flowsa/methods/flowbysectormethods/README.md +++ b/flowsa/methods/flowbysectormethods/README.md @@ -147,7 +147,8 @@ any level, and are inherited from higher-level sources. See description in `flowby.select_by_fields()`. - _attribute_: (optional) include for sequential attribution. Follow with list of _attribution_method_ parameters. - _attribution_method_: currently written for `direct`, `proportional`, - `multiplication`, `equal`, `inheritance`. See "Method Descriptions" below. + `multiplication`, `division`, `equal`, `inheritance`. See "Method + Descriptions" below. - _attribution_source_: The data source used to attribute the primary data source. By default attribution is performed on the primary activity column. @@ -204,6 +205,8 @@ Some functions allow for extra named parameters. NAICS crosswalk - multiplication: Multiply the values in the primary source with values sharing the same sectors in the attribution source +- division: Divide valus in primary data source with values sharing the same + sectors in the attribution source - proportional: Activities are proportionally attributed to sectors using specified attribution data source - equal: Equally attribute parent values to child values until reach target diff --git a/flowsa/methods/flowbysectormethods/USEEIOv2_detail_target.yaml b/flowsa/methods/flowbysectormethods/USEEIOv2_detail_target.yaml new file mode 100644 index 000000000..d01228bd7 --- /dev/null +++ b/flowsa/methods/flowbysectormethods/USEEIOv2_detail_target.yaml @@ -0,0 +1,37 @@ +# This file can be used to set up target NAICS for a detail level model +# NAICS are targeted to enable 1:1 correspondence between NAICS and BEA +# Detail sectors. The waste sectors (562) are targeted to NAICS 6 +# to align with the waste disaggregation in useeior. +# Otherwise this mimics BEA_detail_target.yaml + +# To use in an FBS method add +# !include:USEEIOv2_detail_target.yaml +# to the top of the method replacing the three parameters below + + +industry_spec: + default: NAICS_3 + NAICS_4: ['111', '112', '212', '221', '311', '312', '313', '314', + '321', '327', '331', '332', '334', '336', '337', '423', + '424', '512', '515', '517', '518', '522', '523', '524', + '532', '541', '561', '611', '621', '623', '624', '711', + '713', '722', '811', '812', '813',] + NAICS_5: ['1111', '1121', '2122', '2123', '3112', '3114', '3115', + '3118', '3119', '3121', '3141', '3219', '3221', '3222', + '3231', '3241', '3251', '3253', '3255', '3256', '3259', + '3261', '3262', '3273', '3279', '3314', '3315', '3323', + '3324', '3327', '3331', '3339', '3342', '3346', '3351', + '3352', '3359', '3361', '3363', '3371', '3399', '5111', + '5112', '5191', '5241', '5416', '5419'] + NAICS_6: ['23', '21311', '31111', '31122', '31151', '31161', '32229', + '32311', '32412', '3252', '3254', '32799', '33131', + '33141', '33211', '33291', '33299', '33311', '33324', + '33331', '33341', '33351', '33361', '33391', '33399', + '33411', '33441', '33451', '33522', '33531', '33591', + '33599', '33611', '33621', '33641', '33661', '33699', + '33712', '33721', '33911', '51731', '52411', '54151', + '562', '72251','92', 'F010'] + +target_naics_year: 2017 +# This schema was created for 2017 NAICS but should also work for the schema +# for the 2012 tables using 2012 NAICS diff --git a/flowsa/methods/flowbysectormethods/Water_common.yaml b/flowsa/methods/flowbysectormethods/Water_common.yaml index 0a46a982d..26d7e0e6b 100644 --- a/flowsa/methods/flowbysectormethods/Water_common.yaml +++ b/flowsa/methods/flowbysectormethods/Water_common.yaml @@ -15,7 +15,7 @@ sources_to_cache: USDA_IWMS: industry_spec: default: NAICS_6 - NAICS_7: ['111150', '111199', '111940'] # hay and haylage set to NAICS7 - will update to NAICS6 + NAICS_7: ['1114', '111150', '111199', '111940'] # hay and haylage set to NAICS7 - will update to NAICS6 geoscale: state # year: 2018 # specify in year-specific yaml selection_fields: @@ -60,7 +60,7 @@ source_names: clean_fba_before_activity_sets: !script_function:USGS_NWIS_WU usgs_fba_data_cleanup activity_sets: - direct_attribution: + equal_attribution: selection_fields: PrimaryActivity: - "Aquaculture" @@ -68,7 +68,7 @@ source_names: - "Public Supply" - "Thermoelectric Power" - "Domestic" - attribution_method: direct + attribution_method: equal employment_attribution: @@ -85,7 +85,7 @@ source_names: cropland_attribution: industry_spec: default: NAICS_6 - NAICS_7: ['111150', '111199'] + NAICS_7: ['1114', '111150', '111199'] selection_fields: PrimaryActivity: "Irrigation Crop" attribution_method: proportional @@ -125,6 +125,7 @@ source_names: '11233', '11234', '11239', '1124', '11241', '11242', '1129', '11291', '11292', '11293', '11299'] + attribution_method: equal - attribution_method: multiplication attribution_source: USDA_IWMS cropland_attribution-cropland: @@ -142,6 +143,7 @@ source_names: FlowName: - "AG LAND, CROPLAND, HARVESTED" estimate_suppressed: !clean_function:flowbyclean estimate_suppressed_sectors_equal_attribution + attribution_method: equal - attribution_method: multiplication attribution_source: USDA_IWMS cropland_attribution-orchards: @@ -149,7 +151,7 @@ source_names: PrimaryActivity: ORCHARDS attribute: # first directly attribute so orchards are equally attributed to related sectors - - attribution_method: direct + - attribution_method: equal - attribution_method: multiplication attribution_source: USDA_IWMS diff --git a/flowsa/methods/flowbysectormethods/Water_national_2010_m1.yaml b/flowsa/methods/flowbysectormethods/Water_national_2010_m1.yaml index 0ecd0dfc1..9c8e32243 100644 --- a/flowsa/methods/flowbysectormethods/Water_national_2010_m1.yaml +++ b/flowsa/methods/flowbysectormethods/Water_national_2010_m1.yaml @@ -16,8 +16,8 @@ source_names: USGS_NWIS_WU: !include:Water_common.yaml:source_names:USGS_NWIS_WU activity_sets: # do not import all activity sets from the common file because common file contains activity sets for multiple methods - direct_attribution: - !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:direct_attribution + equal_attribution: + !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:equal_attribution employment_attribution: !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:employment_attribution attribution_method: proportional diff --git a/flowsa/methods/flowbysectormethods/Water_national_2015_m1.yaml b/flowsa/methods/flowbysectormethods/Water_national_2015_m1.yaml index 6f6ea0694..fb4945845 100644 --- a/flowsa/methods/flowbysectormethods/Water_national_2015_m1.yaml +++ b/flowsa/methods/flowbysectormethods/Water_national_2015_m1.yaml @@ -16,8 +16,8 @@ source_names: USGS_NWIS_WU: !include:Water_common.yaml:source_names:USGS_NWIS_WU activity_sets: # do not import all activity sets from the common file because common file contains activity sets for multiple methods - direct_attribution: - !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:direct_attribution + equal_attribution: + !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:equal_attribution employment_attribution: !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:employment_attribution attribution_method: proportional diff --git a/flowsa/methods/flowbysectormethods/Water_state_2015_m1.yaml b/flowsa/methods/flowbysectormethods/Water_state_2015_m1.yaml index 61fb0f41b..4df4ae1bd 100644 --- a/flowsa/methods/flowbysectormethods/Water_state_2015_m1.yaml +++ b/flowsa/methods/flowbysectormethods/Water_state_2015_m1.yaml @@ -14,8 +14,8 @@ source_names: USGS_NWIS_WU: !include:Water_common.yaml:source_names:USGS_NWIS_WU activity_sets: # do not import all activity sets from the common file because common file contains activity sets for multiple methods - direct_attribution: - !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:direct_attribution + equal_attribution: + !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:equal_attribution employment_attribution: !include:Water_common.yaml:source_names:USGS_NWIS_WU:activity_sets:employment_attribution # First attribute employment FBS to NAICS6 and aggregate to NAICS3/4 diff --git a/flowsa/methods/method_status.yaml b/flowsa/methods/method_status.yaml index d89af79c3..9006c611f 100644 --- a/flowsa/methods/method_status.yaml +++ b/flowsa/methods/method_status.yaml @@ -1,72 +1,6 @@ ## List of current inactive method files # FlowByActivity - -USGS_MYB_Barite: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Gallium: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Gypsum: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_IronOre: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Kyanite: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Mica: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Niobium: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Phosphate: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Potash: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_SandGravelIndustrial: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_StoneCrushed: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Vermiculite: - Active: False - Status: Error in source data links - Type: HTTPError - -USGS_MYB_Zeolites: - Active: False - Status: Error in source data links - Type: HTTPError - BTS_Airlines: Active: True Status: Private data @@ -87,6 +21,27 @@ EPA_NEI_Nonpoint: Status: Max retries exceeded with url - Certificate verify failed Type: SSLError +EPA_SIT: + Active: True + Status: Private data + Type: FileNotFoundError + +StateGHGI_ME: + Active: True + Status: Private data + Type: FileNotFoundError + +StateGHGI_NY: + Active: True + Status: Private data + Type: FileNotFoundError + +StateGHGI_VT: + Active: True + Status: Private data + Type: FileNotFoundError + + # Flow By Sectors CAP_HAP_national_2017_m2: Active: True diff --git a/flowsa/validation.py b/flowsa/validation.py index 956562677..904aa21a3 100644 --- a/flowsa/validation.py +++ b/flowsa/validation.py @@ -471,7 +471,7 @@ def compare_geographic_totals( subnational_geoscale = (subnational_geoscale or attr['allocation_from_scale']) if len(df_m_sub) == 0: - vlog.info(f'No data loss greater than 1%% between national ' + vlog.info(f'No data loss greater than 1% between national ' f'level data and {subnational_geoscale} subset') else: vlog.info(f'There are data differences between published national ' diff --git a/requirements.txt b/requirements.txt index 7a3b5c6e9..328495759 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ kaleido == 0.2.0; platform_system=="Linux" or platform_system=="Darwin" matplotlib >= 3.4.3 # Plotting numpy>=1.20.1 # Library used for arrays openpyxl >= 3.0.7 # Extract data from xlsm files -pandas>=1.4.0, <2.1.0 # Powerful data structures for data analysis, time series, and statistics. +pandas>=1.4.0, <2.1.0 # Powerful data structures for data analysis, time series, and statistics. pip>=9 # The PyPA recommended tool for installing Python packages. plotly >= 5.10.0 # Plotting pycountry >= 19.8.18 # ISO country codes diff --git a/scripts/AEOseriesIDs.py b/scripts/AEOseriesIDs.py deleted file mode 100644 index 4279bf024..000000000 --- a/scripts/AEOseriesIDs.py +++ /dev/null @@ -1,93 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Thu May 5 14:43:34 2022 - -@author: EBell - - -""" - -import requests -import pandas as pd -from flowsa.settings import externaldatapath - -def getAEOseriesIDs(): - """ - Generates a crosswalk of U.S. EIA Annual Energy Outlook (AEO) series IDs, - based on a list of category IDs corresponding to Tables in the AEO. - """ - - api_key = 'YOUR_API_KEY' - - # category IDs are based on AEO > 2022 > Reference > Energy Consumption data - # from the API Query Browser: https://www.eia.gov/opendata/qb.php - table_dict = { - 'Table 2' : 4435477, - 'Table 4' : 4435487, - 'Table 5' : 4435488, - 'Table 6' : 4435489, - 'Table 7' : 4435490, - 'Table 24' : 4442186, - 'Table 25' : 4442187, - 'Table 26' : 4442188, - 'Table 27' : 4442189, - 'Table 28' : 4442190, - 'Table 29' : 4442191, - 'Table 30' : 4442192, - 'Table 31' : 4442193, - 'Table 32' : 4442194, - 'Table 33' : 4442195, - 'Table 34' : 4442196, - } - - # list of units to retain - # we are only interested in data with energy units - keep_units = { - 'quads', - 'trillion Btu' - } - - df = pd.DataFrame() - - for table in table_dict: - - print(table) - - # retrieve category ID - category_ID = table_dict[table] - - # generate url - category_query_url = (f'https://api.eia.gov/category/?api_key={api_key}' - f'&category_id={category_ID}' - f'&out=json') - - # retrieve data from url - r = requests.get(category_query_url) - json = r.json() - - # create dataframe from json - df0 = pd.DataFrame(json['category']['childseries']) - - # drop unwanted columns - df0 = df0.drop(['f','updated'], axis=1) - - # add table name - df0['table_name'] = json['category']['name'] - - # retain only those lines with certain units - df0 = df0[df0['units'].isin(keep_units)] - - # concatenate with master dataframe - df = pd.concat([df,df0]) - - # rename columns - df.rename(columns={'name':'series_name'}, inplace=True) - - # remove year from series names - df['series_id'] = df['series_id'].str.replace('2022','__year__') - - # reorder columns - df = df.reindex(columns=['table_name', 'series_name', 'units', 'series_id']) - - # save to csv - df.to_csv(f"{externaldatapath}/AEOseriesIDs.csv", index=False) \ No newline at end of file diff --git a/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USDA_IWMS.py b/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USDA_IWMS.py index 54a2b32f9..93de319ff 100644 --- a/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USDA_IWMS.py +++ b/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USDA_IWMS.py @@ -37,31 +37,11 @@ def assign_naics(df): df.loc[df['Activity'] == 'COTTON', 'Sector'] = '11192' # a number of naics are the generalized "crops, other", so manually add each row - # tobacco farming - df.loc[df['Activity'] == 'CROPS, OTHER', 'Sector'] = '11191' - # sugarcane farming - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'CROPS, OTHER', 'NAICS_2012_Code', '11193']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # oilseed (except soybean) farming - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'CROPS, OTHER', 'NAICS_2012_Code', '11112']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # SUGARBEETS - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'CROPS, OTHER', 'NAICS_2012_Code', '111991']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'CROPS, OTHER', 'NAICS_2012_Code', '111998']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) + # tobacco farming, sugarcane farming, oilseed (except soybean) farming, + # sugarbeets + df.loc[df['Activity'] == 'CROPS, OTHER', + 'Sector'] = pd.Series([['11191', '11193', '11112', '111991', '111998' + ]]*df.shape[0]) df.loc[df['Activity'] == 'HAY & HAYLAGE, (EXCL ALFALFA)', 'Sector'] = '111940A' df.loc[df['Activity'] == 'HAY & HAYLAGE, ALFALFA', 'Sector'] = '111940B' @@ -70,101 +50,28 @@ def assign_naics(df): df.loc[df['Activity'] == 'PASTURELAND', 'Sector'] = '112' - # aggregates to fruit and tree nut farming: 1113 - df.loc[df['Activity'] == 'ORCHARDS', 'Sector'] = '111331' - df = df.append( - pd.DataFrame([['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '111332']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'] - ), ignore_index=True, sort=True) - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '111333']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'] - )], ignore_index=True, sort=True) - - df.loc[df['Activity'] == 'BERRY TOTALS', 'Sector'] = '111334' - - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '111335']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'] - )], ignore_index=True, sort=True) - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '111336']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'] - )], ignore_index=True, sort=True) - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '111339']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'] - )], ignore_index=True, sort=True) - # orange groves - df = pd.concat([df, pd.DataFrame( - [['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '11131']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', - 'Sector'])], ignore_index=True, sort=True) - # citrus except orange groves - df = pd.concat([df, pd.DataFrame( - [['USDA_IWMS', 'ORCHARDS', 'NAICS_2012_Code', '11132']], - columns=['ActivitySourceName', 'Activity', 'SectorSourceName', - 'Sector'])], ignore_index=True, sort=True) + # aggregates to fruit and tree nut farming: 1113, orange groves, citrus except orange groves + df.loc[df['Activity'] == 'ORCHARDS', 'Sector'] = pd.Series( + [['111331', '111332', '111335', '111336', '111339', + '11131', '11132']]*df.shape[0]) + + df.loc[df['Activity'] == 'BERRY TOTALS', 'Sector'] = pd.Series([[ + '111333', '111334']]*df.shape[0]) df.loc[df['Activity'] == 'PEANUTS', 'Sector'] = '111992' df.loc[df['Activity'] == 'RICE', 'Sector'] = '11116' # seven types of other small grains, so manually add 6 rows - # BARLEY - df.loc[df['Activity'] == 'SMALL GRAINS, OTHER', 'Sector'] = '111199A' - # BUCKWHEAT - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199B']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # MILLET, PROSO - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199C']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # OATS - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199D']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # RYE - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199E']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # TRITICALE - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199I']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # WILD RICE - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SMALL GRAINS, OTHER', 'NAICS_2012_Code', '111199J']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) + # BARLEY, BUCKWHEAT, MILLET, PROSO, OATS, RYE, TRITICALE, WILD RICE + df.loc[df['Activity'] == 'SMALL GRAINS, OTHER', 'Sector'] = pd.Series([[ + '111199A', '111199B', '111199C', '111199D', '111199E', '111199I', + '111199J']]*df.shape[0]) # three types of sorghum, so manually add two rows - # grain - df.loc[df['Activity'] == 'SORGHUM, GRAIN', 'Sector'] = '111199F' - # syrup - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SORGHUM, GRAIN', 'NAICS_2012_Code', '111199G']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) - # silage - df = pd.concat([df, - pd.DataFrame([['USDA_IWMS', 'SORGHUM, GRAIN', 'NAICS_2012_Code', '111199H']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True, sort=True) + # grain, syrup, silage + df.loc[df['Activity'] == 'SORGHUM, GRAIN', 'Sector'] = pd.Series([[ + '111199F', '111199G', '111199H']]*df.shape[0]) df.loc[df['Activity'] == 'SOYBEANS', 'Sector'] = '11111' @@ -172,10 +79,8 @@ def assign_naics(df): df.loc[df['Activity'] == 'WHEAT', 'Sector'] = '11114' - # df.loc[df['Activity'] == 'LETTUCE', 'Sector'] = '' - # df.loc[df['Activity'] == 'POTATOES', 'Sector'] = '' - # df.loc[df['Activity'] == 'SWEET CORN', 'Sector'] = '' - # df.loc[df['Activity'] == 'TOMATOES', 'Sector'] = '' + # explode so each sector is on separate line + df = df.explode('Sector') return df diff --git a/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USGS_WU_Coef.py b/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USGS_WU_Coef.py index ba5dc0bfc..a333d446c 100644 --- a/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USGS_WU_Coef.py +++ b/scripts/FlowByActivity_Crosswalks/write_Crosswalk_USGS_WU_Coef.py @@ -26,7 +26,7 @@ def assign_naics(df): # cattle ranching and farming: 1121 # beef cattle ranching and farming including feedlots: 11211 df.loc[df['Activity'] == 'Beef and other cattle, including calves', - 'Sector'] = '11211' + 'Sector'] = pd.Series([['11211', '11213']]*df.shape[0]) # dairy cattle and milk production: 11212 df.loc[df['Activity'] == 'Dairy cows', 'Sector'] = '11212' # hog and pig farming: 1122 @@ -35,20 +35,16 @@ def assign_naics(df): # chicken egg production: 11231 df.loc[df['Activity'] == 'Laying hens', 'Sector'] = '11231' # broilers and other meat-type chicken production: 11232 - df.loc[df['Activity'] == 'Broilers and other chickens', 'Sector'] = '11232' + df.loc[df['Activity'] == 'Broilers and other chickens', + 'Sector'] = pd.Series([['11232', '11239', '11293']]*df.shape[0]) # turkey production: 11233 df.loc[df['Activity'] == 'Turkeys', 'Sector'] = '11233' # poultry hatcheries: 11234 - # other poultry production: 11239, manually add row - df = pd.concat([df, - pd.DataFrame([['USGS_WU_Coef', 'Broilers and other chickens', - 'NAICS_2012_Code', '11239']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True) + # # other poultry production: 11239 # sheep and goat farming: 1124 # sheep farming: 11241 - df.loc[df['Activity'] == 'Sheep and lambs', 'Sector'] = '11241' + df.loc[df['Activity'] == 'Sheep and lambs', + 'Sector'] = pd.Series([['11241', '11299']]*df.shape[0]) # goat farming: 11242 df.loc[df['Activity'] == 'Goats', 'Sector'] = '11242' # animal aquaculture: 1125 @@ -57,18 +53,11 @@ def assign_naics(df): # horse and other equine production: 11292 df.loc[df['Activity'] == 'Horses (including ponies, mules, burrows, ' \ 'and donkeys)', 'Sector'] = '11292' - # fur-bearing animal and rabbit production: 11293, manually add row - df = pd.concat([df, - pd.DataFrame([['USGS_WU_Coef', 'Broilers and other chickens', - 'NAICS_2012_Code', '11293']], - columns=['ActivitySourceName', 'Activity', - 'SectorSourceName', 'Sector'])], - ignore_index=True) - # all other animal production: 11299, manually add row - df = pd.concat([df, pd.DataFrame([['USGS_WU_Coef', 'Sheep and lambs', - 'NAICS_2012_Code', '11299']], columns=[ - 'ActivitySourceName', 'Activity', 'SectorSourceName', 'Sector'])], - ignore_index=True) + # fur-bearing animal and rabbit production: 11293 + # all other animal production: 11299 + + # explode so each sector is on separate line + df = df.explode('Sector') return df diff --git a/scripts/writeNAICScrosswalk.py b/scripts/writeNAICScrosswalk.py index 6d3803aad..4feccc455 100644 --- a/scripts/writeNAICScrosswalk.py +++ b/scripts/writeNAICScrosswalk.py @@ -266,21 +266,27 @@ def write_sector_name_crosswalk(): for y in ['2012', '2017']: # dictionary of new sector names new_sectors = pd.DataFrame( - {f"NAICS_{y}_Code": ['5622191', - '5622192', + {f"NAICS_{y}_Code": ['311119', '5622121', + '5622122', + '5622191', + '5622192', '5629201', - '311119' + '5629202', + '5629203' ], - f"NAICS_{y}_Name": ['Codigestion/Anaerobic Digestion', - 'Composting/Aerobic Processes', + f"NAICS_{y}_Name": ['Other Animal Food Manufacturing', 'MSW Landfill', + 'Industrial Waste Landfills', + 'Anaerobic Digestion', + 'MSW Composting', 'MSW Recycling', - 'Other Animal Food Manufacturing' + 'Mixed CDD MRFs', + 'Single material MRFs' ]}) # add new sector names to offical sector names - df = pd.concat([vars()[f'naics_{y}'], new_sectors]) + df = pd.concat([vars()[f'naics_{y}'], new_sectors], ignore_index=True) # # strip whitespaces df[f"NAICS_{y}_Name"] = df[f"NAICS_{y}_Name"].str.rstrip() # strip superscripts @@ -302,7 +308,7 @@ def write_sector_name_crosswalk(): "Name": f"NAICS_{y}_Name"}) .drop_duplicates() ) - df = pd.concat([df, cw]) + df = pd.concat([df, cw], ignore_index=True) # sort and save csv df = (df .sort_values(f"NAICS_{y}_Code") diff --git a/setup.py b/setup.py index 93798c315..19f429528 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='flowsa', - version='2.0.0', + version='2.0.1', packages=find_packages(), package_dir={'flowsa': 'flowsa'}, include_package_data=True,