New facility generation residual mix aggregation method#19
Merged
frankhanna94 merged 1 commit intodevelopmentfrom Jan 6, 2026
Merged
New facility generation residual mix aggregation method#19frankhanna94 merged 1 commit intodevelopmentfrom
frankhanna94 merged 1 commit intodevelopmentfrom
Conversation
Author
|
Comments on revisions of the new aggregation method:
Question should we report the excluded generation from the analysis? My initial thought is that the quantity is low (0.3%) and come mainly from Hawaii and Alaska, which, historically, are not under balancing authorities that ElectricityLCI monitors. I think this can go in to the documentation as a shortcoming, with a note of the potential implications. |
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.
The primary purpose of this PR is to provide a secondary method for state-level REC sales to aggregate to balancing authority level. Previous discussions mentioned the use of facility-level generation as a weighting factor.
This PR enables a secondary aggregation method (i.e., the 'gen' method) to partition state-based REC electricity generation using the fractional weights of electricity generating facilities found within the shared boundaries of each state and balancing authority area weighted by facility-level annual generation (as provided by the
build_generation_datafunction found in eia923_generation.py).A summary of the changes include:
REM_WEIGHT_METHODS, now includes two option (i.e., 'count' and 'gen').agg_by_gen, is introduced in residual_grid_mix.pyThe 'count' and 'gen' methods were compared using the CSV output files (i.e., from setting the "output_residual_mix" configuration parameter to "true"). On average, the relative differences are small (e.g., less than 4%). In some instances, relative fuel mixes change 100% (i.e., are up from 0% to some small fraction). Regions demonstrating moderate differences include:
An example of the comparison is provided in the image below (created using this Excel workbook on NETL EDX).