src/ei_mcoe/ei_mcoe.py
def make_var_cost_multiplier_key(cap, greet_tech, fuel_type):
    """Make a column that specifies the fuel, technology, and capacity.

    Used to make a multiplier column to calculate the variable and fixed
    cost breakdown later on.
    """
    cap_suff = 'no_cap'
    if cap < 500:
        cap_suff = '<500'
    elif cap < 1000:
        cap_suff = '<1000'
    elif cap > 1000:
        cap_suff = '>1000'

    multiplier_code = None
    if fuel_type is not None and greet_tech is not None:
        multiplier_code = fuel_type + '_' + greet_tech + '_' + cap_suff

    return multiplier_code
Make a column that specifies the fuel, technology, and capacity.

    Used to make a multiplier column to calculate the variable and fixed
    cost breakdown later on.
    
Make a column that specifies the fuel, technology, and capacity.
Used to make a multiplier column to calculate the variable and fixed
cost breakdown later on.
Make a column that specifies the fuel technology and capacity . Used to make a multiplier column to calculate the variable and fixed cost breakdown later on .
def make_var_cost_multiplier_key(cap, greet_tech, fuel_type):
    cap_suff = 'no_cap'
    if cap < 500:
        cap_suff = '<500'
    elif cap < 1000:
        cap_suff = '<1000'
    elif cap > 1000:
        cap_suff = '>1000'
    multiplier_code = None
    if fuel_type is not None and greet_tech is not None:
        multiplier_code = fuel_type + '_' + greet_tech + '_' + cap_suff
    return multiplier_code
def make_var_cost_multiplier_key ( cap , greet_tech , fuel_type ) : cap_suff = 'no_cap' if cap < 500 : cap_suff = '<500' elif cap < 1000 : cap_suff = '<1000' elif cap > 1000 : cap_suff = '>1000' multiplier_code = None if fuel_type is not None and greet_tech is not None : multiplier_code = fuel_type + '_' + greet_tech + '_' + cap_suff return multiplier_code
Make a column that specifies the fuel, technology, and capacity.
Make a column that specifies the fuel technology and capacity .
"""Make a column that specifies the fuel, technology, and capacity.

    Used to make a multiplier column to calculate the variable and fixed
    cost breakdown later on.
    """
cap
greet_tech
fuel_type