Repository navigation
Hold the services seed's AIES years on the SAS 2022 index, and move trucking's electricity on warehousing's (#1304) - #1306
Merged
Conversation
…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
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
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
approved these changes
Nov 13, 2026
bl-young
left a comment
Member
There was a problem hiding this comment.
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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:
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