Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b8453af
fix: clip negatives on a copy, not the cached input (#1270)
WesIngwersen Nov 12, 2026
871eb2e
fix(nab): move BEA's negative intermediate entries to final demand (#…
WesIngwersen Nov 12, 2026
014f03f
feat(publish): F09000 column for sales BEA records as negative purcha…
WesIngwersen Nov 12, 2026
e950634
test: quote the balance with the F09000 sales in the xfail reason (#1…
WesIngwersen Nov 12, 2026
11440e0
feat(nab): scrap correction for the national balance (#1270)
WesIngwersen Nov 12, 2026
1540764
test(nab): leave BEA's accounting sectors out of q = L y, as USEEIO 2…
WesIngwersen Nov 12, 2026
c6acb8e
Revert the national-balance scrap correction (#1293)
WesIngwersen Nov 12, 2026
eed4e65
fix(eeio): don't divide market shares by 1 - s; x already excludes sc…
WesIngwersen Nov 12, 2026
569df82
feat(nowcast): anchor the computers family's exports on published 201…
WesIngwersen Nov 12, 2026
3734d6a
Merge main into fix_handle_negatives_copy
WesIngwersen Nov 12, 2026
0fc3793
Merge fix_handle_negatives_copy into nab_bea_negative_entries_to_fina…
WesIngwersen Nov 12, 2026
9122c1e
Merge nab_bea_negative_entries_to_final_demand into nab_scrap_correction
WesIngwersen Nov 12, 2026
4a24b47
Merge nab_scrap_correction into computers_exports_anchored
WesIngwersen Nov 12, 2026
9ecd027
fix(eeio): keep the scrap correction where x is BEA gross output (#1293)
WesIngwersen Nov 12, 2026
30a0e6b
Merge nab_scrap_correction into computers_exports_anchored
WesIngwersen Nov 12, 2026
6a9083e
fix(eeio): share a split industry's scrap by output; mock it in the B…
WesIngwersen Nov 12, 2026
789e3cb
Merge nab_scrap_correction into computers_exports_anchored
WesIngwersen Nov 12, 2026
1331e58
feat(nowcast): anchor the pharmaceutical family's exports on family g…
WesIngwersen Nov 13, 2026
146bdb0
fix(publish): F09000 on the reaggregated U, its sign in the name, and…
WesIngwersen Nov 13, 2026
30321c2
Merge nab_bea_negative_entries_to_final_demand into nab_scrap_correction
WesIngwersen Nov 13, 2026
760c83e
Merge nab_scrap_correction into computers_exports_anchored
WesIngwersen Nov 13, 2026
25db6d0
feat(nowcast): turn on trade_margin_receivers_follow_supply in the v1…
WesIngwersen Nov 13, 2026
fd271dc
Merge main into trade_margin_receivers_on
WesIngwersen Nov 13, 2026
5dd8fb5
Pin v1.0 to the CI rebuild v1.0.0_fd271dc (#1270, #1194)
WesIngwersen Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions bedrock/analysis/ghg_fbs_pin/upstream_inputs_pin.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,105 +5,105 @@
"methods": {
"GHG_national_Cornerstone_2017": {
"fbs": {
"Energy_manufacturing_national_nowcast_2017": "Energy_manufacturing_national_nowcast_2017_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2017": "Energy_highway_fuel_shares_national_2017_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2017": "Energy_industrial_distillate_national_2017_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2017": "Energy_manufacturing_national_nowcast_2017_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2017": "Energy_highway_fuel_shares_national_2017_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2017": "Energy_industrial_distillate_national_2017_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2017,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2018": {
"fbs": {
"Energy_manufacturing_national_nowcast_2018": "Energy_manufacturing_national_nowcast_2018_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2018": "Energy_highway_fuel_shares_national_2018_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2018": "Energy_industrial_distillate_national_2018_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2018": "Energy_manufacturing_national_nowcast_2018_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2018": "Energy_highway_fuel_shares_national_2018_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2018": "Energy_industrial_distillate_national_2018_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2018,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2019": {
"fbs": {
"Energy_manufacturing_national_nowcast_2019": "Energy_manufacturing_national_nowcast_2019_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2019": "Energy_highway_fuel_shares_national_2019_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2019": "Energy_industrial_distillate_national_2019_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2019": "Energy_manufacturing_national_nowcast_2019_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2019": "Energy_highway_fuel_shares_national_2019_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2019": "Energy_industrial_distillate_national_2019_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2019,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2020": {
"fbs": {
"Energy_manufacturing_national_nowcast_2020": "Energy_manufacturing_national_nowcast_2020_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2020": "Energy_highway_fuel_shares_national_2020_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2020": "Energy_industrial_distillate_national_2020_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2020": "Energy_manufacturing_national_nowcast_2020_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2020": "Energy_highway_fuel_shares_national_2020_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2020": "Energy_industrial_distillate_national_2020_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2020,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2021": {
"fbs": {
"Energy_manufacturing_national_nowcast_2021": "Energy_manufacturing_national_nowcast_2021_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2021": "Energy_highway_fuel_shares_national_2021_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2021": "Energy_industrial_distillate_national_2021_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2021": "Energy_manufacturing_national_nowcast_2021_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2021": "Energy_highway_fuel_shares_national_2021_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2021": "Energy_industrial_distillate_national_2021_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2021,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2022": {
"fbs": {
"Energy_manufacturing_national_nowcast_2022": "Energy_manufacturing_national_nowcast_2022_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2022": "Energy_highway_fuel_shares_national_2022_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2022": "Energy_industrial_distillate_national_2022_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2022": "Energy_manufacturing_national_nowcast_2022_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2022": "Energy_highway_fuel_shares_national_2022_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2022": "Energy_industrial_distillate_national_2022_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2022,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2023": {
"fbs": {
"Energy_manufacturing_national_nowcast_2023": "Energy_manufacturing_national_nowcast_2023_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2023": "Energy_highway_fuel_shares_national_2023_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2023": "Energy_industrial_distillate_national_2023_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2023": "Energy_manufacturing_national_nowcast_2023_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2023": "Energy_highway_fuel_shares_national_2023_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2023": "Energy_industrial_distillate_national_2023_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2023,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
},
"GHG_national_Cornerstone_2024": {
"fbs": {
"Energy_manufacturing_national_nowcast_2024": "Energy_manufacturing_national_nowcast_2024_v1.0.0_8365fa4.parquet",
"Energy_highway_fuel_shares_national_2024": "Energy_highway_fuel_shares_national_2024_v1.0.0_8365fa4.parquet",
"Energy_industrial_distillate_national_2024": "Energy_industrial_distillate_national_2024_v1.0.0_8365fa4.parquet"
"Energy_manufacturing_national_nowcast_2024": "Energy_manufacturing_national_nowcast_2024_v1.0.0_fd271dc.parquet",
"Energy_highway_fuel_shares_national_2024": "Energy_highway_fuel_shares_national_2024_v1.0.0_fd271dc.parquet",
"Energy_industrial_distillate_national_2024": "Energy_industrial_distillate_national_2024_v1.0.0_fd271dc.parquet"
},
"nowcast_mut": {
"year": 2024,
"stage": "after",
"vintage": "v1.0.0_8365fa4",
"vintage": "v1.0.0_fd271dc",
"tables": ["Make", "Use", "Import", "Margins"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion bedrock/analysis/nowcasting/utilities_expense_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
#: PUDL release and revises past years (``v2026.8.0`` to the November release
#: moved 2024 fuel cost +0.09% and 2016-2024 resale revenue +0.02-0.05%), so
#: the balanced SUT pin could not be rebuilt in CI. ``v2026.8.0`` is what
#: ``v1.0.0_8365fa4`` was built on; move it only with a rebuild and re-pin.
#: ``v1.0.0_fd271dc`` was built on; move it only with a rebuild and re-pin.
PUDL = 'https://s3.us-west-2.amazonaws.com/pudl.catalyst.coop/v2026.8.0'

#: EIA form 923, every fuel receipt at every reporting power plant, 2008-2024,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
#: Constant-dollar year for real B/N (and default normalization year).
DOLLAR_YEAR = 2017

FBS_VINTAGE = 'v1.0.0_8365fa4'
MUT_VINTAGE = 'v1.0.0_8365fa4'
FBS_VINTAGE = 'v1.0.0_fd271dc'
MUT_VINTAGE = 'v1.0.0_fd271dc'
#: Year-stem GHG FBS basename template (matches ``2026_usa_cornerstone_v1_0_{year}``).
FBS_STEM = 'GHG_national_Cornerstone_{year}'

Expand Down
11 changes: 6 additions & 5 deletions bedrock/utils/config/__tests__/test_usa_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def test_v1_0_yearly_yamls_load(year: int) -> None:
electricity flags its MUT was built with and the delivery sector.

Named ``2026_usa_cornerstone_v1_0_{year}``. Each member pins
``GHG_national_Cornerstone_{year}_v1.0.0_8365fa4``. The unsuffixed
``GHG_national_Cornerstone_{year}_v1.0.0_fd271dc``. The unsuffixed
``2026_usa_cornerstone_v1_0`` (live ``CANONICAL_USA_CONFIG``) matches
the 2024 series member. ``2025_usa_cornerstone_v0_6`` keeps the
facilities-transportation 2024 pin for the v0.6 release / waterfall FINAL.
Expand All @@ -444,9 +444,9 @@ def test_v1_0_yearly_yamls_load(year: int) -> None:
assert not cfg.deflate_x_to_detail_io_year_for_B
assert cfg.bea_price_index_vintage == '2026Q2'
assert cfg.cornerstone_ghg_fbs_filename == (
f'GHG_national_Cornerstone_{year}_v1.0.0_8365fa4.parquet'
f'GHG_national_Cornerstone_{year}_v1.0.0_fd271dc.parquet'
)
assert cfg.nowcast_mut_vintage == 'v1.0.0_8365fa4'
assert cfg.nowcast_mut_vintage == 'v1.0.0_fd271dc'
electricity_flags = {
'electric_output_on_retail_revenue',
'electricity_accounting_residual',
Expand All @@ -457,7 +457,7 @@ def test_v1_0_yearly_yamls_load(year: int) -> None:
'electricity_delivery_margin',
}
assert all(getattr(cfg, flag) for flag in electricity_flags)
# Fixes merged 2026-11-10 and 11-11, rebuilt in v1.0.0_8365fa4 (#1249).
# Fixes merged 2026-11-10 and 11-11, rebuilt in v1.0.0_fd271dc (#1249).
rebuild_flags = {
'fill_withheld_aies_codes',
'hold_aies_outliers_on_bea',
Expand All @@ -466,6 +466,7 @@ def test_v1_0_yearly_yamls_load(year: int) -> None:
'cap_margins_at_purchase',
'pin_refinery_secondaries_at_go_mix',
'air_margin_on_aies_level',
'trade_margin_receivers_follow_supply',
}
assert all(getattr(cfg, flag) for flag in rebuild_flags)

Expand Down Expand Up @@ -502,7 +503,7 @@ def test_v1_0_release_yaml_matches_2024_series_member() -> None:
y2024 = _load_usa_config_from_file_name('2026_usa_cornerstone_v1_0_2024.yaml')
assert base.model_dump() == y2024.model_dump()
assert base.cornerstone_ghg_fbs_filename == (
'GHG_national_Cornerstone_2024_v1.0.0_8365fa4.parquet'
'GHG_national_Cornerstone_2024_v1.0.0_fd271dc.parquet'
)
set_global_usa_config('2026_usa_cornerstone_v1_0.yaml')
assert _select_cornerstone_ghg_fbs_base_name() == 'GHG_national_Cornerstone_2024'
Expand Down
11 changes: 7 additions & 4 deletions bedrock/utils/config/configs/2026_usa_cornerstone_v1_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Unsuffixed family release for calendar year 2024. Same resolved fields as
# 2026_usa_cornerstone_v1_0_2024 (the series member). Detail MUT is the
# after-redefinition build named by nowcast_mut_vintage: v1.0.0_8365fa4, the
# after-redefinition build named by nowcast_mut_vintage: v1.0.0_fd271dc, the
# 2017-2024 rebuild on the 2026 BEA annual update with electric output on EIA's
# 2017 level and the 2026-11-10 fixes below (#1249). bea_price_index_vintage
# 2026Q2 is the index those tables were built with. The GHG loader returns
Expand All @@ -22,15 +22,15 @@ iot_before_or_after_redefinition: after
# Data selection
#####
usa_detail_io_source: nowcast
nowcast_mut_vintage: 'v1.0.0_8365fa4'
nowcast_mut_vintage: 'v1.0.0_fd271dc'
usa_base_io_data_year: 2024
usa_ghg_data_year: 2024
bea_price_index_vintage: '2026Q2'

#####
# Methodology selection
#####
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2024_v1.0.0_8365fa4.parquet
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2024_v1.0.0_fd271dc.parquet
apply_io_year_adjustments: False
implement_waste_disaggregation: True
waste_weights_year: match_io
Expand All @@ -47,7 +47,7 @@ hold_electric_gas_on_eia: True
# applied after Step 7.
electric_output_on_eia_level: True
electricity_delivery_margin: True
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_8365fa4 (#1249).
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_fd271dc (#1249).
# AIES output chain (#1231): withheld codes, 325190 on BEA, gas distribution.
fill_withheld_aies_codes: True
hold_aies_outliers_on_bea: True
Expand All @@ -60,3 +60,6 @@ cap_margins_at_purchase: True
pin_refinery_secondaries_at_go_mix: True
# Air freight revenue at the AIES level from 2023 (#1251, #1274).
air_margin_on_aies_level: True
# Spread each year's trade margin over the goods by their own supply, not by
# frozen 2017 shares (#1194, #1260).
trade_margin_receivers_follow_supply: True
14 changes: 9 additions & 5 deletions bedrock/utils/config/configs/2026_usa_cornerstone_v1_0_2017.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Cornerstone 2026 model - v1.0, calendar year 2017.
#
# Same methodology as 2026_usa_cornerstone_v1_0 for year 2017.
# nowcast_mut_vintage v1.0.0_8365fa4 is the 2017-2024 rebuild on the 2026 BEA
# nowcast_mut_vintage v1.0.0_fd271dc is the 2017-2024 rebuild on the 2026 BEA
# annual update, with electric output on EIA's 2017 level and the 2026-11-10
# fixes below (#1249).
# fixes below (#1249), the balance and export fixes of 11-12 (#1270, #1293)
# and the trade margin receivers (#1194).
# bea_price_index_vintage 2026Q2 is the index those tables were built with. The
# GHG loader returns GHG_national_Cornerstone_2017.
# cornerstone_ghg_fbs_filename names the GCS object loaded for E. When
Expand All @@ -21,15 +22,15 @@ iot_before_or_after_redefinition: after
# Data selection
#####
usa_detail_io_source: nowcast
nowcast_mut_vintage: 'v1.0.0_8365fa4'
nowcast_mut_vintage: 'v1.0.0_fd271dc'
usa_base_io_data_year: 2017
usa_ghg_data_year: 2017
bea_price_index_vintage: '2026Q2'

#####
# Methodology selection
#####
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2017_v1.0.0_8365fa4.parquet
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2017_v1.0.0_fd271dc.parquet
apply_io_year_adjustments: False
implement_waste_disaggregation: True
waste_weights_year: match_io
Expand All @@ -46,7 +47,7 @@ hold_electric_gas_on_eia: True
# applied after Step 7.
electric_output_on_eia_level: True
electricity_delivery_margin: True
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_8365fa4 (#1249).
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_fd271dc (#1249).
# AIES output chain (#1231): withheld codes, 325190 on BEA, gas distribution.
fill_withheld_aies_codes: True
hold_aies_outliers_on_bea: True
Expand All @@ -59,3 +60,6 @@ cap_margins_at_purchase: True
pin_refinery_secondaries_at_go_mix: True
# Air freight revenue at the AIES level from 2023 (#1251, #1274).
air_margin_on_aies_level: True
# Spread each year's trade margin over the goods by their own supply, not by
# frozen 2017 shares (#1194, #1260).
trade_margin_receivers_follow_supply: True
14 changes: 9 additions & 5 deletions bedrock/utils/config/configs/2026_usa_cornerstone_v1_0_2018.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Cornerstone 2026 model - v1.0, calendar year 2018.
#
# Same methodology as 2026_usa_cornerstone_v1_0 for year 2018.
# nowcast_mut_vintage v1.0.0_8365fa4 is the 2017-2024 rebuild on the 2026 BEA
# nowcast_mut_vintage v1.0.0_fd271dc is the 2017-2024 rebuild on the 2026 BEA
# annual update, with electric output on EIA's 2017 level and the 2026-11-10
# fixes below (#1249).
# fixes below (#1249), the balance and export fixes of 11-12 (#1270, #1293)
# and the trade margin receivers (#1194).
# bea_price_index_vintage 2026Q2 is the index those tables were built with. The
# GHG loader returns GHG_national_Cornerstone_2018.
# cornerstone_ghg_fbs_filename names the GCS object loaded for E. When
Expand All @@ -21,15 +22,15 @@ iot_before_or_after_redefinition: after
# Data selection
#####
usa_detail_io_source: nowcast
nowcast_mut_vintage: 'v1.0.0_8365fa4'
nowcast_mut_vintage: 'v1.0.0_fd271dc'
usa_base_io_data_year: 2018
usa_ghg_data_year: 2018
bea_price_index_vintage: '2026Q2'

#####
# Methodology selection
#####
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2018_v1.0.0_8365fa4.parquet
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2018_v1.0.0_fd271dc.parquet
apply_io_year_adjustments: False
implement_waste_disaggregation: True
waste_weights_year: match_io
Expand All @@ -46,7 +47,7 @@ hold_electric_gas_on_eia: True
# applied after Step 7.
electric_output_on_eia_level: True
electricity_delivery_margin: True
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_8365fa4 (#1249).
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_fd271dc (#1249).
# AIES output chain (#1231): withheld codes, 325190 on BEA, gas distribution.
fill_withheld_aies_codes: True
hold_aies_outliers_on_bea: True
Expand All @@ -59,3 +60,6 @@ cap_margins_at_purchase: True
pin_refinery_secondaries_at_go_mix: True
# Air freight revenue at the AIES level from 2023 (#1251, #1274).
air_margin_on_aies_level: True
# Spread each year's trade margin over the goods by their own supply, not by
# frozen 2017 shares (#1194, #1260).
trade_margin_receivers_follow_supply: True
14 changes: 9 additions & 5 deletions bedrock/utils/config/configs/2026_usa_cornerstone_v1_0_2019.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Cornerstone 2026 model - v1.0, calendar year 2019.
#
# Same methodology as 2026_usa_cornerstone_v1_0 for year 2019.
# nowcast_mut_vintage v1.0.0_8365fa4 is the 2017-2024 rebuild on the 2026 BEA
# nowcast_mut_vintage v1.0.0_fd271dc is the 2017-2024 rebuild on the 2026 BEA
# annual update, with electric output on EIA's 2017 level and the 2026-11-10
# fixes below (#1249).
# fixes below (#1249), the balance and export fixes of 11-12 (#1270, #1293)
# and the trade margin receivers (#1194).
# bea_price_index_vintage 2026Q2 is the index those tables were built with. The
# GHG loader returns GHG_national_Cornerstone_2019.
# cornerstone_ghg_fbs_filename names the GCS object loaded for E. When
Expand All @@ -21,15 +22,15 @@ iot_before_or_after_redefinition: after
# Data selection
#####
usa_detail_io_source: nowcast
nowcast_mut_vintage: 'v1.0.0_8365fa4'
nowcast_mut_vintage: 'v1.0.0_fd271dc'
usa_base_io_data_year: 2019
usa_ghg_data_year: 2019
bea_price_index_vintage: '2026Q2'

#####
# Methodology selection
#####
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2019_v1.0.0_8365fa4.parquet
cornerstone_ghg_fbs_filename: GHG_national_Cornerstone_2019_v1.0.0_fd271dc.parquet
apply_io_year_adjustments: False
implement_waste_disaggregation: True
waste_weights_year: match_io
Expand All @@ -46,7 +47,7 @@ hold_electric_gas_on_eia: True
# applied after Step 7.
electric_output_on_eia_level: True
electricity_delivery_margin: True
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_8365fa4 (#1249).
# Fixes merged 2026-11-10, rebuilt together in v1.0.0_fd271dc (#1249).
# AIES output chain (#1231): withheld codes, 325190 on BEA, gas distribution.
fill_withheld_aies_codes: True
hold_aies_outliers_on_bea: True
Expand All @@ -59,3 +60,6 @@ cap_margins_at_purchase: True
pin_refinery_secondaries_at_go_mix: True
# Air freight revenue at the AIES level from 2023 (#1251, #1274).
air_margin_on_aies_level: True
# Spread each year's trade margin over the goods by their own supply, not by
# frozen 2017 shares (#1194, #1260).
trade_margin_receivers_follow_supply: True
Loading
Loading