Repository navigation
feat(nowcast): observed generation price from EIA-861 sales for resale - #1220
Open
WesIngwersen wants to merge 2 commits into
Open
WesIngwersen wants to merge 2 commits into
WesIngwersen wants to merge 2 commits into
Conversation
#1215) Co-Authored-By: Claude Opus 5.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.
Closes #1215. Stacked on #1219. Part of the plan in #902.
Adds
generation_price(year): one price per kWh generated, from EIA-861 sales for resale (revenue over MWh, through PUDL). It replaces a price derived from the electricity row's dollar total, which moved with the same bills it divides.buyers_belowlists buyers paying less than this price. Nothing in the model reads either yet, so no output changes.The series
Revenue less generation shows the size of the delivery margin before losses, on EIA's level. Bills are higher than EIA revenue, so
42ELECwill be larger.Decision for #902: buyers below the generation price
These industries have a negative margin in 2021-22:
3112214.88,3314105.00,3311105.18,3251805.24,3313135.51,3251105.593112215.42,3314105.86,3311106.02,3251806.22Large industrial contracts don't follow the annual wholesale average, and retail rates lag wholesale. Options, for #902 to decide:
p_gen. Fewer negatives and steadier margins, but less observed in any one year.Limits
Checks
Unit tests are synthetic and need no data.
black,ruffandmypyare clean on these files. The real-data results above came from a local run. The suite is left to CI.🤖 Generated with Claude Code