Skip to content

feat(extract): extend EIA electric retail price span through 2025 - #1317

Open
bl-young wants to merge 1 commit into
mainfrom
by-eia-price-span
Open

bl-young wants to merge 1 commit into
mainfrom
by-eia-price-span

Conversation

@bl-young

@bl-young bl-young commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

cc:
Closes: #1207

What changed? Why?

The EIA Electric Power Annual extract uses the 2025 edition (calendar years 2015-2025), and CONTROLLED_YEARS includes 2025 so electric industry price levels follow EIA average retail through that year. Years after the span keep BEA year-to-year change on the EIA-based last year, with no seam at the last EIA year.

Impact

With electric_output_on_retail_revenue on, 2025 electric lines (221100, S00101, S00202) inflate on EIA retail; 2026 stays on BEA deltas from the EIA 2025 level, and nowcast SUT years remain 2017-2024.

Testing

Unit tests for the EIA utility adjustment and published price-index overlay; live check that overlaid 2025 equals 2017 BEA level times EIA retail relative to 2017, and 2026 equals BEA change on that EIA 2025 level.

uv run pytest bedrock/transform/iot/__tests__/test_eia_utility_go_adjustment.py bedrock/transform/iot/__tests__/test_publish_price_index.py -q

Review focus

  • Only the 2025 FBA (+ metadata) was uploaded to GCS; prior-year FBAs stay on the existing v0.2 stems.
  • HTTP refresh for the current edition hits unversioned xls/epa.zip while local/GCS cache stays epa-{edition_year}.zip.

Heads-up

GCS uploads are done: EIA_ElectricPowerAnnual_2025_v1.0.0_b7e98ac parquet + metadata under flowsa/FlowByActivity/, and epa-2025.zip under extract/input-data/EIA_ElectricPowerAnnual/. Re-run the failed test job after those objects landed.

Required follow-up for CEDA: republish and pin the Cornerstone price-index artifact for 2026Q2 so CEDA's EF dollar-year publish reads EIA retail for electric through 2025. Runtime overlay in bedrock is not enough for CEDA's pinned parquet path.

Point the Electric Power Annual extract at the 2025 edition and extend
CONTROLLED_YEARS so electric industry prices follow EIA retail through
2025; years after that span keep BEA change on the EIA-based last year.
@bl-young
bl-young marked this pull request as ready for review November 19, 2026 19:19

@WesIngwersen WesIngwersen 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.

Looks good just scanning it

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.

Extend EIA retail price span for electric industries beyond 2024

2 participants