Add 2024 ATB Update Pipeline - #14
Open
Yunzhi-Chen wants to merge 72 commits into
Open
Conversation
Update Links
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…l/ReEDS_Input_Processing into yc/natural_gas_update
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…config.json" This reverts commit 92f0e8b.
…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.
…om AEO directly" This reverts commit 0e86670.
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
scraped_input holds raw ATB downloads (workbook, flat file). Battery costs are extracted from the workbook at runtime; battery_costs_2024.csv intermediate removed. Pre-release battery_costs_2025.csv is now local/gitignored.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
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
How to run
run_pipeline.pyruns offline against the committed history and never rewrites it. Use--only formatto generate CSVs without plots.To rebuild history from original sources:
python scripts/historical_data_scraper.py # --no-download to rebuild from cacheLogic
atb(archived release-minus-two anchors, 41 selections),real(observed project costs, 13),manual(versioned ReEDS baseline, 4), andbroadcast(first projection value held flat, 2).atb.csvholds only anchors, all satisfyingyear = ATB release − 2. The scraper verifies each workbook's own declared base year and raises on disagreement rather than assuming the offset.reeds_source.ref, so no local ReEDS clone is needed. A clone is still used for comparison baselines.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:
New ATB 2024 plots and the components:
New ATB 2024 vs current ReEDS 2024:
plot_comparison_2024.zip
Scope and open questions
atb-mode history.LLM usage
LLM tools assisted with implementation, documentation, debugging, and validation. Outputs were reviewed and tested against the current ReEDS inputs.