Supervised flood attenuation in presence of reservoirs: a ranking method