Skip to content

Hold the services seed's AIES years on the SAS 2022 index, and move trucking's electricity on warehousing's (#1304) - #1306

Merged
WesIngwersen merged 1 commit into
mainfrom
services_seed_hold_aies
Nov 13, 2026
Merged

WesIngwersen merged 1 commit into
mainfrom
services_seed_hold_aies

Conversation

@WesIngwersen

Copy link
Copy Markdown
Member

Closes #1304 once the rebuild grades clean. The flag is off here; it goes on with a re-pin, as in #1302.

What this does

1. hold_services_seed_at_last_sas_year. With the chain across the survey change on (the default), 2023 already takes the SAS 2022 relative index. 2024 then moved on AIES 2024 against AIES 2023. With the flag, every AIES year takes the SAS 2022 index, so nothing moves from 2023 to 2024 in the services seed, and Step 5 sets each column's level as it does now.

That step isn't safe inside the AIES. For purchased electricity, 20 of 48 survey industries move from 2023 to 2024 further than in any single year of 2018-2022 (warehousing x3.7, legal services x0.53), and many industries' other items grow 40-80% in that one year, so the relative index divides by a bill that changes for reasons other than growth. Across all items, the step moves $162.9bn of seed cells in 2024, 2.4% of the block.

Electricity as a share of each 2024 seed column, today and held:

2017 2023 2024 today 2024 held
warehousing 3.47% 3.38% 5.75% 3.38%
truck transportation 1.92% 1.87% 2.66% 1.87%
equipment rental 0.88% 0.90% 1.79% 0.90%
scientific R&D 1.43% 1.08% 1.62% 1.08%
legal services 0.78% 0.78% 0.30% 0.78%
management consulting 1.41% 1.37% 0.65% 1.37%
software publishers 0.59% 0.36% 0.14% 0.36%

2. Trucking's electricity moves on warehousing's index (ELECTRICITY_PROXY_INDUSTRIES, same flag). Trucking's electricity is its terminals and depots, since its fleet isn't electrified. Its own survey item steps x1.5 from AIES 2023 to 2024.

The 2017 levels stay

Checked against CBECS 2012 and 2018 on kWh per worker, because warehouses are used for their space and labs are compact, so floor area can't compare them. BEA's 2017 bills at the 2017 commercial price (11.27 ¢/kWh), over QCEW 2017 private employees:

industry BEA kWh per worker CBECS building type CBECS 2018 BEA / CBECS
warehousing 15,283 all warehouses 13,107 1.17
truck transportation 17,394 all warehouses 13,107 1.33
scientific R&D 21,529 laboratory 29,183 0.74
general merchandise 18,967 retail and malls 20,342 0.93
hospitals 12,047 inpatient health care 17,504 0.69
legal, accounting, architecture, consulting 3,398 offices 6,941 0.49

Most commercial industries sit below their buildings because tenants' electricity is often in their rent and goes to the landlord. Warehousing and trucking sit above, so their 2017 values aren't low. CBECS prices these building types at 9.9-11.4 ¢/kWh, the commercial norm. Warehouse kWh per worker was stable from 2012 to 2018 (13,232 to 13,618) while floor space per worker rose 21%.

Tests

With the flag, the 2024 seed equals 2023, and trucking's electricity share moves with warehousing's.

Test rebuild

Run 43461231130 on the throwaway branch services_seed_hold_rebuild_check, this branch with the flag on in the nine v1.0 configs. Nothing is uploaded. Results go here when it finishes, along with the commercial delivery margins from #1305 on the new tables.

🤖 Generated with Claude Code

