singularity-energy / open-grid-emissions

Tools for producing high-quality hourly generation and emissions data for U.S. electric grids
MIT License
75 stars 5 forks source link

Fix bug where consumed.py did not have enough 930 hours at end of year #199

Closed gailin-p closed 2 years ago

gailin-p commented 2 years ago

Full run was failing when using 930 data cleaned by our own pipeline because we extended the range of hours to capture a full local time year. We now cut off the consumed calc at Jan 1, year + 1 + 9 hours, which gets us one hour past west coast end of year.

Also added an extra day of 930 cleaning for a buffer, but the code will work without re-running 930 cleaning.