def METHOD_NAME(xgaps, numpanelss, sensorsxs, kwargs):
    # Create client
    scheduler_file = '/scratch/sayala/dask_testing/scheduler.json'
    client = Client(scheduler_file=scheduler_file)
    # Iterate over inputs
    futures = []
    for nn in range (0, len(numpanelss)):
        numpanels = numpanelss[nn]
        for xx in range (0, len(xgaps)):
            xgap = xgaps[xx]
            for ii in sensorsxs:
                futures.append(client.submit(simulate_single, xgap=xgap, numpanels=numpanels, sensorx=ii,**kwargs))
    # Get results for all simulations
    res = client.gather(futures)
    # Close all dask workers and scheduler
    try:
    	client.shutdown()
    except:
        pass
    # Close client
    client.close()
    res = 'FINISHED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
    return res