Effectiveness of sensors in flood defences