src/ei_mcoe/ei_mcoe.py
def plot_eia_v_ferc(pudl_out):
    """Bring together plot data for FERC EIA comparison.

    Args:
        pudl_out (pudl.output.pudltabl.PudlTabl): An object used to create
            the tables used for EIA and FERC analysis.

    Returns:
        matplotlib.pyplot: Plots showing the difference between EIA and FERC
            Form 1 values for specified fields.
    """
    log_fields = [
        'capacity_mw', 'opex_fuel', 'total_mmbtu', 'net_generation_mwh',
    ]
    log_limits = {
        'capacity_mw': (1e1, 1e4), 'opex_fuel': (1e6, 1e9),
        'total_mmbtu': (1e5, 1e9), 'net_generation_mwh': (1e4, 1e8),
    }
    linear_fields = [
        'capacity_factor', 'heat_rate_mmbtu_mwh',
        'fuel_cost_per_mwh', 'fuel_cost_per_mmbtu',
    ]
    linear_limits = {
        'capacity_factor': (0, 1.0), 'heat_rate_mmbtu_mwh': (6, 16),
        'fuel_cost_per_mwh': (10, 80), 'fuel_cost_per_mmbtu': (0, 6),
    }
    df = compare_ferc_eia(pudl_out)
    plot_prep(df, log_fields, log_limits, scale="log")
    plot_prep(df, linear_fields, linear_limits, scale="linear")
Bring together plot data for FERC EIA comparison.

    Args:
        pudl_out (pudl.output.pudltabl.PudlTabl): An object used to create
            the tables used for EIA and FERC analysis.

    Returns:
        matplotlib.pyplot: Plots showing the difference between EIA and FERC
            Form 1 values for specified fields.
    
Bring together plot data for FERC EIA comparison.
Bring together plot data for FERC EIA comparison .
def plot_eia_v_ferc(pudl_out):
    log_fields = [
        'capacity_mw', 'opex_fuel', 'total_mmbtu', 'net_generation_mwh',
    ]
    log_limits = {
        'capacity_mw': (1e1, 1e4), 'opex_fuel': (1e6, 1e9),
        'total_mmbtu': (1e5, 1e9), 'net_generation_mwh': (1e4, 1e8),
    }
    linear_fields = [
        'capacity_factor', 'heat_rate_mmbtu_mwh',
        'fuel_cost_per_mwh', 'fuel_cost_per_mmbtu',
    ]
    linear_limits = {
        'capacity_factor': (0, 1.0), 'heat_rate_mmbtu_mwh': (6, 16),
        'fuel_cost_per_mwh': (10, 80), 'fuel_cost_per_mmbtu': (0, 6),
    }
    df = compare_ferc_eia(pudl_out)
    plot_prep(df, log_fields, log_limits, scale="log")
    plot_prep(df, linear_fields, linear_limits, scale="linear")
def plot_eia_v_ferc ( pudl_out ) : log_fields = [ 'capacity_mw' , 'opex_fuel' , 'total_mmbtu' , 'net_generation_mwh' , ] log_limits = { 'capacity_mw' : ( 1e1 , 1e4 ) , 'opex_fuel' : ( 1e6 , 1e9 ) , 'total_mmbtu' : ( 1e5 , 1e9 ) , 'net_generation_mwh' : ( 1e4 , 1e8 ) , } linear_fields = [ 'capacity_factor' , 'heat_rate_mmbtu_mwh' , 'fuel_cost_per_mwh' , 'fuel_cost_per_mmbtu' , ] linear_limits = { 'capacity_factor' : ( 0 , 1.0 ) , 'heat_rate_mmbtu_mwh' : ( 6 , 16 ) , 'fuel_cost_per_mwh' : ( 10 , 80 ) , 'fuel_cost_per_mmbtu' : ( 0 , 6 ) , } df = compare_ferc_eia ( pudl_out ) plot_prep ( df , log_fields , log_limits , scale = "log" ) plot_prep ( df , linear_fields , linear_limits , scale = "linear" )
Bring together plot data for FERC EIA comparison.
Bring together plot data for FERC EIA comparison .
"""Bring together plot data for FERC EIA comparison.

    Args:
        pudl_out (pudl.output.pudltabl.PudlTabl): An object used to create
            the tables used for EIA and FERC analysis.

    Returns:
        matplotlib.pyplot: Plots showing the difference between EIA and FERC
            Form 1 values for specified fields.
    """
Plots showing the difference between EIA and FERC
Form 1 values for specified fields.
Plots showing the difference between EIA and FERC Form 1 values for specified fields .
matplotlib.pyplot
pudl_out
An object used to create
the tables used for EIA and FERC analysis.
An object used to create the tables used for EIA and FERC analysis .