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

Gailin/update cems residual requirement #140

Closed gailin-p closed 2 years ago

gailin-p commented 2 years ago

The CEMS profile is currently the second-to-last option when filling residual profiles (after residual and scaled residual, before imputed). In some BA/fuel types, this was resulting in using a CEMS profile made up of only one plant (eg, SWPP/biomass). When scaled by total non-CEMS generation of that BA/fuel, this resulted in generation spikes many times the 930 generation at a given hour.

Example of issue: our generation for all fuel types in SWPP (blue) versus 930 generation data for all fuel types (red). Spikes to 2x the max 930 generation are caused by biomass, and are not realistic. image

Same series after fix (blue) vs 930 (red): after_fix

This change addresses issues found during progress on #82