Skip to content

State level gas price CI results check #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

aspeake
Copy link
Collaborator

@aspeake aspeake commented Aug 7, 2025

Revert convert_data/site_source_co2_conversions.json to align with master to isolate impact of site-source factors

jtlangevin and others added 5 commits August 5, 2025 16:02
* Modify the state_baseline_data_updater routine to pull EIA API’s state-level gas prices into an updated output (also with updated emissions factors and electricity prices for 2023).
* Modify converter.py to ensure the state-resolved gas prices are written to the final state emissions/price data (addresses issue #458).
* Modify ecm_prep to make use of the state-resolved gas price data and convert all energy and carbon price data from year they are read in with to the full year preceding the current year, which is the desired common year for all cost calculations. Adjust run module’s cost year conversion to reflect this change.
* Modify preamble of state_baseline_data_updater, converter, and cambium_updater to clarify how these files should be used in tandem to update all of the supporting emissions/price/site-source conversion/tsv data.
* Run suite of routines to update all emissions/price/site-source conversion/tsv data to the latest available sources.
* A few tweaks to converter.py to address some issues discovered when trying to make updates in previous bullet.
* When preparing emissions and cost data via converter.py, users may now specify bounding AEO scenarios that represent low gas/high electric or high gas/low electric price projections (current command line options: 'lowogs, lowmaclowZTC' or  'highogs, highmachighZTC').
* The data are generated and stored in new files in ./convert_data ending with `highelec_lowfossil` or `lowelec_highfossil`.
* ecm_prep utilizes these files when users specify a new option  that points to them and alternate grid decarbonization scenarios are not already specified (if they are, warn the user that  will be ignored.)

Addresses issue #489.
In converter.py, users now separately specify the AEO scenario to pull when updating electricity vs. fossil fuels. Handling of AEO2025 cases was also added.
In cambium_updater.py, new mapping data are imported that handle apparent reassignment of one of the BA regions (119) in Cambium 2024 to existing BA region 122. Handling of the Cambium 2024 MidCase data update was also added.
Additional adjustments as needed to respond to minor PR review suggestions.
Regenerate all the data that are touched by these scripts; data now reflect AEO2025 and Cambium 2024 (for MidCase).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants