pudl.output.eia930

Functions for compiling derived aspects of the EIA 930 data.

For a narrative overview of the timeseries imputation process, see the documentation at Timeseries Imputation

Attributes

Functions

_add_timezone(→ pandas.DataFrame)

_out_eia930__hourly_operations(→ pandas.DataFrame)

Adds timezone column and combined ID with BA/subregion used for imputation.

_out_eia930__hourly_subregion_demand(→ pandas.DataFrame)

Adds timezone column and combined ID with BA/subregion used for imputation.

_years_from_context(→ list[int])

_out_eia930__combined_demand(→ pandas.DataFrame)

Combine subregion and BA demand into a single DataFrame to perform imputation.

split_ba_subregion_demand(...)

Split combined imputed demand into separate BA/subregion tables.

out_eia930__hourly_aggregated_demand(→ pandas.DataFrame)

Aggregate imputed demand from the BA level to region, interconnect, and contiguous US.

Module Contents

pudl.output.eia930._add_timezone(df: pandas.DataFrame, core_eia__codes_balancing_authorities: pandas.DataFrame) pandas.DataFrame[source]
pudl.output.eia930._out_eia930__hourly_operations(core_eia930__hourly_operations: pandas.DataFrame, core_eia__codes_balancing_authorities: pandas.DataFrame) pandas.DataFrame[source]

Adds timezone column and combined ID with BA/subregion used for imputation.

pudl.output.eia930._out_eia930__hourly_subregion_demand(core_eia930__hourly_subregion_demand: pandas.DataFrame, core_eia__codes_balancing_authorities: pandas.DataFrame) pandas.DataFrame[source]

Adds timezone column and combined ID with BA/subregion used for imputation.

pudl.output.eia930._years_from_context(context) list[int][source]
pudl.output.eia930._out_eia930__combined_demand(_out_eia930__hourly_operations: pandas.DataFrame, _out_eia930__hourly_subregion_demand: pandas.DataFrame) pandas.DataFrame[source]

Combine subregion and BA demand into a single DataFrame to perform imputation.

pudl.output.eia930.imputed_combined_demand_assets[source]
pudl.output.eia930.split_ba_subregion_demand(_out_eia930__combined_imputed_demand: pandas.DataFrame, core_eia930__hourly_subregion_demand: pandas.DataFrame, core_eia930__hourly_operations: pandas.DataFrame)[source]

Split combined imputed demand into separate BA/subregion tables.

pudl.output.eia930.out_eia930__hourly_aggregated_demand(out_eia930__hourly_operations: pandas.DataFrame, core_eia__codes_balancing_authorities: pandas.DataFrame) pandas.DataFrame[source]

Aggregate imputed demand from the BA level to region, interconnect, and contiguous US.