…dex, and move trucking's electricity on warehousing's (#1304)

Flag hold_services_seed_at_last_sas_year, off. From AIES 2023 to 2024,
purchased electricity moves beyond any SAS-era year in 20 of 48 survey
industries, and other items grow 40-80% in one year in many, so every AIES
year now takes the SAS 2022 relative index. Under the same flag, trucking's
electricity cell takes warehousing's electricity index: its electricity is
terminals and depots, not its fleet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WesIngwersen WesIngwersen self-assigned this Nov 13, 2026
@WesIngwersen
WesIngwersen added this pull request to stack #1310 November 13, 2026 17:04
WesIngwersen added a commit that referenced this pull request Nov 13, 2026
… --vintage (#1305)

The trucking-to-warehousing electricity mapping in #1306 applies in every
survey year, so 2022's tables differ slightly from fd271dc's. The base file
holds the 2022 inputs the basis moves on from, so it comes from the build
the stack will be pinned to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WesIngwersen
WesIngwersen marked this pull request as ready for review November 13, 2026 17:40
WesIngwersen added a commit that referenced this pull request Nov 13, 2026
…bcea with #1305

IV score, volatility, N_d volatility, driving factor and emissions after the
arrow now read the services seed hold (#1306) with commercial kWh divided on
survey electricity or other inputs (#1305). Cable, broadcasting, elementary
and secondary schools and securities brokerage drop to 0.200 or below and
leave the high-volatility table; none had an issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@bl-young bl-young left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stack review (flags-on read for #1306 + #1305) is on #1305: #1305 (review)

Approving this as the lower half of that stack; see that comment for the full notes.

@WesIngwersen
WesIngwersen merged commit 929b8df into main Nov 13, 2026
5 checks passed
@WesIngwersen
WesIngwersen deleted the services_seed_hold_aies branch November 13, 2026 20:09
WesIngwersen added a commit that referenced this pull request Nov 13, 2026
… --vintage (#1305)

The trucking-to-warehousing electricity mapping in #1306 applies in every
survey year, so 2022's tables differ slightly from fd271dc's. The base file
holds the 2022 inputs the basis moves on from, so it comes from the build
the stack will be pinned to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WesIngwersen added a commit that referenced this pull request Nov 13, 2026
…bcea with #1305

IV score, volatility, N_d volatility, driving factor and emissions after the
arrow now read the services seed hold (#1306) with commercial kWh divided on
survey electricity or other inputs (#1305). Cable, broadcasting, elementary
and secondary schools and securities brokerage drop to 0.200 or below and
leave the high-volatility table; none had an issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WesIngwersen added a commit that referenced this pull request Nov 13, 2026
…ills (#899, #705) (#1305)

* WIP: commercial kWh follow survey electricity or other inputs inside the split (#899, #705)

Flag commercial_kwh_follow_intermediate_inputs, off. Within the commercial
class of the generation and delivery split, each industry's kWh follow its
2017 bill moved on its survey electricity bill (chained at the 2023 survey
change) or else on its other intermediate inputs. Class kWh stay on EIA;
bills, other classes and the tables don't change. Buyers pinned on their own
series (data processing on LBNL) keep their kWh exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Commercial kWh: survey through 2022 only, then other inputs from 2022 (#899, #1304)

AIES 2024 against AIES 2023 moves purchased electricity beyond any SAS-era
year in 20 of 48 survey industries, so the basis reads the SAS through 2022
and moves each buyer's 2022 value on its other inputs after that. A buyer
whose survey electricity is withheld in any SAS year uses the inputs rule in
every year. Base years come from the model's own 2017 and 2022 tables
(commercial_electricity_base.csv), so 2017 is unchanged and 2022 has no step.
Buyers left out of the basis keep their kWh exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Trucking's commercial kWh take warehousing's survey path (#1304)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Commercial kWh base years from the v1.0.0_54dbcea build; writer takes --vintage (#1305)

The trucking-to-warehousing electricity mapping in #1306 applies in every
survey year, so 2022's tables differ slightly from fd271dc's. The base file
holds the 2022 inputs the basis moves on from, so it comes from the build
the stack will be pinned to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(B tracker): add N_d volatility, the volatility of the factor users get

IV_score.py now reports V_Nd, the same volatility formula on each
commodity's real N_d. The tracker page gets an N_d volatility column in all
three tables. V only sees a commodity's own emissions, so fixes to what
service sectors buy, electricity above all, show up in N_d and not in V.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(B tracker): current scores on the stack's test build, v1.0.0_54dbcea with #1305

IV score, volatility, N_d volatility, driving factor and emissions after the
arrow now read the services seed hold (#1306) with commercial kWh divided on
survey electricity or other inputs (#1305). Cable, broadcasting, elementary
and secondary schools and securities brokerage drop to 0.200 or below and
leave the high-volatility table; none had an issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(B tracker): N_d volatility reads initial -> current, the initial from the 5514c3b run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(config): the commercial kWh basis stops at SAS 2022 (#1305)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
bl-young added a commit that referenced this pull request Nov 14, 2026
…1164f (#1314)

* feat(config): turn on v1.0 holds for services seed, summary trade, commercial kWh

Enable hold_services_seed_at_last_sas_year, hold_imports_on_summary_groups,
condition_service_exports_on_summary, and commercial_kwh_follow_intermediate_inputs
on the nine v1.0 configs, and require the three Step 5-7 holds in the rebuild flag check.

* feat(config): pin v1.0 to CI rebuild v1.0.0_2b1164f

Retarget the nine v1.0 configs, 2024 balanced SUT and Cornerstone GHG
pins, and upstream FBS inputs to the rebuild from Actions run 43526965633.

* docs(analysis): move IV and B tracker currents to v1.0.0_2b1164f

Equal- and spend-weight IV on the flags-on pin rebuild; landfill drops
below 0.2 after calendar-2017 waste weights.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Services seed moves on AIES 2024 against AIES 2023, and that step is beyond the survey's range for many industries

2 participants