Skip to content

Add 2024 ATB Update Pipeline - #14

Open
Yunzhi-Chen wants to merge 75 commits into
mainfrom
yc/24ATB
Open

Yunzhi-Chen wants to merge 75 commits into
mainfrom
yc/24ATB

Conversation

@Yunzhi-Chen

@Yunzhi-Chen Yunzhi-Chen commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a workflow that converts corrected ATB 2024 data into ReEDS-compatible inputs. It downloads, formats, plots, and validates ATB data, fills historical years from an explicitly configured source, optionally smooths future years, and produces before/after plots for review.

Structure

atb/
├── config.yaml            # all user choices; validated by config.schema.json
├── scripts/               # pipeline (13 modules)
├── historical/            # prepared history, committed — atb.csv, real.csv, manual.csv
├── manual_input/          # projection-year config (CSP ratios, offshore multipliers, coal overrides)
├── scraped_input/         # raw download cache (git-ignored)
├── output/                # generated ReEDS inputs (git-ignored)
└── comparison/            # validation and before/after plots (git-ignored)

How to run

cd atb
python scripts/future_atb_scraper.py     # cache the ATB flat file and workbook
python scripts/run_pipeline.py           # format, plot, compare

run_pipeline.py runs offline against the committed history and never rewrites it. Use --only format to generate CSVs without plots.

To rebuild history from original sources:

python scripts/historical_data_scraper.py    # --no-download to rebuild from cache

Verification

With smoothing disabled and all metrics set to manual, the workflow reproduces the inputs ReEDS uses today. Of 32 files: 21 exact, 8 differing only by floating-point noise (≤1e-9 relative), 3 offshore files differing by up to 0.018% in the CF multiplier, consistent with a different ATB 2024 release than the pinned v3.0.0.

Sanity-check plots — smoothing off, manual history, vs current ReEDS:

sanity_check_2024.zip

New ATB 2024 plots for future years:

ATB2024-CAPEX ATB2024-Fixed O M ATB2024-Variable O M

New ATB 2024 plots and the components:

battery_ATB_2024_moderate biopower_ATB_2024_moderate coal_ATB_2024_moderate coal-ccs_ATB_2024_advanced coal-ccs_ATB_2024_conservative coal-ccs_ATB_2024_moderate csp_ATB_2024_advanced csp_ATB_2024_conservative csp_ATB_2024_moderate fuelcell_ATB_2024_advanced fuelcell_ATB_2024_moderate gas_ATB_2024_moderate gas-ccs_ATB_2024_advanced gas-ccs_ATB_2024_conservative gas-ccs_ATB_2024_moderate nuclear_ATB_2024_advanced nuclear_ATB_2024_conservative nuclear_ATB_2024_moderate nuclear-smr_ATB_2024_advanced nuclear-smr_ATB_2024_conservative nuclear-smr_ATB_2024_moderate ofs-wind_ATB_2024_advanced ofs-wind_ATB_2024_conservative ofs-wind_ATB_2024_moderate ons-wind_ATB_2024_advanced ons-wind_ATB_2024_conservative ons-wind_ATB_2024_moderate upv_ATB_2024_advanced upv_ATB_2024_conservative upv_ATB_2024_moderate battery_ATB_2024_advanced battery_ATB_2024_conservative

New ATB 2024 vs current ReEDS 2024:

plot_comparison_2024.zip

Scope and open questions

  • Geothermal is not generated;

LLM usage

LLM tools assisted with implementation, documentation, debugging, and validation. Outputs were reviewed and tested against the current ReEDS inputs.

kennedy-mindermann and others added 30 commits April 30, 2026 17:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ession/README.md

Co-authored-by: Wesley Cole <49044852+wesleyjcole@users.noreply.github.com>
Update AEO preprocessing to pull from AEO2026
This reverts commit c43c67f.
Add natural gas price regression pipeline
Remove highprice and lowprice since AEO 2026 does not have the two scenarios
Update natural gas regression parameters with AEO 2026 data
Fix formatting issues in README.md
@Yunzhi-Chen Yunzhi-Chen self-assigned this Aug 19, 2026
@Yunzhi-Chen
Yunzhi-Chen requested a review from bsergi September 2, 2026 22:04
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.

4 participants