def get_energy_flows(fl):
    """
    Subsets the flow list for all energy flows

    :param fl: df in standard flowlist format
    :return: df in standard flowlist format
    """
    flows = fl[fl["Unit"]=="MJ"]
    flows = flows[flows["Context"].str.startswith("resource")]
        
    return flows