singularity-energy / open-grid-emissions

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

Update to use most recent version of pudl #369

Closed grgmiller closed 5 days ago

grgmiller commented 1 week ago

Purpose

This PR updates OGE to use pudl v2024.5.0 release data. This primarily involves updating table names.

Note, that we are still using an older version of the pudl dependency, but since all of the column names appear to be the same, this is not causing any errors for now. However, in a future PR (see future work section), we should strive to just completely remove the pudl code dependency from OGE and rely entirely on the output data. I did start to remove some dependencies where it was easy, and added some notes for the future:

Closes CAR-4361.

What the code is doing

Testing

Ran pipeline successfully for 2018. Ran pipeline for 2019-2022, including download of new data source.

Where to look

N/A

Review estimate

10 min

Future work

In a future PR, we should see if we can completely remove the PUDL dependency from OGE. We may be able to do this using the new tables that are available. The current dependencies are:

We should also switch to using the pudl emissions control data instead of load_data.load_emissions_controls_eia923() once https://github.com/catalyst-cooperative/pudl/issues/3689 is completed.

Checklist

grgmiller commented 1 week ago

Re-requesting your review since I added a lot of new changes related to removing pudl dependencies @rouille