def relay_load_tuple(relay_loads):
    """
    Create list of (relay, load) tuples
    """
    relay_load_tuple = list()

    for r, loads in relay_loads.items():
        for l in loads:
            relay_load_tuple.append((r,l))
    return relay_load_tuple